/* ── Reset & Variables ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #1a3c2e;
  --green-mid:   #2d5c44;
  --green-light: #3d7a5c;
  --gold:        #c9a84c;
  --gold-light:  #e0be7a;
  --ivory:       #f5f2ec;
  --ivory-dark:  #ede9e1;
  --text:        #1c1c1c;
  --text-mid:    #4a4a4a;
  --text-light:  #7a7a7a;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 2px 24px rgba(0,0,0,0.09);
  --shadow-sm:   0 1px 8px rgba(0,0,0,0.07);
  --nav-h:       68px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--green-dark);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.nav-brand:hover { text-decoration: none; }

.nav-anchor {
  font-size: 26px;
  line-height: 1;
}

.nav-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  background: var(--green-dark);
  padding: 8px 16px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #fff; text-decoration: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: #fff;
  text-align: center;
  padding: 96px 24px 104px;
}

.hero-anchor {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 24px;
  display: block;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  line-height: 1.1;
}

.hero-tagline {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin: 0 auto 16px;
  line-height: 1.45;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.68);
  max-width: 480px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  letter-spacing: 0.1px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  cursor: default;
}
.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
  text-decoration: none;
  color: var(--green-dark);
}

.btn-appstore-icon { font-size: 22px; line-height: 1; }

.btn-appstore-text { display: flex; flex-direction: column; text-align: left; }
.btn-appstore-sub { font-size: 11px; font-weight: 500; color: var(--text-light); letter-spacing: 0.4px; text-transform: uppercase; }
.btn-appstore-label { font-size: 16px; font-weight: 700; color: var(--green-dark); line-height: 1.2; }

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.2px;
}

/* ── Features ── */
.features {
  padding: 80px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.3px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto 56px;
  line-height: 1.55;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ivory-dark);
  transition: transform 0.18s, box-shadow 0.18s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.55;
}

/* ── Standards ── */
.standards-strip {
  background: var(--green-dark);
  color: #fff;
  padding: 64px 24px;
  text-align: center;
}

.standards-strip .section-title { color: #fff; margin-bottom: 8px; }
.standards-strip .section-sub { color: rgba(255,255,255,0.72); margin-bottom: 40px; }

.standards-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.standard-pill {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.90);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
}

/* ── CTA band ── */
.cta-band {
  background: var(--ivory-dark);
  padding: 72px 24px;
  text-align: center;
}
.cta-band .section-title { margin-bottom: 10px; }
.cta-band .section-sub { margin-bottom: 36px; }

/* ── Content pages (Privacy / Terms / Support) ── */
.page-hero {
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: #fff;
  padding: 64px 24px 72px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.page-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
}

.page-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.page-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 44px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ivory-dark);
}

.page-body h2:first-child { margin-top: 0; }

.page-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 6px;
}

.page-body p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-body ul,
.page-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-body li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 6px;
}

.page-body a { color: var(--green-mid); font-weight: 500; }

.page-body .effective-date {
  display: inline-block;
  background: var(--ivory-dark);
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 40px;
}

.page-body .callout {
  background: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0 24px;
  font-size: 15px;
  color: var(--text-mid);
  box-shadow: var(--shadow-sm);
}

/* ── Support / FAQ ── */
.support-contact {
  background: #fff;
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.support-contact h2 {
  border: none;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 8px;
}

.support-contact p { margin-bottom: 20px; color: var(--text-mid); }

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.15s;
}
.contact-email:hover {
  background: var(--green-mid);
  text-decoration: none;
  color: #fff;
}

.faq-list { margin-top: 8px; }

.faq-item {
  border: 1px solid var(--ivory-dark);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}
.faq-q:hover { background: var(--ivory); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ivory-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.2s;
  color: var(--text-mid);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.65;
  border-top: 1px solid var(--ivory-dark);
  padding-top: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ── Footer ── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.60);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-brand:hover { text-decoration: none; }

.footer-anchor { font-size: 24px; }
.footer-name { font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.85); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.60);
  font-size: 14px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-copy {
  width: 100%;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--ivory-dark);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 72px 20px 80px; }
  .hero-anchor { font-size: 56px; }

  .features { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; }

  .standards-strip { padding: 48px 20px; }
  .cta-band { padding: 56px 20px; }

  .page-hero { padding: 48px 20px 56px; }
  .page-body { padding: 48px 20px 72px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { margin-top: 4px; }
}
