:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #43a047;
  --green-container: #e8f5e9;
  --green-surface: #f1f8f2;
  --gold: #f4b400;
  --gold-dark: #c49000;
  --bg: #f5f7f4;
  --surface: #ffffff;
  --text: #1a1c1a;
  --text-muted: #5c625c;
  --outline: #e0e4e0;
  --shadow: 0 4px 24px rgba(26, 28, 26, 0.08);
  --shadow-sm: 0 2px 12px rgba(26, 28, 26, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1120px;
  --header-h: 72px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-link:hover {
  color: var(--text);
}

.brand-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-wordmark span {
  color: var(--gold-dark);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--green-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green-container);
  color: var(--green-dark);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--surface);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--outline);
  z-index: 99;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 0.875rem 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
}

.nav-mobile a:hover {
  background: var(--green-surface);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Sections */
main {
  min-height: calc(100vh - var(--header-h) - 280px);
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}

/* Hero */
.hero {
  padding: 3rem 1.25rem 4.5rem;
  background: linear-gradient(180deg, var(--green-surface) 0%, var(--bg) 70%);
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-logo {
  width: min(320px, 85vw);
  margin: 0 auto 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-tagline em {
  font-style: normal;
  color: var(--green-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* About */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.about-visual {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-visual img {
  width: min(280px, 100%);
  margin: 0 auto;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Mission band */
.mission {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff;
  text-align: center;
}

.mission .section-label {
  color: rgba(255, 255, 255, 0.75);
}

.mission .section-title {
  color: #fff;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.mission-text {
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 40rem;
  margin: 0 auto;
  opacity: 0.95;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--outline);
  transition: box-shadow 0.2s, transform 0.2s;
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-container);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--green-dark);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.9875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* App download */
.download {
  background: var(--surface);
  border-top: 1px solid var(--outline);
  border-bottom: 1px solid var(--outline);
  text-align: center;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.store-badge {
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}

.store-badge:hover {
  opacity: 0.9;
}

@media (prefers-reduced-motion: no-preference) {
  .store-badge:hover {
    transform: scale(1.02);
  }
}

.store-badge img {
  height: 48px;
  width: auto;
}

.store-badge.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

.store-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.store-note[hidden] {
  display: none;
}

/* Contact page */
.contact-hero {
  text-align: center;
  padding-bottom: 2rem;
}

.contact-logo {
  width: min(240px, 70vw);
  margin: 0 auto 1.5rem;
}

.contact-cards {
  display: grid;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow);
  color: inherit;
}

.contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--green-container);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card-body {
  flex: 1;
  text-align: left;
}

.contact-card-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.25rem;
}

.contact-card-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0;
}

.contact-card-chevron {
  color: var(--outline);
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: #141614;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-product p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-product a {
  color: var(--gold);
}

.footer-product a:hover {
  color: #fff;
}

.footer-company {
  text-align: left;
}

@media (min-width: 768px) {
  .footer-company {
    text-align: right;
  }
}

.footer-company-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.75rem;
}

.footer-company a {
  display: inline-block;
  text-decoration: none;
}

.footer-company img {
  height: 40px;
  width: auto;
  margin-left: auto;
  margin-right: 0;
}

@media (min-width: 768px) {
  .footer-company img {
    margin-left: auto;
  }
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
