/* ============================================================
   SILO Supply Co.
   Palette is brand-locked. Do not introduce colours outside :root.
   ============================================================ */

:root{
  /* brand — locked */
  --charcoal:#1F2022;
  --stone:#E8E6DE;
  --sage:#6F7A5C;
  --mist:#C9CCC7;

  /* Derived tints, mixed from the locked palette only. The four brand values
     above are never altered; these exist solely to clear WCAG AA (4.5:1) for
     small text, which raw --sage does not on either ground.
       --sage        3.64:1 on Stone  -> fills, rules, focus rings only (AA non-text)
       --sage-text   4.53:1 on Stone  -> small text on light grounds
       --sage-dark   4.51:1 on Charcoal -> small text on the dark band
       --sage-deep   4.52:1 vs Stone  -> button hover fill carrying Stone text  */
  --stone-deep:#DFDDD4;
  --charcoal-70:#5A5B5D;
  --charcoal-55:#5F6165;
  --sage-text:#5C654C;
  --sage-dark:#818A70;
  --sage-deep:#616B51;
  --on-dark:#E8E6DE;
  --on-dark-body:#C9CCC7;     /* Mist — 9.6:1 on Charcoal */
  --line-dark:rgba(232,230,222,.20);
  --danger:#8C3A2E;

  --font:'Jost',ui-sans-serif,system-ui,-apple-system,'Segoe UI',Helvetica,Arial,sans-serif;

  /* spacing scale — 4px base */
  --s1:.25rem; --s2:.5rem;  --s3:.75rem; --s4:1rem;  --s5:1.5rem;
  --s6:2rem;   --s7:3rem;   --s8:4rem;   --s9:6rem;  --s10:8rem;

  --shell:1180px;
  --gutter:clamp(1.25rem,5vw,3rem);
  --sec-y:clamp(4.25rem,10vw,8.5rem);
  --radius:2px;
  --rule:1px solid var(--mist);
}

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

/* The UA rule `[hidden]{display:none}` has the same specificity as any of our
   own class rules, so it loses on source order — `.form{display:grid}` kept the
   form rendering even with the hidden attribute set. Enforce it once, here. */
[hidden]{display:none !important}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:88px;
  color-scheme:light;
}

body{
  margin:0;
  background:var(--stone);
  color:var(--charcoal);
  font-family:var(--font);
  font-size:1.0625rem;
  font-weight:400;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{max-width:100%;height:auto;display:block}
ul,ol{margin:0;padding:0;list-style:none}
p{margin:0 0 var(--s4)}
p:last-child{margin-bottom:0}

a{color:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,
select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--sage);
  outline-offset:3px;
  border-radius:1px;
}
.section-dark a:focus-visible,.section-dark button:focus-visible{outline-color:var(--sage-dark)}

.shell{width:100%;max-width:var(--shell);margin-inline:auto;padding-inline:var(--gutter)}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--charcoal);color:var(--stone);
  padding:.75rem 1.25rem;text-decoration:none;font-size:.9375rem;
}
.skip:focus{left:0}

/* ---------------- typography ---------------- */

h1,h2,h3{margin:0;font-weight:300;letter-spacing:-.015em;line-height:1.1}

h1{
  font-size:clamp(2.375rem,6vw,4.25rem);
  line-height:1.05;letter-spacing:-.025em;max-width:15ch;
}
h2{font-size:clamp(1.75rem,3.4vw,2.625rem);line-height:1.14;max-width:20ch}
h3{font-size:1.0625rem;font-weight:500;letter-spacing:0;line-height:1.35}

/* Sage micro-label with a hairline rule — the repeating brand signature */
.eyebrow{
  margin:0 0 var(--s4);
  display:flex;align-items:center;gap:.75rem;
  font-size:.6875rem;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;color:var(--sage-text);
}
.eyebrow::before{
  content:"";flex:none;width:22px;height:1px;background:var(--sage);
}
.section-dark .eyebrow{color:var(--sage-dark)}
.section-dark .eyebrow::before{background:var(--sage-dark)}

.lede{
  font-size:clamp(1.0625rem,1.5vw,1.1875rem);
  line-height:1.6;color:var(--charcoal-70);max-width:56ch;
}
.fine{font-size:.875rem;line-height:1.6;color:var(--charcoal-55);max-width:62ch}
.fine a{color:var(--charcoal-70);text-underline-offset:3px}

/* ---------------- buttons ---------------- */

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:inherit;font-size:.9375rem;font-weight:500;letter-spacing:.01em;
  text-decoration:none;border:none;cursor:pointer;border-radius:var(--radius);
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.btn-primary{background:var(--charcoal);color:var(--stone);padding:1rem 1.75rem;min-height:52px}
.btn-primary:hover{background:var(--sage-deep);color:var(--stone)}

.btn-text{
  color:var(--charcoal);padding:1rem 0;min-height:52px;
  border-bottom:1px solid var(--mist);border-radius:0;
}
.btn-text:hover{border-bottom-color:var(--sage);color:var(--sage-text)}

.actions{display:flex;flex-wrap:wrap;gap:var(--s4) var(--s6);align-items:center}

/* ---------------- header ---------------- */

.site-header{
  position:sticky;top:0;z-index:50;
  background:color-mix(in srgb,var(--stone) 88%,transparent);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:var(--rule);
}
@supports not (backdrop-filter:blur(4px)){ .site-header{background:var(--stone)} }

.header-inner{
  display:flex;align-items:center;justify-content:space-between;gap:var(--s5);
  min-height:78px;
}

.brand{display:block;flex:none}
.brand img{width:auto;height:41px}   /* +8% for optical balance against the nav */

.nav{display:flex;align-items:center;gap:var(--s7)}
.nav ul{display:flex;align-items:center;gap:var(--s6)}

/* Scoped to `ul` so it can never override .btn-primary on the CTA.
   Previously `.nav a` (0,1,1) beat `.btn-primary` (0,1,0) and painted the
   CTA label charcoal-on-charcoal — invisible. */
.nav ul a{
  text-decoration:none;font-size:.9375rem;color:var(--charcoal);
  padding-block:.375rem;border-bottom:1px solid transparent;
  transition:border-color .18s ease,color .18s ease;
}
.nav ul a:hover{border-bottom-color:var(--sage);color:var(--sage-text)}

.nav-cta{
  padding:.6875rem 1.125rem;min-height:44px;font-size:.875rem;
  background:var(--charcoal);color:var(--stone);
}
.nav-cta:hover{background:var(--sage-deep);color:var(--stone)}
.cta-short{display:none}

.nav-toggle{
  display:none;width:48px;height:48px;margin-right:-12px;
  background:none;border:none;cursor:pointer;padding:14px 11px;
}
.nav-toggle span{display:block;height:1px;background:var(--charcoal);transition:transform .2s ease}
.nav-toggle span+span{margin-top:7px}
.nav-toggle[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}

/* ---------------- hero ---------------- */

.hero{position:relative;overflow:hidden;padding-block:clamp(3.5rem,9vw,7rem) clamp(3.5rem,8vw,6rem)}
.hero-inner{position:relative;z-index:1}
.hero-copy{max-width:34rem}
.hero .lede{margin-top:var(--s5)}
.hero .actions{margin-top:clamp(1.75rem,3.5vw,2.5rem)}

/* Oversized fragment of the wordmark's O. Mist on Stone: present, near-silent. */
.hero-geo{
  position:absolute;top:50%;right:-14vw;transform:translateY(-50%);
  width:min(46vw,620px);aspect-ratio:1;color:var(--mist);
  pointer-events:none;z-index:0;
}
.hero-geo svg{width:100%;height:100%;display:block}

/* Proof line — quiet, not badges */
.proof{
  margin:clamp(2rem,4vw,2.75rem) 0 0;padding-top:var(--s5);
  border-top:var(--rule);
  display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.125rem;
  font-size:.8125rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--sage-text);font-weight:500;
}
.proof span{display:inline-flex;align-items:center;gap:1.125rem}
.proof span+span::before{content:"";width:3px;height:3px;background:var(--mist);border-radius:50%}

/* ---------------- sections ---------------- */

.section{padding-block:var(--sec-y);border-top:var(--rule)}
.section-tight{padding-block:clamp(3.25rem,7vw,5.5rem)}
.section-tint{background:var(--stone-deep);border-top-color:transparent}
.section-dark{background:var(--charcoal);color:var(--on-dark);border-top-color:transparent}
.section-dark h2,.section-dark h3{color:var(--on-dark)}
.section-dark p{color:var(--on-dark-body)}

/* Sage surface — the middle of the three brand grounds (Stone / Sage / Charcoal).
   Contrast is tight here, so every rule below is deliberate:
     #FFFFFF on #6F7A5C  = 4.55:1  -> AA pass, used for ALL type
     Stone   on #6F7A5C  = 3.64:1  -> fails, never used for type here
     white @85%          = 3.80:1  -> fails, so no opacity is applied to text
   Translucent white is used only for rules, which are non-text. */
.section-sage{
  background:var(--sage);color:#fff;border-top-color:transparent;
  --rule:1px solid rgba(255,255,255,.28);
}
/* Descendant-scoped so these beat later same-specificity rules such as
   `.segments p`, which would otherwise paint charcoal onto Sage (1.49:1). */
.section-sage h2,.section-sage h3,.section-sage p,.section-sage .lede,
.section-sage .segments p,.section-sage .issues p,.section-sage .split-body p{color:#fff}
.section-sage .eyebrow{color:#fff}
.section-sage .eyebrow::before{background:rgba(255,255,255,.55)}
.section-sage .seg-n{color:#fff}
.section-sage .sec-head{margin-bottom:clamp(2.75rem,5.5vw,4.25rem)}
.section-sage .segments li{padding-block:clamp(1.5rem,2.6vw,1.875rem)}
.section-sage a:focus-visible{outline-color:#fff}

.sec-head{margin-bottom:clamp(2.5rem,5vw,3.75rem);max-width:46ch}
.sec-head .lede{margin-top:var(--s5)}

/* ---------------- product ---------------- */

.product{display:grid;gap:var(--s7)}

.spec-label{
  margin:0 0 var(--s4);font-size:.6875rem;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;color:var(--sage-text);
}

/* Range block — the four standard weights as a specification, not as cards. */
.range{
  border-top:2px solid var(--charcoal);
  padding-top:var(--s5);margin-bottom:clamp(2.5rem,5vw,3.75rem);
}
.range-name{
  margin:0;font-size:clamp(1.5rem,3vw,2rem);font-weight:300;
  letter-spacing:-.02em;line-height:1.15;
}
.range-note{margin:var(--s3) 0 0;color:var(--charcoal-70);max-width:52ch}

/* Preparation options — Hand-Stretch and Pan. Descriptive only: no diameter,
   yield, recipe or equivalence claim is attached to either preparation. */
.preps{
  margin:clamp(2rem,4vw,2.75rem) 0 0;
  display:grid;grid-template-columns:1fr;column-gap:var(--s7);
}
.preps li{padding-block:var(--s5);border-top:var(--rule)}
.preps li:last-child{border-bottom:var(--rule)}
.prep-name{margin:0;font-size:1.125rem;font-weight:400;letter-spacing:-.01em}
.preps p{margin:.375rem 0 0;color:var(--charcoal-70);max-width:52ch}

.sizes-label{margin:clamp(2rem,4vw,2.75rem) 0 var(--s4)}

.weights{
  margin:clamp(2rem,4vw,2.75rem) 0 0;
  display:grid;grid-template-columns:repeat(2,1fr);column-gap:var(--s5);
}
/* The label already supplies the leading space above the weights. */
.sizes-label + .weights{margin-top:0}
.weights li{padding-block:var(--s5);border-top:var(--rule)}
.w-fig{
  display:block;font-size:clamp(2.25rem,5.2vw,3.25rem);font-weight:300;
  line-height:1;letter-spacing:-.04em;font-feature-settings:"tnum" 1;
}
.w-unit{font-size:.38em;letter-spacing:-.01em;margin-left:.04em}

.range-avail{
  margin:var(--s5) 0 0;padding-top:var(--s4);border-top:var(--rule);
  font-size:.9375rem;color:var(--charcoal-70);max-width:52ch;
}
.range-help{margin:var(--s4) 0 0;font-size:.9375rem;color:var(--charcoal-70);max-width:52ch}
.range-help strong{font-weight:500;color:var(--charcoal)}

.range-flex{margin:var(--s6) 0 0}
.range-flex a{
  font-size:.9375rem;color:var(--charcoal-70);text-decoration:none;
  border-bottom:1px solid var(--mist);padding-bottom:.25rem;
  transition:border-color .18s ease,color .18s ease;
}
.range-flex a:hover{border-bottom-color:var(--sage);color:var(--sage-text)}

.spec-list{margin:0;display:grid;gap:0}
/* Stacked rather than label-left/value-right: the value column is only ~320px
   and "180g · 250g · 350g · 500g" would wrap badly against a right-aligned dd. */
.spec-list div{padding-block:var(--s3);border-top:var(--rule)}
.spec-list dt{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--charcoal-55)}
.spec-list dd{margin:.1875rem 0 0;font-size:.9375rem}

.product-list{display:grid;gap:0}
.product-list li{padding-block:var(--s5);border-top:var(--rule)}
.product-list li:last-child{border-bottom:var(--rule)}
.product-list p{margin:.375rem 0 0;color:var(--charcoal-70);max-width:52ch}

.product + .fine{margin-top:var(--s6)}

/* ---------------- why silo: issues ---------------- */

.issues{display:grid;gap:0}
.issues li{padding-block:var(--s5);border-top:var(--rule)}
.issues li:last-child{border-bottom:var(--rule)}
.issue-n{
  display:block;font-size:.75rem;font-weight:500;letter-spacing:.14em;
  color:var(--sage-text);margin-bottom:.625rem;
}
.issues p{margin:.375rem 0 0;color:var(--charcoal-70)}

/* ---------------- segments ---------------- */

.segments{display:grid;gap:0}
.segments li{
  display:grid;grid-template-columns:auto 1fr;gap:var(--s2) var(--s5);
  align-items:baseline;padding-block:var(--s5);border-top:var(--rule);
}
.segments li:last-child{border-bottom:var(--rule)}
.seg-n{
  grid-row:1 / span 2;font-size:.75rem;font-weight:500;letter-spacing:.12em;
  color:var(--sage-text);padding-top:.2rem;
}
.segments p{margin:0;color:var(--charcoal-70);max-width:48ch}

/* ---------------- steps ---------------- */

.steps{display:grid;gap:0}
.steps li{padding-block:var(--s6);border-top:1px solid var(--line-dark)}
.steps li:last-child{border-bottom:1px solid var(--line-dark)}
.step-n{
  display:block;font-size:.75rem;font-weight:500;letter-spacing:.14em;
  color:var(--sage-dark);margin-bottom:var(--s3);
}
.steps h3{margin-bottom:.5rem}
.steps p{margin:0;max-width:46ch}

/* ---------------- split ---------------- */

.split{display:grid;gap:var(--s6)}
.split-body p{color:var(--charcoal-70);max-width:52ch}
.split-body .btn-text{margin-top:var(--s3)}
.starts{
  margin-top:var(--s5);color:var(--sage-text);font-size:1.0625rem;
  padding-top:var(--s5);border-top:var(--rule);
}

/* ---------------- form ---------------- */

.form-wrap{max-width:840px}
.form{display:grid;gap:var(--s7)}

.fs{border:none;margin:0;padding:0;min-width:0}
.fs legend{
  display:flex;align-items:center;gap:.75rem;width:100%;
  padding:0 0 var(--s5);margin:0;
  font-size:.6875rem;font-weight:500;letter-spacing:.2em;text-transform:uppercase;
  color:var(--charcoal);border-bottom:var(--rule);margin-bottom:var(--s5);
}
.fs-n{color:var(--sage-text);font-weight:500}

.row{display:grid;gap:var(--s5)}
.row+.row{margin-top:var(--s5)}
/* Direct children only. `.fs .field+.field` also matched the two fields inside
   a .row — they are adjacent siblings — which pushed every right-hand column
   down by 24px and knocked the pairs out of alignment. */
.fs>.field+.field,.row+.field{margin-top:var(--s5)}
.field{display:flex;flex-direction:column;gap:.4375rem;min-width:0}

label{font-size:.875rem;font-weight:500;letter-spacing:.01em}
.opt{color:var(--charcoal-55);font-weight:400}
.hint{margin:0;order:3;font-size:.8125rem;color:var(--charcoal-55)}

input,select,textarea{
  font-family:inherit;font-size:1rem;color:var(--charcoal);
  /* Explicit line-height: `normal` resolves differently for input vs select,
     which left them 1px out of step against each other. */
  line-height:1.5;
  background:var(--stone);
  border:1px solid var(--mist);border-radius:var(--radius);
  padding:.8125rem .9375rem;min-height:52px;width:100%;
  transition:border-color .16s ease,box-shadow .16s ease;
}
textarea{min-height:104px;resize:vertical;line-height:1.55}
input::placeholder{color:var(--charcoal-55)}
input:hover,select:hover,textarea:hover{border-color:var(--charcoal-55)}
input:focus,select:focus,textarea:focus{
  border-color:var(--sage);box-shadow:inset 0 -2px 0 0 var(--sage);
}

/* Chrome paints autofilled fields pale blue, which breaks the palette.
   There is no way to set the background directly, so a large inset shadow
   is used to repaint the field in Stone. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
textarea:-webkit-autofill{
  -webkit-text-fill-color:var(--charcoal);
  -webkit-box-shadow:0 0 0 100px var(--stone) inset;
  box-shadow:0 0 0 100px var(--stone) inset;
  caret-color:var(--charcoal);
  transition:background-color 9999s ease-out 0s;
}
input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 100px var(--stone) inset,inset 0 -2px 0 0 var(--sage);
  box-shadow:0 0 0 100px var(--stone) inset,inset 0 -2px 0 0 var(--sage);
}

select{
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231F2022' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.75rem;
}
select:invalid{color:var(--charcoal-55)}
/* Optional selects are never :invalid, so the placeholder is greyed via a class
   toggled in script.js instead. */
select.is-empty{color:var(--charcoal-55)}

/* Half-width field so a lone optional select doesn't stretch the full form. */
@media (min-width:640px){ .field-half{max-width:calc(50% - (var(--s5) / 2))} }

[aria-invalid="true"]{border-color:var(--danger)}
[aria-invalid="true"]:focus{box-shadow:inset 0 -2px 0 0 var(--danger)}
.err{margin:0;order:4;font-size:.8125rem;color:var(--danger)}

.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-foot{
  display:grid;gap:var(--s5);align-items:center;
  padding-top:var(--s6);border-top:var(--rule);
}
.btn-submit{justify-self:start}

.form-status{margin:0;font-size:.9375rem;padding:.875rem 1rem;border-radius:var(--radius)}
.form-status[data-state="error"]{background:var(--stone);border:1px solid var(--danger);color:var(--danger)}
.form-status[data-state="pending"]{background:var(--stone);border:var(--rule);color:var(--charcoal-70)}

.form-done{border-top:2px solid var(--charcoal);padding-top:var(--s5);max-width:620px}
.form-done h3{
  font-size:clamp(1.5rem,3vw,2rem);font-weight:300;
  letter-spacing:-.02em;line-height:1.15;margin-bottom:var(--s4);
}
.form-done p{margin:0 0 var(--s4);color:var(--charcoal-70)}
.form-done p:last-child{margin-bottom:0}
.form-done-alt{
  padding-top:var(--s4);border-top:var(--rule);
  font-size:.9375rem;color:var(--charcoal-55);
}
.form-done-alt a{color:var(--charcoal-70);text-underline-offset:3px}

/* ---------------- footer ---------------- */

.site-footer{padding-block:var(--s8) var(--s6);border-top:var(--rule)}
.foot-top{display:grid;gap:var(--s7)}
.foot-logo{width:auto;height:41px}
.foot-tag{margin:var(--s4) 0 0;font-size:.9375rem;color:var(--charcoal-55);max-width:30ch}

.foot-cols{display:grid;gap:var(--s6)}
.foot-h{
  margin:0 0 var(--s4);font-size:.6875rem;font-weight:500;letter-spacing:.2em;
  text-transform:uppercase;color:var(--sage-text);
}
.foot-col p{margin:0 0 .125rem;font-size:.9375rem;color:var(--charcoal-70)}
.foot-col a{
  display:inline-block;text-decoration:none;
  border-bottom:1px solid var(--mist);padding-block:.375rem;
}
.foot-col a:hover{border-bottom-color:var(--sage);color:var(--sage-text)}
.foot-plain{padding-block:.375rem}

.foot-bottom{margin-top:var(--s7);padding-top:var(--s5);border-top:var(--rule)}
.legal{margin:0 0 .375rem;font-size:.8125rem;line-height:1.7;color:var(--charcoal-55);max-width:78ch}
.legal-line{display:inline-block;margin-right:.5rem}
.legal a{color:var(--charcoal-70);text-underline-offset:3px}
.foot-meta{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;margin-top:var(--s4)}

/* ---------------- prose (privacy) ---------------- */

.prose{max-width:68ch}
.prose h2{font-size:clamp(1.375rem,2.6vw,1.75rem);margin-top:var(--s8);max-width:none}
.prose h2:first-of-type{margin-top:var(--s6)}
.prose h3{margin-top:var(--s6);margin-bottom:.25rem}
.prose p,.prose li{color:var(--charcoal-70)}
.prose ul{list-style:none;margin:var(--s4) 0 var(--s4)}
.prose ul li{position:relative;padding-left:1.25rem;margin-bottom:.5rem}
.prose ul li::before{
  content:"";position:absolute;left:0;top:.7em;
  width:6px;height:1px;background:var(--sage);
}
.prose .updated{font-size:.875rem;color:var(--charcoal-55)}
.page-head{padding-block:clamp(3rem,7vw,5rem) clamp(2rem,4vw,3rem)}

/* ---------------- reveal ---------------- */

.js .reveal{opacity:0;transform:translateY(12px)}
.js .reveal.in{opacity:1;transform:none;transition:opacity .28s ease-out,transform .28s ease-out}

/* ============================================================
   BREAKPOINTS
   ============================================================ */

@media (min-width:640px){
  .row{grid-template-columns:1fr 1fr;gap:var(--s5)}
  /* Two preparations side by side; both need a bottom rule once they share a row. */
  .preps{grid-template-columns:1fr 1fr}
  .preps li{border-bottom:var(--rule)}
  .issues{grid-template-columns:1fr 1fr;column-gap:var(--s7)}
  .issues li:nth-child(2){border-top:var(--rule)}
  .issues li:nth-last-child(2){border-bottom:var(--rule)}
  .steps{grid-template-columns:1fr 1fr;column-gap:var(--s7)}
  .steps li:nth-last-child(2){border-bottom:1px solid var(--line-dark)}
  .foot-cols{grid-template-columns:1fr 1fr}
  .form-foot{grid-template-columns:auto 1fr;gap:var(--s6)}
}

@media (min-width:700px){
  .weights{grid-template-columns:repeat(4,1fr)}
}

@media (min-width:900px){
  .product{grid-template-columns:minmax(0,320px) 1fr;gap:var(--s8);align-items:start}
  .segments li{grid-template-columns:auto minmax(0,24ch) 1fr;align-items:baseline}
  .segments h3,.segments p,.seg-n{grid-row:1}
  .segments p{padding-top:.1rem}
  .split{grid-template-columns:1fr 1fr;gap:var(--s8)}
  .foot-top{grid-template-columns:1fr auto;gap:var(--s8)}
  .foot-cols{grid-template-columns:auto auto;gap:var(--s8)}
}

@media (min-width:1000px){
  .issues{grid-template-columns:repeat(4,1fr)}
  .issues li{border-bottom:var(--rule)}
  .steps{grid-template-columns:repeat(4,1fr)}
  .steps li{border-bottom:1px solid var(--line-dark)}
}

/* ---------------- mobile nav + mobile layout ---------------- */

@media (max-width:899px){
  .nav-toggle{display:block}

  .nav{
    position:fixed;inset:78px 0 auto 0;display:block;
    background:var(--stone);border-bottom:var(--rule);
    padding:var(--s5) var(--gutter) var(--s6);
    transform:translateY(-8px);opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .2s ease,transform .2s ease,visibility .2s;
    max-height:calc(100dvh - 78px);overflow-y:auto;
  }
  .nav.open{opacity:1;visibility:visible;transform:none;pointer-events:auto}

  .nav ul{display:block}
  .nav ul li{border-bottom:var(--rule)}
  .nav ul a{display:block;padding:1rem 0;font-size:1.125rem}
  .nav-cta{display:flex;width:100%;margin-top:var(--s5);min-height:52px;font-size:.9375rem}

  h1,h2{max-width:none}
  .brand img{height:36px}
  .foot-logo{height:38px}

  /* Geometry is a desktop-only grace note — never a mobile obstruction. */
  .hero-geo{display:none}

  .actions{gap:var(--s2)}
  .actions .btn-primary{width:100%}
  .actions .btn-text{justify-content:flex-start;width:100%}

  .spec-list dd{text-align:right}
  .btn-submit{width:100%;justify-self:stretch}
}

@media (max-width:400px){
  .cta-long{display:none}
  .cta-short{display:inline}
  .proof{font-size:.75rem;gap:.375rem .875rem}
  .proof span{gap:.875rem}
}

/* ---------------- motion & print ---------------- */

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
  .js .reveal{opacity:1;transform:none}
}

@media print{
  .site-header,.nav-toggle,.actions,.form-wrap,.hero-geo{display:none}
  body{background:#fff;color:#000}
  .section{border-top:1px solid #ccc;padding-block:1.5rem}
  .section-dark{background:#fff;color:#000}
  .section-dark h2,.section-dark h3,.section-dark p{color:#000}
}
