/* Investor Update Drafter — BuildspaceLabs
   "This month's update — drafted before you sit down."
   Warm paper + cobalt + a single wax-red seal. Inter for UI, Space Mono for the typed draft. */

:root {
  --paper: #FAF7F0;
  --surface: #FFFFFF;
  --ink: #1C1917;
  --muted: #6B6660;
  --hair: #EAE4D9;
  --hair-strong: #DED7C8;
  --cobalt: #2563EB;
  --cobalt-hover: #1D4ED8;
  --cobalt-tint: #EEF3FE;
  --wax: #B91C1C;
  --wax-deep: #7F1518;
  --mint: #0E9F6E;
  --mint-tint: #E7F6EF;

  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 2px 8px rgba(28, 25, 23, 0.04);
  --shadow-md: 0 8px 24px -10px rgba(28, 25, 23, 0.14), 0 2px 8px rgba(28, 25, 23, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(28, 25, 23, 0.28), 0 8px 20px -12px rgba(28, 25, 23, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.08; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2.5px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--wax);
}
.eyebrow--plain::before { display: none; }

/* ---------- buttons ---------- */
.btn {
  --_bg: var(--ink); --_fg: #fff; --_bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 10px;
  background: var(--_bg); color: var(--_fg); border: 1px solid var(--_bd);
  font-size: 15px; font-weight: 550; letter-spacing: -0.01em; cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --_bg: var(--cobalt); --_fg: #fff; --_bd: var(--cobalt); box-shadow: 0 8px 20px -10px rgba(37,99,235,0.6); }
.btn--primary:hover { --_bg: var(--cobalt-hover); --_bd: var(--cobalt-hover); box-shadow: 0 12px 26px -10px rgba(37,99,235,0.6); }
.btn--ghost { --_bg: transparent; --_fg: var(--ink); --_bd: var(--hair-strong); }
.btn--ghost:hover { --_bg: #fff; --_bd: var(--ink); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn .ico { width: 16px; height: 16px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--hair); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-seal {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--wax), var(--wax-deep));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 3px 8px -3px rgba(127,21,24,0.5);
}
.brand-seal svg { width: 18px; height: 18px; }
.brand-name { font-weight: 640; font-size: 16px; letter-spacing: -0.02em; }
.brand-name small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

.nav { display: none; align-items: center; gap: 28px; }
.nav a { font-size: 14.5px; color: var(--muted); transition: color 0.15s var(--ease); }
.nav a:hover { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.built-by {
  display: none; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--muted); padding: 6px 10px; border: 1px solid var(--hair); border-radius: 8px;
  background: var(--surface); transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.built-by:hover { border-color: var(--cobalt); color: var(--cobalt); }
.built-by .ico { width: 12px; height: 12px; }

@media (min-width: 720px) { .nav { display: flex; } }
@media (min-width: 900px) { .built-by { display: inline-flex; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 78px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 380px at 82% -6%, rgba(37,99,235,0.07), transparent 62%),
    radial-gradient(560px 320px at 8% 8%, rgba(185,28,28,0.04), transparent 60%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 60px); align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1.08fr; } }

.hero-copy { max-width: 560px; }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  letter-spacing: -0.03em; line-height: 1.02;
}
.hero h1 em {
  font-style: normal; color: var(--cobalt);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--cobalt) 26%, transparent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}
.hero-sub {
  margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted);
  max-width: 44ch;
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--muted);
}
.hero-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-tint); }

/* ---------- hero drafting composition ---------- */
.draft {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.draft::before { /* torn-letter top edge accent */
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--cobalt), var(--wax) 70%, var(--wax-deep));
}
.draft-head {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--hair);
}
.draft-head .to { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.draft-head .to b { color: var(--ink); font-weight: 700; }
.draft-head .status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt);
}
.draft-head .status .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.35; transform: scale(0.7);} }

.draft-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 560px) { .draft-body { grid-template-columns: 132px 1fr; } }

/* metrics rail */
.metrics {
  border-bottom: 1px solid var(--hair);
  padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  background: linear-gradient(180deg, #fff, var(--paper));
}
@media (min-width: 560px) { .metrics { grid-template-columns: 1fr; border-bottom: none; border-right: 1px solid var(--hair); } }
.metric { }
.metric .m-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.metric .m-val { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin-top: 1px; }
.metric .m-val .delta { font-size: 10px; color: var(--mint); margin-left: 5px; font-weight: 400; }
.metric .m-val .delta.down { color: var(--wax); }
.spark { display: block; width: 100%; height: 22px; margin-top: 3px; overflow: visible; }
.spark path {
  fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: var(--len, 120); stroke-dashoffset: var(--len, 120);
}
.spark.down path { stroke: var(--wax); }
.is-drawn .spark path { animation: draw 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* draft text */
.letter { padding: 18px; position: relative; }
.letter .l-sub { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.letter .l-body {
  font-family: var(--font-mono); font-size: 13px; line-height: 1.72; color: var(--ink);
  margin-top: 10px; min-height: 138px; white-space: pre-wrap;
}
.letter .l-body .hl { color: var(--cobalt); }
.letter .caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: var(--cobalt); margin-left: 1px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.tones {
  display: flex; flex-wrap: wrap; gap: 7px;
  padding: 0 18px 14px; margin-top: 4px;
}
.tone-chip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--hair-strong);
  background: var(--surface); color: var(--muted); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.tone-chip:hover { border-color: var(--ink); color: var(--ink); }
.tone-chip[aria-pressed="true"] {
  background: var(--cobalt); border-color: var(--cobalt); color: #fff;
  box-shadow: 0 6px 14px -6px rgba(37,99,235,0.6);
}

.draft-foot {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-top: 1px solid var(--hair); background: var(--paper);
}
.seal {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #d43a35, var(--wax) 45%, var(--wax-deep));
  display: grid; place-items: center;
  box-shadow: 0 4px 10px -3px rgba(127,21,24,0.6), inset 0 2px 3px rgba(255,255,255,0.2), inset 0 -3px 5px rgba(0,0,0,0.3);
  transform: scale(0.3) rotate(-18deg); opacity: 0;
}
.seal svg { width: 20px; height: 20px; }
.is-drawn .seal { animation: stamp 0.55s var(--ease) forwards; animation-delay: 3.4s; }
@keyframes stamp {
  0% { transform: scale(1.7) rotate(-18deg); opacity: 0; }
  55% { transform: scale(0.88) rotate(-18deg); opacity: 1; }
  100% { transform: scale(1) rotate(-8deg); opacity: 1; }
}
.foot-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); line-height: 1.4; }
.foot-meta b { color: var(--ink); }
.send-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 9px; border: none; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 550;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.send-btn:hover { background: var(--cobalt); transform: translateY(-1px); }
.send-btn svg { width: 14px; height: 14px; }

/* ---------- stat band ---------- */
.band { border-block: 1px solid var(--hair); background: var(--surface); }
.band-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 680px) { .band-grid { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: clamp(28px, 4vw, 46px) var(--gutter); position: relative; }
.stat + .stat { border-top: 1px solid var(--hair); }
@media (min-width: 680px) { .stat + .stat { border-top: none; border-left: 1px solid var(--hair); } }
.stat .s-num {
  font-family: var(--font-mono); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--ink);
}
.stat .s-num .u { color: var(--cobalt); }
.stat .s-label { margin-top: 10px; color: var(--muted); font-size: 15px; }
.stat .s-tag { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--wax); margin-bottom: 12px; }

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(64px, 9vw, 118px); }
.section-head { max-width: 640px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); }

/* ---------- how it drafts (sequence) ---------- */
.steps { margin-top: clamp(40px, 5vw, 60px); display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step {
  position: relative; padding: 26px 22px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius);
}
@media (min-width: 1000px) {
  .step { border-radius: 0; border-right: none; }
  .step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .step:last-child { border-right: 1px solid var(--hair); border-radius: 0 var(--radius) var(--radius) 0; }
}
.step .s-idx {
  font-family: var(--font-mono); font-size: 12px; color: var(--cobalt); letter-spacing: 0.06em;
  display: flex; align-items: center; gap: 8px;
}
.step .s-idx::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.step .s-ico {
  width: 40px; height: 40px; margin: 18px 0 14px; border-radius: 11px;
  display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt);
}
.step .s-ico svg { width: 21px; height: 21px; }
.step h3 { font-size: 1.15rem; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.step-arrow { display: none; }
@media (min-width: 1000px) {
  .step-arrow {
    display: grid; place-items: center; position: absolute; right: -11px; top: 64px; z-index: 2;
    width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--hair); color: var(--muted);
  }
  .step-arrow svg { width: 12px; height: 12px; }
  .step:last-child .step-arrow { display: none; }
}

/* ---------- say it your way ---------- */
.voice { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 940px) { .voice { grid-template-columns: 0.9fr 1.1fr; } }

.voice-panel {
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.voice-panel .vp-head { padding: 14px 18px; border-bottom: 1px solid var(--hair); display: flex; align-items: center; gap: 10px; }
.voice-panel .vp-head .to { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.voice-panel .vp-head .to b { color: var(--ink); }
.voice-panel .vp-body { padding: 20px 18px; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; min-height: 176px; }
.voice-panel .vp-body p + p { margin-top: 12px; }
.voice-panel .vp-body .sec-label { display: inline-block; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt); margin-right: 8px; }
.voice-panel .vp-body .hidden { display: none; }

.voice-controls .vc-group + .vc-group { margin-top: 26px; }
.voice-controls h4 { font-size: 0.98rem; }
.voice-controls .vc-hint { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.chip {
  font-family: var(--font-mono); font-size: 12.5px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--hair-strong); background: var(--surface); color: var(--muted); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.toggle {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; padding: 8px 12px 8px 10px; border-radius: 10px;
  border: 1px solid var(--hair-strong); background: var(--surface); color: var(--muted); cursor: pointer;
  transition: all 0.18s var(--ease);
}
.toggle:hover { border-color: var(--ink); }
.toggle .sw { width: 30px; height: 18px; border-radius: 999px; background: var(--hair-strong); position: relative; transition: background 0.18s var(--ease); flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.2); transition: transform 0.18s var(--ease); }
.toggle[aria-pressed="true"] { color: var(--ink); border-color: var(--cobalt); }
.toggle[aria-pressed="true"] .sw { background: var(--cobalt); }
.toggle[aria-pressed="true"] .sw::after { transform: translateX(12px); }

/* ---------- product tour ---------- */
.tour { margin-top: clamp(40px, 5vw, 60px); display: grid; gap: clamp(40px, 6vw, 80px); }
.shot { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.shot > * { min-width: 0; }
@media (min-width: 900px) {
  .shot { grid-template-columns: 0.82fr 1.18fr; }
  .shot.flip .shot-copy { order: 2; }
}
.shot-copy { max-width: 400px; }
.shot-copy .s-kicker { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wax); }
.shot-copy h3 { margin-top: 12px; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.shot-copy p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.shot-copy ul { margin-top: 16px; display: grid; gap: 9px; }
.shot-copy li { display: flex; gap: 10px; font-size: 14.5px; }
.shot-copy li svg { width: 17px; height: 17px; color: var(--cobalt); flex: none; margin-top: 2px; }

.frame {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
  border: 1px solid var(--hair); box-shadow: var(--shadow-lg);
}
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; border-bottom: 1px solid var(--hair); background: var(--paper); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--hair-strong); display: block; }
.frame-bar .url { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-left: 8px; padding: 3px 10px; background: var(--surface); border: 1px solid var(--hair); border-radius: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame img { width: 100%; display: block; }
figure.frame-fig { margin: 0; }
figure.frame-fig figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* ---------- know what landed ---------- */
.landed { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 780px) { .landed { grid-template-columns: repeat(3, 1fr); } }
.land-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius); padding: 24px; }
.land-card .lc-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.land-card .lc-ico svg { width: 20px; height: 20px; }
.land-card h3 { margin-top: 16px; font-size: 1.12rem; }
.land-card p { margin-top: 8px; color: var(--muted); font-size: 14.5px; }
.land-card .lc-vis { margin-top: 18px; }

/* mini recipient pile */
.pile { display: flex; align-items: center; }
.pile .av {
  width: 30px; height: 30px; border-radius: 50%; margin-left: -8px; border: 2px solid var(--surface);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #fff;
}
.pile .av:first-child { margin-left: 0; }
.pile .more { margin-left: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* mini bar / rate */
.rate-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.rate-row .rr-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); width: 62px; flex: none; }
.rate-track { flex: 1; height: 7px; border-radius: 999px; background: var(--hair); overflow: hidden; }
.rate-fill { height: 100%; border-radius: 999px; background: var(--cobalt); width: 0; transition: width 1.1s var(--ease); }
.rate-fill.mint { background: var(--mint); }
.rate-row .rr-pct { font-family: var(--font-mono); font-size: 12px; font-weight: 700; width: 40px; text-align: right; flex: none; }

/* ---------- tech ---------- */
.tech { border-top: 1px solid var(--hair); }
.tech-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding-block: clamp(34px, 4vw, 48px); }
.tech-inner .t-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.tech-chip { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13.5px; color: var(--ink); }
.tech-chip svg { width: 15px; height: 15px; color: var(--cobalt); }

/* ---------- contact CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1e1b18, #2a2320);
  color: #F5F1E9; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  margin-block: clamp(20px, 3vw, 40px);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px 300px at 88% 0%, rgba(37,99,235,0.28), transparent 60%),
              radial-gradient(420px 260px at 6% 100%, rgba(185,28,28,0.22), transparent 62%);
}
.cta-inner { position: relative; z-index: 1; max-width: 620px; }
.cta .eyebrow { color: rgba(245,241,233,0.75); }
.cta .eyebrow::before { background: #F5F1E9; opacity: 0.5; }
.cta h2 { margin-top: 16px; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta p { margin-top: 16px; color: rgba(245,241,233,0.72); font-size: clamp(1.02rem, 1.5vw, 1.15rem); max-width: 46ch; }
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { --_fg: #F5F1E9; --_bd: rgba(245,241,233,0.3); }
.cta .btn--ghost:hover { --_bg: rgba(255,255,255,0.06); --_bd: rgba(245,241,233,0.6); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hair); background: var(--surface); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: clamp(44px, 5vw, 64px); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.footer-col ul { margin-top: 14px; display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; color: var(--ink); transition: color 0.15s var(--ease); }
.footer-col a:hover { color: var(--cobalt); }
.footer-bar { border-top: 1px solid var(--hair); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.footer-bar p { font-size: 13px; color: var(--muted); }
.bs-lockup { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 550; }
.bs-mark {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}
.bs-lockup .ico { width: 13px; height: 13px; color: var(--muted); }
.bs-lockup:hover { color: var(--cobalt); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- contact / thank-you shared ---------- */
.subpage { padding-block: clamp(48px, 7vw, 90px); min-height: 60vh; }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-aside h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 18px; }
.contact-aside p { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 40ch; }
.contact-points { margin-top: 28px; display: grid; gap: 16px; }
.contact-point { display: flex; gap: 13px; }
.contact-point .cp-ico { width: 34px; height: 34px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); }
.contact-point .cp-ico svg { width: 18px; height: 18px; }
.contact-point b { display: block; font-size: 14.5px; }
.contact-point span { font-size: 13.5px; color: var(--muted); }
.contact-point a { color: var(--cobalt); }

.form-card { background: var(--surface); border: 1px solid var(--hair); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(24px, 3.5vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 550; margin-bottom: 7px; }
.field label .req { color: var(--wax); }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--hair-strong); border-radius: 10px; background: var(--paper);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #a8a29a; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; }
.form-reassure { margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: center; }
.form-alt { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 13.5px; color: var(--muted); }
.form-alt a { color: var(--cobalt); }

/* thank-you */
.thanks { text-align: center; max-width: 520px; margin-inline: auto; }
.thanks-badge {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center;
  background: var(--mint-tint); color: var(--mint); border: 1px solid color-mix(in srgb, var(--mint) 30%, transparent);
}
.thanks-badge svg { width: 34px; height: 34px; }
.thanks h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.thanks p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.thanks-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.thanks-mail { margin-top: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.thanks-mail a { color: var(--cobalt); }

/* ---------- reduced motion ---------- */
@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; }
  .reveal { opacity: 1; transform: none; }
  .spark path { stroke-dashoffset: 0 !important; }
  .seal { opacity: 1 !important; transform: scale(1) rotate(-8deg) !important; }
  .caret { display: none; }
}
