/* Agritech landing page — "open field" direction: sky and hills, serif headings,
   ledger and road layouts instead of card grids. Edtech has its own, different stylesheet;
   only assets/js/main.js is shared between the two pages. */

:root {
  --font-head: "Young Serif", Georgia, serif;
  --font-body: "Mukta", system-ui, sans-serif;
  --font-hi: "Mukta", system-ui, sans-serif;

  --brand: #2e7d32;
  --brand-deep: #1b5e20;
  --brand-soft: #e3f0d9;
  --accent: #e0a526;
  --accent-soft: #fdf0cc;
  --ink: #1d2b1a;
  --text: #3b4a37;
  --muted: #5a6955;
  --bg: #f5f8ef;
  --bg-alt: #eaf1de;
  --line: #d8e2c8;
  --dark: #173a1c;
  --sky-top: #cfe8f7;
  --sky-bottom: #f5f8ef;
  --hill-1: #b5d98a;
  --hill-2: #7cb342;
  --hill-3: #2e7d32;
  --soil: #8a6a45;

  --radius: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --shadow-sm: 0 2px 8px rgba(20, 40, 20, 0.06);
  --shadow: 0 12px 32px rgba(20, 40, 20, 0.1);
  --shadow-lg: 0 26px 60px rgba(20, 40, 20, 0.16);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink); line-height: 1.15; }
h1, h2 { font-family: var(--font-head); font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--accent); 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 { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hi, [lang="hi"] { font-family: var(--font-hi); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); max-width: 34em; }
.muted { color: var(--muted); }

.section { position: relative; padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head p { margin: 0; color: var(--muted); }

/* Two-column "split": heading on the left, content on the right */
.split { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
  .split-head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.split-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer; transition: transform 0.2s, background-color 0.2s, border-color 0.2s; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand-deep); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 0.95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--sky-top) 82%, transparent); backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid rgba(29, 43, 26, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.05; }
.brand-text small { font-family: var(--font-body); font-size: 0.74rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.site-nav a:not(.btn):hover { color: var(--brand-deep); }
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -6px; }
  .burger::after { top: 6px; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Artwork placeholder until generated images land ---------- */
.art { margin: 0; }
.art.img-missing img { display: none; }
.art.img-missing::after { content: attr(data-missing); display: grid; place-items: center; aspect-ratio: var(--ar, 1); padding: 8px; border: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent); border-radius: 18px; background: var(--brand-soft); color: var(--brand-deep); font-size: 0.75rem; font-weight: 600; line-height: 1.3; text-align: center; }

/* ---------- Hero: sky + hills ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 0; background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 85%); }
@media (min-width: 768px) { .hero { padding-top: 64px; } }
.sun { position: absolute; top: 56px; right: 8%; width: clamp(90px, 12vw, 160px); aspect-ratio: 1; border-radius: 50%; background: #f6d365; opacity: 0.9; }
/* on one-column layouts the sun sits behind the farmer, not behind the headline */
@media (max-width: 899px) { .sun { top: auto; bottom: 300px; right: 10%; width: 96px; } }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-copy { padding-bottom: 48px; }
/* keep the copy above the field's horizon so text never sits on the crops */
@media (min-width: 900px) { .hero-copy { padding-bottom: clamp(200px, 17vw, 320px); } }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(29, 43, 26, 0.1); border-radius: 999px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.pills li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--brand) var(--check) center / 12px no-repeat; }

/* --fh = farmer height; the chips are placed relative to it so they never cover his face */
.hero-art { --fh: 420px; --feet: 28px; position: relative; display: grid; place-items: end center; min-height: 380px; }
@media (min-width: 900px) { .hero-art { --fh: 560px; --feet: 48px; } }
.art-hero { position: relative; z-index: 1; margin-bottom: var(--feet); }
.art-hero img { width: auto; height: var(--fh); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.12)); }
.art-hero.img-missing { width: min(360px, 76%); }

/* Transparent field image (sky removed) along the bottom of the hero and the closing CTA */
.field { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; display: block; width: 100%; height: clamp(170px, 21vw, 400px); object-fit: cover; object-position: center top; pointer-events: none; }

.call-chip { position: absolute; z-index: 3; left: 0; bottom: calc(var(--feet) + var(--fh) * 0.2); display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); font-size: 0.9rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.call-chip strong { display: block; color: var(--ink); }
.call-chip .chip-sub { color: var(--muted); }
.call-chip--alert { left: auto; right: 0; bottom: calc(var(--feet) + var(--fh) * 0.48); animation-delay: -3s; }
.alert-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--accent-soft); color: var(--brand-deep); }
.alert-icon svg { width: 18px; height: 18px; }
.chip-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; border: 2px solid #fff; outline: 1px solid var(--line); }
@media (max-width: 480px) { .call-chip { font-size: 0.8rem; padding: 10px 12px; } }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--brand); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.15s; }
.wave i:nth-child(3) { animation-delay: 0.3s; }
.wave i:nth-child(4) { animation-delay: 0.45s; }
.wave i:nth-child(5) { animation-delay: 0.6s; }
.decor { position: absolute; z-index: 2; width: clamp(52px, 7vw, 84px); pointer-events: none; animation: float 7s ease-in-out infinite; }
.decor-a { top: 4%; left: 8%; }
.decor-c { right: 6%; bottom: calc(var(--feet) + var(--fh) * 0.72); animation-delay: -4s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Problem: ledger rows ---------- */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ledger li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.ledger-num { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: #8a5d00; }
.ledger h3 { margin-bottom: 0.2em; }
.ledger p { margin: 0; color: var(--muted); }

/* ---------- Live call demo (phone on the left) ---------- */
.demo-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) {
  .demo-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 56px; }
  .demo-grid > .phone { order: -1; }
}
.demo-tabs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.demo-tab { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 12px; text-align: left; font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background-color 0.2s; }
.demo-tab:hover { background: rgba(255, 255, 255, 0.6); }
.demo-tab[aria-selected="true"] { background: #fff; box-shadow: inset 4px 0 0 var(--brand); }
.demo-tab .art { flex: none; width: 52px; }
.demo-tab strong { display: block; font-size: 1.1rem; color: var(--ink); }
.demo-tab small { color: var(--muted); font-size: 0.92rem; }
.demo-note { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); }

.phone { width: 100%; max-width: 380px; margin: 0 auto; padding: 12px; background: var(--ink); border-radius: 44px; box-shadow: var(--shadow-lg); }
.phone-screen { display: flex; flex-direction: column; height: 620px; overflow: hidden; background: #fff; border-radius: 34px; }
.phone-top { padding: 22px 20px 16px; text-align: center; color: #fff; background: var(--brand-deep); }
.phone-top .wave i { background: #fff; }
.phone-status { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; opacity: 0.9; }
.phone-title { margin: 6px 0 2px; font-family: var(--font-head); font-size: 1.2rem; }
.phone-meta { margin: 0; font-size: 0.85rem; opacity: 0.92; }
.phone-clock { display: block; margin-top: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; overflow-y: auto; background: var(--bg); }
.phone-foot { display: flex; justify-content: center; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.msg { max-width: 88%; margin: 0; padding: 10px 14px; border-radius: 18px; font-size: 0.95rem; line-height: 1.45; animation: pop 0.35s ease-out; }
.msg .who { display: block; margin-bottom: 2px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-deep); }
.msg .hi { display: block; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.msg .en { display: block; margin-top: 3px; font-size: 0.85rem; color: var(--muted); }
.msg.ai { align-self: flex-start; background: var(--brand-soft); border-bottom-left-radius: 6px; }
.msg.user { align-self: flex-end; background: #fff; border: 1px solid var(--line); border-bottom-right-radius: 6px; }
.after { margin-top: 6px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; animation: pop 0.35s ease-out; }
.after-title { margin: 0 0 6px; font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.after ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 0.9rem; }
.after li { display: flex; gap: 8px; align-items: flex-start; }
.after li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand) var(--check) center / 11px no-repeat; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------- How it works: a path ---------- */
.path { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.path::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 3px dashed var(--hill-2); }
.path-step { position: relative; counter-increment: step; padding-left: 72px; }
.path-step::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 1.3rem; box-shadow: 0 0 0 6px var(--bg); }
.path-step p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  /* the line runs from the first circle to the last one: 4 columns, 32px gaps, 48px circles */
  .path::before { left: 24px; right: calc(25% - 48px); top: 23px; bottom: auto; border-left: 0; border-top: 3px dashed var(--hill-2); }
  .path-step { padding: 72px 0 0; }
}

/* ---------- Features: almanac list ---------- */
.almanac { display: grid; gap: 0 48px; padding: 8px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
@media (min-width: 900px) { .almanac { grid-template-columns: 1fr 1fr; padding: 16px 40px; } }
.almanac-item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.almanac-item:last-child { border-bottom: 0; }
@media (min-width: 900px) { .almanac-item:nth-last-child(2) { border-bottom: 0; } }
.almanac-item .art { width: 64px; }
.almanac-item h3 { margin-bottom: 0.2em; }
.almanac-item p { margin: 0; color: var(--muted); font-size: 1.02rem; }
.more { margin-top: 40px; }
.more h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 0.97rem; color: var(--ink); }

/* ---------- Season road ---------- */
.road { position: relative; display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) {
  .road { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .road::before { content: ""; position: absolute; left: 0; right: 0; top: 268px; height: 18px; border-radius: 999px; background: var(--soil); opacity: 0.18; }
}
.road-stage { position: relative; text-align: center; }
.road-stage .art { width: min(180px, 60%); height: 250px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: center; }
.road-stage .art img { width: auto; max-width: 100%; max-height: 250px; }
.road-stage .art.img-missing { display: block; height: auto; }
.road-marker { display: block; width: 26px; height: 26px; margin: 4px auto 14px; border-radius: 50%; background: var(--accent); border: 5px solid #fff; box-shadow: var(--shadow-sm); }
.road-tag { display: block; margin-bottom: 4px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soil); }
.road-stage p { margin: 0 auto; max-width: 22em; color: var(--muted); }

/* ---------- Experts in the loop (dark) ---------- */
.section-dark { background: var(--dark); color: rgba(255, 255, 255, 0.86); }
.section-dark h2, .section-dark h3 { color: #fff; }
.loop-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .loop-grid { grid-template-columns: 0.75fr 1.25fr; } }
.loop-art { display: flex; justify-content: center; }
.loop-art img { width: auto; max-height: 520px; }
.loop-art.img-missing { display: block; width: min(300px, 70%); margin: 0 auto; }
.loop-cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.panel { padding: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); }
.signals { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.signals li { display: flex; gap: 10px; align-items: flex-start; }
.signals li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
.next-steps { display: grid; gap: 10px; margin: 0; padding-left: 1.2em; }
.next-steps li::marker { color: var(--accent); font-weight: 700; }

/* ---------- Dashboard preview ---------- */
.dash { max-width: 980px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 768px) { .dash { padding: 32px; } }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.dash-head strong { color: var(--ink); font-size: 1.1rem; }
.dash-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-filters span { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--muted); }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin: 0 0 24px; }
.stat { padding: 16px; background: var(--bg); border-radius: 14px; }
.stat dt { font-size: 0.9rem; color: var(--muted); }
.stat dd { margin: 4px 0 0; font-family: var(--font-head); font-size: 1.8rem; color: var(--ink); }
.chart-title { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
.chart { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bar { display: grid; grid-template-columns: minmax(110px, 170px) 1fr 44px; gap: 12px; align-items: center; font-size: 0.95rem; }
.bar-track { height: 12px; overflow: hidden; background: var(--bg-alt); border-radius: 999px; }
.bar-fill { display: block; width: var(--v); height: 100%; background: var(--brand); border-radius: 999px; }
.bar b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.dash-note { margin: 16px 0 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- Languages ---------- */
/* 12 languages in a 6 x 2 board: script large, English name small underneath */
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 600px) { .langs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .langs { grid-template-columns: repeat(6, 1fr); } }
.langs li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 12px; background: #fff; text-align: center; }
.langs .script { font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.langs small { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

/* ---------- Who it's for: checklist ---------- */
.checklist { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%; background: var(--brand) var(--check) center / 14px no-repeat; }
.checklist strong { display: block; color: var(--ink); font-size: 1.12rem; }
.checklist span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { padding: 0 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.faq summary { position: relative; padding: 18px 32px 18px 0; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Closing CTA: back to the field ---------- */
.cta-field { position: relative; overflow: hidden; padding: 80px 0 0; text-align: center; background: linear-gradient(180deg, var(--bg) 0%, var(--sky-top) 100%); }
.cta-field .container { position: relative; z-index: 2; padding-bottom: clamp(190px, 22vw, 380px); }
.cta-field p { max-width: 34em; margin: 0 auto; color: var(--text); }
.cta-field .cta-row { justify-content: center; }

.site-footer { padding: 36px 0; background: var(--dark); color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); }
.disclaimer { margin: 16px 0 0; font-size: 0.88rem; }

/* ---------- Scroll reveal (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
