/* ====================================================================
   INSURABLE.DEV — design system
   Deep forest green + bone + brass. Restrained, banking-grade.
   ==================================================================== */

:root {
  /* surfaces */
  --ink:        #0a1410;   /* page bg — deep forest-near-black */
  --ink-2:      #0f1f17;   /* elevated surface */
  --ink-3:      #16312a;   /* cards */
  --ink-4:      #1d4438;   /* hover / accent */
  --ink-line:   #1f3f30;   /* hairline rules */
  --ink-faint:  #2a4d3c;

  /* paper */
  --bone:       #ede5d0;
  --bone-soft:  #ddd1b3;
  --bone-line:  #c3b896;

  /* brass — accent (matches logo .dev) */
  --brass:      #c89752;
  --brass-soft: #dbb47a;
  --brass-dim:  #8a6730;

  /* type */
  --t-paper:    #f0e8d2;   /* text on dark */
  --t-mute:     #a8b1a4;   /* muted text on dark */
  --t-faint:    #6b7770;   /* footnote / label on dark */
  --t-ink:      #0a1410;   /* text on bone */
  --t-ink-mute: #4a5448;

  /* type families */
  --ff-display: 'Newsreader', 'Source Serif 4', Georgia, serif;
  --ff-sans:    'Geist', 'Inter', system-ui, -apple-system, sans-serif;
  --ff-mono:    'Geist Mono', 'IBM Plex Mono', ui-monospace, monospace;

  /* misc */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 10px;
  --shell-max: 1320px;
  --shell-narrow: 1040px;
  --shell-pad: 56px;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--t-paper);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: 0; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }

/* selection */
::selection { background: var(--brass); color: var(--ink); }

/* ----- type primitives ----- */
.display {
  font-family: var(--ff-display);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.04;
}
.display em, .display .it { font-style: italic; font-weight: 400; }
.display .acc { color: var(--brass); font-style: italic; font-weight: 400; }

.serif { font-family: var(--ff-display); font-weight: 400; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num { color: var(--t-faint); }

.mono { font-family: var(--ff-mono); font-feature-settings: 'tnum'; }
.tnum { font-variant-numeric: tabular-nums; }

.lede {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--t-paper);
  max-width: 32ch;
}

/* ----- layout primitives ----- */
.shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 var(--shell-pad); }
.shell-narrow { max-width: var(--shell-narrow); margin: 0 auto; padding: 0 var(--shell-pad); }
.section { padding: 110px 0; }
.section-sm { padding: 64px 0; }
.section-bone { background: var(--bone); color: var(--t-ink); }
.section-bone .t-mute { color: var(--t-ink-mute); }
.section-bone .eyebrow { color: var(--brass-dim); }
.section-bone .display .acc { color: var(--brass-dim); }
.section-bone hr, .section-bone .rule { background: var(--bone-line); }

.rule { height: 1px; background: var(--ink-line); border: 0; }
.rule-brass { height: 1px; background: var(--brass); opacity: 0.45; border: 0; }
.rule-dot { background: 0; border-top: 1px dotted var(--ink-line); height: 0; }

.divider-top { border-top: 1px solid var(--ink-line); }
.divider-bottom { border-bottom: 1px solid var(--ink-line); }

/* ====================================================================
   STATUS STRIP (always-visible, top of every page)
   ==================================================================== */
.status-strip {
  background: var(--ink-2);
  border-bottom: 1px solid var(--ink-line);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--t-mute);
}
.status-strip .row {
  display: flex; align-items: center; gap: 22px;
  padding: 10px var(--shell-pad);
  overflow-x: auto;
}
.status-strip .item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.status-strip .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--brass); box-shadow: 0 0 0 3px rgba(200,151,82,0.18); }
.status-strip .lbl { color: var(--t-faint); text-transform: uppercase; letter-spacing: 0.14em; }
.status-strip .val { color: var(--t-paper); }
.status-strip .spacer { flex: 1; }
.status-strip a { color: var(--brass); }

/* ====================================================================
   NAVIGATION
   ==================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 16, 0.92);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--ink-line);
}
.nav .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding: 0 var(--shell-pad);
}
.nav .brand { display: flex; align-items: center; gap: 12px; }
.nav .brand img { height: 22px; filter: invert(1) hue-rotate(180deg); /* invert dark logo to paper */ }
.nav .brand .markdot { display: none; }

.nav .links { display: flex; align-items: center; gap: 4px; }
.nav .links a {
  font-size: 14px; font-weight: 400;
  padding: 8px 14px; border-radius: 4px;
  color: var(--t-mute);
  transition: color 0.15s, background 0.15s;
}
.nav .links a:hover { color: var(--t-paper); background: rgba(255,255,255,0.04); }
.nav .links a.active { color: var(--t-paper); }
.nav .links a.active::after {
  content: ''; display: block; height: 1px; background: var(--brass);
  margin: 6px 14px -10px; opacity: 0.7;
}

.nav .actions { display: flex; align-items: center; gap: 12px; }
.nav .ghost {
  font-size: 13px; padding: 9px 16px; border-radius: 4px;
  border: 1px solid var(--ink-line); color: var(--t-paper);
}
.nav .ghost:hover { border-color: var(--brass); color: var(--brass); }

/* logo wordmark — render as text so it inherits color on dark */
.nav .wordmark {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: 22px; letter-spacing: -0.005em; color: var(--t-paper);
}
.nav .wordmark .dot { color: var(--brass); }

/* ====================================================================
   BUTTONS
   ==================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  background: var(--brass); color: var(--ink);
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brass-soft); }
.btn.ink { background: var(--ink-3); color: var(--t-paper); border: 1px solid var(--ink-line); }
.btn.ink:hover { background: var(--ink-4); border-color: var(--brass); }
.btn.bone { background: var(--bone); color: var(--t-ink); }
.btn.bone:hover { background: var(--bone-soft); }
.btn.outline { background: transparent; color: var(--t-paper); border: 1px solid var(--ink-line); }
.btn.outline:hover { border-color: var(--brass); color: var(--brass); }
.btn.outline-bone { background: transparent; color: var(--t-ink); border: 1px solid var(--bone-line); }
.btn .arr { font-family: var(--ff-display); font-style: italic; opacity: 0.9; }

.linklike {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-display); font-style: italic; font-size: 16px;
  color: var(--brass); border-bottom: 1px solid var(--brass); padding-bottom: 1px;
}
.linklike:hover { color: var(--brass-soft); border-color: var(--brass-soft); }
.section-bone .linklike { color: var(--brass-dim); border-color: var(--brass-dim); }

/* ====================================================================
   PILLS / TAGS
   ==================================================================== */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: var(--ink-2);
  font-size: 12px; color: var(--t-mute);
  font-family: var(--ff-mono); letter-spacing: 0.04em;
}
.pill .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--brass); box-shadow: 0 0 0 3px rgba(200,151,82,0.2); }
.pill.live .dot { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(200,151,82,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(200,151,82,0.06); }
}

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag.done   { background: rgba(110, 170, 130, 0.14); color: #9dc8a7; }
.tag.now    { background: rgba(200, 151, 82, 0.16); color: var(--brass-soft); }
.tag.next   { background: rgba(255, 255, 255, 0.06); color: var(--t-mute); }
.tag.goal   { background: transparent; color: var(--t-faint); box-shadow: inset 0 0 0 1px var(--ink-line); }
.tag .pdot  { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }

/* ====================================================================
   PAGE HERO (compact, for inner pages)
   ==================================================================== */
.page-hero { padding: 84px 0 56px; border-bottom: 1px solid var(--ink-line); }
.page-hero .crumb { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-faint); margin-bottom: 22px; }
.page-hero .crumb a:hover { color: var(--brass); }
.page-hero h1 { font-family: var(--ff-display); font-weight: 300; font-size: 72px; line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; }
.page-hero h1 em, .page-hero h1 .acc { font-style: italic; font-weight: 400; color: var(--brass); }
.page-hero .deck { margin-top: 28px; max-width: 60ch; font-size: 19px; line-height: 1.5; color: var(--t-mute); }

/* ====================================================================
   TWO-COL PAGE (sticky left rail + main column)
   ==================================================================== */
.twocol { display: grid; grid-template-columns: 220px 1fr; gap: 80px; align-items: start; padding: 80px 0 110px; }
.twocol .rail { position: sticky; top: 110px; }
.twocol .rail .raillabel { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--t-faint); margin-bottom: 16px; }
.twocol .rail ul { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--ink-line); }
.twocol .rail li a {
  display: block; padding: 7px 14px; font-size: 13.5px; color: var(--t-mute);
  border-left: 1px solid transparent; margin-left: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.twocol .rail li a:hover { color: var(--t-paper); }
.twocol .rail li.is-active a { color: var(--brass); border-left-color: var(--brass); }

.section-bone .twocol .rail .raillabel { color: var(--t-ink-mute); }
.section-bone .twocol .rail ul { border-left-color: var(--bone-line); }
.section-bone .twocol .rail li a { color: var(--t-ink-mute); }
.section-bone .twocol .rail li a:hover { color: var(--t-ink); }
.section-bone .twocol .rail li.is-active a { color: var(--brass-dim); border-left-color: var(--brass-dim); }

/* sub-section heading inside two-col main column */
.subsection { padding: 0 0 80px; }
.subsection:not(:first-child) { padding-top: 80px; border-top: 1px solid var(--ink-line); }
.section-bone .subsection:not(:first-child) { border-top-color: var(--bone-line); }
.subsection h2 { font-family: var(--ff-display); font-weight: 300; font-size: 48px; line-height: 1.05; letter-spacing: -0.018em; max-width: 22ch; }
.subsection h2 em { font-style: italic; font-weight: 400; }
.subsection h2 .acc { color: var(--brass); font-style: italic; font-weight: 400; }
.subsection .deck { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--t-mute); max-width: 60ch; }
.subsection .body { margin-top: 36px; }
.subsection .body p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--t-mute); max-width: 64ch; }
.subsection .body p strong { color: var(--t-paper); font-weight: 500; }
.section-bone .subsection .body p strong { color: var(--t-ink); }

/* ====================================================================
   DOOR CARDS (homepage three doors)
   ==================================================================== */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.door { background: var(--ink); padding: 56px 44px 56px; display: flex; flex-direction: column; min-height: 460px; position: relative; transition: background 0.2s; }
.door:hover { background: var(--ink-2); }
.door .door-num { font-family: var(--ff-display); font-style: italic; font-size: 14px; color: var(--brass); }
.door .door-label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--t-faint); margin-top: 14px; }
.door h3 { font-family: var(--ff-display); font-weight: 300; font-size: 40px; line-height: 1.05; letter-spacing: -0.018em; margin-top: 18px; max-width: 14ch; }
.door h3 em { font-style: italic; font-weight: 400; color: var(--brass); }
.door .door-body { margin-top: 22px; color: var(--t-mute); font-size: 15px; line-height: 1.65; max-width: 36ch; }
.door .door-meta { margin-top: 28px; padding-top: 22px; border-top: 1px dotted var(--ink-line); display: flex; flex-direction: column; gap: 8px; }
.door .door-meta li { font-size: 13px; color: var(--t-paper); padding-left: 18px; position: relative; line-height: 1.45; }
.door .door-meta li::before { content: '—'; position: absolute; left: 0; top: 0; color: var(--brass); }
.door .door-cta { margin-top: auto; padding-top: 32px; }
.door .door-cta a { font-family: var(--ff-display); font-style: italic; font-size: 17px; color: var(--brass); display: inline-flex; align-items: center; gap: 10px; }
.door .door-cta a .arr { transition: transform 0.2s; }
.door:hover .door-cta a .arr { transform: translateX(4px); }

/* ====================================================================
   STAT STRIPS
   ==================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.stat { padding: 32px 0 32px 28px; border-right: 1px solid var(--ink-line); position: relative; }
.stat:last-child { border-right: 0; }
.stat .k { font-family: var(--ff-display); font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -0.015em; color: var(--t-paper); font-feature-settings: 'tnum'; }
.stat .k .unit { font-size: 22px; color: var(--brass); font-style: italic; font-weight: 400; margin-left: 4px; vertical-align: top; line-height: 1.5; }
.stat .l { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--t-mute); max-width: 28ch; }
.stat .ftn { margin-top: 8px; font-family: var(--ff-mono); font-size: 10.5px; color: var(--t-faint); letter-spacing: 0.06em; }

/* ====================================================================
   FOOTNOTE LIST (used in many places)
   ==================================================================== */
.fnlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.fnlist > li { padding-left: 26px; position: relative; font-size: 14.5px; line-height: 1.6; color: var(--t-mute); }
.fnlist > li::before { content: '§'; position: absolute; left: 0; top: 0; font-family: var(--ff-display); font-style: italic; color: var(--brass); font-size: 16px; }
.fnlist > li strong { color: var(--t-paper); font-weight: 500; display: block; margin-bottom: 4px; }
.section-bone .fnlist > li { color: var(--t-ink-mute); }
.section-bone .fnlist > li::before { color: var(--brass-dim); }
.section-bone .fnlist > li strong { color: var(--t-ink); }

/* ====================================================================
   TEAM CARDS
   ==================================================================== */
.team-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.team-card { background: var(--ink-2); border: 1px solid var(--ink-line); padding: 30px; border-radius: var(--r-sm); }
.team-card .portrait { aspect-ratio: 4/5; background: var(--ink-3); margin-bottom: 24px; overflow: hidden; position: relative; }
.team-card .portrait-ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(135deg, var(--ink-3) 0, var(--ink-3) 8px, var(--ink-2) 8px, var(--ink-2) 16px);
  display: flex; align-items: flex-end; padding: 14px;
}
.team-card .portrait-ph span { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.08em; color: var(--t-mute); background: var(--ink); padding: 4px 8px; border: 1px solid var(--ink-line); }
.team-card .name { font-family: var(--ff-display); font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -0.01em; }
.team-card .name em { font-style: italic; color: var(--brass); font-size: 0.8em; margin-left: 4px; }
.team-card .role { font-family: var(--ff-display); font-style: italic; font-size: 16px; color: var(--brass); margin-top: 6px; }
.team-card p { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--t-mute); }
.team-card .quote { font-family: var(--ff-display); font-style: italic; font-size: 18px; line-height: 1.4; color: var(--t-paper); padding: 16px 0 16px 16px; margin: 22px 0 8px; border-left: 1px solid var(--brass); }
.team-card .creds { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 8px; }
.team-card .creds li { font-size: 12.5px; color: var(--t-paper); padding-left: 18px; position: relative; line-height: 1.45; }
.team-card .creds li::before { content: '—'; position: absolute; left: 0; top: 0; color: var(--brass); }

/* ====================================================================
   ROADMAP — list rows + interactive filter
   ==================================================================== */
.rm-filters { display: flex; gap: 8px; padding: 24px 0; }
.rm-filter {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--ink-line); color: var(--t-mute); background: transparent;
  transition: all 0.15s;
}
.rm-filter:hover { color: var(--t-paper); border-color: var(--ink-faint); }
.rm-filter.is-active { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.rm-filter .count { opacity: 0.55; margin-left: 6px; }

.rm-list { border-top: 1px solid var(--ink-line); }
.rm-row {
  display: grid; grid-template-columns: 70px 130px 1fr 1.7fr 200px;
  gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--ink-line);
  align-items: baseline;
  transition: opacity 0.25s, transform 0.25s;
}
.rm-row.is-hidden { display: none; }
.rm-row .rnum { font-family: var(--ff-display); font-style: italic; font-size: 32px; color: var(--brass); line-height: 1; }
.rm-row .rstatus { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.rm-row.done .rstatus { color: #9dc8a7; }
.rm-row.now .rstatus { color: var(--brass); }
.rm-row.next .rstatus { color: var(--t-mute); }
.rm-row.goal .rstatus { color: var(--t-faint); }
.rm-row .rstatus .pdot { display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: currentColor; margin-right: 10px; vertical-align: 1px; }
.rm-row.goal .rstatus .pdot { background: transparent; box-shadow: inset 0 0 0 1px currentColor; }
.rm-row h4 { font-family: var(--ff-display); font-weight: 400; font-size: 24px; line-height: 1.15; letter-spacing: -0.005em; }
.rm-row .rbody { font-size: 14.5px; line-height: 1.6; color: var(--t-mute); }
.rm-row .rmeta { font-family: var(--ff-mono); font-size: 11.5px; color: var(--t-faint); line-height: 1.6; text-align: right; }

/* ====================================================================
   PARTNER LOCKUP (insurer placeholders)
   ==================================================================== */
.partners {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
}
.partner { background: var(--ink); padding: 32px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.partner .ph { width: 100%; height: 38px; background: var(--ink-2); border: 1px dashed var(--ink-faint); display: flex; align-items: center; justify-content: center; }
.partner .ph span { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--t-faint); text-transform: uppercase; }
.partner .l { font-family: var(--ff-mono); font-size: 10px; color: var(--t-faint); letter-spacing: 0.08em; text-align: center; }

/* ====================================================================
   COMPARISON TABLE (used on How it works)
   ==================================================================== */
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--ink-line); vertical-align: top; }
.cmp thead th { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-faint); padding-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--brass); }
.cmp tbody tr td:first-child { color: var(--t-paper); font-weight: 500; width: 26%; }
.cmp td { color: var(--t-mute); line-height: 1.55; }
.cmp td.us { color: var(--t-paper); background: rgba(200,151,82,0.04); position: relative; }
.cmp td.us::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--brass); }
.cmp .nope { color: #b06a4a; }
.cmp .yep { color: #9dc8a7; }

/* ====================================================================
   AGENT GRID (six AI assistants)
   ==================================================================== */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.agent { background: var(--ink); padding: 36px 30px 40px; }
.agent .anum { font-family: var(--ff-display); font-style: italic; font-size: 32px; color: var(--brass); line-height: 1; }
.agent .alabel { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-faint); margin-top: 18px; }
.agent h4 { font-family: var(--ff-display); font-weight: 400; font-size: 22px; line-height: 1.2; margin-top: 8px; }
.agent p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--t-mute); }

/* ====================================================================
   FORM BLOCKS
   ==================================================================== */
.form { display: grid; gap: 14px; }
.form .field { display: flex; flex-direction: column; gap: 6px; }
.form .field label { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-faint); }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 15px;
  background: var(--ink-2); border: 1px solid var(--ink-line);
  color: var(--t-paper); padding: 12px 14px; border-radius: var(--r-sm);
  outline: none; transition: border-color 0.15s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brass); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .actions { margin-top: 12px; display: flex; gap: 12px; align-items: center; }

/* ====================================================================
   FINAL CTA BLOCK
   ==================================================================== */
.final-cta { background: var(--ink-2); padding: 96px 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.final-cta h2 { font-family: var(--ff-display); font-weight: 300; font-size: 64px; line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; }
.final-cta h2 em { font-style: italic; font-weight: 400; color: var(--brass); }
.final-cta .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--ink-line); border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); }
.final-cta .grid3 .col { background: var(--ink-2); padding: 32px 28px 36px; }
.final-cta .grid3 .col .lbl { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.final-cta .grid3 .col h4 { font-family: var(--ff-display); font-weight: 400; font-size: 24px; line-height: 1.2; margin-top: 16px; }
.final-cta .grid3 .col p { margin-top: 14px; font-size: 14px; line-height: 1.6; color: var(--t-mute); }
.final-cta .grid3 .col a { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-display); font-style: italic; font-size: 16px; color: var(--brass); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }

/* ====================================================================
   FOOTER
   ==================================================================== */
.foot { background: var(--ink); border-top: 1px solid var(--ink-line); padding: 64px 0 32px; }
.foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--ink-line); }
.foot .top .col h5 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--t-faint); font-weight: 400; margin-bottom: 18px; }
.foot .top .col ul { display: flex; flex-direction: column; gap: 10px; }
.foot .top .col li a { font-size: 14px; color: var(--t-paper); }
.foot .top .col li a:hover { color: var(--brass); }
.foot .top .col-meta { display: flex; flex-direction: column; gap: 16px; }
.foot .top .col-meta .word { font-family: var(--ff-display); font-style: italic; font-size: 24px; }
.foot .top .col-meta .word .dot { color: var(--brass); }
.foot .top .col-meta p { font-size: 13px; color: var(--t-mute); line-height: 1.55; max-width: 30ch; }
.foot .disc { padding: 28px 0 0; font-size: 12px; line-height: 1.65; color: var(--t-mute); max-width: 100ch; }
.foot .disc strong { color: var(--t-paper); font-family: var(--ff-display); font-style: italic; font-weight: 400; font-size: 14px; }
.foot .bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; font-family: var(--ff-mono); font-size: 11px; color: var(--t-faint); letter-spacing: 0.06em; }
.foot .bottom .links { display: flex; gap: 20px; }
.foot .bottom .links a:hover { color: var(--brass); }

/* ====================================================================
   UTILITIES
   ==================================================================== */
.t-mute { color: var(--t-mute); }
.t-faint { color: var(--t-faint); }
.t-paper { color: var(--t-paper); }
.t-brass { color: var(--brass); }
.center { text-align: center; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mt-20 { margin-top: 80px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* ====================================================================
   RESPONSIVE — basic mobile graceful fallback
   ==================================================================== */
@media (max-width: 1100px) {
  :root { --shell-pad: 32px; }
  .page-hero h1 { font-size: 56px; }
  .twocol { grid-template-columns: 1fr; gap: 40px; }
  .twocol .rail { position: static; }
  .doors, .agent-grid, .partners, .final-cta .grid3 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .rm-row { grid-template-columns: 60px 110px 1fr; }
  .rm-row .rbody, .rm-row .rmeta { grid-column: 2 / 4; }
  .foot .top { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .agent-grid { grid-template-columns: 1fr; }
  .final-cta h2, .page-hero h1 { font-size: 44px; }
}
