/* WindReady Trees. One stylesheet, built on the brand tokens in BRAND.md. */

:root {
  --paper: #F6F4EE;
  --ink: #18262B;
  --spruce: #1E4A3D;
  --spruce-deep: #153629;
  --gale: #2F5F7A;
  --amber: #E3A21A;
  --muted: #55615F;
  --rule: #D8D3C6;
  --mint: #9CC3B3;
  --white: #FFFFFF;
  --tint: #EAEBE6;
  --tint: color-mix(in srgb, var(--gale) 8%, var(--paper));
  --card: #FBFAF6;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --text-body: 1.0625rem;
  --text-small: 0.875rem;
  --text-h4: 1.125rem;
  --text-h3: 1.375rem;
  --text-h2: 1.875rem;
  --text-h1: 2.5rem;
  --text-lead: 1.25rem;

  --measure: 68ch;
  --wrap: 1120px;
  --gutter: 1.25rem;
  --radius: 10px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 5.5rem;
  --focus: var(--spruce);
}

@media (min-width: 1024px) {
  :root { --text-h1: 3.25rem; --gutter: 2rem; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
svg { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-2);
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--text-h1); letter-spacing: -0.02em; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); font-weight: 600; }
h4 { font-size: var(--text-h4); font-weight: 600; }

p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0 0 var(--space-2); padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--spruce-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.on-dark { --focus: var(--amber); }
.on-dark a:not(.btn) { color: inherit; }

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.7rem 1rem; border-radius: 0 0 var(--radius) var(--radius);
  --focus: var(--amber);
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: var(--space-4); }
.prose > * + h3 { margin-top: var(--space-3); }
.muted { color: var(--muted); }
.small { font-size: var(--text-small); }
.tnum, .record-id { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Prelaunch strip */
.strip { background: var(--ink); color: var(--paper); font-size: var(--text-small); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; justify-content: center; padding-top: 0.5rem; padding-bottom: 0.5rem; text-align: center; }
.strip a:not(.btn) { color: var(--amber); font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.25rem; }
.strip p { margin: 0; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo svg { height: 2.5rem; width: auto; }
.logo:hover { color: var(--ink); }

.menu-btn {
  display: none; align-items: center; gap: 0.5rem;
  font: inherit; font-weight: 600; color: var(--ink);
  background: transparent; border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 0.5rem 0.9rem; cursor: pointer; min-height: 2.75rem;
}
.menu-btn svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav li { margin: 0; }
.site-nav a { white-space: nowrap; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-bottom-color: var(--ink); }
.site-nav a[aria-current]:not(.btn) { border-bottom-color: var(--spruce); color: var(--spruce); }

@media (max-width: 1179.98px) {
  .js .menu-btn { display: inline-flex; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--gutter) 1.5rem;
    box-shadow: 0 6px 12px rgba(24, 38, 43, 0.08);
  }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--rule); }
  .site-nav a:not(.btn) { display: block; padding: 0.85rem 0; border-bottom: 0; font-size: 1.125rem; }
  .site-nav .btn { align-self: flex-start; }
  .site-header > .wrap { flex-wrap: wrap; }
  html:not(.js) .site-header > .wrap { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  html:not(.js) .site-nav { width: 100%; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; }
  html:not(.js) .site-nav li { border: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  padding: 0.8rem 1.4rem; min-height: 2.9rem;
  border-radius: var(--radius); border: 2px solid var(--spruce);
  background: var(--spruce); color: var(--white); cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--spruce-deep); border-color: var(--spruce-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline { background: transparent; color: var(--spruce); }
.btn-outline:hover { background: var(--spruce); color: var(--white); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--spruce); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--spruce-deep); }
.btn-ghost-light { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--spruce); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #F0B43A; border-color: #F0B43A; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--space-3); }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; }
.text-link svg { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* Sections */
.section { padding: var(--space-5) 0; }
.section-tight { padding: var(--space-4) 0; }
.section > .wrap > h2, .section-head { max-width: 40rem; }
.band-spruce { background: var(--spruce); color: var(--paper); }
.band-gale { background: var(--gale); color: var(--paper); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-tint { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-spruce h1, .band-spruce h2, .band-spruce h3, .band-gale h1, .band-gale h2, .band-gale h3, .band-ink h2, .band-ink h3 { color: var(--paper); }
.band-spruce a:not(.btn), .band-gale a:not(.btn) { color: var(--paper); }
.eyebrow { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: var(--text-small); color: var(--gale); margin-bottom: 0.5rem; }
.band-spruce .eyebrow, .band-gale .eyebrow, .band-ink .eyebrow { color: var(--mint); }
.source-line { font-size: var(--text-small); margin-top: -0.25rem; }
.band-gale .source-line { color: var(--paper); }

/* Hero */
.hero { padding: var(--space-5) 0 var(--space-4); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image: repeating-linear-gradient(0deg, transparent 0, transparent 31px, var(--rule) 31px, var(--rule) 32px);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%); mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.hero .wrap { position: relative; display: grid; gap: var(--space-4); align-items: center; }
.hero h1 { margin-bottom: var(--space-2); }
.lead { font-size: var(--text-lead); line-height: 1.5; max-width: 38rem; }
.hero-note { font-size: var(--text-small); color: var(--muted); margin-top: var(--space-2); max-width: 36rem; }
.hero-art { width: 100%; }
@media (min-width: 900px) {
  .hero .wrap.has-art { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--space-5); }
}
.page-hero { padding: var(--space-5) 0 var(--space-4); border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: min(38%, 26rem); pointer-events: none; opacity: 0.8;
  background:
    linear-gradient(var(--amber), var(--amber)) 18% 36% / 34% 5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 6% 50% / 62% 5px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 22% 64% / 42% 5px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
  display: none;
}
@media (min-width: 1100px) { .page-hero::after { display: block; opacity: 0.35; } }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin-bottom: 0; }

/* Cards and grids */
.grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-2 { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-3 { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: var(--space-3); box-shadow: 0 1px 0 rgba(24, 38, 43, 0.04);
  display: flex; flex-direction: column;
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: 0.6rem; }
.card-flag { border-top: 4px solid var(--amber); }
.card .text-link, .card .btn { margin-top: auto; align-self: flex-start; }
.card p + .text-link { margin-top: 0.5rem; }
.icon {
  width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--tint); color: var(--spruce); margin-bottom: var(--space-2); flex: none;
}
.icon svg { width: 1.6rem; height: 1.6rem; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon svg .dot { fill: var(--amber); stroke: none; }
.card .label { font-size: var(--text-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gale); margin-bottom: 0.4rem; }
.tag { display: inline-block; font-size: var(--text-small); font-weight: 700; background: var(--amber); color: var(--ink); border-radius: 999px; padding: 0.1rem 0.7rem; margin-bottom: var(--space-1); align-self: flex-start; }

/* Never list */
.never-list { list-style: none; padding: 0; display: grid; gap: var(--space-2) var(--space-4); grid-template-columns: 1fr; margin-top: var(--space-3); }
@media (min-width: 768px) { .never-list { grid-template-columns: 1fr 1fr; } }
.never-list li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 0.5rem; margin: 0; }
.never-list svg { width: 1.5rem; height: 1.5rem; margin-top: 0.2rem; }
.never-list strong { display: block; }

/* Steps: only for true sequences */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.steps > li { counter-increment: step; position: relative; padding: 0 0 var(--space-2) 3.5rem; margin: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--spruce); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.steps > li::after { content: ""; position: absolute; left: 1.2rem; top: 2.6rem; bottom: 0.2rem; width: 2px; background: var(--rule); }
.steps > li:last-child::after { display: none; }
.steps > li > strong:first-child { font-family: var(--font-head); font-size: var(--text-h4); display: block; }
.steps.steps-row { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .steps.steps-row { grid-template-columns: repeat(4, 1fr); gap: var(--space-3); }
  .steps.steps-row > li { padding: 3.2rem 0 0 0; }
  .steps.steps-row > li::after { left: 2.6rem; right: -1rem; top: 1.2rem; bottom: auto; width: auto; height: 2px; }
}
.band-gale .steps > li::before, .band-spruce .steps > li::before { background: var(--paper); color: var(--spruce); }

/* Pricing */
.price-card { position: relative; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 2.5rem; line-height: 1; margin: 0.25rem 0 0.5rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.price small { font-family: var(--font-body); font-size: var(--text-body); font-weight: 600; color: var(--muted); }
.price-note { color: var(--muted); font-size: 0.975rem; }
.price-note strong { color: var(--ink); }
.tick-list { list-style: none; padding: 0; margin: var(--space-2) 0; }
.tick-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.55rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.4em; width: 1.05rem; height: 0.6rem;
  border-left: 2.5px solid var(--spruce); border-bottom: 2.5px solid var(--spruce); transform: rotate(-45deg) scale(0.85); transform-origin: center;
}
.figure-price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.big-price { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.25rem, 9vw, 5rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card-solo { max-width: 26rem; }
.price-panel { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-4); max-width: 44rem; border-left: 6px solid var(--spruce); }
.price-panel p { margin-bottom: 0.5rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: var(--space-2) 0 var(--space-3); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
.table-wrap:focus-visible { outline-offset: 0; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-family: var(--font-head); font-weight: 600; font-size: var(--text-h4); padding: var(--space-2) var(--space-2) 0.25rem; caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 0.75rem var(--space-2); border-bottom: 1px solid var(--rule); }
thead th { background: var(--tint); font-size: var(--text-small); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
.table-wrap table { min-width: 34rem; }

/* Callouts and boxes */
.callout { max-width: var(--measure); border-left: 5px solid var(--gale); background: var(--tint); padding: var(--space-2) var(--space-3); border-radius: 0 var(--radius) var(--radius) 0; margin: var(--space-3) 0; }
.callout > :last-child { margin-bottom: 0; }
.callout strong:first-child { display: block; color: var(--gale); }
.scope-box { border: 2px solid var(--ink); border-radius: var(--radius); padding: var(--space-3); background: var(--card); margin: var(--space-3) 0; position: relative; }
.scope-box > :last-child { margin-bottom: 0; }
.band-tint .scope-box .label { background: var(--tint); }
.scope-box .label { position: absolute; top: -0.8rem; left: 1rem; background: var(--paper); padding: 0 0.6rem; font-size: var(--text-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.exact-line { font-family: var(--font-head); font-weight: 600; font-size: var(--text-h3); line-height: 1.3; border-left: 5px solid var(--spruce); padding-left: var(--space-3); margin: var(--space-3) 0; max-width: var(--measure); }
.version-tiles { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: var(--space-3) 0 0; padding: 0; list-style: none; }
.version-tiles li { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.75rem 1rem; }
.version-tiles .k { display: block; font-size: var(--text-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gale); }
.version-tiles .v { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }

/* Standard page markers */
.standard-doc h2 { position: relative; padding-left: 1.1rem; }
.standard-doc h2::before { content: ""; position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 0.35rem; border-radius: 2px; background: var(--gale); }
.finding-list { list-style: none; padding: 0; display: grid; gap: var(--space-2); margin-top: var(--space-2); }
.finding-list li { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-2) var(--space-3); margin: 0; }
.finding-list .cite { display: block; font-size: var(--text-small); color: var(--muted); margin-top: 0.35rem; }
.op-list { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-top: var(--space-2); }
.op-list > div { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-2) var(--space-3); }
.op-list h3 { font-size: var(--text-h4); margin-bottom: 0.35rem; }
.op-list p:last-child { margin-bottom: 0; }

/* Figures and diagrams */
figure { margin: var(--space-3) 0; }
figure svg { width: 100%; height: auto; }
figcaption { font-size: var(--text-small); color: var(--muted); margin-top: 0.5rem; }
.diagram { background: var(--tint); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-2); }
.diagram { overflow-x: auto; }
.diagram svg { width: 100%; height: auto; min-width: 30rem; }
.diagram text { font-family: var(--font-body); font-weight: 600; }

/* Sample record */
.sample-record { background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--rule); overflow: hidden; margin: var(--space-3) 0; max-width: 52rem; }
.sample-record .sr-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: center; background: var(--ink); color: var(--paper); padding: 0.75rem var(--space-3); }
.sample-record .sr-head strong { font-family: var(--font-head); font-size: var(--text-h4); }
.sample-record .sr-stamp { font-size: var(--text-small); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.sample-record dl { display: grid; grid-template-columns: 1fr; gap: 0.5rem var(--space-3); margin: 0; padding: var(--space-3); }
@media (min-width: 640px) { .sample-record dl { grid-template-columns: 1fr 1fr; } }
.sample-record dt { font-size: var(--text-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gale); }
.sample-record dd { margin: 0 0 0.5rem; font-variant-numeric: tabular-nums; }
.sample-record .table-wrap { margin: 0; border-left: 0; border-right: 0; border-radius: 0; border-bottom: 0; }
.sample-record .sr-foot { padding: 0.75rem var(--space-3); font-size: var(--text-small); color: var(--muted); border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.priority { display: inline-block; font-size: var(--text-small); font-weight: 700; padding: 0.1rem 0.6rem; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.priority-now { background: var(--ink); color: var(--paper); }
.priority-season { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.priority-monitor { background: transparent; }

/* FAQ */
.faq { max-width: 52rem; border-top: 1px solid var(--rule); margin-top: var(--space-3); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item h2 { font-size: var(--text-h4); margin: 0; font-weight: 600; text-wrap: pretty; }
.faq-item h2 button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font: inherit; font-family: var(--font-head); font-weight: 600; color: var(--ink); text-align: left;
  background: none; border: 0; padding: 1.1rem 0; cursor: pointer; line-height: 1.3;
}
.faq-item h2 button:hover { color: var(--spruce); }
.faq-item h2 button::after {
  content: ""; flex: none; width: 0.6rem; height: 0.6rem; margin-right: 0.3rem;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item h2 button[aria-expanded="true"]::after { transform: rotate(-135deg); }
html:not(.js) .faq-item h2 button::after { display: none; }
.faq-answer { padding: 0 0 1.25rem; max-width: var(--measure); }
.faq-answer[hidden] { display: none; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: var(--space-3); max-width: 46rem; }
@media (min-width: 768px) { .form-card { padding: var(--space-4); } }
.form-grid { display: grid; gap: var(--space-2) var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: var(--space-1); min-width: 0; }
.field[hidden] { display: none; }
.field label, .field legend { font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); font-size: var(--text-small); }
.field .help { font-size: var(--text-small); color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #8B8B80; border-radius: 8px; padding: 0.65rem 0.8rem; min-height: 2.9rem; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.2rem; }
textarea { min-height: 7.5rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--spruce); outline-offset: 1px; border-color: var(--spruce); }
fieldset { border: 0; margin: 0 0 var(--space-1); padding: 0; min-width: 0; }
.check { display: grid; grid-template-columns: 1.5rem 1fr; gap: 0.6rem; align-items: start; margin-bottom: 0.75rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--spruce); }
.check label { font-weight: 400; font-size: 0.975rem; }
.check-group { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.check-group .check { grid-template-columns: 1.5rem auto; margin-bottom: 0.25rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-fine { font-size: var(--text-small); color: var(--muted); margin-top: var(--space-2); max-width: 42rem; }
.form-fine a { color: var(--spruce); }
.band-spruce .form-card, .band-gale .form-card { color: var(--ink); --focus: var(--spruce); }
.band-spruce .form-card h2, .band-spruce .form-card h3, .band-spruce .form-card a { color: var(--ink); }
.band-spruce .form-card a { color: var(--spruce); }
.band-spruce .form-card .btn { color: var(--white); }
.form-short .form-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-short .form-grid { grid-template-columns: 1fr 1fr 8rem; } .form-short .form-grid .full { grid-column: 1 / -1; } }
.early-wrap { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 900px) { .early-wrap { grid-template-columns: 0.9fr 1.1fr; } }
.early-wrap .lead { font-size: 1.125rem; }

/* Article */
.article-head { padding: var(--space-5) 0 var(--space-3); border-bottom: 1px solid var(--rule); }
.article-head .wrap { max-width: 52rem; }
.article-head h1 { font-size: clamp(2rem, 5vw, 2.75rem); }
.standfirst { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.4; font-weight: 400; color: var(--ink); max-width: 40rem; }
.byline { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: var(--text-small); color: var(--muted); margin-top: var(--space-2); }
.article-body { padding: var(--space-4) 0 var(--space-5); }
.article-body .wrap { max-width: 52rem; }
.article-body .prose { max-width: var(--measure); }
.article-body h2 { margin-top: var(--space-4); }
.article-body h2:first-child { margin-top: 0; }
.article-body ol, .article-body ul { padding-left: 1.4rem; }
.article-body figure { max-width: 46rem; }
.checklist { list-style: none; padding: 0; }
.checklist li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; }
.checklist li::before { content: ""; width: 1.1rem; height: 1.1rem; border: 2px solid var(--ink); border-radius: 3px; margin-top: 0.3rem; }
.sources { font-size: 0.975rem; }
.sources li { overflow-wrap: anywhere; }
.article-cta { text-align: left; }
.article-cta .wrap { max-width: 52rem; }
.article-cta p { max-width: 36rem; }
.read-time { font-size: var(--text-small); color: var(--muted); font-weight: 600; }
.article-card { text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.article-card:hover { border-color: var(--spruce); transform: translateY(-2px); color: inherit; }
.article-card h2 { font-size: var(--text-h3); font-weight: 600; margin-bottom: 0.5rem; }
.article-card p { color: var(--muted); }
.article-card .read-time { margin-top: auto; padding-top: var(--space-1); color: var(--spruce); }

/* Footer */
.closing-line { text-align: center; color: var(--muted); font-size: var(--text-small); padding: var(--space-4) 0; margin: 0; }
.site-footer .closing-line { color: var(--mint); padding: 0 0 var(--space-4); }
.site-footer { background: var(--ink); color: var(--paper); padding: var(--space-5) 0 var(--space-3); margin-top: 0; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-cols { display: grid; gap: var(--space-4) var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-cols h2 { font-size: var(--text-small); font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); margin-bottom: var(--space-1); font-weight: 700; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 0; }
.footer-cols a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.footer-brand svg { height: 2.5rem; width: auto; margin-bottom: var(--space-2); }
.footer-brand .tagline { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: var(--space-1); }
.footer-brand .tm { font-size: var(--text-small); color: var(--mint); max-width: 22rem; }
.footer-bottom { border-top: 1px solid rgba(246, 244, 238, 0.25); margin-top: var(--space-4); padding-top: var(--space-2); font-size: var(--text-small); display: grid; gap: 0.5rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer-bottom li { margin: 0; }
.footer-bottom p { margin: 0; max-width: 52rem; }

/* 404 */
.nf { padding: var(--space-6) 0; text-align: left; }
.nf .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 18vw, 9rem); line-height: 0.9; color: var(--spruce); font-variant-numeric: tabular-nums; margin: 0 0 var(--space-2); }

/* Print: the yard check prints as a clean sheet */
@media print {
  .strip, .site-header, .site-footer, .article-cta, .closing-line, .skip-link, .btn-row, .no-print { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article-head { padding: 0 0 0.5rem; border: 0; }
  .article-body { padding: 0.5rem 0; }
  a { color: #000; text-decoration: none; }
  .sources a::after { content: " (" attr(href) ")"; font-size: 9pt; }
  h2, h3 { break-after: avoid; }
  li, figure { break-inside: avoid; }
}

@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .footer-bottom ul { flex-direction: column; }
}

/* Utilities */
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.center { text-align: center; }
.read-time svg { display: inline; width: 1rem; height: 1rem; vertical-align: -3px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.standard-doc h2 { margin-top: var(--space-4); }
.standard-doc .wrap > .prose:first-child > h2:first-child { margin-top: 0; }
.standard-doc .table-wrap { max-width: 52rem; }
.standard-doc .finding-list, .standard-doc .op-list, .standard-doc figure { max-width: 52rem; }
.sample-record tbody th { white-space: nowrap; }
@media (max-width: 480px) {
  .strip .wrap { display: block; }
  .strip p { display: inline; }
  .strip a { margin-left: 0.25rem; white-space: nowrap; }
}
legend { padding: 0; }
.field legend .opt { font-weight: 400; }

/* Form notices, shown by site.js after a form posts */
.form-notice { padding: var(--space-2) 0; border-bottom: 1px solid var(--rule); background: var(--tint); border-left: 5px solid var(--spruce); }
.form-notice p { margin: 0; font-weight: 600; }
.form-notice a { color: var(--spruce); }
.form-notice.is-error { border-left-color: var(--amber); background: var(--card); }
