*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(200deg, #ecfdf5, #f0fdf4);
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: #333;
  line-height: 1.65;
}

h1, h2, h3, .site-logo {
  font-family: 'Instrument Serif', serif;
  color: #1a1a1a;
}

h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
}

a {
  color: #166534;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
  background: rgba(255,255,255,0.92);
  padding: 14px 0;
  font-size: 14px;
  color: #333;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin-bottom: 0;
}

.cookie-banner.hidden {
  display: none;
}

/* Navbar */
.navbar {
  padding: 16px 0;
  background: transparent;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.site-logo:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: #166534;
}

/* Buttons */
.btn {
  background: #166534;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.85;
  text-decoration: none;
  color: #fff;
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 28px;
}

/* Section */
.section {
  padding: 56px 0;
}

/* About */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  text-align: center;
}

.feature-list {
  margin-top: 20px;
  margin-bottom: 12px;
  padding-left: 0;
}

.feature-list li {
  padding: 6px 0 6px 20px;
  position: relative;
}

.feature-list li::before {
  content: "-";
  position: absolute;
  left: 4px;
  color: #166534;
  font-weight: 700;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-grid img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* Download */
.download-section {
  text-align: center;
}

.download-section p {
  color: #555;
}

.store-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 12px;
}

.store-btn {
  background: #166534;
  color: #fff;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  display: inline-block;
}

.store-btn:hover {
  opacity: 0.85;
  color: #fff;
  text-decoration: none;
}

/* Card */
.card {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* Contact */
.contact-wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.contact-card {
  padding: 32px;
}

.contact-card h2 {
  text-align: center;
}

.contact-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #333;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.form-input:focus {
  border-color: #166534;
  box-shadow: 0 0 0 2px rgba(22,101,52,0.13);
}

.btn-submit {
  width: 100%;
  padding: 10px;
  font-weight: 500;
}

.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #166534;
}

.form-consent a {
  color: #166534;
  text-decoration: underline;
}

.form-success {
  display: none;
  text-align: center;
  color: #166534;
  font-weight: 500;
  margin-top: 16px;
  font-size: 15px;
}

.form-success.visible {
  display: block;
}

/* Footer */
.footer {
  text-align: center;
  padding: 32px 0;
  color: #888;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  font-size: 13px;
}

.footer-links a:hover {
  color: #166534;
}

/* Legal pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 56px;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content h3 {
  margin-top: 20px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-content li {
  padding: 3px 0;
  position: relative;
  padding-left: 16px;
}

.legal-content li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #166534;
}

/* Guides */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 24px auto 0;
}

.guide-card h3 {
  margin-bottom: 8px;
}

.guide-card p {
  color: #555;
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  .navbar-inner {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 48px 0;
  }

  .section {
    padding: 40px 0;
  }

  .contact-card {
    padding: 24px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }
}
