/* =================================================================
   Taven — Shared site stylesheet
   Used by every page. Unique per-page styles live inline in each file.
   ================================================================= */

/* Smooth scrolling for in-page anchor links. Honors prefers-reduced-motion. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* Keep anchored sections clear of the fixed nav (72px desktop, 56px scrolled, 64px mobile) */
[id] { scroll-margin-top: 96px; }
@media (max-width: 640px) {
  [id] { scroll-margin-top: 80px; }
}

/* ---------- Scroll reveal ----------
   One animation only: opacity + 8px rise. Cubic easing, ~600ms.
   Runs once. Honors prefers-reduced-motion.
   Elements are tagged with [data-reveal] by site.js auto-tagger.       */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
  transition: opacity 600ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 600ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

:root {
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --paper-3: #edebe4;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #76736c;
  --muted-2: #a5a199;
  --line: rgba(17,17,17,0.09);
  --line-2: rgba(17,17,17,0.045);
  --line-strong: rgba(17,17,17,0.22);
  --accent: #1f4e3a;

  --serif: "Geist", ui-sans-serif, system-ui, sans-serif;
  --sans:  "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono:  "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 3.5vw, 48px);
  --max: 1320px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---------- FAINT BACKGROUND GRID LINES ---------- */
.gridlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  display: flex; justify-content: center;
}
.gridlines > div {
  max-width: var(--max); width: 100%; height: 100%;
  display: grid; grid-template-columns: repeat(12, 1fr);
  padding: 0 var(--pad);
}
.gridlines span { border-right: 1px solid var(--line-2); }
.gridlines span:first-child { border-left: 1px solid var(--line-2); }
body > *:not(.gridlines) { position: relative; z-index: 1; }

/* ---------- BASE ---------- */
.container { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--muted); text-transform: uppercase;
}
.eyebrow::before { content: "/ "; color: var(--accent); }

/* ---------- NAV ---------- */
nav.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s;
  will-change: transform;
}
nav.top.scrolled { background: rgba(255,255,255,0.92); }
nav.top.hidden { transform: translateY(-100%); }
nav .row { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .3s ease; }
nav.top.scrolled .row { height: 56px; }
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-family: var(--serif); font-weight: 600; font-size: 22px;
  letter-spacing: -0.05em; color: var(--ink); line-height: 1;
}
.logo .dot {
  display: inline-block; width: 9px; height: 9px; background: var(--accent);
  margin-left: 3px; transform: translateY(1px);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-family: var(--sans); font-size: 14px; color: var(--ink-2); position: relative; transition: color .2s; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left:0; right:0; bottom:-4px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.current { color: var(--ink); }
.nav-links a.current::after { transform: scaleX(1); background: var(--accent); }
.nav-cta { display: flex; gap: 8px; align-items: center; }

/* Hamburger button - hidden on desktop */
.nav-burger {
  display: none !important;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line-strong);
  border-radius: 999px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.nav-burger:hover { background: var(--ink); border-color: var(--ink); }
.nav-burger:hover .bl { background: #fff; }
.nav-burger .bl {
  display: block; width: 16px; height: 1.5px; background: var(--ink);
  position: relative; transition: transform .25s, background .2s;
}
.nav-burger .bl::before, .nav-burger .bl::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px;
  background: inherit; transition: transform .25s, top .25s;
}
.nav-burger .bl::before { top: -5px; }
.nav-burger .bl::after { top: 5px; }
.nav-burger.open .bl { background: transparent; }
.nav-burger.open .bl::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-burger.open .bl::after { top: 0; transform: rotate(-45deg); background: var(--ink); }
.nav-burger.open:hover .bl::before, .nav-burger.open:hover .bl::after { background: #fff; }

/* Mobile menu panel */
.mobile-menu {
  position: fixed !important; inset: 72px 0 0 0; z-index: 19;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 24px var(--pad) 40px;
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: transform .28s ease, opacity .22s ease;
  overflow-y: auto;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu h5 {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 18px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.mobile-menu h5:first-child { margin-top: 0; }
.mobile-menu a {
  display: block; font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.015em; color: var(--ink); padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu .mm-ctas {
  display: flex; gap: 8px; margin-top: 24px;
}
.mobile-menu .mm-ctas .btn { flex: 1; justify-content: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent); }
.btn .arr { width: 11px; height: 11px; transition: transform .2s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); color: #fff; }

/* ---------- HERO ---------- */
.hero { padding: clamp(56px, 7vw, 110px) 0 clamp(20px, 2.5vw, 36px); position: relative; }
.hero-top {
  display: flex; justify-content: space-between; margin-bottom: 44px;
  align-items: flex-start; gap: 20px; flex-wrap: wrap;
}
.hero-top .tag { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.hero-top .tag.accent { color: var(--accent); }

.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 7.8vw, 118px);
  line-height: 0.98; letter-spacing: -0.045em;
  margin: 0; text-wrap: balance; color: var(--ink);
  max-width: 15ch;
}
.hero h1 .soft { color: var(--muted-2); font-weight: 500; }

/* Subpage hero — tighter padding + smaller h1 */
.hero.hero-sm { padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3.5vw, 48px); }
.hero.hero-sm h1 { font-size: clamp(42px, 6.2vw, 92px); max-width: 18ch; }

.hero-sub {
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: end;
  margin-top: clamp(28px, 3.5vw, 48px); padding-top: 24px; border-top: 1px solid var(--line);
}
.hero .lede {
  font-family: var(--sans); font-size: 17px; line-height: 1.55; color: var(--ink-2);
  max-width: 500px; margin: 0;
}
.hero-cta { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* SPEC CARD */
.spec-card {
  margin-top: 60px;
  border: 1px solid var(--line); background: var(--paper-2);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; overflow: hidden;
}
.spec-card .cell { padding: 22px 24px; border-right: 1px solid var(--line); }
.spec-card .cell:last-child { border-right: 0; }
.spec-card .k { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.spec-card .v {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  letter-spacing: -0.01em; margin-top: 10px; line-height: 1.15;
}
.spec-card .v .dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); margin-right: 10px; vertical-align: middle; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- TICKER ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.ticker-inner {
  display: flex; padding: 16px 0; white-space: nowrap;
  animation: tick 60s linear infinite;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.04em;
  width: max-content;
}
.ticker-group { display: contents; }
.ticker-inner span { display: inline-flex; align-items: center; gap: 10px; padding-right: 56px; flex-shrink: 0; }
.ticker-inner span::before { content: ""; width: 6px; height: 6px; background: var(--accent); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- SECTION SHELL ---------- */
section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.sect-head {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  margin-bottom: 56px; align-items: start;
}
.sect-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02; letter-spacing: -0.035em; margin: 12px 0 0;
  max-width: 880px; text-wrap: balance; color: var(--ink);
}
.sect-head h2 .soft { color: var(--muted-2); }
.sect-head .lede { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 10px; max-width: 280px; }

.sect-head--wide { grid-template-columns: 1fr; gap: 28px; }
.sect-head--wide h2 { max-width: none; font-size: clamp(40px, 5.4vw, 76px); margin: 0; }
.sect-head--wide .lede { max-width: 520px; margin-top: 18px; }

/* ---------- FEATURES ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line); background: var(--paper);
}
.feat {
  padding: 36px 32px 32px; border-right: 1px solid var(--line);
  transition: background .25s; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative;
}
.feat:last-child { border-right: 0; }
.feat:hover { background: var(--paper-2); }
.feat .big-num {
  font-family: var(--serif); font-weight: 400; font-size: 64px;
  line-height: 1; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 28px;
}
.feat h3 {
  font-family: var(--serif); font-weight: 400; font-size: 26px;
  letter-spacing: -0.015em; line-height: 1.18; margin: 0 0 14px; max-width: 300px; color: var(--ink);
}
.feat p {
  font-family: var(--sans); color: var(--muted); font-size: 14.5px; line-height: 1.6;
  margin: 0; max-width: 320px;
}
.feat .foot {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  display: flex; justify-content: space-between;
}
.feat .foot .acc { color: var(--accent); }

/* ---------- HOW ---------- */
.how {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); background: var(--paper);
}
.how .step {
  padding: 30px 26px 32px; border-right: 1px solid var(--line);
  min-height: 280px; display: flex; flex-direction: column; position: relative;
}
.how .step:last-child { border-right: 0; }
.how .step .n { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.how .step .n b { color: var(--accent); font-weight: 400; }
.how .step h3 {
  font-family: var(--serif); font-weight: 400; font-size: 24px;
  letter-spacing: -0.015em; line-height: 1.18; margin: 20px 0 12px; color: var(--ink);
}
.how .step p { font-family: var(--sans); color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.how .step .tick { margin-top: auto; padding-top: 20px; font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- LINES ---------- */
.lines {
  padding: clamp(56px, 7vw, 96px) 0; background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lines-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  background: var(--paper);
}
.lc {
  padding: 24px 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .2s; position: relative;
}
.lc:hover { background: var(--paper-2); }
.lc .cat { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.lc .name {
  font-family: var(--serif); font-weight: 400; font-size: 20px;
  letter-spacing: -0.012em; margin-top: 12px; line-height: 1.15; color: var(--ink);
}
.lc .meta {
  font-family: var(--mono); font-size: 10.5px; color: var(--muted-2); margin-top: 16px;
  display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: 0.04em;
}
.lc .meta .up { color: var(--accent); }

a.lc.lc-more {
  display: block; text-decoration: none; color: inherit;
  background: var(--ink); color: var(--paper);
}
a.lc.lc-more:hover { background: var(--accent); color: #fff; }
a.lc.lc-more .cat { color: rgba(255,255,255,0.55); }
a.lc.lc-more .name { color: #fff; }
a.lc.lc-more .meta { color: rgba(255,255,255,0.55); }
a.lc.lc-more .meta .up { color: #fff; }

/* ---------- QUOTE ---------- */
.quote {
  padding: clamp(64px, 8vw, 112px) 0; background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.quote blockquote {
  max-width: 1100px; font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4.2vw, 58px); line-height: 1.14; letter-spacing: -0.035em;
  margin: 28px 0 40px; text-wrap: balance; color: var(--ink);
}
.quote blockquote .soft { color: var(--muted); }
.quote .by { display: flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.quote .by .av { width: 44px; height: 44px; background: linear-gradient(135deg, #d6d6d2, #f0efea); border: 1px solid var(--line); }
.quote .by .name { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 17px; }

/* ---------- STATS ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--paper); }
.stat { padding: 36px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .k { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.stat .v {
  font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1; letter-spacing: -0.02em; margin-top: 14px; color: var(--ink);
}
.stat .v .soft { color: var(--muted-2); }
.stat .v .acc { color: var(--accent); }

/* ---------- CTA FINAL ---------- */
.cta-final {
  padding: clamp(96px, 12vw, 150px) 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.cta-final .cta-grid {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start;
}
.cta-final .cta-eyebrow-col { padding-top: 10px; }
.cta-final h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 88px);
  line-height: 1.00; letter-spacing: -0.04em; margin: 0; max-width: 16ch; text-wrap: balance;
  color: var(--ink);
}
.cta-final h2 .soft { color: var(--accent); }
.cta-final .cta-body {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(15px, 0.5vw + 12px, 17.5px); line-height: 1.55;
  color: var(--muted); max-width: 56ch;
  margin: clamp(24px, 2.4vw, 36px) 0 0;
}
.cta-final .cta-body b { color: var(--ink); font-weight: 500; }
.cta-final .cta-actions {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(24px, 2.4vw, 36px);
  border-top: 1px solid var(--line);
}
.cta-final .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-final .btn-solid { background: var(--ink); color: #fff; }
.cta-final .btn-solid:hover { background: var(--accent); color: #fff; }
.cta-final .btn-ghost { color: var(--ink); border-color: var(--line-2); }
.cta-final .btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: var(--ink); }
.cta-final .cta-direct {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
  display: flex; gap: 20px; flex-wrap: wrap;
}
.cta-final .cta-direct b { font-weight: 400; color: var(--ink); }
.cta-final .cta-direct a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: color .18s, border-color .18s; }
.cta-final .cta-direct a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 1000px) {
  .cta-final .cta-grid { grid-template-columns: 1fr; gap: 18px; }
  .cta-final .cta-eyebrow-col { padding-top: 0; }
  .cta-final .cta-actions { flex-direction: column; align-items: flex-start; }
}

/* ---------- FOOTER + BIG WORDMARK ---------- */
footer.site { padding: 60px 0 32px; border-top: 1px solid var(--line); overflow: hidden; position: relative; }
.footer-grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  display: flex; justify-content: center;
}
.footer-grid-lines > div {
  max-width: var(--max); width: 100%; height: 100%;
  display: grid; grid-template-columns: repeat(12, 1fr);
  padding: 0 var(--pad);
}
.footer-grid-lines span { border-right: 1px solid rgba(17,17,17,0.075); }
.footer-grid-lines span:first-child { border-left: 1px solid rgba(17,17,17,0.075); }
footer.site > .container { position: relative; z-index: 1; }

.foot-grid {
  display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 0;
  border: 1px solid var(--line); background: var(--paper);
}
.foot-grid > * {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.foot-grid > *:last-child { border-right: 0; }
.foot-grid h4 { font-family: var(--mono); font-size: 11px; color: var(--muted); margin: 0 0 18px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; }
.foot-grid a { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-2); padding: 4px 0; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { font-family: var(--sans); color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 16px 0 0; max-width: 320px; }

.fg-coverage { padding: 0; }
.fg-coverage > h4 { padding: 18px 28px 0; margin-bottom: 14px; }
.cov-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.cov-col { padding: 18px 22px 22px; border-right: 1px solid var(--line); }
.cov-col:last-child { border-right: 0; }
.cov-sub {
  font-family: var(--mono); font-size: 10px; color: var(--muted-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.cov-col a { font-size: 13.5px; padding: 3px 0; }

.bigmark {
  margin-top: 96px; padding: 36px 28px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.bigmark .word {
  flex: 0 1 auto; min-width: 0;
  font-family: var(--serif); font-weight: 600; line-height: 0.82;
  letter-spacing: -0.06em;
  font-size: clamp(80px, 16vw, 260px);
  margin: 0; color: var(--ink);
  white-space: nowrap;
}
.bigmark .word .acc { color: var(--accent); }
.bigmark .meta {
  flex: 0 0 auto; max-width: 340px;
  font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: right;
  text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 24px;
}
.bigmark .meta b {
  display: block; color: var(--ink); font-weight: 400; font-family: var(--serif);
  font-size: 16px; letter-spacing: -0.005em; text-transform: none; margin-bottom: 6px;
}

.foot-bottom {
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px;
  color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line);
  margin-top: 20px; text-transform: uppercase; letter-spacing: 0.04em;
}

/* ---------- GENERIC PROSE BLOCKS (for legal / careers / etc.) ---------- */
.prose {
  font-family: var(--sans); font-size: 15px; line-height: 1.7; color: var(--ink-2);
  max-width: 720px;
}
.prose h2, .prose h3, .prose h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; margin: 36px 0 12px; }
.prose h2 { font-size: 28px; }
.prose h3 { font-size: 20px; }
.prose h4 { font-size: 16px; font-family: var(--mono); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 28px 0 8px; }
.prose p { margin: 0 0 14px; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* ---------- RESPONSIVE ---------- */

/* TABLET (≤1000px) */
@media (max-width: 1000px) {
  .hero-sub { grid-template-columns: 1fr; gap: 24px; }
  .hero-cta { justify-content: flex-start; }
  .sect-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .features, .how { grid-template-columns: 1fr 1fr; }
  .feat:nth-child(odd), .how .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .feat:nth-child(even), .how .step:nth-child(even) { border-right: 0; }
  .feat, .how .step { border-bottom: 1px solid var(--line); min-height: 0; }
  .feat:nth-last-child(-n+2), .how .step:nth-last-child(-n+2) { border-bottom: 0; }
  .lines-grid { grid-template-columns: 1fr 1fr; }
  .spec-card { grid-template-columns: 1fr 1fr; }
  .spec-card .cell:nth-child(2n) { border-right: 0; }
  .spec-card .cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-grid > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid > *:last-child { border-bottom: 0; }
  .cov-cols { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex !important; }
  .bigmark { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 22px 0; margin-top: 60px; }
  .bigmark .word { font-size: clamp(64px, 18vw, 180px); }
  .bigmark .meta { text-align: left; padding-bottom: 0; max-width: none; }
  .foot-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* PHONE (≤640px) */
@media (max-width: 640px) {
  nav .row { height: 64px; }
  nav.top.scrolled .row { height: 56px; }
  .mobile-menu { inset: 64px 0 0 0; }
  .logo { font-size: 20px; }
  .nav-cta .btn:not(.nav-burger) { display: none; }

  .features, .how { grid-template-columns: 1fr; }
  .feat, .how .step { border-right: 0 !important; border-bottom: 1px solid var(--line); min-height: 0; padding: 28px 22px; }
  .feat:last-child, .how .step:last-child { border-bottom: 0; }
  .feat .big-num { font-size: 48px; margin-bottom: 18px; }
  .feat h3 { font-size: 22px; }
  .how .step h3 { font-size: 21px; margin-top: 16px; }

  .lines-grid { grid-template-columns: 1fr; }
  .lc { padding: 22px 20px; }

  .spec-card { grid-template-columns: 1fr; }
  .spec-card .cell { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .spec-card .cell:last-child { border-bottom: 0; }
  .spec-card .v { font-size: 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 22px; }
  .stat .v { font-size: clamp(32px, 9vw, 44px); }

  .cov-cols { grid-template-columns: 1fr; }
  .cov-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .cov-col:last-child { border-bottom: 0; }

  .hero { padding: 40px 0 32px; }
  .hero-top { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(40px, 11vw, 64px); max-width: none; line-height: 1.02; }
  .hero.hero-sm h1 { font-size: clamp(36px, 9.5vw, 56px); }
  .hero .lede { font-size: 15.5px; }

  .cta-final .btns { flex-direction: column; align-items: stretch; }
  .cta-final .btns .btn { justify-content: center; }

  .quote blockquote { font-size: clamp(24px, 6.5vw, 34px); margin: 18px 0 28px; }
  .quote .by .av { width: 38px; height: 38px; }
  .quote .by .name { font-size: 15px; }

  .sect-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .sect-head--wide h2 { font-size: clamp(32px, 9vw, 48px); }

  footer.site { padding: 40px 0 24px; }
  .foot-grid > * { padding: 24px 22px; }
  .bigmark { margin-top: 40px; padding: 24px 20px 0; }
  .bigmark .word { font-size: clamp(56px, 20vw, 120px); line-height: 0.88; }
  .bigmark .meta { font-size: 10.5px; }
  .bigmark .meta b { font-size: 14px; }
  .foot-bottom { flex-direction: column; gap: 8px; font-size: 10.5px; }

  section { padding: 60px 0; }
  .prose { font-size: 14.5px; }
  .prose h2 { font-size: 24px; }
}

/* VERY SMALL PHONE (≤380px) — iPhone SE territory */
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(34px, 10.5vw, 48px); }
  .logo { font-size: 18px; }
  .logo .dot { width: 7px; height: 7px; }
}


/* =================================================================
   Mobile overrides (hoisted from per-page inline <style>)
   ================================================================= */
/* ---- MOBILE OVERRIDES (phone + small tablet) ---- */
@media (max-width: 1000px) {
  .nav-links { display: none !important; }
  .nav-burger { display: inline-flex !important; }
  .foot-grid { grid-template-columns: 1fr !important; }
  .foot-grid > * { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .foot-grid > *:last-child { border-bottom: 0 !important; }
  .bigmark { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 22px 0; margin-top: 60px; }
  .bigmark .word { font-size: clamp(64px, 18vw, 180px) !important; }
  .bigmark .meta { text-align: left; padding-bottom: 0; max-width: none; }
  .quote-layout { grid-template-columns: 1fr !important; gap: 32px !important; }
}

@media (max-width: 640px) {
  nav .row { height: 64px; }
  .mobile-menu { inset: 64px 0 0 0; }
  .logo { font-size: 20px; }
  .nav-cta .btn:not(.nav-burger) { display: none !important; }

  .hero { padding: 40px 0 32px !important; }
  .hero-top { margin-bottom: 28px !important; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px) !important; max-width: none !important; line-height: 1.02 !important; }
  .hero.hero-sm h1 { font-size: clamp(36px, 9.5vw, 52px) !important; }
  .hero .lede { font-size: 15.5px !important; }

  .features, .how { grid-template-columns: 1fr !important; }
  .feat, .how .step { border-right: 0 !important; border-bottom: 1px solid var(--line); min-height: 0 !important; padding: 28px 22px !important; }
  .feat:last-child, .how .step:last-child { border-bottom: 0; }
  .feat .big-num { font-size: 48px !important; margin-bottom: 18px !important; }
  .feat h3 { font-size: 22px !important; }
  .how .step h3 { font-size: 21px !important; margin-top: 16px !important; }

  .lines-grid { grid-template-columns: 1fr !important; }
  .lc { padding: 22px 20px !important; }

  .spec-card { grid-template-columns: 1fr !important; }
  .spec-card .cell { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 18px 20px !important; }
  .spec-card .cell:last-child { border-bottom: 0 !important; }
  .spec-card .v { font-size: 20px !important; }

  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .stat { padding: 26px 22px !important; }
  .stat .v { font-size: clamp(32px, 9vw, 44px) !important; }

  .cov-cols { grid-template-columns: 1fr !important; gap: 0 !important; }
  .cov-col { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .cov-col:last-child { border-bottom: 0 !important; }

  .cta-final { padding: 64px 0 !important; }
  .cta-final .btns { flex-direction: column; align-items: stretch; }
  .cta-final .btns .btn { justify-content: center; }

  .quote { padding: 64px 0 !important; }
  .quote blockquote, .quote-stage .q-slide { font-size: clamp(22px, 6.5vw, 32px) !important; }
  .q-dot { padding: 10px 0; }
  .q-dot .n { font-size: 17px; }

  .sect-head h2 { font-size: clamp(28px, 8vw, 40px) !important; }
  .sect-head--wide h2 { font-size: clamp(32px, 9vw, 48px) !important; }

  footer.site { padding: 40px 0 24px !important; }
  .foot-grid > * { padding: 24px 22px !important; }
  .fg-coverage > h4 { padding: 18px 22px 0 !important; }
  .bigmark { margin-top: 40px; padding: 24px 20px 0; }
  .bigmark .word { font-size: clamp(56px, 20vw, 120px) !important; line-height: 0.88 !important; }
  .bigmark .meta { font-size: 10.5px; }
  .bigmark .meta b { font-size: 14px; }
  .foot-bottom { flex-direction: column; gap: 8px; font-size: 10.5px; align-items: flex-start; }

  section { padding: 56px 0 !important; }
  .ticker-inner { font-size: 11px; }
  .ticker-inner span { padding-right: 36px; }

  #tweaks { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 320px; padding: 14px; }
}

/* Line-page specific mobile tweaks */
@media (max-width: 640px) {
  .line-hero-grid { grid-template-columns: 1fr !important; gap: 20px !important; padding-top: 24px !important; margin-top: 32px !important; }
  .line-hero-cta { align-items: stretch !important; }
  .line-hero-cta .btn { justify-content: center; }
  .ap-list { grid-template-columns: 1fr !important; }
  .appetite { padding: 24px 20px !important; }
  .limits, .examples, .related-nav { grid-template-columns: 1fr !important; }
  .lim, .ex, .rn { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 24px 22px !important; }
  .lim:last-child, .ex:last-child, .rn:last-child { border-bottom: 0 !important; }
  .lim .v { font-size: 28px !important; }
  .uw-note { grid-template-columns: 1fr !important; }
  .uw-note .who { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 28px 24px !important; }
  .uw-note .what { padding: 28px 24px !important; font-size: 18px !important; line-height: 1.45 !important; }
  .crumb { flex-wrap: wrap; font-size: 10.5px; }
}

/* Form-specific mobile tweaks */
@media (max-width: 640px) {
  .form-shell { grid-template-columns: 1fr !important; gap: 24px !important; padding-top: 28px !important; }
  .form-side { position: static !important; }
  .form-side h2 { font-size: clamp(28px, 8vw, 36px) !important; }
  .form-head { padding: 22px 20px !important; flex-direction: column; align-items: flex-start; gap: 4px; }
  .form-body { padding: 24px 20px !important; }
  .form-foot { padding: 18px 20px !important; flex-wrap: wrap; gap: 10px; }
  .row-2, .row-3 { grid-template-columns: 1fr !important; gap: 14px !important; }
  .review-row { grid-template-columns: 1fr !important; gap: 4px !important; padding: 14px 16px !important; }
  .review-section-head { padding: 14px 16px 8px !important; }
  .chip { padding: 9px 12px; font-size: 13px; }
  .dropzone { padding: 22px 18px !important; }
  .steps-rail .step { grid-template-columns: 36px 1fr; padding: 8px 0; }
  .steps-rail .step .sl { font-size: 14px; }
  .success { padding: 40px 20px !important; }
  .success .mark { width: 56px; height: 56px; margin-bottom: 20px; }
  .success h2 { font-size: clamp(26px, 7vw, 32px) !important; }
  .success .next-steps { margin-top: 24px; }
  .success .next-steps .ns-item { padding: 14px 16px !important; grid-template-columns: 32px 1fr; }
}

/* =================================================================
   Line page template (hoisted from per-page inline <style>)
   Used by the 11 coverage line pages.
   ================================================================= */
/* ---- LINE PAGE TEMPLATE ---- */
  .crumb {
    font-family: var(--mono); font-size: 11px; color: var(--muted);
    letter-spacing: 0.06em; text-transform: uppercase;
    display: flex; gap: 8px; align-items: center; margin-bottom: 28px;
  }
  .crumb a { color: var(--muted); transition: color .15s; }
  .crumb a:hover { color: var(--ink); }
  .crumb .sep { color: var(--muted-2); }
  .crumb .curr { color: var(--accent); }

  .line-hero-grid {
    display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: end;
    border-top: 1px solid var(--line); padding-top: 32px; margin-top: 52px;
  }
  .line-hero-grid .lede {
    font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink-2);
    margin: 0; max-width: 580px;
  }
  .line-hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }

  /* ---- APPETITE ---- */
  .appetite {
    border: 1px solid var(--line); background: var(--paper);
    padding: 44px 48px 48px;
  }
  .ap-head {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--muted);
    padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px;
  }
  .ap-head .dot { width: 8px; height: 8px; background: var(--accent); }
  .ap-head b { color: var(--accent); font-weight: 500; }
  .ap-list { list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .ap-list li {
    font-family: var(--serif); font-size: 20px; line-height: 1.35;
    color: var(--ink); padding: 18px 0; border-bottom: 1px solid var(--line-2);
    letter-spacing: -0.01em;
    display: flex; gap: 14px; align-items: baseline;
  }
  .ap-list li .idx {
    font-family: var(--mono); font-size: 10.5px; color: var(--muted-2);
    flex-shrink: 0; min-width: 24px;
  }

  /* ---- LIMITS GRID ---- */
  .limits {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); background: var(--paper);
  }
  .lim { padding: 32px 28px; border-right: 1px solid var(--line); }
  .lim:last-child { border-right: 0; }
  .lim .k {
    font-family: var(--mono); font-size: 10.5px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .lim .v {
    font-family: var(--serif); font-weight: 400; font-size: 34px;
    letter-spacing: -0.02em; line-height: 1.05; margin-top: 14px; color: var(--ink);
  }
  .lim .v .soft { color: var(--muted-2); font-size: 20px; }
  .lim .note {
    font-family: var(--sans); font-size: 13px; color: var(--muted);
    line-height: 1.5; margin-top: 12px;
  }

  /* ---- EXAMPLES ---- */
  .examples {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line); background: var(--paper);
  }
  .ex { padding: 32px 28px 30px; border-right: 1px solid var(--line); }
  .ex:last-child { border-right: 0; }
  .ex .tag {
    font-family: var(--mono); font-size: 10.5px; color: var(--accent);
    letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px;
  }
  .ex h4 {
    font-family: var(--serif); font-weight: 500; font-size: 22px;
    letter-spacing: -0.015em; line-height: 1.22; margin: 0 0 12px; color: var(--ink);
  }
  .ex p {
    font-family: var(--sans); font-size: 14px; line-height: 1.6;
    color: var(--ink-2); margin: 0 0 24px;
  }
  .ex .meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px;
    padding-top: 18px; border-top: 1px dashed var(--line);
    font-family: var(--mono); font-size: 10.5px;
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .ex .meta dt { color: var(--muted); margin: 0; }
  .ex .meta dd { color: var(--ink); margin: 0; }

  /* ---- UW NOTE ---- */
  .uw-note {
    border: 1px solid var(--line); background: var(--paper-2);
    display: grid; grid-template-columns: 280px 1fr; gap: 0;
  }
  .uw-note .who { padding: 40px 36px; border-right: 1px solid var(--line); }
  .uw-note .who .av {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #c4b896, #8b7a5a);
    border: 1px solid var(--line); margin-bottom: 20px;
  }
  .uw-note .who .name {
    font-family: var(--serif); font-weight: 500; font-size: 19px;
    color: var(--ink); letter-spacing: -0.01em;
  }
  .uw-note .who .role {
    font-family: var(--mono); font-size: 11px; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.06em;
  }
  .uw-note .who::before {
    content: "Underwriter"; display: block; font-family: var(--mono); font-size: 10.5px;
    color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px;
  }
  .uw-note .who .lead {
    font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.015em;
    color: var(--ink); line-height: 1.25; margin-bottom: 10px;
  }
  .uw-note .what {
    padding: 40px 44px;
    font-family: var(--serif); font-size: 22px; line-height: 1.45;
    letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty;
  }
  .uw-note .what .soft { color: var(--muted); }

  /* ---- RELATED ---- */
  .related-nav {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); background: var(--paper);
  }
  .rn { padding: 22px 22px 24px; border-right: 1px solid var(--line); transition: background .18s; }
  .rn:last-child { border-right: 0; }
  .rn:hover { background: var(--paper-2); }
  .rn .c { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
  .rn .n {
    font-family: var(--serif); font-size: 18px; font-weight: 400;
    margin-top: 10px; color: var(--ink); letter-spacing: -0.01em;
  }
  .rn .arr { margin-top: 16px; color: var(--accent); font-family: var(--mono); font-size: 11px; }

  @media (max-width: 900px) {
    .line-hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .line-hero-cta { align-items: flex-start; }
    .appetite { padding: 28px 24px; }
    .ap-list { grid-template-columns: 1fr; }
    .limits, .examples, .related-nav { grid-template-columns: 1fr 1fr; }
    .lim, .ex, .rn { border-right: 0; border-bottom: 1px solid var(--line); }
    .uw-note { grid-template-columns: 1fr; }
    .uw-note .who { border-right: 0; border-bottom: 1px solid var(--line); }
  }