/* Dirty Scent — "fresh air".
   Palette sampled from the hero photograph: deep sky #193B99, sky #2D5EBD,
   haze #B3D0EF, grass #4D9B1F. Structure carried over from the Green Planet /
   FOYM reference — Inter at tight tracking, 8px radii, full-bleed bands with
   organic wave dividers, two-tone headlines, soft-shadowed cards. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* "Fresh air" — every value sampled from the hero photograph.
     sky zenith #193B99 · sky mid #2D5EBD · haze #B3D0EF · grass #4D9B1F */
  --sky-deep:    #163788;   /* header + footer bands (zenith, darkened for contrast) */
  --sky:         #2D5EBD;   /* accent — links, emphasis */
  --sky-tint:    #EAF1FB;
  --haze:        #B3D0EF;
  --cloud:       #EAF2FC;
  --on-dark-sky: #9CC4F0;   /* accent that reads on the deep band */

  --grass:       #37780F;   /* secondary accent, darkened to clear AA on white */
  --grass-tint:  #EDF5E7;

  --amber:       #A35B12;
  --amber-tint:  #FBF3E7;
  --red:         #9B2C1B;

  --ink:         #0C1420;   /* near-black with a blue cast, from the sky */
  --dim:         #4E5A6B;
  --faint:       #8A94A3;

  --bg:          #F7FAFD;   /* airy near-white */
  --panel:       #FFFFFF;
  --rule:        #DCE5EF;
  --rule-strong: #BFCCDC;

  --cream:       #F2EADB;
  --taupe:       #C4B49A;

  --sem-avoid:   #9B2C1B;
  --sem-caution: #A35B12;
  --sem-ok:      var(--grass);
  --sem-none:    #8A94A3;

  --shadow: 0 1px 2px rgba(12,20,32,.05), 0 8px 26px rgba(12,20,32,.07);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --t-xs:   0.72rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.35rem;
  --t-2xl:  1.9rem;
  --t-3xl:  3.75rem;

  --r:      8px;
  --r-sm:   6px;

  --measure: 36rem;
  --wide:    64rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Accessibility ------------------------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Header — deep-sky band -------------------------------------------- */
.site-header { background: var(--sky-deep); color: #fff; }
.site-header-inner {
  max-width: var(--wide); margin-inline: auto;
  padding: 1.1rem clamp(1.15rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem;
}
.wordmark {
  margin-right: auto;
  display: inline-flex; align-items: baseline; gap: .34em;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem; letter-spacing: -.045em;
  text-transform: uppercase; text-decoration: none;
}
.wm-1 { color: var(--taupe); }
.wm-2 { color: var(--cream); }
.wordmark:hover .wm-1 { color: var(--cream); }

.site-nav { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; align-items: center; }
.site-nav a {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.76); text-decoration: none;
  padding: .2rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--on-dark-sky); }

/* ---- Layout --------------------------------------------------------- */
.wrap { max-width: var(--wide); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 3rem); }
.section { padding-block: clamp(2rem, 4vw, 3.25rem); border-top: 1px solid var(--rule); }
.hero + .section { border-top: 0; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: .9rem; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose ul, .prose ol { padding-left: 1.15rem; }
.prose li + li { margin-top: .3rem; }

/* ---- Hero — the fresh-air photograph, scrimmed for legibility -------- */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--sky-deep);
  background-image:
    linear-gradient(180deg, rgba(9,26,68,.78) 0%, rgba(9,26,68,.55) 46%, rgba(9,26,68,.30) 100%),
    url('/assets/img/fresh-air.jpg');
  background-size: cover, cover;
  background-position: center, center 62%;  /* frames the whole tree canopy */
  background-repeat: no-repeat, no-repeat;
}
/* The hero is a photograph cropped with `cover`, so its height decides which
   slice of the image shows. Left to size itself, a longer headline or
   description makes the band taller and the crop jumps between pages. A height
   floor removes the variance: every page whose content fits gets an identical
   band, and the content is centred within it. */
.hero-in {
  position: relative; z-index: 1;
  min-height: clamp(300px, 28vw, 400px);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: center;
  gap: .85rem;
}
.hero-in > * { margin-block: 0; }
.hero-in .hero-actions { margin-top: .55rem; }
/* organic divider into the light ground below */
.hero::after {
  content: ""; display: block; height: clamp(34px, 4vw, 62px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 30C200 62 420 70 720 46 1020 22 1250 14 1440 34V70H0Z' fill='%23F7FAFD'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}
.hero h1 { max-width: 18ch; }
.hero .eyebrow { color: var(--on-dark-sky); }
.hero .standfirst { color: var(--cloud); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero .btn-primary { background: #fff; color: var(--sky-deep); }
.hero .btn-primary:hover { background: var(--on-dark-sky); color: var(--sky-deep); }
.hero .btn-secondary { border-color: rgba(255,255,255,.32); color: #fff; background: transparent; }
.hero .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.07); }

/* headline emphasis, two-tone */
.hl { color: var(--sky); }
.hero .hl { color: var(--on-dark-sky); }

/* ---- Type ----------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.04em; line-height: 1.1;
  text-wrap: balance; margin: 0;
}
h1 { font-size: clamp(2.35rem, 6.5vw, var(--t-3xl)); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
h2 { font-size: clamp(1.5rem, 3.4vw, var(--t-2xl)); font-weight: 700; letter-spacing: -.045em; }
h3 { font-size: var(--t-xl); font-weight: 650; letter-spacing: -.035em; }
h4 { font-size: var(--t-base); font-weight: 650; letter-spacing: -.02em; }
h1.caps { text-transform: uppercase; letter-spacing: -.02em; }

.eyebrow {
  display: block; margin-bottom: .6rem;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
}
.standfirst { font-size: var(--t-lg); color: var(--dim); max-width: 38rem; text-wrap: pretty; }

a { color: var(--sky); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
code { font-family: var(--font-mono); font-size: .86em; background: var(--sky-tint); padding: .12em .36em; border-radius: 4px; }
strong { font-weight: 650; }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-display); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: -.01em; padding: .68rem 1.3rem;
  border: 1px solid transparent; border-radius: var(--r);
}
.btn-primary { background: var(--sky-deep); color: #fff; }
.btn-primary:hover { background: var(--sky); color: #fff; }
.btn-secondary { border-color: var(--rule-strong); color: var(--ink); background: var(--panel); }
.btn-secondary:hover { border-color: var(--ink); }

/* ---- Cards ---------------------------------------------------------- */
.grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.card p { margin: 0; color: var(--dim); font-size: var(--t-sm); }
.card .eyebrow { margin-bottom: 0; color: var(--sky); }
.card .btn { align-self: flex-start; margin-top: auto; }

/* ---- Big audience choice -------------------------------------------- */
.choice-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
a.choice {
  display: flex; flex-direction: column; gap: .55rem;
  min-height: 11rem; padding: 1.75rem;
  background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--r); box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink);
  transition: border-color .12s ease, box-shadow .12s ease;
}
a.choice:hover { border-color: var(--sky); box-shadow: 0 2px 4px rgba(10,10,10,.05), 0 14px 34px rgba(10,10,10,.09); }
.choice-eyebrow { font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.choice-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
.choice-go { margin-top: auto; font-size: var(--t-sm); font-weight: 600; color: var(--sky); }
.choice-go::after { content: " →"; }

/* ---- Standard levels ------------------------------------------------- */
.level {
  background: var(--panel); border: 1px solid var(--rule);
  border-left: 4px solid var(--sky); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 1.2rem 1.35rem; max-width: 46rem;
}
.level + .level { margin-top: .9rem; }
.level-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .75rem; margin-bottom: .4rem; }
.level-tag { font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.level h3 { font-size: var(--t-lg); }
.level ul { margin: .6rem 0 0; padding-left: 1.15rem; font-size: var(--t-sm); color: var(--dim); }
.level li + li { margin-top: .25rem; }
.level > p { margin: 0; font-size: var(--t-sm); color: var(--dim); }

/* ---- Findings readout — the "data card" of the reference ------------- */
.readout {
  position: relative; max-width: 46rem;
  background: var(--panel); border: 1px solid var(--rule);
  border-radius: var(--r); box-shadow: var(--shadow);
}
/* stacked-paper offset behind the card */
.readout::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  transform: rotate(-1.1deg) translateY(7px);
}
.readout-title {
  background: var(--sky-deep); color: #fff;
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: .12em; text-transform: uppercase; padding: .7rem 1.1rem;
}
.readout-row { display: grid; gap: .15rem 1rem; padding: .85rem 1.1rem; }
.readout-row + .readout-row { border-top: 1px solid var(--rule); }
@media (min-width: 40rem) { .readout-row { grid-template-columns: 10rem minmax(0, 1fr); } }
.readout-state { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding-top: .16rem; }
.readout-state.is-contains     { color: var(--sem-avoid); }
.readout-state.is-absent       { color: var(--sem-ok); }
.readout-state.is-undetermined { color: var(--sem-caution); }
.readout-claim { font-family: var(--font-display); font-size: var(--t-sm); font-weight: 650; letter-spacing: -.02em; }
.readout-evidence { font-family: var(--font-mono); font-size: var(--t-xs); line-height: 1.7; color: var(--dim); }

/* ---- Location consent ---------------------------------------------- */
/* Never prompts on load. The browser prompt is one-shot per origin — a denial
   is close to permanent — so we explain first and only trigger it on a
   deliberate action. Manual entry sits alongside as an equal path, not a
   fallback offered after refusal. */
.locask {
  max-width: 46rem; padding: 1.4rem 1.5rem;
  background: var(--panel); border: 1px solid var(--rule);
  border-left: 4px solid var(--sky); border-radius: var(--r);
  box-shadow: var(--shadow);
}
.locask-tag {
  display: block; margin-bottom: .35rem;
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--sky);
}
.locask h3 { font-size: var(--t-lg); margin-bottom: .8rem; }
.locask-terms { list-style: none; margin: 0 0 1.15rem; padding: 0; display: grid; gap: .5rem; }
.locask-terms li {
  position: relative; padding-left: 1.35rem;
  font-size: var(--t-sm); color: var(--dim);
}
.locask-terms li::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--sky);
}
.locask-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.locask-manual { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-top: 1.15rem; }
.locask-manual .field { flex: 1 1 14rem; }
.locask-status { margin: 1rem 0 0; font-size: var(--t-sm); font-weight: 600; }
.locask-status:empty { margin: 0; }
.locask-status[data-tone="wait"]  { color: var(--dim); }
.locask-status[data-tone="ok"]    { color: var(--sem-ok); }
.locask-status[data-tone="warn"]  { color: var(--sem-caution); }
.locask-status[data-tone="error"] { color: var(--sem-avoid); }
.locask-result {
  margin-top: 1rem; padding: .85rem 1rem;
  background: var(--sky-tint); border: 1px solid var(--haze); border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: var(--t-xs); color: var(--dim); line-height: 1.75;
}
.locask-forget {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600;
  color: var(--sky); text-decoration: underline;
}

/* ---- Place results (geo) ------------------------------------------- */
/* The API caps at 100 and shrinks the radius rather than truncating, so the
   result set is COMPLETE WITHIN a smaller distance. That distinction is the
   whole point and it has to survive into the rendering. */
.coverage {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline;
  max-width: 46rem; padding: .9rem 1.1rem; margin-bottom: 1rem;
  background: var(--sky-tint); border: 1px solid var(--haze);
  border-left: 4px solid var(--sky); border-radius: var(--r);
}
.coverage-lede {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: .1em; text-transform: uppercase; color: var(--sky);
  font-weight: 700; white-space: nowrap;
}
.coverage p { margin: 0; font-size: var(--t-sm); color: var(--dim); }

.results { max-width: 46rem; border: 1px solid var(--rule); border-radius: var(--r);
           background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.result { display: grid; gap: .3rem .9rem; padding: .9rem 1.1rem; }
.result + .result { border-top: 1px solid var(--rule); }
@media (min-width: 34rem) { .result { grid-template-columns: minmax(0,1fr) auto; align-items: start; } }
.result-name { font-family: var(--font-display); font-weight: 650; font-size: var(--t-base); letter-spacing: -.02em; }
.result-meta { font-size: var(--t-xs); color: var(--faint); font-family: var(--font-mono); }
.result-dist { font-family: var(--font-mono); font-size: var(--t-sm); color: var(--dim); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Policy chip — level, scope and date together. Never a bare tick: a policy is
   a claim about intent, not a promise about today. */
.policy {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: .15rem;
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .04em;
  padding: .2rem .5rem; border-radius: 999px; border: 1px solid transparent;
}
.policy::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; flex: none; }
.policy.p-scent    { color: var(--sem-avoid);   background: #FBEFEC; border-color: #EED8D2; }
.policy.p-unknown  { color: var(--faint);       background: var(--bg); border-color: var(--rule); }
.policy.p-reported { color: var(--dim);         background: var(--bg); border-color: var(--rule-strong); }
.policy.p-claimed  { color: var(--sem-caution); background: var(--amber-tint); border-color: #EBDCC4; }
.policy.p-verified { color: var(--sem-ok);      background: var(--grass-tint); border-color: #D3E6C6; }

/* Two non-result states that must never be mistaken for one another. */
.nostate { max-width: 46rem; padding: 1.35rem 1.4rem; border-radius: var(--r); border: 1px solid var(--rule); }
.nostate h4 { margin-bottom: .35rem; }
.nostate p { margin: 0; font-size: var(--t-sm); color: var(--dim); }
.nostate p + p { margin-top: .5rem; }
.nostate.is-empty   { background: var(--panel); border-left: 4px solid var(--rule-strong); }
.nostate.is-refused { background: var(--amber-tint); border-color: #EBDCC4; border-left: 4px solid var(--amber); }
.nostate-tag {
  display: block; margin-bottom: .4rem;
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: .12em; text-transform: uppercase;
}
.nostate.is-empty .nostate-tag   { color: var(--faint); }
.nostate.is-refused .nostate-tag { color: var(--amber); }

/* Facet filters. These must be sent to the API, never applied client-side to a
   capped result — filtering 100 nearest answers a different question. */
.facets { display: flex; flex-wrap: wrap; gap: .45rem; max-width: 46rem; margin-bottom: 1rem; }
.facet {
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600;
  padding: .35rem .8rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--rule-strong); background: var(--panel); color: var(--dim);
}
.facet[aria-pressed="true"] { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }

/* ---- Provenance ------------------------------------------------------ */
.provenance { display: block; margin-top: .25rem; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--faint); }
.provenance.is-suspect { color: var(--sem-caution); }

/* ---- Evidence panel --------------------------------------------------- */
.evidence { max-width: 46rem; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); }
.evidence > summary { cursor: pointer; padding: .8rem 1.1rem; list-style: none; font-family: var(--font-display); font-size: var(--t-sm); font-weight: 650; }
.evidence > summary::-webkit-details-marker { display: none; }
.evidence > summary::before { content: "▸"; color: var(--sky); margin-right: .45rem; }
.evidence[open] > summary::before { content: "▾"; }
.evidence-body { padding: .95rem 1.1rem 1.1rem; border-top: 1px solid var(--rule); }
.evidence-body ul { margin: 0; padding-left: 1.15rem; font-size: var(--t-sm); color: var(--dim); }
.evidence-body li + li { margin-top: .5rem; }
.evidence-body cite { display: block; font-style: normal; margin-top: .15rem; font-family: var(--font-mono); font-size: var(--t-xs); color: var(--faint); }
.evidence-attr { margin-top: .9rem; padding-top: .7rem; border-top: 1px dashed var(--rule-strong); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--faint); }

/* ---- Interference notice ----------------------------------------------- */
.interference {
  display: flex; flex-wrap: wrap; gap: .4rem .85rem; align-items: baseline;
  max-width: 46rem; padding: .95rem 1.1rem;
  background: var(--amber-tint); border: 1px solid #EBDCC4;
  border-left: 4px solid var(--amber); border-radius: var(--r);
}
.interference-tag { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 700; white-space: nowrap; }
.interference p { margin: 0; font-size: var(--t-sm); color: var(--dim); }

/* ---- Tables ------------------------------------------------------------ */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); background: var(--panel); max-width: 46rem; }
table { border-collapse: collapse; width: 100%; min-width: 32rem; }
th, td { text-align: left; padding: .8rem 1rem; vertical-align: top; border-bottom: 1px solid var(--rule); }
tr:last-child td { border-bottom: 0; }
th {
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--dim); background: var(--sky-tint);
  border-bottom-color: var(--haze); white-space: nowrap;
}
td.state { font-family: var(--font-mono); font-size: var(--t-sm); white-space: nowrap; }
td.reading { font-size: var(--t-sm); color: var(--dim); }
td.reading strong { color: var(--ink); }

.dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-right: .45rem; vertical-align: .05em; }
.dot.is-avoid   { background: var(--sem-avoid); }
.dot.is-caution { background: var(--sem-caution); }
.dot.is-ok      { background: var(--sem-ok); }
.dot.is-none    { background: var(--sem-none); }

/* ---- Callout ------------------------------------------------------------ */
.callout {
  max-width: 46rem; padding: 1.15rem 1.35rem;
  background: var(--sky-tint); border: 1px solid #DCE7E0;
  border-left: 4px solid var(--sky); border-radius: var(--r);
}
.callout.warn { background: var(--amber-tint); border-color: #EBDCC4; border-left-color: var(--amber); }
.callout.stop { background: #FBEFEC; border-color: #EED8D2; border-left-color: var(--red); }
.callout h4 { margin-bottom: .3rem; }
.callout p { margin: 0; font-size: var(--t-sm); color: var(--dim); }
.callout p + p { margin-top: .5rem; }

/* ---- Steps --------------------------------------------------------------- */
.steps { max-width: 44rem; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 1rem; padding: 1.05rem 0; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--grass-tint); color: var(--grass);
  font-size: var(--t-xs); font-weight: 700; font-variant-numeric: tabular-nums;
}
.steps p { margin: .2rem 0 0; font-size: var(--t-sm); color: var(--dim); }

/* ---- Forms ---------------------------------------------------------------- */
.form { max-width: 30rem; display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-family: var(--font-display); font-size: var(--t-sm); font-weight: 650; }
.field .hint { font-size: var(--t-xs); color: var(--dim); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: var(--t-base); color: var(--ink);
  background: var(--panel); border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm); padding: .68rem .8rem; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sky); }
.form-status { font-size: var(--t-sm); font-weight: 600; }
.form-status[data-state="error"] { color: var(--sem-avoid); }
.form-status[data-state="ok"]    { color: var(--sem-ok); }

/* ---- Footer — deep-sky band, wave into it -------------------------------------- */
.site-footer {
  margin-top: 3.5rem; background: var(--sky-deep); color: rgba(255,255,255,.8);
  padding-block: 0 3rem; position: relative;
}
.site-footer::before {
  content: ""; display: block; height: clamp(34px, 4vw, 62px); margin-bottom: 2.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40C200 8 420 0 720 24 1020 48 1250 56 1440 36V0H0Z' fill='%23F7FAFD'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
}
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.footer-grid h4 {
  font-family: var(--font-display); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-sky);
  margin-bottom: .7rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .35rem; }
.footer-grid a { font-family: var(--font-display); font-size: var(--t-sm); font-weight: 500; text-decoration: none; color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; text-decoration: underline; }

.footer-note {
  margin-top: 2.25rem; padding-top: 1.35rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--t-xs); color: rgba(255,255,255,.55); max-width: 46rem;
}
.footer-note p { margin: 0 0 .5rem; }
.footer-note strong { color: rgba(255,255,255,.8); }
