/* ==========================================================================
   Rural IoT | bespoke flagship redesign (ruraliot.com.au)
   Identity: "the farm on your phone". Warm soil + amber, a working green, ink.
   Serif display (Spectral) vs grotesk working sans (Chivo) vs mono numerals
   (Geist Mono) on a clear contrast axis. Sticky "a day on the farm" dashboard
   scrollytelling centrepiece that cycles sensors as you scroll. OKLCH palette.
   Self-contained. Distinct from Paddock Networks (eucalypt/wheat) and from the
   Fall Monitoring reference (teal/coral/Fraunces). No build step.
   ========================================================================== */
:root{
  --bg:        oklch(0.985 0.012 78);   /* warm paper */
  --bg-2:      oklch(0.965 0.018 74);   /* sandier panel */
  --paper:     oklch(1 0 0);
  --ink:       oklch(0.26 0.022 60);    /* warm near-black ink */
  --ink-soft:  oklch(0.40 0.022 58);
  --muted:     oklch(0.52 0.020 60);
  --soil:      oklch(0.52 0.095 58);    /* warm soil/amber brown brand */
  --soil-ink:  oklch(0.44 0.095 56);    /* legible soil for links/text */
  --soil-deep: oklch(0.30 0.060 56);    /* deep soil panels */
  --amber:     oklch(0.74 0.135 70);    /* warm amber accent */
  --amber-ink: oklch(0.58 0.130 62);    /* DECORATIVE / large-text only (4.25:1 on paper) — for real links/small text use --soil-ink (7.68:1) */
  --over:      oklch(0.52 0.180 25);    /* legible warm red for form errors (>4.5:1 on --paper) */
  --green:     oklch(0.55 0.105 145);   /* a working green */
  --green-ink: oklch(0.46 0.100 146);
  --green-deep:oklch(0.33 0.060 150);
  --night:     oklch(0.255 0.028 60);   /* warm night for the story band */
  --wheat:     oklch(0.92 0.055 82);
  --field:     oklch(0.95 0.030 130);   /* pale field green tint */
  --line:      oklch(0.88 0.018 72);
  --on-dark:   oklch(0.97 0.012 80);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Chivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 18px; --radius-lg: 26px; --radius-sm: 12px;
  --shadow: 0 2px 6px oklch(0.3 0.04 60 / .05), 0 24px 60px -24px oklch(0.3 0.05 58 / .26);
  --shadow-sm: 0 1px 3px oklch(0.3 0.04 60 / .06), 0 10px 24px -16px oklch(0.3 0.05 58 / .2);

  --z-nav:200; --z-overlay:300;
  --ease: cubic-bezier(.16,1,.3,1);
}
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:clamp(1.02rem,.99rem + .18vw,1.13rem); line-height:1.66;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:var(--soil-ink); }
::selection{ background:oklch(0.74 0.135 70 / .8); color:var(--ink); }

h1,h2,h3{ font-family:var(--serif); font-weight:500; line-height:1.06;
  letter-spacing:-0.012em; text-wrap:balance; margin:0; color:var(--ink);
  font-optical-sizing:auto; overflow-wrap:break-word; }
h1{ font-size:clamp(2.5rem,1.7rem + 3.7vw,4.6rem); }
h2{ font-size:clamp(1.95rem,1.4rem + 2.4vw,3.2rem); }
h3{ font-size:clamp(1.25rem,1.1rem + .8vw,1.6rem); }
p{ margin:0; text-wrap:pretty; }
.lead{ font-size:clamp(1.16rem,1.05rem + .55vw,1.46rem); line-height:1.5; color:var(--ink-soft); }

.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.measure{ max-width:62ch; }
.skip{ position:absolute; left:-999px; }
.skip:focus{ left:1rem; top:1rem; z-index:999; background:var(--ink); color:#fff; padding:.7rem 1rem; border-radius:8px; }
:where(a,button,input,textarea,summary):focus-visible{ outline:3px solid var(--amber-ink); outline-offset:3px; border-radius:6px; }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:.5rem; font-family:var(--sans); font-weight:700; white-space:nowrap;
  font-size:1rem; line-height:1; padding:.95rem 1.5rem; border-radius:999px; border:1.5px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform .4s var(--ease), background-color .25s, box-shadow .4s, border-color .25s; }
.btn--primary{ background:var(--soil); color:var(--on-dark); box-shadow:0 8px 24px -10px oklch(0.52 0.095 58 / .6); }
.btn--primary:hover{ background:var(--soil-deep); transform:translateY(-2px); box-shadow:0 14px 34px -10px oklch(0.52 0.095 58 / .7); }
.btn--ghost{ background:transparent; color:var(--soil-ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--soil); transform:translateY(-2px); }
.btn--lg{ padding:1.1rem 1.9rem; font-size:1.06rem; }
.btn--on-dark{ background:var(--on-dark); color:var(--soil-deep); }
.btn--on-dark:hover{ background:#fff; }
@media (prefers-reduced-motion: reduce){ .btn:hover{ transform:none; } }

/* ---------- header ---------- */
.site{ position:sticky; top:0; z-index:var(--z-nav); background:oklch(0.985 0.012 78 / .82); backdrop-filter:blur(12px) saturate(1.3);
  border-bottom:1px solid transparent; transition:border-color .3s, background-color .3s; }
.site.is-stuck{ border-color:var(--line); }
.site__in{ display:flex; align-items:center; justify-content:space-between; min-height:72px; gap:1rem; }
.brand{ display:inline-flex; align-items:center; gap:.55rem; text-decoration:none; color:var(--ink); font-family:var(--serif); font-weight:600; font-size:1.28rem; letter-spacing:-0.015em; }
.brand__mark{ width:32px; height:32px; flex:none; }
.brand span{ white-space:nowrap; }
.nav__toggle{ display:none; }
.nav{ display:flex; align-items:center; gap:1.5rem; }
.nav a:not(.btn){ color:var(--ink-soft); text-decoration:none; font-weight:600; font-size:.97rem; }
.nav a:not(.btn):hover,.nav a[aria-current=page]{ color:var(--soil-ink); }
@media (max-width:760px){
  .nav__toggle{ display:inline-flex; align-items:center; gap:.5rem; background:none; border:1.5px solid var(--line); border-radius:10px;
    padding:.55rem .85rem; font-family:var(--sans); font-weight:700; font-size:.95rem; color:var(--ink); cursor:pointer; }
  .nav{ position:fixed; inset:72px 0 auto 0; flex-direction:column; align-items:stretch; gap:0; background:var(--bg);
    border-bottom:1px solid var(--line); padding:.5rem var(--gutter) 1.4rem; transform:translateY(-12px); opacity:0;
    pointer-events:none; transition:opacity .2s, transform .2s; z-index:var(--z-overlay); }
  .nav[data-open=true]{ transform:none; opacity:1; pointer-events:auto; }
  .nav a:not(.btn){ padding:.85rem .25rem; border-bottom:1px solid var(--line); }
  .nav .btn{ margin-top:.9rem; justify-content:center; }
}

/* ---------- kicker ---------- */
.kicker{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--sans); font-weight:700;
  font-size:.85rem; letter-spacing:.02em; color:var(--soil-ink); margin:0 0 1.1rem; text-transform:none; }
.kicker::before{ content:""; width:1.7rem; height:2px; background:var(--amber); flex:none; }

/* ---------- hero ---------- */
.hero{ position:relative; padding:clamp(3.2rem,3rem + 5vw,7rem) 0 clamp(2.6rem,2rem + 4vw,5rem); overflow:hidden; }
.hero::before{ content:""; position:absolute; inset:-30% -10% auto -10%; height:92%; z-index:-1;
  background:radial-gradient(58% 70% at 74% 16%, oklch(0.92 0.055 82 / .85), transparent 70%),
             radial-gradient(50% 60% at 10% 2%, oklch(0.95 0.030 130 / .8), transparent 66%); }
.hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,4vw,4.5rem); align-items:center; }
@media (max-width:920px){ .hero__grid{ grid-template-columns:1fr; } }
.hero h1{ margin-bottom:1.2rem; }
.hero h1 em{ font-style:italic; color:var(--soil-ink); font-weight:500; }
.hero .lead{ max-width:46ch; margin-bottom:1.9rem; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.hero__note{ margin-top:1.8rem; color:var(--muted); font-size:.97rem; max-width:48ch; }

/* hero figure: a live farm dashboard "card" */
.hero__fig{ position:relative; justify-self:center; width:100%; max-width:440px; }
.dash{ background:var(--soil-deep); color:var(--on-dark); border-radius:var(--radius-lg);
  padding:clamp(1.3rem,1rem + 1.4vw,1.9rem); box-shadow:var(--shadow); position:relative; }
.dash__bar{ display:flex; align-items:center; gap:.5rem; margin-bottom:1.1rem; font-family:var(--mono);
  font-size:.78rem; letter-spacing:.01em; color:oklch(0.86 0.03 80); overflow-wrap:anywhere; }
.dash__dot{ width:9px; height:9px; flex:none; border-radius:50%; background:var(--green); box-shadow:0 0 0 4px oklch(0.55 0.105 145 / .25); animation:pulse 2.4s var(--ease) infinite; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 4px oklch(0.55 0.105 145 / .25); } 50%{ box-shadow:0 0 0 7px oklch(0.55 0.105 145 / .08); } }
.dash__grid{ display:grid; grid-template-columns:1fr 1fr; gap:.7rem; }
.tankcard{ background:oklch(1 0 0 / .08); border:1px solid oklch(1 0 0 / .14); border-radius:14px; padding:.85rem .9rem; min-width:0; }
.tankcard .lvl{ font-family:var(--mono); font-weight:600; font-size:1.45rem; line-height:1; color:#fff; }
.tankcard .nm{ font-size:.78rem; color:oklch(0.85 0.02 80); margin:.35rem 0 .55rem; overflow-wrap:break-word; }
.tankcard .meter{ height:6px; border-radius:99px; background:oklch(1 0 0 / .16); overflow:hidden; }
.tankcard .meter i{ display:block; height:100%; border-radius:99px; background:var(--green); }
.tankcard.low .lvl{ color:var(--amber); }
.tankcard.low .meter i{ background:var(--amber); }
.dash__chart{ margin-top:.9rem; background:oklch(1 0 0 / .06); border:1px solid oklch(1 0 0 / .12); border-radius:14px; padding:.8rem .9rem; }
.dash__chart .cap{ display:flex; justify-content:space-between; gap:.5rem; font-size:.74rem; color:oklch(0.84 0.02 80); margin-bottom:.4rem; font-family:var(--mono); }
.dash__alert{ margin-top:.9rem; display:flex; gap:.55rem; align-items:center; background:oklch(0.74 0.135 70 / .92); color:oklch(0.26 0.06 58);
  border-radius:12px; padding:.7rem .85rem; font-weight:700; font-size:.86rem; overflow-wrap:break-word; }
.dash__alert svg{ flex:none; }

/* ---------- section rhythm ---------- */
.section{ padding:clamp(3.6rem,3rem + 4vw,7rem) 0; }
.panel{ background:var(--bg-2); }
.section__head{ max-width:42ch; margin-bottom:clamp(2rem,4vw,3rem); }
.section__head h2{ margin-bottom:.7rem; }
.section__head p{ color:var(--ink-soft); font-size:1.15rem; }

/* ---------- pains ---------- */
.pains{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:clamp(1.1rem,2.4vw,1.8rem); }
.pain{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.4rem,1rem + 1.4vw,1.9rem); box-shadow:var(--shadow-sm); min-width:0; }
.pain h3{ font-size:1.22rem; margin-bottom:.5rem; display:flex; gap:.55rem; align-items:baseline; overflow-wrap:break-word; }
.pain h3 .x{ font-family:var(--mono); font-weight:700; color:var(--amber-ink); flex:none; }
.pain p{ color:var(--ink-soft); }

/* ---------- feats ---------- */
.feats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:clamp(1.1rem,2.4vw,1.8rem); }
.feat{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(1.5rem,1rem + 1.6vw,2.1rem);
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column; gap:.2rem; min-width:0; transition:transform .4s var(--ease), box-shadow .4s; }
.feat:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.panel .feat{ background:var(--paper); }
.feat__ic{ width:44px; height:44px; flex:none; color:var(--green-ink); margin-bottom:.9rem; }
.feat h3{ font-size:1.24rem; margin-bottom:.4rem; overflow-wrap:break-word; }
.feat p{ color:var(--ink-soft); }
.feat > div{ min-width:0; }
@media (prefers-reduced-motion: reduce){ .feat:hover{ transform:none; } }

/* ---------- compare / year-on-year ---------- */
.compare{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,4vw,4rem); align-items:center; }
@media (max-width:820px){ .compare{ grid-template-columns:1fr; } }
.compare h2{ margin-bottom:1rem; }
.yoy{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(1.5rem,1rem + 2vw,2.4rem); box-shadow:var(--shadow-sm); min-width:0; }
.yoy__row{ display:flex; align-items:center; gap:.9rem; margin-bottom:.85rem; }
.yoy__yr{ font-family:var(--mono); font-weight:600; font-size:.9rem; color:var(--muted); width:3.2rem; flex:none; }
.yoy__track{ flex:1; height:14px; border-radius:99px; background:var(--field); overflow:hidden; min-width:0; }
.yoy__track i{ display:block; height:100%; border-radius:99px; background:var(--green); }
.yoy__track.now i{ background:var(--soil); }

/* ---------- steps ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.5rem,3vw,3rem); counter-reset:s; }
@media (max-width:820px){ .steps{ grid-template-columns:1fr; gap:0; } }
.step{ counter-increment:s; position:relative; padding-top:1.6rem; border-top:2px solid var(--line); min-width:0; }
@media (max-width:820px){ .step{ padding:1.6rem 0; border-top:1px solid var(--line); } .step:first-child{ border-top:2px solid var(--line); } }
.step::before{ content:none; font-family:var(--serif); font-size:1.5rem; color:var(--amber-ink); position:absolute; top:1.3rem; right:0; }
.step h3{ font-size:1.28rem; margin:.15rem 0 .5rem; padding-right:1.6rem; overflow-wrap:break-word; }
.step p{ color:var(--ink-soft); }

/* ---------- proof ---------- */
.proof{ background:linear-gradient(135deg, oklch(0.33 0.060 150), oklch(0.28 0.045 56)); color:var(--on-dark);
  border-radius:var(--radius-lg); padding:clamp(2.2rem,2rem + 3vw,4rem); }
.proof h2{ color:var(--on-dark); max-width:22ch; margin-bottom:1rem; }
.proof p{ color:oklch(0.9 0.02 80); max-width:62ch; font-size:1.12rem; }
.proof a{ color:var(--on-dark); text-decoration-color:var(--amber); text-underline-offset:.18em; }
.stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:1.2rem; margin-top:2rem; }
.stat{ background:oklch(1 0 0 / .08); border:1px solid oklch(1 0 0 / .16); border-radius:14px; padding:1.1rem 1.2rem; min-width:0; }
.stat b{ font-family:var(--serif); font-weight:600; font-size:clamp(1.5rem,1.1rem + 1vw,2rem); line-height:1.1; display:block; color:#fff; overflow-wrap:break-word; }
.stat span{ display:block; margin-top:.4rem; color:oklch(0.86 0.02 80); font-size:.92rem; }

/* ---------- faq ---------- */
.faq{ max-width:780px; }
.faq details{ border-bottom:1px solid var(--line); }
.faq summary{ list-style:none; cursor:pointer; padding:1.35rem 2.5rem 1.35rem 0; position:relative; font-family:var(--serif); font-weight:500; font-size:1.2rem; color:var(--ink); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:""; position:absolute; right:.3rem; top:50%; width:12px; height:12px; margin-top:-7px;
  border-right:2px solid var(--amber-ink); border-bottom:2px solid var(--amber-ink); transform:rotate(45deg); transition:transform .3s var(--ease); }
.faq details[open] summary::after{ transform:rotate(225deg); }
.faq p{ color:var(--ink-soft); padding-bottom:1.35rem; max-width:66ch; }

/* ---------- cta band ---------- */
.cta{ text-align:center; position:relative; overflow:hidden; }
.cta::before{ content:""; position:absolute; inset:auto -10% -40% -10%; height:72%; z-index:-1;
  background:radial-gradient(50% 100% at 50% 100%, oklch(0.92 0.055 82 / .7), transparent 72%); }
.cta h2{ max-width:20ch; margin:0 auto 1.1rem; }
.cta p{ max-width:50ch; margin:0 auto 1.9rem; color:var(--ink-soft); font-size:1.16rem; }

/* ---------- STORY: sticky "a day on the farm" phone + scrolling beats ---------- */
.story{ background:var(--night); color:var(--on-dark); position:relative; }
.story::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(40% 30% at 82% 6%, oklch(0.74 0.135 70 / .2), transparent 70%),
             radial-gradient(46% 36% at 8% 96%, oklch(0.55 0.105 145 / .3), transparent 70%); }
.story .wrap{ position:relative; z-index:1; }
.story__intro{ max-width:42ch; padding:clamp(3.4rem,3rem + 3vw,6rem) 0 clamp(1rem,2vw,2.4rem); }
.story__intro h2{ color:var(--on-dark); margin-bottom:.9rem; }
.story__intro p{ color:oklch(0.86 0.02 80); font-size:1.16rem; }
.story__tag{ font-family:var(--sans); font-weight:700; letter-spacing:.02em; color:var(--wheat); font-size:.86rem; margin-bottom:1rem; display:inline-flex; gap:.5rem; align-items:center; }
.story__cols{ display:grid; grid-template-columns:0.92fr 1.08fr; gap:clamp(2rem,5vw,6rem); align-items:start; }
.story__stage{ position:sticky; top:0; height:100vh; display:flex; align-items:center; justify-content:center; }
.beats{ padding:4vh 0 10vh; }
.beat{ min-height:66vh; display:flex; flex-direction:column; justify-content:center; max-width:32ch; }
.beat__time{ font-family:var(--mono); font-weight:600; font-size:.9rem; letter-spacing:.03em; color:var(--wheat); margin-bottom:.7rem; }
.beat h3{ color:var(--on-dark); font-size:clamp(1.55rem,1.2rem + 1.6vw,2.4rem); margin-bottom:.8rem; }
.beat p{ color:oklch(0.84 0.02 80); font-size:1.08rem; }
.beat.is-alert .beat__time{ color:var(--amber); }

/* the phone */
.phone{ width:min(290px,74vw); aspect-ratio:9/19; background:#15110c; border-radius:38px; padding:11px;
  box-shadow:0 0 0 2px oklch(0.5 0.04 60 / .35), 0 40px 80px -30px #000; position:relative; }
.phone::before{ content:""; position:absolute; top:16px; left:50%; transform:translateX(-50%); width:34%; height:7px; border-radius:99px; background:#000; z-index:3; }
.screen{ position:relative; width:100%; height:100%; border-radius:28px; overflow:hidden;
  background:linear-gradient(180deg, oklch(0.46 0.075 56), oklch(0.30 0.055 56)); }
.scene{ position:absolute; inset:0; padding:2.3rem 1.2rem 1.2rem; display:flex; flex-direction:column;
  opacity:0; transform:scale(1.02); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.scene.is-active{ opacity:1; transform:none; }
.scene__top{ text-align:center; color:oklch(0.97 0.01 80); margin-bottom:auto; }
.scene__top .clock{ font-family:var(--mono); font-size:2.4rem; line-height:1; font-weight:500; }
.scene__top .day{ font-size:.8rem; opacity:.8; margin-top:.25rem; }
.scene__app{ text-align:center; font-size:.68rem; letter-spacing:.07em; opacity:.7; margin-bottom:.45rem; font-family:var(--mono); text-transform:uppercase; }
.scene__card{ background:oklch(1 0 0 / .13); backdrop-filter:blur(6px); border:1px solid oklch(1 0 0 / .18);
  border-radius:18px; padding:.95rem 1rem; display:flex; gap:.7rem; align-items:center; color:#fff; }
.scene__card .ic{ width:40px; height:40px; flex:none; border-radius:12px; background:oklch(1 0 0 / .18); display:grid; place-items:center; }
.scene__card .ic svg{ width:22px; height:22px; }
.scene__card .txt{ min-width:0; }
.scene__card b{ font-size:.94rem; font-weight:700; display:block; font-family:var(--sans); }
.scene__card small{ font-size:.78rem; opacity:.82; }
.scene__meta{ margin-top:.7rem; font-family:var(--mono); font-size:.72rem; opacity:.7; text-align:center; }
.scene--alert .scene__card{ background:oklch(0.74 0.135 70 / .94); border-color:oklch(0.82 0.1 70 / .6); color:oklch(0.26 0.06 58); }
.scene--alert .scene__card .ic{ background:oklch(0.26 0.06 58 / .14); }

@media (max-width:880px){
  .story__cols{ grid-template-columns:1fr; }
  .story__stage{ height:auto; position:sticky; top:60px; padding:1rem 0 1.5rem; }
  .phone{ width:min(210px,56vw); }
  .beats{ padding:2vh 0 0; }
  .beat{ min-height:58vh; }
}

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(2rem,4vw,4rem); align-items:start; }
@media (max-width:840px){ .contact-grid{ grid-template-columns:1fr; } }
.form{ display:grid; gap:1.1rem; margin-top:1.2rem; }
.form__honey{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.field{ display:grid; gap:.4rem; }
.field label{ font-weight:700; font-size:.95rem; color:var(--ink); }
.field .opt{ font-weight:400; color:var(--muted); font-size:.86rem; }
.field input,.field textarea{ font-family:var(--sans); font-size:1rem; color:var(--ink); background:var(--paper);
  border:1.5px solid var(--line); border-radius:12px; padding:.85rem 1rem; width:100%; }
.field textarea{ min-height:140px; resize:vertical; }
.field input:focus,.field textarea:focus{ outline:none; border-color:var(--soil); box-shadow:0 0 0 3px oklch(0.52 0.095 58 / .15); }
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{ border-color:var(--over); box-shadow:0 0 0 3px oklch(0.52 0.180 25 / .14); }
.field__err{ display:none; color:var(--over); font-size:.86rem; font-weight:700; }
.field__err:not(:empty){ display:block; }
.form__note{ color:var(--muted); font-size:.88rem; }
.btn[aria-busy="true"]{ opacity:.7; cursor:progress; }
.aside{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(1.6rem,1.2rem + 2vw,2.4rem); box-shadow:var(--shadow-sm); min-width:0; }
.aside h2{ font-size:1.4rem; margin-bottom:1rem; }
.aside dl{ margin:0; }
.aside dt{ font-weight:700; color:var(--ink); margin-top:1rem; }
.aside dt:first-child{ margin-top:0; }
.aside dd{ margin:.2rem 0 0; color:var(--ink-soft); }
.aside a{ color:var(--soil-ink); }

/* ---------- guide table ---------- */
.gtable{ width:100%; border-collapse:collapse; font-size:.98rem; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.gtable th{ text-align:left; padding:.9rem 1rem; font-family:var(--serif); font-weight:600; border-bottom:2px solid var(--line); background:var(--bg-2); }
.gtable td{ padding:.85rem 1rem; border-bottom:1px solid var(--line); vertical-align:top; }
.gtable tr:last-child td{ border-bottom:0; }

/* ---------- footer ---------- */
.foot{ background:var(--soil-deep); color:oklch(0.85 0.02 80); padding:clamp(3rem,2rem + 3vw,4.5rem) 0 2.5rem; }
.foot a{ color:oklch(0.92 0.02 80); text-decoration:none; }
.foot a:hover{ color:#fff; }
.foot__top{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:2.5rem; }
.foot__promise{ font-family:var(--serif); font-size:clamp(1.4rem,1.1rem + 1.4vw,2rem); color:var(--on-dark); max-width:14ch; line-height:1.1; }
.foot__cols{ display:flex; flex-wrap:wrap; gap:2.2rem 3.2rem; }
.foot__col h4{ font-family:var(--sans); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:var(--wheat); margin:0 0 .9rem; }
.foot__col ul{ list-style:none; margin:0; padding:0; display:grid; gap:.55rem; }
.foot__col li{ font-size:.95rem; color:oklch(0.82 0.02 80); }
.foot__col a{ font-size:.95rem; }
.foot__net{ display:flex; flex-wrap:wrap; gap:.5rem 1.4rem; align-items:center; }
.foot__net h4{ font-family:var(--sans); font-size:.76rem; text-transform:uppercase; letter-spacing:.08em; color:var(--wheat); margin:0; width:100%; }
.foot__bottom{ border-top:1px solid oklch(1 0 0 / .12); margin-top:2.6rem; padding-top:1.5rem; display:flex; flex-wrap:wrap; gap:.6rem 1.6rem; justify-content:space-between; color:oklch(0.72 0.02 80); font-size:.85rem; }
.foot__bottom a{ color:oklch(0.84 0.02 80); }

/* ---------- reveal motion (visible by default; JS hides only below-fold) ---------- */
.reveal{ transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-pending{ opacity:0; transform:translateY(22px); }
@media (prefers-reduced-motion: reduce){ .reveal.is-pending{ opacity:1; transform:none; } .scene{ transition:none; } }
