/* ==========================================================================
   A Minha Terra · homepage styles
   Tokens first; everything else uses them. No framework, no build step.
   ========================================================================== */

/* Geist for body text, Ubuntu for headlines; both self-hosted (SIL OFL / Ubuntu Font Licence) */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/geist-400.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/geist-500.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/geist-600.woff2) format('woff2'); }

/* Ubuntu, self-hosted (no request to Google = no visitor IP shared) ------- */
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/ubuntu-latin-300-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 300; font-display: swap;
  src: url(../fonts/ubuntu-latin-ext-300-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ubuntu-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/ubuntu-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ubuntu-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/ubuntu-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  /* colour: orange + cream from land-os.com, greens from the A Minha Terra logo,
     forest from the product sites (so the hand-off feels like one family) */
  --white: #FFFFFF;
  --cream: #F7F3EB;
  --ink: #262628;
  --muted: #5E5E63;          /* 6.4:1 on white, 5.8:1 on cream */
  --line: #E3DCCD;
  --press-bg: #F3F3F1;               /* light grey behind the "featured in" logos */
  --line-strong: #CFC6B3;
  --orange: #FFA202;         /* brand orange: fills only (ink text on top) */
  --orange-hover: #F29400;
  --orange-text: #C26A00;    /* orange for text: 3.9:1, used at 24px+ only */
  --orange-soft: #FFF1D6;
  --sage: #598471;           /* logo */
  --mint: #E2F0D9;           /* logo */
  --forest: #16261A;         /* product sites */
  --error: #B3261E;

  /* type */
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;          /* body, UI, forms */
  --font-head: 'Ubuntu', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;   /* headlines */
  --fs-hero: clamp(1.875rem, 1.15rem + 2.5vw, 2.875rem);
  --fs-sentence: clamp(1.375rem, 1.05rem + 1.3vw, 2rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.4vw, 2.25rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* space + shape */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --column: 47.5rem;   /* 760px column for the triage */
  --wide: 70rem;       /* 1120px */
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(38, 38, 40, .04), 0 12px 32px -12px rgba(38, 38, 40, .14);

  /* motion */
  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: 260ms;
  --header-h: 96px;   /* orange line + header; used to size the hero to the first screen */
}

/* reset ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  border-top: 4px solid var(--orange);   /* the thin orange line above the logo */
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: .75rem; }

/* header ------------------------------------------------------------------ */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--wide); margin: 0 auto; padding: 1.125rem var(--gutter);
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 56px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__link { text-decoration: none; font-weight: 500; font-size: .9375rem; padding: .375rem .25rem; }
.site-nav__link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Sign in: account holders (e.g. from "Abrir a minha conta" emails) sign in on the app at proteger. */
.site-nav__link--account { display: inline-flex; align-items: center; min-height: 36px; white-space: nowrap; }

.lang { display: inline-flex; padding: 3px; background: var(--cream); border-radius: 999px; }
.lang__btn {
  border: 0; background: transparent; cursor: pointer; border-radius: 999px;
  min-width: 44px; min-height: 36px; padding: 0 .75rem; font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.lang__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(38,38,40,.12); }

/* hero background: warm wash + faint contour lines (tools/hero-contours.py) -- */
body { position: relative; }
.hero-bg {
  position: absolute; z-index: 0; top: 0; left: 0; right: 0; height: calc(100vh + 40px); height: calc(100svh + 40px);
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, #FBF4E7 0%, #FDF9F2 55%, var(--white) 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
.hero-bg::before {   /* the pattern layer, kept away from the headline and the box */
  content: ''; position: absolute; inset: 0;
  background: url(../img/hero-contours.svg) center top / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 34rem 30rem at 50% 42%, transparent 0%, transparent 55%, #000 100%);
          mask-image: radial-gradient(ellipse 34rem 30rem at 50% 42%, transparent 0%, transparent 55%, #000 100%);
}
/* option B: aerial patchwork of parcels, one plot outlined in orange */
.hero-bg--parcels { background: var(--white); }
.hero-bg--parcels { -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%); }
.hero-bg--parcels::before {   /* background, not a picture: whisper-quiet, a little fainter towards the middle, no hard "hole" */
  background-image: url(../img/hero-parcels.svg); opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .55) 50%, #000 100%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .55) 50%, #000 100%);
}
/* option C: paper hills along the bottom and a pale sun, like the logo */
.hero-bg--horizon {
  height: calc(100vh - 0px); height: 100svh;
  background: linear-gradient(to bottom, #FCF8F1 0%, var(--white) 60%);
  -webkit-mask-image: none; mask-image: none;
}
.hero-bg--horizon::before {
  background: url(../img/hero-horizon.svg) center bottom / cover no-repeat;
  -webkit-mask-image: none; mask-image: none;
}
/* CEO's sunset landscape (assets/img/hero-sunset*.webp): three treatments */
.hero-bg--sunset, .hero-bg--sunset-wash, .hero-bg--sunset-soft, .hero-bg--sunset-whisper, .hero-bg--sunset-sepia {
  background: var(--white); height: 95vh; height: 95svh;   /* ends exactly where the press band starts */
  -webkit-mask-image: none; mask-image: none;
}
.hero-bg--sunset::before, .hero-bg--sunset-wash::before, .hero-bg--sunset-soft::before, .hero-bg--sunset-whisper::before {
  background: url(../img/hero-sunset-v26.webp) center 62% / cover no-repeat;
  background-image: image-set(url(../img/hero-sunset-v26.avif) type("image/avif"), url(../img/hero-sunset-v26.webp) type("image/webp"));
  -webkit-mask-image: none; mask-image: none;
}
/* Thijs's file at its native 1672x941, saved visually lossless: AVIF q95 with full colour detail (4:4:4), WebP q100 fallback */
/* No smaller mobile file: phones are 2-3x screens and crop the image hard, so they need every pixel */
/* 1. As is: the image in full colour */
/* 2. Wash: the same picture at about a third of its strength, so the box is the strongest thing on screen */
.hero-bg--sunset-wash::before { opacity: .37; }   /* v27: 5 points stronger than .32 */
/* 3. Soft focus: blurred and lighter; keeps the warm colours and the horizon, loses the detail that competes */
.hero-bg--sunset-soft::before { background-image: url(../img/hero-sunset-soft.webp); opacity: .55; }
/* 4. Whisper (v29 default): the landscape as a faint warm watermark, close to the earlier pale hero.
   Colour pulled back and warmed, 12% strength, and the sky fades out further so the headline sits on near-white. */
.hero-bg--sunset-whisper::before {
  opacity: .12; filter: sepia(.45) saturate(.6);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, #000 50%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, #000 50%);
}
/* 5. Sepia (v30 default): the CEO's own pale sepia version of the landscape, shown as it is.
   The look is baked into the image (4072x2292, flattened on white: AVIF q75 4:4:4, WebP q90), so no filter or mask; only shown at 85% strength. */
.hero-bg--sunset-sepia::before {
  background: url(../img/hero-sunset-sepia.webp) center 62% / cover no-repeat;
  background-image: image-set(url(../img/hero-sunset-sepia.avif) type("image/avif"), url(../img/hero-sunset-sepia.webp) type("image/webp"));
  -webkit-mask-image: none; mask-image: none;
  opacity: var(--hero-opacity, .85);   /* chosen strength (Oct 2026); the ?tune slider overrides it */
}
/* ?tune test slider (never shown without ?tune in the URL) */
.hero-tuner {
  position: fixed; z-index: 50; right: 1rem; bottom: 1rem; display: grid; gap: .25rem;
  padding: .75rem 1rem; background: var(--white); border: 1px solid #D9D2C5; border-radius: .75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); font-size: .875rem;
}
.hero-tuner label { display: flex; align-items: center; gap: .5rem; }
.hero-tuner input { width: 12rem; }
.hero-tuner output { font-variant-numeric: tabular-nums; color: #5B544A; }
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* hero -------------------------------------------------------------------- */
.hero {
  max-width: calc(64rem + 2 * var(--gutter)); margin: 0 auto;
  padding: clamp(1.75rem, 5vh, 3.5rem) var(--gutter) clamp(3rem, 8vh, 5.5rem); text-align: center;
  /* the hero fills 95% of the first screen: "Featured in" peeks in at the bottom, inviting a scroll */
  min-height: calc(95vh - var(--header-h)); min-height: calc(95svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title, .triage__title, .sentence, .answer__title, .section-title, .faq__title, .form-done__title { font-family: var(--font-head); }
.hero__title { text-wrap: balance; font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; }
.hero__title span { display: block; }
.hero__title .hero__line2 { color: var(--muted); font-weight: 400; }   /* same size as line 1, regular weight, grey */

/* triage ------------------------------------------------------------------ */
.triage {
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  position: relative; width: 100%; max-width: var(--column);
  margin: clamp(1.75rem, 4vh, 2.5rem) auto 0; text-align: left;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 0 var(--pad) var(--pad);
  box-shadow: 0 0 0 1px rgba(80, 55, 15, .08), 0 2px 6px rgba(80, 55, 15, .06), 0 36px 80px -36px rgba(80, 50, 5, .55);
}
/* header strip: the promise on the left, the two steps on the right */
.triage__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 0 calc(-1 * var(--pad)) clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(1rem, 2.4vw, 1.375rem) var(--pad);
  background: var(--orange-soft); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid #F6DFB2;   /* v28: light header back, now the hero is washed */
}
.triage__title {
  font-size: clamp(1.375rem, 1.05rem + 1vw, 1.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -.015em;
  color: var(--orange-text); text-wrap: balance;
}
.steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex: none; }
.steps__n {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: .9375rem; font-weight: 600; line-height: 1;
  border: 1.5px solid #E9C88A; color: #A0731F; background: var(--white);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), color var(--t) var(--ease);
}
.steps__n.is-active { background: var(--orange); border-color: var(--orange); color: var(--ink); box-shadow: 0 0 0 5px rgba(255, 162, 2, .22); }
.steps__n.is-done { background: var(--ink); border-color: var(--ink); color: var(--white); }
.steps__line { width: 28px; height: 2px; margin: 0 6px; background: #E9C88A; border-radius: 2px; transition: background var(--t) var(--ease); }
.steps__line.is-done { background: var(--ink); }
.sentence { font-size: var(--fs-sentence); line-height: 1.35; letter-spacing: -.015em; font-weight: 400; text-wrap: pretty; }
.sentence__slot {
  display: inline; border: 0; padding: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-weight: 500; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .18em;
  transition: text-decoration-color var(--t) var(--ease);
}
.sentence__slot:hover { text-decoration-color: var(--ink); }
.sentence__blank { color: var(--muted); font-weight: 300; white-space: nowrap; }
.sentence__blank::after { content: '…'; }

.triage__nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .5rem; }
.triage__nav:empty { display: none; }
.navlink {
  border: 0; background: none; padding: .375rem 0; cursor: pointer; min-height: 36px;
  font-size: .9375rem; font-weight: 500; color: var(--muted);
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: color var(--t) var(--ease), text-decoration-color var(--t) var(--ease);
}
.navlink:hover { color: var(--ink); text-decoration-color: currentColor; }

.choices { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .625rem; }
.chip {
  appearance: none; cursor: pointer; text-align: left; width: 100%;
  min-height: 52px; padding: .8rem 1.125rem; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  font-size: 1rem; font-weight: 500; line-height: 1.3;
  box-shadow: 0 1px 2px rgba(38,38,40,.04);
  transition: transform 160ms var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease), box-shadow var(--t) var(--ease);
  animation: chip-in 420ms var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms);
}
.chip { display: flex; align-items: center; gap: .8rem; }
.chip::after {   /* chevron: says "tap me" */
  content: ''; flex: none; margin-left: auto; width: 8px; height: 8px;
  border-right: 2px solid #B9B2A3; border-top: 2px solid #B9B2A3; transform: rotate(45deg);
  transition: transform 160ms var(--ease), border-color var(--t) var(--ease);
}
.chip:hover::after { border-color: var(--orange-text); transform: translateX(3px) rotate(45deg); }
.chip[aria-checked="true"]::after { border-color: var(--ink); }
.chip--aside::after { margin-left: .25rem; }
.chip__label { display: block; }
.chip__label::first-letter { text-transform: uppercase; }
.chip--icon { display: flex; align-items: center; gap: .8rem; }
.chip__icon { width: 22px; height: 22px; flex: none; fill: none; stroke: #8E8E93; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--t) var(--ease); }
.chip[aria-checked="true"] .chip__icon, .chip:hover .chip__icon { stroke: var(--ink); }
.chip--aside { grid-column: 1 / -1; justify-self: center; width: auto; min-width: min(100%, 22rem); justify-content: center; background: transparent; border-color: var(--line-strong); box-shadow: none; }
.chip:hover { border-color: #E9C88A; box-shadow: var(--shadow); }
.chip:active { transform: scale(.98); }
.chip[aria-checked="true"] { background: var(--orange); border-color: var(--orange); }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* answer card ------------------------------------------------------------- */
.answer {
  margin-top: 1.25rem; background: var(--cream); border-radius: var(--radius);
  padding: clamp(1.25rem, 3.5vw, 2rem); box-shadow: none; border: 1px solid var(--line);
  animation: card-in 480ms var(--ease) both;
}
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.answer__kicker { font-size: var(--fs-small); font-weight: 500; color: var(--muted); }
.answer__title { margin-top: .25rem; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
.answer__title:focus { outline: none; }
.answer__title:focus-visible { outline: 2px solid var(--ink); }
.answer__body { margin-top: .625rem; color: var(--muted); max-width: 36rem; }
.facts { list-style: none; margin: .875rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.facts li {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .875rem; font-weight: 500; color: var(--forest);
  background: var(--mint); border-radius: 999px; padding: .3rem .75rem .3rem .55rem;
}
.facts li::before {
  content: ''; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--sage);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='7' fill='%23000'/%3E%3Cpath d='M4 7.2l2 2 4-4.4' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.answer__actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.answer__host { font-size: var(--fs-small); color: var(--muted); }
.answer__alt { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.linklike {
  border: 0; background: none; padding: .25rem 0; cursor: pointer; text-align: left;
  font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong);
}
.linklike:hover { text-decoration-color: var(--ink); }
.answer__alt .form { margin-top: 1rem; }

/* buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.375rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: var(--ink); /* ink on orange = 7.5:1 (white would be 2:1) */
  font-weight: 500; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background var(--t) var(--ease), transform 160ms var(--ease);
}
.btn:hover { background: var(--orange-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn__arrow { transition: transform var(--t) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* forms ------------------------------------------------------------------- */
.form { margin-top: 1.25rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .375rem; grid-column: span 2; align-content: start; }
.field--half { grid-column: span 1; }
.field label { font-size: .9375rem; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--muted); }
.field__help { font-size: var(--fs-small); color: var(--muted); margin-top: -.125rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .875rem; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--white);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(38,38,40,.12); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__error { font-size: var(--fs-small); color: var(--error); }
.check { display: flex; gap: .625rem; align-items: center; font-size: .9375rem; cursor: pointer; min-height: 36px; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { grid-column: span 2; font-size: var(--fs-small); color: var(--muted); }
.form__notice a { color: var(--ink); }
.form__footer { grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form__status { grid-column: span 2; font-size: .9375rem; padding: .875rem 1rem; border-radius: 12px; }
.form__status--error { background: #FBE9E7; color: #7A1B14; }
.form__status a { font-weight: 500; }
.form-done { margin-top: 1.25rem; padding: 1.25rem; border-radius: 14px; background: var(--orange-soft); }
.form-done__title { font-weight: 500; font-size: 1.125rem; }
.form-done:focus { outline: none; }

/* press band: "Featured in" logos, greyed ----------------------------------- */
.press-band {
  background: var(--press-bg); margin-top: 0;
  padding: clamp(3rem, 7vh, 4.5rem) var(--gutter); text-align: center;
}
.press-band__label { font-size: .875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.press {
  list-style: none; max-width: 58rem; margin: 2.25rem auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2.5rem; align-items: center;
}
.press li { display: flex; justify-content: center; }
.press a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .25rem;
  filter: grayscale(1); opacity: .5; transition: opacity var(--t) var(--ease);
}
.press a:hover, .press a:focus-visible { opacity: .85; }
.press img { width: auto; max-width: 100%; }
.press__name { font-size: 1.25rem; font-weight: 500; letter-spacing: -.015em; white-space: nowrap; color: var(--ink); }

/* our work: fire map + ESA, two alternating rows ---------------------------- */
.work {
  max-width: calc(var(--wide) + 2 * var(--gutter)); margin: clamp(4.5rem, 11vh, 7rem) auto 0; padding: 0 var(--gutter);
  display: grid; gap: clamp(3.5rem, 9vh, 6rem);
}
.work__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.work__row--flip .work__media { order: 2; }
.work__media { margin: 0; }
.work__media img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 24px 48px -28px rgba(60, 40, 10, .45); }
.work__media img { aspect-ratio: 1188 / 623; object-fit: cover; }   /* both rows share one image shape */
.work__divider {   /* hairline with a small orange mark between the two rows */
  position: relative; height: 1px; margin: 0; border: 0; background: var(--line); overflow: visible;
}
.work__divider::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px var(--white);
}
.work__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.work__title { margin-top: .75rem; font-family: var(--font-head); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.work__body { margin-top: 1rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 34rem; }
.work__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost:hover { background: var(--cream); }

/* about + faq ------------------------------------------------------------- */
.about { background: var(--cream); margin-top: clamp(3.5rem, 9vh, 5.5rem); }
.about__inner, .contact__inner {
  max-width: var(--wide); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6rem) var(--gutter);
  display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.section-title { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.about__text { display: grid; gap: 1rem; margin-top: 1.25rem; font-size: var(--fs-lead); line-height: 1.6; }
.faq__title { font-size: 1.125rem; font-weight: 500; margin-bottom: .5rem; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.05rem 0; font-size: 1.0625rem; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--white);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 10px 1.75px, 1.75px 10px; background-position: center; background-repeat: no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; color: var(--muted); }
.contact__intro p { margin-top: .75rem; color: var(--muted); }
.contact .form { margin-top: 0; }

/* footer: forest, as on the product sites ---------------------------------- */
.site-footer { background: var(--forest); color: #EEF1E6; }
.site-footer__inner {
  max-width: var(--wide); margin: 0 auto; padding: 2.5rem var(--gutter);
  display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; align-items: center;
}
.logo--light img { height: 44px; }
.site-footer__meta { font-size: var(--fs-small); color: #D9DFCF; }
.site-footer__meta a { color: #FFFFFF; text-underline-offset: 3px; }
.site-footer :focus-visible { outline-color: #fff; }

/* noscript ---------------------------------------------------------------- */
.noscript { margin-top: 1rem; }
.noscript ul { margin: .5rem 0 0; padding-left: 1.25rem; }

/* responsive -------------------------------------------------------------- */
@media (max-width: 860px) {
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .press { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .work__row { grid-template-columns: 1fr; }
  .work__row--flip .work__media { order: 0; }
}
@media (max-width: 640px) {
  .choices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .logo img { height: 44px; }
  .triage__title { font-size: 1.25rem; }
  .steps__n { width: 28px; height: 28px; font-size: .8125rem; }
  .steps__n.is-active { box-shadow: 0 0 0 4px rgba(255, 162, 2, .22); }
  .steps__line { width: 14px; margin: 0 4px; }
  .site-nav { gap: .5rem; }
  .site-nav__link { display: none; }           /* contact is one scroll away; keeps the header calm */
  .site-nav__link--account { display: inline-flex; }  /* but signing in is not: account emails are read on phones */
  .hero { text-align: left; }
  .form { grid-template-columns: 1fr; }
  .field, .field--half, .form__footer, .form__status, .form__notice { grid-column: span 1; }
  .btn { width: 100%; }
  .answer__actions { flex-direction: column; align-items: stretch; }
  .answer__host { text-align: center; }
  .press__name { font-size: 1.125rem; }
  .work__actions .btn { width: 100%; }
  .chip--aside { justify-self: stretch; }
  .faq details p { padding-right: 0; }
}

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

@media print {
  .site-header nav, .triage, .contact { display: none; }
}
