/* ==========================================================================
   Aeras — design system (forest green, Manrope, glass cards, pollen gradient)
   Mobile-first, vanilla CSS. Mirrors the in-app palette so the site reads
   as an extension of the product.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;800&family=Noto+Sans+SC:wght@400;600;800&display=swap');

:root {
  /* Brand */
  --aeras-forest: #0F5238;
  --aeras-forest-600: #0B3F2B;
  --aeras-forest-400: #2F7556;
  --aeras-leaf: #8FD2A4;
  --aeras-sand: #F3F2E7;
  --aeras-cream: #FDFDF8;
  --aeras-mint: #E6F4EA;
  --aeras-danger: #D64545;
  --aeras-amber: #E49B3F;
  --aeras-sky: #5A9FD4;

  /* Neutrals */
  --ink-900: #0B1A14;
  --ink-700: #24362C;
  --ink-500: #556B60;
  --ink-300: #8A9B92;
  --ink-100: #DEE5E0;
  --paper: #FFFFFF;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 6px rgba(15, 82, 56, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 82, 56, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 82, 56, 0.14);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-cjk: 'Noto Sans JP', 'Noto Sans SC', var(--font-sans);

  --easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =================== Reset =================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--aeras-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ja"] body, html[lang="zh-Hans"] body { font-family: var(--font-cjk); }
img, picture, video { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4, h5 { margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-900); }
h1 { font-size: clamp(2.25rem, 5vw + 1rem, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); line-height: 1.25; }
p { margin: 0 0 1em; color: var(--ink-700); }
a { color: var(--aeras-forest); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--aeras-forest-600); }
ul { padding-left: 1.25rem; }

/* =================== Layout helpers =================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-9) 0; }
.section-sm { padding: var(--space-8) 0; }
@media (max-width: 720px) {
  .section { padding: var(--space-8) 0; }
  .section-sm { padding: var(--space-7) 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aeras-forest);
  margin-bottom: var(--space-4);
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-500);
  max-width: 62ch;
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--easing), box-shadow .2s var(--easing), background .2s var(--easing);
  white-space: nowrap;
}
.btn-primary {
  background: var(--aeras-forest);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--aeras-forest-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--aeras-forest);
  border-color: rgba(15, 82, 56, 0.2);
}
.btn-ghost:hover { background: var(--aeras-mint); border-color: rgba(15, 82, 56, 0.35); }
.btn-lg { padding: 18px 28px; font-size: 1.0625rem; }

/* App Store pill */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: #0B1A14;
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform .2s var(--easing);
}
.app-store-btn:hover { color:#fff; transform: translateY(-2px); }
.app-store-btn svg { width: 28px; height: 28px; flex: 0 0 28px; }
.app-store-btn .label-small { font-size: 10px; font-weight: 500; opacity: .75; display: block; letter-spacing: 0.04em; text-transform: uppercase; }
.app-store-btn .label-big { font-size: 17px; font-weight: 700; line-height: 1.1; }

/* =================== Header =================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(253, 253, 248, 0.82);
  border-bottom: 1px solid rgba(15, 82, 56, 0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--aeras-forest) 0%, var(--aeras-leaf) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 18px; height: 18px; color: #fff; }
.nav-primary {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-primary a { color: var(--ink-700); font-weight: 600; font-size: 0.9375rem; }
.nav-primary a:hover { color: var(--aeras-forest); }
.header-cta { display: flex; gap: var(--space-3); align-items: center; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 82, 56, 0.15);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { background: var(--aeras-mint); }
.lang-switch ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: var(--radius-md);
  list-style: none;
  padding: 8px;
  margin: 0;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  border: 1px solid rgba(15, 82, 56, 0.08);
  max-height: 60vh;
  overflow-y: auto;
}
.lang-switch li a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--ink-700);
}
.lang-switch li a:hover,
.lang-switch li a[aria-current="true"] {
  background: var(--aeras-mint);
  color: var(--aeras-forest);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(15,82,56,0.15);
  width: 44px; height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink-700); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-primary {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    bottom: auto;
    background: var(--aeras-cream);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-6);
    gap: var(--space-4);
    /* Hide the panel above the viewport regardless of its own height */
    transform: translateY(-100vh);
    visibility: hidden;
    transition: transform .35s var(--easing), visibility 0s linear .35s;
    border-top: 1px solid rgba(15,82,56,0.08);
    box-shadow: 0 12px 24px rgba(15,82,56,0.08);
    z-index: 49;
  }
  .nav-primary.is-open {
    transform: translateY(0);
    visibility: visible;
    transition: transform .35s var(--easing), visibility 0s linear 0s;
  }
  .nav-primary a { font-size: 1.125rem; padding: 12px 0; }
  .header-cta .btn-ghost { display: none; }
  .site-header .container { gap: var(--space-3); padding-left: var(--space-4); padding-right: var(--space-4); }
}

@media (max-width: 560px) {
  /* The header already has hero CTAs below — hide the download button to keep the bar tidy */
  .header-cta .btn-primary { display: none; }
  .lang-switch summary { padding: 10px 12px; }
}

/* =================== Hero =================== */
.hero {
  position: relative;
  padding-top: var(--space-8);
  padding-bottom: var(--space-9);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(143, 210, 164, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 80%, rgba(243, 242, 231, 0.9) 0%, transparent 60%),
    linear-gradient(180deg, #FDFDF8 0%, #EFF7EB 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15, 82, 56, 0.04) 0%, transparent 2%),
    radial-gradient(circle at 70% 60%, rgba(15, 82, 56, 0.04) 0%, transparent 2%);
  background-size: 220px 220px, 280px 280px;
  opacity: 0.7;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-9);
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero .lede { margin-top: var(--space-4); margin-bottom: var(--space-6); }
.hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
.hero-trust {
  margin-top: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  color: var(--ink-500);
  font-size: 0.875rem;
}
.hero-trust .stars { color: var(--aeras-amber); letter-spacing: 2px; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.hero-phone {
  --df-width: clamp(260px, 90%, 320px);
  filter: drop-shadow(0 36px 70px rgba(15, 82, 56, 0.28));
  animation: floaty 7s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
.hero-blob {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 210, 164, 0.6) 0%, rgba(143, 210, 164, 0) 65%);
  filter: blur(20px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

/* =================== Device frame (photoreal iPhone mockup) ===================
   Uses a pre-measured 1022×2082 PNG at /assets/img/iphone-mockup.png.
   The screenshot is positioned inside the measured screen area; the mockup PNG
   (titanium rail, Dynamic Island, side buttons) is layered on top via ::after.
   ============================================================================ */
.device-frame {
  --df-width: 260px;

  position: relative;
  display: inline-block;
  width: var(--df-width);
  aspect-ratio: 1022 / 2082;
  line-height: 0;
  isolation: isolate;
  /* ambient drop shadow */
  filter: drop-shadow(0 28px 44px rgba(9, 24, 18, 0.32))
          drop-shadow(0 8px 14px rgba(9, 24, 18, 0.18));
}

/* Screen — the raw screenshot sits inside the measured screen area.
   Pre-measured values from the mockup PNG:
     left:   52 / 1022 = 5.09%
     top:    46 / 2082 = 2.21%
     width:  918 / 1022 = 89.82%
     height: 1990 / 2082 = 95.58%
     radius: 126/918 x 126/1990 = 13.73% / 6.33%
*/
.device-frame img {
  position: absolute;
  left: 5.09%;
  top: 2.21%;
  width: 89.82%;
  height: 95.58%;
  object-fit: fill;
  display: block;
  border-radius: 13.73% / 6.33%;
  background: #0F5238;
  z-index: 2;
}

/* Frame — the iPhone mockup PNG sits behind the screenshot */
.device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/iphone-mockup.png") center/100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* Size variants */
.device-frame-lg { --df-width: 300px; }
.device-frame-sm { --df-width: 220px; }

@media (max-width: 600px) {
  .device-frame     { --df-width: 220px; }
  .device-frame-lg  { --df-width: 260px; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero-art { min-height: 420px; }
  .hero h1 { max-width: none; }
}

/* =================== Logo strip (trust) =================== */
.logo-strip {
  background: var(--aeras-cream);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(15,82,56,0.06);
  border-bottom: 1px solid rgba(15,82,56,0.06);
}
.logo-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.logo-strip .label {
  color: var(--ink-500);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-strip .logos {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
  color: var(--ink-500);
  font-weight: 700;
  font-size: 1rem;
  opacity: .7;
}

/* =================== Feature grid =================== */
.features {
  background: var(--paper);
}
.section-title { text-align: center; max-width: 760px; margin: 0 auto var(--space-7); }
.section-title .lede { margin-left: auto; margin-right: auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.feature-card {
  padding: var(--space-6);
  background: var(--paper);
  border: 1px solid rgba(15, 82, 56, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--easing), box-shadow .3s var(--easing);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aeras-forest), var(--aeras-leaf));
  opacity: 0;
  transition: opacity .3s var(--easing);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--aeras-mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aeras-forest);
  margin-bottom: var(--space-4);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin-bottom: var(--space-2); }
.feature-card p { margin: 0; color: var(--ink-500); font-size: 0.9375rem; }

@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

/* =================== Screenshot showcase =================== */
.showcase {
  background: linear-gradient(180deg, #EFF7EB 0%, #FDFDF8 100%);
  overflow: hidden;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  align-items: end;
  margin-top: var(--space-6);
}
.showcase-item {
  text-align: center;
}
.showcase-item .device-frame {
  --df-width: 200px;
  margin: 0 auto;
  filter: drop-shadow(0 28px 46px rgba(15, 82, 56, 0.22));
  transition: transform .4s var(--easing);
}
.showcase-item:nth-child(odd) .device-frame { transform: translateY(-14px); }
.showcase-item:hover .device-frame { transform: translateY(-22px); }
.showcase-item h4 {
  margin-top: var(--space-4);
  font-size: 1rem;
  color: var(--ink-900);
}
.showcase-item p {
  font-size: 0.875rem;
  color: var(--ink-500);
  margin: 0;
}
@media (max-width: 1024px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } .showcase-item:nth-child(4), .showcase-item:nth-child(5) { grid-column: span 1; } }
@media (max-width: 720px)  { .showcase-grid { grid-template-columns: repeat(2, 1fr); } .showcase-item:nth-child(odd) .device-frame { transform: none; } }

/* =================== Deep dive (split content) =================== */
.deepdive-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: center;
  padding: var(--space-8) 0;
  border-bottom: 1px solid rgba(15,82,56,0.08);
}
.deepdive-row:last-child { border-bottom: 0; }
.deepdive-row.reverse { direction: rtl; }
.deepdive-row.reverse > * { direction: ltr; }
.deepdive-copy h2 { margin-bottom: var(--space-4); }
.deepdive-copy ul { list-style: none; padding: 0; margin: var(--space-5) 0 0; }
.deepdive-copy li {
  padding-left: 32px;
  position: relative;
  margin-bottom: var(--space-3);
  color: var(--ink-700);
}
.deepdive-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--aeras-mint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F5238' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
.deepdive-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
}
.deepdive-visual .device-frame {
  --df-width: 280px;
  filter: drop-shadow(0 24px 50px rgba(15, 82, 56, 0.22));
  position: relative;
  z-index: 1;
}
.deepdive-visual::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143,210,164,.55), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}
@media (max-width: 900px) {
  .deepdive-row, .deepdive-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .deepdive-visual { min-height: 420px; }
}

/* =================== Stats band =================== */
.stats-band {
  background: var(--aeras-forest);
  color: #fff;
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content:"";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 15% 20%, rgba(143,210,164,.22), transparent 55%),
              radial-gradient(ellipse at 85% 80%, rgba(143,210,164,.18), transparent 55%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  text-align: center;
}
.stat-number {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  color: rgba(255,255,255,0.78);
  font-size: 0.9375rem;
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); } }

/* =================== Testimonials =================== */
.testimonials { background: var(--paper); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial-card {
  background: var(--aeras-cream);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid rgba(15,82,56,0.08);
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars {
  color: var(--aeras-amber);
  letter-spacing: 2px;
  margin-bottom: var(--space-3);
  font-size: 0.9375rem;
}
.testimonial-card blockquote {
  margin: 0 0 var(--space-4);
  font-size: 1.0625rem;
  color: var(--ink-900);
  line-height: 1.5;
  quotes: "\201C" "\201D";
}
.testimonial-card blockquote::before { content: open-quote; font-weight: 700; color: var(--aeras-forest); }
.testimonial-card blockquote::after { content: close-quote; font-weight: 700; color: var(--aeras-forest); }
.testimonial-author {
  font-size: 0.875rem;
  color: var(--ink-500);
  font-weight: 600;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* =================== FAQ =================== */
.faq { background: var(--aeras-cream); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: var(--paper);
  border: 1px solid rgba(15,82,56,0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: box-shadow .2s var(--easing);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--aeras-forest);
  font-weight: 400;
  transition: transform .25s var(--easing);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-500);
  line-height: 1.6;
}
.faq-item .faq-body p { margin: 0 0 1em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* =================== Final CTA =================== */
.final-cta {
  background: linear-gradient(160deg, #0F5238 0%, #0B3F2B 60%, #103A2A 100%);
  color: #fff;
  padding: var(--space-9) 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content:"";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(143,210,164,.35), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(143,210,164,.2), transparent 55%);
}
.final-cta .container { position: relative; text-align: center; }
.final-cta h2 { color: #fff; max-width: 18ch; margin: 0 auto var(--space-4); }
.final-cta p { color: rgba(255,255,255,0.82); max-width: 56ch; margin: 0 auto var(--space-6); font-size: 1.125rem; }
.final-cta .btn-primary { background:#fff; color: var(--aeras-forest); }
.final-cta .btn-primary:hover { background: var(--aeras-mint); color: var(--aeras-forest); }

/* =================== Footer =================== */
.site-footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.72);
  padding: var(--space-8) 0 var(--space-6);
  font-size: 0.9375rem;
}
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-7);
  margin-bottom: var(--space-7);
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-3); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.footer-col h5 { color: #fff; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: var(--space-3); }
.footer-bottom {
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =================== Legal / long-form pages =================== */
.longform {
  background: var(--paper);
  padding: var(--space-8) 0 var(--space-9);
}
.longform .container { max-width: 780px; }
.longform h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); margin-bottom: var(--space-5); }
.longform h2 { font-size: 1.5rem; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.longform h3 { font-size: 1.125rem; margin-top: var(--space-5); }
.longform p, .longform li { color: var(--ink-700); line-height: 1.7; font-size: 1rem; }
.longform ul { padding-left: 1.25rem; margin-bottom: var(--space-4); }
.longform li { margin-bottom: var(--space-2); }
.longform .toc {
  background: var(--aeras-mint);
  border-left: 4px solid var(--aeras-forest);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}
.longform .toc h2 { margin-top: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--aeras-forest); }
.longform .toc ul { margin: 0; padding-left: 1rem; }
.longform .toc li { margin-bottom: var(--space-2); }
.longform .meta {
  color: var(--ink-500);
  font-size: 0.875rem;
  margin-bottom: var(--space-5);
}

/* =================== Accessibility =================== */
:focus-visible {
  outline: 3px solid rgba(15, 82, 56, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-4);
  padding: 10px 16px;
  background: var(--aeras-forest);
  color: #fff;
  border-radius: 10px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: 10px; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-phone { animation: none; }
}
