/* reformr — component & section layer
   References css/tokens.css only; no raw values, no framework, no UI library.
   Sections mirror hale's grammar (eyebrow → heading → subhead → content) in a
   clean hand-authored system. See NOTES.md.

   Contents
   0. Reset & base            6. How it works
   1. Layout & type utils     7. Feature cards ("what you get")
   2. Nav                     8. Ecosystem ("why us")
   3. Buttons                 9. Platform coverage
   4. Hero + signature        10. Proof / Pricing / FAQ / closing CTA
   5. Thesis + calculator     11. Footer  12. Signup  13. Blog  14. Motion/a11y
*/

/* ============================ 0. Reset & base ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
/* grid/flex children must be allowed to shrink below content size */
.hero_inner > *, .thesis_grid > *, .proof-grid > *, .calc > *, .reformer { min-width: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul[role="list"] { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--tracking-tight);
}
:target { scroll-margin-top: 6rem; }

/* ============================ 1. Layout & type ========================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.is-tight { max-width: var(--container-tight); }
.container.is-text  { max-width: var(--container-text); }

.section { padding-block: var(--section-y); }
.section.is-sm { padding-block: var(--section-y-sm); }
.section.is-dark { background: var(--rf-pine); color: var(--rf-chalk); }
.section.is-ink  { background: var(--rf-ink);  color: var(--rf-chalk); }
.section.is-surface { background: var(--surface); }

/* dark-context role overrides */
.is-dark, .is-ink { --text: var(--rf-chalk); --text-soft: #c4cdc8; --text-faint: #93a29d;
  --line: rgba(240,238,231,0.16); --line-strong: rgba(240,238,231,0.28); --surface: #1b2724; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-eyebrow); letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.eyebrow.is-steel { color: var(--rf-steel); } .eyebrow.is-steel::before { background: var(--rf-steel); }

.h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-tight); }
.h3 { font-size: var(--fs-h3); }
.h4 { font-size: var(--fs-h4); }
.h5 { font-size: var(--fs-h5); }
.h6 { font-size: var(--fs-h6); font-weight: var(--fw-medium); }
.lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--text-soft); }
.muted { color: var(--text-soft); }
.small { font-size: var(--fs-small); }
.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1; }
.accent-text { color: var(--accent); }
.stack > * + * { margin-top: var(--sp-4); }
.section-head { max-width: 42rem; }
.section-head .lead { margin-top: var(--sp-4); }
.center { text-align: center; margin-inline: auto; }

/* ============================ 2. Nav ==================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--rf-pine) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid rgba(240,238,231,0.10);
  color: var(--rf-chalk);
}
.nav_inner { display: flex; align-items: center; gap: var(--sp-6);
  height: 4.5rem; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.brand { font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: 1.4rem; letter-spacing: -0.03em; color: var(--rf-chalk); }
.brand .dot { color: var(--accent); }
.nav_menu { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
.nav_link { position: relative; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.7rem; border-radius: var(--r-sm); font-size: 0.95rem;
  color: #d6ddd8; transition: color var(--dur) var(--ease); }
.nav_link:hover, .nav_link:focus-visible { color: var(--rf-chalk); }
.nav_link[aria-current="page"] { color: var(--rf-chalk); }
.nav_link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.3rem;
  height: 2px; background: var(--accent); border-radius: 2px; }

.nav_dropdown { position: relative; }
.nav_dropdown-caret { width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease); opacity: 0.7; }
.nav_dropdown.is-open .nav_dropdown-caret { transform: rotate(-135deg) translateY(-1px); }
.nav_dropdown-list {
  position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 19rem;
  background: var(--rf-ink); border: 1px solid rgba(240,238,231,0.12);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 0.5rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.nav_dropdown.is-open .nav_dropdown-list { opacity: 1; visibility: visible; transform: none; }
.nav_dropdown-link { display: flex; gap: 0.7rem; padding: 0.7rem; border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease); }
.nav_dropdown-link:hover, .nav_dropdown-link:focus-visible { background: rgba(240,238,231,0.06); }
.nav_dropdown-link-dot { width: 7px; height: 7px; margin-top: 0.4rem; border-radius: 50%;
  background: var(--accent); flex: none; }
.nav_dropdown-link-title { display: block; font-family: var(--font-display);
  font-weight: var(--fw-medium); color: var(--rf-chalk); }
.nav_dropdown-link-desc { display: block; font-size: 0.85rem; color: #9fada8; margin-top: 0.15rem; }

.nav_cta { margin-left: var(--sp-2); }
.nav_burger { display: none; margin-left: auto; width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav_burger span, .nav_burger span::before, .nav_burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--rf-chalk);
  position: relative; transition: transform var(--dur) var(--ease), opacity var(--dur); }
.nav_burger span::before { position: absolute; top: -7px; } .nav_burger span::after { position: absolute; top: 7px; }
html.is-nav-open .nav_burger span { background: transparent; }
html.is-nav-open .nav_burger span::before { transform: translateY(7px) rotate(45deg); }
html.is-nav-open .nav_burger span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav_burger { display: inline-flex; }
  .nav_menu {
    position: fixed; inset: 4.5rem 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--rf-pine); padding: var(--sp-4) var(--gutter) var(--sp-8);
    border-bottom: 1px solid rgba(240,238,231,0.1); max-height: calc(100dvh - 4.5rem);
    overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  html.is-nav-open .nav_menu { transform: none; opacity: 1; pointer-events: auto; }
  .nav_link { padding: 0.85rem 0; font-size: 1.05rem; }
  .nav_link[aria-current="page"]::after { display: none; }
  .nav_dropdown-list { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; border: none; padding: 0 0 0.5rem 1.2rem;
    display: none; }
  .nav_dropdown.is-open .nav_dropdown-list { display: block; }
  .nav_cta { margin: var(--sp-3) 0 0; } .nav_cta .btn { width: 100%; justify-content: center; }
}

/* ============================ 3. Buttons =============================== */
.btn { display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 0.98rem;
  padding: 0.72rem 1.35rem; border-radius: var(--r-pill); border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn.is-primary { background: var(--accent); color: var(--on-accent); }
.btn.is-primary:hover, .btn.is-primary:focus-visible { background: var(--accent-hover); }
.btn.is-ghost { border-color: var(--line-strong); color: var(--text); }
.btn.is-ghost:hover, .btn.is-ghost:focus-visible { border-color: var(--text); background: color-mix(in srgb, var(--text) 6%, transparent); }
.btn.is-light { background: var(--rf-chalk); color: var(--rf-pine); }
.btn.is-light:hover { background: #fff; }
.btn.is-lg { padding: 0.95rem 1.7rem; font-size: 1.05rem; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* Two-line hero CTA (hale's distinctive pattern) */
.cta-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta2 { display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: 0.9rem 1.35rem 0.9rem 1.5rem; border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.cta2:hover { transform: translateY(-2px); }
.cta2.is-primary { background: var(--accent); color: var(--on-accent); }
.cta2.is-primary:hover { background: var(--accent-hover); }
.cta2.is-ghost { border: 1px solid var(--line-strong); color: inherit; }
.cta2.is-ghost:hover { border-color: currentColor; }
.cta2_label { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.cta2_text { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 1.05rem; }
.cta2_sub { font-size: 0.8rem; opacity: 0.8; }
.cta2 .arrow { font-size: 1.2rem; transition: transform var(--dur) var(--ease); }
.cta2:hover .arrow { transform: translateX(3px); }

/* ============================ 4. Hero ================================== */
.hero { position: relative; background: var(--rf-pine); color: var(--rf-chalk);
  overflow: hidden; padding-block: clamp(3rem, 2rem + 6vw, 6rem) clamp(3.5rem, 2rem + 7vw, 7rem); }
.hero::before { /* background plate: soft radial studio light */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(193,97,58,0.18), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(123,163,160,0.16), transparent 60%),
    linear-gradient(180deg, #16231f 0%, #101b18 100%); }
.hero_inner { position: relative; z-index: 2; display: grid; gap: clamp(2.5rem, 1rem + 6vw, 5rem);
  grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.hero_content { max-width: 40rem; }
.hero_h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); margin-top: var(--sp-4); }
.hero_h1 .fade { color: var(--rf-clay-soft); font-style: italic; font-weight: var(--fw-medium); }
.hero_sub { margin-top: var(--sp-5); font-size: var(--fs-lead); line-height: 1.5; color: #cdd6d1; max-width: 34rem; }
.hero .cta-group { margin-top: var(--sp-7); }
.hero_note { margin-top: var(--sp-5); font-size: 0.85rem; color: #93a29d; display: flex; align-items: center; gap: 0.5rem; }
.hero_note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rf-sage); }
@media (max-width: 860px) { .hero_inner { grid-template-columns: 1fr; } .hero_visual { order: -1; } }

/* -- Signature: reformer carriage gliding home -- */
.reformer { width: 100%; max-width: 30rem; margin-inline: auto; }
.reformer_frame { background: rgba(15,26,23,0.55); border: 1px solid rgba(240,238,231,0.14);
  border-radius: var(--r-xl); padding: 1.6rem 1.5rem 1.4rem; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px); }
.reformer_caption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 0.25rem 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em;
  text-transform: uppercase; color: #8fa19c; margin-bottom: 1rem; }
.reformer_caption b { color: var(--rf-sage); font-weight: 500; }
.reformer svg { width: 100%; height: auto; }
.rail { stroke: rgba(240,238,231,0.28); stroke-width: 2; }
.spring { stroke: var(--rf-clay-soft); stroke-width: 2.5; fill: none; }
.carriage { fill: #d9d2c4; stroke: #b7b0a1; stroke-width: 1; }
.stopbar { fill: rgba(240,238,231,0.5); }
.home-marker { fill: none; stroke: var(--rf-sage); stroke-width: 1.5; stroke-dasharray: 4 4; }
.carriage-group { animation: glide-home 6s var(--ease-glide) infinite; }
.spring-group { animation: spring-load 6s var(--ease-glide) infinite; transform-origin: left center; }
@keyframes glide-home {
  0%, 12%   { transform: translateX(96px); }
  55%, 100% { transform: translateX(0); } }
@keyframes spring-load {
  0%, 12%   { transform: scaleX(2.35); opacity: 0.55; }
  55%, 100% { transform: scaleX(1);    opacity: 1; } }
.reformer_legend { display: flex; gap: 1.2rem; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.68rem; color: #8fa19c; }
.reformer_legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.reformer_legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* trust strip under hero */
.trust { border-top: 1px solid rgba(240,238,231,0.1); background: var(--rf-pine); color: #b9c4bf; }
.trust_inner { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: center;
  justify-content: center; padding-block: 1.1rem; font-size: 0.85rem; }
.trust_inner strong { color: var(--rf-chalk); font-weight: var(--fw-medium); }
.trust_dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rf-steel); }

/* ============================ 5. Thesis + calculator =================== */
.thesis_grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
@media (max-width: 860px) { .thesis_grid { grid-template-columns: 1fr; } }
.thesis_points { margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }
.thesis_point { display: flex; gap: 0.8rem; align-items: flex-start; }
.thesis_point .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 0.5rem; flex: none; }
.thesis_point.is-sage .dot { background: var(--rf-sage); }
.thesis_point h3 { font-size: var(--fs-h6); }
.thesis_point p { color: var(--text-soft); font-size: 0.95rem; margin-top: 0.15rem; }

/* Fade diagram: one client's bookings thinning week by week */
.fade-chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.fade-chart_head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.2rem; }
.fade-chart_head h4 { font-size: 1rem; }
.fade-chart_head span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.fade-bars { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.5rem; align-items: end; height: 150px; }
.fade-bars li { position: relative; background: var(--rf-sage); border-radius: 3px 3px 0 0; opacity: 0.9; }
.fade-bars li.is-warn { background: var(--rf-amber); }
.fade-bars li.is-risk { background: var(--accent); }
.fade-bars li.is-zero { background: repeating-linear-gradient(45deg, var(--line), var(--line) 3px, transparent 3px, transparent 6px); }
.fade-axis { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0.5rem; margin-top: 0.5rem;
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); text-align: center; }
.fade-chart_foot { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; gap: 1rem; align-items: center; font-size: 0.82rem; }
.fade-chart_foot .flag { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.2rem 0.5rem; border-radius: var(--r-sm); }
.flag.is-signal { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-hover); }
.flag.is-late { background: color-mix(in srgb, var(--rf-steel) 20%, transparent); color: var(--text-soft); }

/* Benchmark stat row */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 720px) { .stat-grid { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; }
.stat_value { font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); color: var(--accent); letter-spacing: -0.02em; }
.stat_label { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-soft); }
.stat_src { margin-top: 0.7rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--surface); }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc_inputs { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.calc_field { margin-bottom: 1.5rem; }
.calc_field:last-child { margin-bottom: 0; }
.calc_field label { display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 0.95rem; margin-bottom: 0.6rem; }
.calc_out-inline { font-family: var(--font-mono); color: var(--accent); font-size: 1rem; }
.calc_field input[type="range"] { width: 100%; accent-color: var(--rf-clay); height: 1.5rem; }
.calc_hint { font-size: 0.78rem; color: var(--text-faint); margin-top: 0.3rem; }
.calc_result { background: var(--rf-pine); color: var(--rf-chalk); padding: clamp(1.5rem,1rem+2vw,2.5rem);
  display: flex; flex-direction: column; justify-content: center; }
.calc_result-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #8fa19c; }
.calc_big { font-family: var(--font-mono); font-weight: 500; font-size: clamp(2.6rem, 1.8rem + 3.5vw, 4rem);
  line-height: 1; margin-top: 0.6rem; color: var(--rf-clay-soft); letter-spacing: -0.02em; }
.calc_big-sub { font-size: 0.95rem; color: #cdd6d1; margin-top: 0.7rem; }
.calc_break { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(240,238,231,0.16);
  display: grid; gap: 0.5rem; font-size: 0.9rem; }
.calc_break div { display: flex; justify-content: space-between; }
.calc_break span:last-child { font-family: var(--font-mono); color: var(--rf-chalk); }
.calc_cta { margin-top: 1.6rem; }

/* ============================ 6. How it works ========================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: var(--sp-6) var(--sp-5); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); }
.step_num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent);
  border: 1px solid var(--accent); width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4); }
.step h3 { font-size: var(--fs-h6); }
.step p { margin-top: var(--sp-3); color: var(--text-soft); font-size: 0.95rem; }

/* ============================ 7. Feature cards ======================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { padding: var(--sp-6) var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat_icon { width: 2.6rem; height: 2.6rem; border-radius: var(--r-md); display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); margin-bottom: var(--sp-4); }
.feat_icon svg { width: 1.4rem; height: 1.4rem; }
.feat h3 { font-size: var(--fs-h6); }
.feat p { margin-top: var(--sp-3); color: var(--text-soft); font-size: 0.93rem; }

/* ============================ 8. Ecosystem =========================== */
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
@media (max-width: 720px) { .eco-grid { grid-template-columns: 1fr; } }
.eco-card { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: var(--sp-7) var(--sp-6);
  background: linear-gradient(150deg, #1d2a26, #16211e); border: 1px solid rgba(240,238,231,0.1);
  min-height: 12rem; display: flex; flex-direction: column; justify-content: flex-end; }
.eco-card_name { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.3rem; color: var(--rf-chalk); }
.eco-card_name .dot { color: var(--rf-clay-soft); }
.eco-card p { margin-top: var(--sp-2); color: #b9c4bf; font-size: 0.92rem; max-width: 26rem; }
.eco-card_tag { position: absolute; top: var(--sp-5); right: var(--sp-5); font-family: var(--font-mono);
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em; color: #8fa19c;
  border: 1px solid rgba(240,238,231,0.16); border-radius: var(--r-pill); padding: 0.2rem 0.6rem; }

/* ============================ 9. Platform coverage =================== */
.plat-legend { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-5); font-size: 0.85rem; }
.plat-legend span { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--text-soft); }
.plat-legend i { width: 9px; height: 9px; border-radius: 50%; }
.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: var(--sp-6); }
@media (max-width: 900px) { .plat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .plat-grid { grid-template-columns: repeat(2, 1fr); } }
.plat { display: flex; flex-direction: column; gap: 0.5rem; padding: var(--sp-4);
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.plat_name { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 0.95rem; }
.plat_status { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 0.4rem; }
.plat_status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.plat_status.is-connected { color: var(--rf-sage); } .plat_status.is-connected::before { background: var(--rf-sage); }
.plat_status.is-waitlist  { color: var(--rf-amber); } .plat_status.is-waitlist::before { background: var(--rf-amber); }
.plat_status.is-csv       { color: var(--rf-sky); }   .plat_status.is-csv::before { background: var(--rf-sky); }

/* ============================ 10. Proof/Pricing/FAQ/CTA ============== */
.proof-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
@media (max-width: 820px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-list { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
.proof-item { display: flex; gap: 0.8rem; }
.proof-item .tick { color: var(--rf-sage); flex: none; margin-top: 0.15rem; }
.proof-item p { color: var(--text-soft); font-size: 0.95rem; }
.proof-item strong { color: var(--text); font-weight: var(--fw-medium); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); align-items: stretch; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }
.price { display: flex; flex-direction: column; padding: var(--sp-6); border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--surface); }
.price.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.price_badge { position: absolute; top: -0.75rem; left: var(--sp-6); background: var(--accent); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem; border-radius: var(--r-pill); }
.price_name { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 1.15rem; }
.price_amount { margin-top: var(--sp-3); font-family: var(--font-mono); font-weight: 500; font-size: 2.4rem; letter-spacing: -0.02em; }
.price_amount small { font-size: 0.9rem; color: var(--text-faint); font-weight: 400; letter-spacing: 0; }
.price_desc { margin-top: var(--sp-2); color: var(--text-soft); font-size: 0.9rem; }
.price_features { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: var(--sp-3); font-size: 0.92rem; }
.price_features li { display: flex; gap: 0.6rem; }
.price_features .tick { color: var(--rf-sage); flex: none; }
.price .btn { margin-top: auto; justify-content: center; }
.price_note { text-align: center; margin-top: var(--sp-5); color: var(--text-soft); font-size: 0.9rem; }

.faq { max-width: 46rem; margin-inline: auto; }
.faq_item { border-bottom: 1px solid var(--line); }
.faq_q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: var(--sp-5) 0; text-align: left; font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: var(--fs-h6); }
.faq_q .plus { position: relative; width: 1.1rem; height: 1.1rem; flex: none; }
.faq_q .plus::before, .faq_q .plus::after { content: ""; position: absolute; background: var(--accent);
  transition: transform var(--dur) var(--ease); }
.faq_q .plus::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq_q .plus::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq_item.is-open .plus::after { transform: translateX(-50%) scaleY(0); }
.faq_a { max-height: 0; overflow: hidden; transition: max-height var(--dur) var(--ease); }
.faq_a p { padding-bottom: var(--sp-5); color: var(--text-soft); max-width: 42rem; }
.faq_a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.closing { text-align: center; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing p { max-width: 44ch; margin: var(--sp-4) auto 0; color: #cdd6d1; font-size: var(--fs-lead); }
.closing .btn { margin-top: var(--sp-7); }

/* ============================ 11. Footer ============================= */
.footer { background: var(--rf-pine); color: #b9c4bf; padding-block: var(--sp-12) var(--sp-7); }
.footer_top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-6); }
@media (max-width: 820px) { .footer_top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer_top { grid-template-columns: 1fr; } }
.footer_brand { font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 1.5rem; color: var(--rf-chalk); }
.footer_brand .dot { color: var(--accent); }
.footer_tagline { margin-top: var(--sp-3); font-size: 0.9rem; max-width: 22rem; }
.footer_col h3 { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: #8fa19c; font-weight: var(--fw-medium); margin-bottom: var(--sp-4); }
.footer_col a { display: block; padding: 0.35rem 0; font-size: 0.92rem; color: #c4cdc8; transition: color var(--dur); }
.footer_col a:hover { color: var(--rf-chalk); }
.footer_ack { margin-top: var(--sp-10); padding-top: var(--sp-6); border-top: 1px solid rgba(240,238,231,0.1);
  font-size: 0.85rem; max-width: 60rem; color: #9fada8; }
.footer_bottom { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer_bottom .links { display: flex; gap: var(--sp-5); }
.footer_bottom a:hover { color: var(--rf-chalk); }

/* ============================ 12. Signup ============================= */
.signup { min-height: calc(100dvh - 4.5rem); background: var(--rf-chalk); }
.signup_inner { max-width: 44rem; margin-inline: auto; padding: clamp(2rem,1rem+4vw,4rem) var(--gutter) var(--sp-12); }
.signup_progress { display: flex; gap: 0.5rem; margin-bottom: var(--sp-7); }
.signup_progress li { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.signup_progress li.is-done { background: var(--rf-sage); }
.signup_progress li.is-active { background: var(--accent); }
.signup_step { display: none; scroll-margin-top: 6rem; }
.signup_step.is-active { display: block; animation: step-in 0.3s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.signup_step-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent); }
.signup_step h1, .signup_step h2 { font-size: var(--fs-h3); margin-top: var(--sp-2); }
.signup_step > p.lead { margin-top: var(--sp-3); }
.signup_search { width: 100%; margin-top: var(--sp-5); padding: 0.85rem 1.1rem; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--surface); font-size: 1rem; }
.plat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); margin-top: var(--sp-5); }
@media (max-width: 680px) { .plat-tiles { grid-template-columns: repeat(2, 1fr); } }
.plat-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; text-align: left;
  padding: var(--sp-4); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
  transition: border-color var(--dur), background var(--dur), transform var(--dur); }
.plat-tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.plat-tile.is-selected { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.plat-tile_name { font-family: var(--font-display); font-weight: var(--fw-medium); }
.plat-tile_status { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-faint); }
.plat-tile.is-tier2 { display: none; } /* revealed by search */
.signup_actions { display: flex; gap: var(--sp-3); margin-top: var(--sp-7); align-items: center; }
.signup_back { color: var(--text-faint); font-size: 0.9rem; }
.signup_back:hover { color: var(--text); }
.branch-card { margin-top: var(--sp-5); padding: var(--sp-6); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.branch-card h3 { font-size: var(--fs-h6); display: flex; align-items: center; gap: 0.6rem; }
.branch-badge { font-family: var(--font-mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem; border-radius: var(--r-pill); }
.branch-badge.is-connected { background: color-mix(in srgb, var(--rf-sage) 20%, transparent); color: var(--rf-sage); }
.branch-badge.is-waitlist { background: color-mix(in srgb, var(--rf-amber) 20%, transparent); color: #a9761d; }
.branch-badge.is-csv { background: color-mix(in srgb, var(--rf-sky) 22%, transparent); color: #4a7d79; }
.branch-card ul { margin: var(--sp-4) 0 0; padding-left: 1.1rem; color: var(--text-soft); font-size: 0.93rem; display: grid; gap: 0.4rem; }
.field { margin-top: var(--sp-4); }
.field label { display: block; font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input, .field select { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--surface); font-size: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.first-value { margin-top: var(--sp-5); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.first-value_head { background: var(--rf-pine); color: var(--rf-chalk); padding: var(--sp-4) var(--sp-5); display: flex; justify-content: space-between; align-items: center; }
.first-value_head h3 { font-size: 1rem; } .first-value_head span { font-family: var(--font-mono); font-size: 0.72rem; color: #8fa19c; }
.risk-row { display: grid; grid-template-columns: 1.4fr 1fr 0.8rem; gap: var(--sp-4); align-items: center;
  padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); }
.risk-row:first-of-type { border-top: none; }
.risk-name { font-weight: var(--fw-medium); } .risk-meta { font-size: 0.8rem; color: var(--text-faint); }
.risk-bar { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.risk-bar i { display: block; height: 100%; border-radius: 4px; }
.risk-score { font-family: var(--font-mono); font-size: 0.85rem; text-align: right; }

/* ============================ 13. Blog ============================== */
.page-hero { background: var(--rf-pine); color: var(--rf-chalk); padding-block: clamp(3rem,2rem+5vw,6rem) clamp(2.5rem,1.5rem+4vw,4.5rem); }
.page-hero .eyebrow { color: var(--rf-clay-soft); } .page-hero .eyebrow::before { background: var(--rf-clay-soft); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: var(--sp-4); line-height: var(--lh-tight); }
.page-hero p { margin-top: var(--sp-4); font-size: var(--fs-lead); color: #cdd6d1; max-width: 44rem; }
.blog-filter { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin-bottom: var(--sp-6); }
.blog-filter_list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.blog-filter_btn { padding: 0.45rem 0.9rem; border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  font-size: 0.85rem; color: var(--text-soft); transition: all var(--dur); }
.blog-filter_btn.is-active { background: var(--rf-pine); color: var(--rf-chalk); border-color: var(--rf-pine); }
.blog-filter_count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-faint); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--surface); transition: transform var(--dur), box-shadow var(--dur); }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card[hidden] { display: none !important; }
.blog-card_media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--rf-mist); }
.blog-card_media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-card_media img { transform: scale(1.04); }
.blog-card_tag { position: absolute; top: 0.8rem; left: 0.8rem; font-family: var(--font-mono); font-size: 0.64rem;
  text-transform: uppercase; letter-spacing: 0.05em; background: color-mix(in srgb, var(--rf-pine) 85%, transparent);
  color: var(--rf-chalk); padding: 0.25rem 0.6rem; border-radius: var(--r-pill); backdrop-filter: blur(4px); }
.blog-card_body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.blog-card_title { font-size: var(--fs-h6); }
.blog-card_excerpt { margin-top: var(--sp-3); color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.blog-card_meta { margin-top: var(--sp-4); display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
.blog-card_meta-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.blog-empty { grid-column: 1 / -1; padding: var(--sp-8); text-align: center; color: var(--text-faint); }

/* Article */
.article-hero { background: var(--rf-pine); color: var(--rf-chalk); padding-block: clamp(3rem,2rem+5vw,5.5rem) var(--sp-10); }
.article-shell { max-width: 46rem; margin-inline: auto; }
.article_crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.82rem; color: #8fa19c; margin-bottom: var(--sp-5); }
.article_crumbs a:hover { color: var(--rf-chalk); }
.article_crumbs span[aria-hidden] { opacity: 0.5; }
.article-hero h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.article_lede { margin-top: var(--sp-4); font-size: var(--fs-lead); color: #cdd6d1; }
.article_byline { margin-top: var(--sp-6); display: flex; align-items: center; gap: 0.8rem; }
.article_avatar { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--rf-clay); color: var(--on-accent);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-bold); font-size: 0.85rem; }
.article_author { font-family: var(--font-display); font-weight: var(--fw-medium); color: var(--rf-chalk); }
.article_byline-meta { font-family: var(--font-mono); font-size: 0.75rem; color: #8fa19c; }
.article-cover { max-width: 60rem; margin: 0 auto; padding: 0 var(--gutter); margin-top: calc(-1 * var(--sp-6)); }
.article-cover img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.article-body-wrap { padding-block: var(--sp-10); }
.article_body { font-size: 1.075rem; }
.article_body > * + * { margin-top: var(--sp-5); }
.article_body h2 { font-size: var(--fs-h4); margin-top: var(--sp-8); }
.article_body h3 { font-size: var(--fs-h5); margin-top: var(--sp-6); }
.article_body p { color: var(--text-soft); }
.article_body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article_body ul, .article_body ol { padding-left: 1.3rem; color: var(--text-soft); display: grid; gap: 0.5rem; }
.article_body strong { color: var(--text); font-weight: var(--fw-medium); }
.article_body hr { border: none; border-top: 1px solid var(--line); margin-block: var(--sp-7); }
.article_body blockquote { border-left: 3px solid var(--accent); padding-left: var(--sp-4); font-style: italic; color: var(--text); }

.article_key-answer { background: color-mix(in srgb, var(--rf-sage) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--rf-sage) 30%, transparent);
  border-radius: var(--r-md); padding: var(--sp-5); }
.article_key-answer-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--rf-sage); margin-bottom: 0.5rem; }
.article_stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 640px) { .article_stat-grid { grid-template-columns: 1fr; } }
.article_stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-4); }
.article_stat-value { font-family: var(--font-mono); font-weight: 500; font-size: 1.8rem; color: var(--accent); }
.article_stat-label { font-size: 0.85rem; color: var(--text-soft); margin-top: 0.3rem; }
.article_method { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.article_method h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.article_method p { font-size: 0.92rem; color: var(--text-soft); }
.article_chart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); }
.article_chart-title { font-family: var(--font-display); font-weight: var(--fw-medium); }
.article_chart-sub { font-size: 0.82rem; color: var(--text-faint); margin-top: 0.2rem; margin-bottom: var(--sp-4); }
.article_chart-row { display: grid; grid-template-columns: 10rem 1fr 3rem; gap: 0.8rem; align-items: center; margin-top: 0.6rem; }
@media (max-width: 560px) { .article_chart-row { grid-template-columns: 6rem 1fr 3rem; } }
.article_chart-label { font-size: 0.85rem; }
.article_chart-track { background: var(--line); height: 12px; border-radius: 6px; overflow: hidden; }
.article_chart-fill { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.article_chart-fill.is-soft { background: var(--rf-steel); }
.article_chart-value { font-family: var(--font-mono); font-size: 0.85rem; text-align: right; }
.article_chart-foot { font-size: 0.78rem; color: var(--text-faint); margin-top: var(--sp-4); }
.article_cta-panel { background: var(--rf-pine); color: var(--rf-chalk); border-radius: var(--r-lg); padding: var(--sp-6); }
.article_cta-panel h4 { font-size: var(--fs-h6); color: var(--rf-chalk); }
.article_cta-panel p { color: #cdd6d1; margin-top: var(--sp-3); font-size: 0.95rem; }
.article_cta-panel .btn { margin-top: var(--sp-4); }
.article_share { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.article_share-label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); }
.article_share-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-size: 0.9rem; }
.article-related { background: var(--surface); }
.article_related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
@media (max-width: 900px) { .article_related-grid { grid-template-columns: 1fr; } }

/* legal / prose pages */
.prose { max-width: 46rem; margin-inline: auto; }
.prose h2 { font-size: var(--fs-h5); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--fs-h6); margin-top: var(--sp-5); }
.prose p, .prose li { color: var(--text-soft); }
.prose > * + * { margin-top: var(--sp-4); }
.prose ul { padding-left: 1.3rem; display: grid; gap: 0.4rem; }

/* ============================ 14. Motion / a11y ===================== */
:focus-visible { outline: 3px solid var(--rf-sky); outline-offset: 2px; border-radius: 3px; }
.skip-link { position: absolute; left: 0.5rem; top: -3rem; z-index: 100; background: var(--rf-chalk); color: var(--rf-pine);
  padding: 0.6rem 1rem; border-radius: var(--r-sm); transition: top var(--dur); }
.skip-link:focus { top: 0.5rem; }
/* Progressive enhancement: content is visible by default; only the JS-enabled
   document hides it for the reveal animation, so a no-JS visitor sees everything. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; }
  .carriage-group { transform: translateX(0) !important; }
  .spring-group { transform: scaleX(1) !important; opacity: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
