/* Top Broker Recruiting — design system
   Ink navy + signal amber. Display: Archivo (expanded), body: IBM Plex Sans, data: IBM Plex Mono. */

:root {
  --ink: #0a1622;
  --ink-2: #12263a;
  --ink-3: #1b3550;
  --paper: #f4f6f8;
  --white: #ffffff;
  --line: #d8dfe6;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #0f1d2b;
  --muted: #566778;
  --muted-on-dark: #a9b8c7;
  --accent: #f2a93b;
  --accent-hover: #ffbd57;
  --accent-ink: #1d1406;
  --teal: #17675e;
  --teal-soft: #e3f2ef;
  --danger: #b4372f;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(10, 22, 34, 0.06), 0 8px 24px rgba(10, 22, 34, 0.08);
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-stretch: 112%; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 0.5em; color: inherit; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; font-stretch: 118%; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.on-dark .lede { color: var(--muted-on-dark); }
.eyebrow { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.on-dark .eyebrow { color: var(--accent); }
.mark { background: linear-gradient(transparent 62%, rgba(242, 169, 59, 0.55) 62%); padding: 0 0.06em; }
.on-dark .mark { background: none; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 15px 22px; border-radius: var(--radius); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-primary .arrow { transition: transform 0.15s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-lg { padding: 18px 28px; font-size: 1.06rem; }
.btn-sm { padding: 10px 16px; font-size: 0.94rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.micro { font-size: 0.86rem; color: var(--muted); }
.on-dark .micro { color: var(--muted-on-dark); }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: var(--muted-on-dark); font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--accent); font-weight: 600; text-decoration: none; }
.topbar a:hover { color: var(--accent-hover); text-decoration: underline; }
@media (max-width: 720px) { .topbar .hide-sm { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: 1.06rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button { white-space: nowrap; font: 500 0.96rem var(--font-body); color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav-drop > button:hover, .nav > a[aria-current="page"] { background: var(--paper); color: var(--ink); }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform 0.15s; }
.nav-drop[data-open="true"] > button svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 8px); left: -12px; width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 12px; display: none; grid-template-columns: 1fr 1fr; gap: 4px; }
.nav-drop[data-open="true"] .nav-menu { display: grid; }
.nav-menu a { display: block; padding: 12px 14px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.nav-menu a:hover { background: var(--paper); }
.nav-menu strong { display: block; font-size: 0.96rem; }
.nav-menu span { display: block; font-size: 0.84rem; color: var(--muted); line-height: 1.4; }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; gap: 2px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav[data-open="true"] { display: flex; }
  .nav > a:not(.btn), .nav-drop > button { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.04rem; }
  .nav-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; }
  .nav > a.nav-mobile-cta { display: flex; margin-top: 12px; justify-content: center; }
}
.nav > a.nav-mobile-cta { display: none; }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.on-dark { background: var(--ink); color: var(--white); }
.on-white { background: var(--white); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted-on-dark); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.page-hero .wrap { grid-template-columns: 1fr; max-width: 900px; margin-left: 0; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.crumbs { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 18px; }
.crumbs a { color: var(--muted-on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Brief card (hero visual) */
.brief { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 24px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); font-size: 0.94rem; }
.brief-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); }
.brief-top .dot { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.brief-top .dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 169, 59, 0.2); }
.brief dl { margin: 0; display: grid; gap: 0; }
.brief dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.brief dt { color: var(--muted-on-dark); font-size: 0.84rem; }
.brief dd { margin: 0; color: var(--white); font-weight: 500; }
.brief .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 0.78rem; padding: 3px 9px; border-radius: 99px; background: rgba(242, 169, 59, 0.14); color: var(--accent); border: 1px solid rgba(242, 169, 59, 0.35); }
.brief .btn { margin-top: 18px; }

/* ---------- Goal picker ---------- */
.goal-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 28px 0; }
.goal-strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.goal-strip p { margin: 0 8px 0 0; font-family: var(--font-display); font-weight: 700; font-stretch: 112%; font-size: 1.1rem; }
.goal-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.96rem; background: var(--paper); transition: border-color 0.15s, background 0.15s; }
.goal-pill:hover { border-color: var(--ink); background: var(--white); color: var(--ink); }
.goal-pill span { color: var(--teal); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-cta { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.card .card-cta:hover { color: var(--teal); }
.card-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--teal); letter-spacing: 0.1em; margin-bottom: 18px; }
.on-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.on-dark .card p { color: var(--muted-on-dark); }
.on-dark .card .card-cta { color: var(--accent); }

.path-card { position: relative; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.path-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.path-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.path-card li { font-size: 0.8rem; padding: 3px 9px; border-radius: 99px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); }
.path-card.feature { background: var(--ink); color: var(--white); border-color: var(--ink); }
.path-card.feature p { color: var(--muted-on-dark); }
.path-card.feature li { background: rgba(255,255,255,0.06); color: var(--muted-on-dark); border-color: var(--line-dark); }
.path-card.feature .card-cta { color: var(--accent); }
.path-card.feature .card-num { color: var(--accent); }

.icon-badge { width: 44px; height: 44px; border-radius: 10px; background: var(--teal-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.icon-badge svg { width: 22px; height: 22px; }
.on-dark .icon-badge { background: rgba(242, 169, 59, 0.12); color: var(--accent); }

/* Checklist */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f7f74' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/16px no-repeat; }
.on-dark .checks li::before { background-color: rgba(242,169,59,0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f2a93b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split.wide-left { grid-template-columns: 1.2fr 0.8fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; } }
.sticky-col { position: sticky; top: 100px; }
@media (max-width: 900px) { .sticky-col { position: static; } }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; list-style: none; padding: 0; margin: 0; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 24px 24px 8px 0; position: relative; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: 0.82rem; color: var(--teal); margin-bottom: 14px; letter-spacing: 0.1em; }
.steps li::after { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ink); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: 0.96rem; }
.on-dark .steps { border-top-color: var(--accent); }
.on-dark .steps p { color: var(--muted-on-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Stat / promise row */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
.promises > div { padding: 26px 28px; border-right: 1px solid var(--line); }
.promises > div:last-child { border-right: 0; }
.promises strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 1.12rem; margin-bottom: 4px; }
.promises span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .promises { grid-template-columns: 1fr; } .promises > div { border-right: 0; border-bottom: 1px solid var(--line); } .promises > div:last-child { border-bottom: 0; } }

/* ---------- CTA band (repeated) ---------- */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: clamp(36px, 5vw, 52px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: 0.85; }
.cta-band .btn-dark { background: var(--ink); color: var(--white); }
.cta-band .btn-dark:hover { background: var(--ink-3); color: var(--white); }
.cta-band .btn-dark .arrow { color: var(--accent); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.96rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font-body); color: var(--text); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31, 127, 116, 0.18); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field .err { display: none; color: var(--danger); font-size: 0.84rem; margin-top: 4px; }
.field [aria-invalid="true"] ~ .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.form-note { font-size: 0.82rem; color: var(--muted); margin: 12px 0 0; }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success .icon-badge { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 50%; }
.form-success h3 { margin-bottom: 8px; }
form[data-sent="true"] { display: none; }
form[data-sent="true"] + .form-success { display: block; }

/* Choice tiles (multi-step) */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 14px 16px 14px 46px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 0.95rem; line-height: 1.35; cursor: pointer; transition: border-color 0.15s, background 0.15s; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.choice small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.choice input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.choice input:checked + span::before { border-color: var(--teal); background: radial-gradient(var(--teal) 45%, var(--white) 50%); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choice input[type="checkbox"] + span::before { border-radius: 4px; }
.choice input[type="checkbox"]:checked + span::before { background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3 3 7-8'/%3E%3C/svg%3E") center/14px no-repeat; }

.stepper { display: flex; gap: 6px; margin-bottom: 26px; }
.stepper span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background 0.2s; }
.stepper span.on { background: var(--teal); }
.step-label { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h3 { font-size: 1.5rem; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* ---------- Tools ---------- */
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.tool-head { padding: 26px 28px 0; }
.tool-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tool-inputs { padding: 22px 28px 28px; display: grid; gap: 14px; align-content: start; }
.tool-output { background: var(--ink); color: var(--white); padding: 28px; display: grid; gap: 18px; align-content: start; }
@media (max-width: 760px) { .tool-body { grid-template-columns: 1fr; } }
.readout span { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 4px; }
.readout strong { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent); letter-spacing: -0.02em; }
.readout.small strong { font-size: 1.2rem; color: var(--white); }
.tool-output .micro { color: var(--muted-on-dark); margin: 0; }
.bar { height: 10px; border-radius: 10px; background: rgba(255,255,255,0.1); overflow: hidden; display: flex; }
.bar i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--muted-on-dark); }
.legend b { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.offer-grid fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; margin: 0; display: grid; gap: 12px; }
.offer-grid legend { font-family: var(--font-display); font-weight: 700; padding: 0 6px; }
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } }
.readiness-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.readiness-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-size: 0.96rem; }
.readiness-list input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.readiness-list label:has(input:checked) { background: var(--teal-soft); border-color: var(--teal); }
.meter { height: 12px; border-radius: 12px; background: rgba(255,255,255,0.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* ---------- Article (guides) ---------- */
.article { max-width: 760px; }
.article h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: 0.5em; }
.article .callout { background: var(--teal-soft); border-left: 4px solid var(--teal); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.6em 0; }
.article .callout p:last-child { margin: 0; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.toc h4, .toc .toc-h { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.95rem; }

/* Resource list */
.resource { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.resource:last-child { border-bottom: 1px solid var(--line); }
.resource strong { display: block; }
.resource span { color: var(--muted); font-size: 0.92rem; }
.resource:hover strong { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 120px; font-size: 0.94rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand small { color: var(--muted-on-dark); }
.site-footer h4, .site-footer .footer-h { color: var(--white); font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { padding-top: 28px; font-size: 0.84rem; line-height: 1.6; display: grid; gap: 10px; }
.footer-legal p { margin: 0; max-width: 980px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); border-top: 1px solid var(--line-dark); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: none; gap: 12px; align-items: center; transform: translateY(110%); transition: transform 0.25s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta p { margin: 0; color: var(--white); font-size: 0.86rem; line-height: 1.3; flex: 1; }
.sticky-cta p span { display: block; color: var(--muted-on-dark); font-size: 0.78rem; }
@media (max-width: 860px) { .sticky-cta { display: flex; } }
@media (min-width: 861px) { .site-footer { padding-bottom: 48px; } }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Data tables (guides) */
.data-table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.94rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: block; overflow-x: auto; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 130px; }
.data-table thead th { background: var(--ink); color: var(--white); font-family: var(--font-display); font-stretch: 110%; font-weight: 700; }
.data-table tbody td:first-child { font-weight: 600; }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* Fixes after visual review */
.resource svg { width: 22px; height: 22px; flex: none; color: var(--teal); }
.on-dark .path-card.feature { background: var(--ink-3); border-color: var(--accent); }
.on-dark .path-card.feature:hover { border-color: var(--accent-hover); }
.btn svg, .card-cta svg { width: 18px; height: 18px; }
.grid > *, .split > *, .tool-body > *, .form-grid > *, .offer-grid > *, .hero .wrap > * { min-width: 0; }
.hero .wrap.inquiry-grid { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 900px) { .hero .wrap.inquiry-grid { grid-template-columns: 1fr; } }

/* Vertical steps (anonymous process) */
.vsteps { list-style: none; counter-reset: v; margin: 0; padding: 0; display: grid; gap: 0; }
.vsteps li { counter-increment: v; position: relative; padding: 0 0 28px 64px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li::before { content: counter(v); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 600; background: var(--accent); color: var(--accent-ink); }
.vsteps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.vsteps li:last-child::after { display: none; }
.vsteps h3 { margin: 8px 0 6px; }
.vsteps p { color: var(--muted); margin: 0; }
.on-dark .vsteps p { color: var(--muted-on-dark); }
.on-dark .vsteps li::after { background: var(--line-dark); }

/* Advisor qualifier fields */
.qualifiers { margin: 4px 0 0; padding: 16px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
.qualifiers[hidden] { display: none; }
.qual-head { margin: 0; font-weight: 700; font-size: 0.95rem; }
.qual-head span { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.field legend { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; padding: 0; }
.pill-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-check { position: relative; }
.pill-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.pill-check span { display: inline-block; padding: 8px 13px; border: 1.5px solid var(--line); border-radius: 99px; background: var(--white); font-size: 0.88rem; cursor: pointer; transition: border-color .15s, background .15s; }
.pill-check input:checked + span { border-color: var(--teal); background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.pill-check input:checked + span::before { content: "✓ "; color: var(--teal); }
.pill-check input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

/* SPV names */
.spv-name h3 { font-size: 1.5rem; margin-bottom: 2px; }
.spv-status { align-self: flex-start; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); margin-bottom: 16px; }
.spv-sector { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 12px; }
.spv-logo { height: 44px; display: flex; align-items: center; margin-bottom: 14px; }
.spv-logo img { max-height: 28px; max-width: 170px; width: auto; filter: brightness(0); opacity: 0.72; }
.spv-name h3 { font-size: 1.1rem; }

/* Photography */
.photo-hero, .photo-band { background-color: var(--ink); background-image: linear-gradient(90deg, rgba(10,22,34,.96) 0%, rgba(10,22,34,.86) 45%, rgba(10,22,34,.55) 100%), var(--bg); background-size: cover; background-position: center; }
.photo-hero::before { opacity: 0.3; }
.photo-band { padding: clamp(80px, 12vw, 150px) 0; background-image: linear-gradient(90deg, rgba(10,22,34,.92) 0%, rgba(10,22,34,.7) 55%, rgba(10,22,34,.35) 100%), var(--bg); background-attachment: scroll; }
.photo-band h2 { max-width: 16ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.photo-band .lede { margin-bottom: 28px; }
@media (max-width: 900px) {
  .photo-hero, .photo-band { background-image: linear-gradient(rgba(10,22,34,.86), rgba(10,22,34,.93)), var(--bg-sm); }
}

/* ---- Accessibility + cookie notice (shared) ---- */
.cookie-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 600px; margin: 0 auto; display: flex; gap: 14px; align-items: center; background: #0f1720; color: #fff; padding: 14px 16px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.35); font-size: .92rem; line-height: 1.45; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #fff; text-decoration: underline; }
.cookie-notice button { flex: none; background: #fff; color: #0f1720; border: 2px solid #fff; border-radius: 6px; padding: 10px 20px; min-height: 44px; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-notice button:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
@media (max-width: 860px) { .cookie-notice { bottom: 86px; } }
.footer-h, .toc-h { font-size: inherit; }
.embed-placeholder { display: grid; place-items: center; gap: 10px; text-align: center; padding: 28px; border-radius: 14px; background: #eef3f1; border: 1px dashed #9db3ab; min-height: 220px; }
.embed-placeholder p { margin: 0; max-width: 44ch; font-size: .92rem; color: #33413c; }

/* Contrast fixes (WCAG AA) */
.on-dark .card-num { color: var(--accent); }
.on-dark .form-card .micro, .form-card .micro, .form-card .form-note { color: var(--muted); }
.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: var(--accent-ink); text-decoration: none; }

/* ---- Cookie consent banner (shared) ---- */
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 640px; margin: 0 auto; background: #0f1720; color: #fff; padding: 18px 20px; border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,.4); font-size: .93rem; line-height: 1.5; max-height: calc(100vh - 32px); overflow-y: auto; }
.cc-banner .consent-title { font-size: 1.1rem; margin: 0 0 6px; color: #fff; font-family: inherit; letter-spacing: 0; }
.cc-banner .consent-title:focus { outline: 3px solid #ffd166; outline-offset: 3px; }
.cc-banner p { margin: 0 0 12px; color: #e8edf3; }
.cc-banner a { color: #fff; text-decoration: underline; }
.consent-details { display: grid; gap: 10px; margin: 0 0 14px; padding: 12px; background: rgba(255,255,255,.07); border-radius: 8px; }
.consent-details[hidden] { display: none; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; }
.consent-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: #ffd166; flex: none; }
.consent-row label { cursor: pointer; }
.consent-row span { display: block; color: #c9d3de; font-size: .86rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-btn { flex: 1 1 140px; min-height: 46px; padding: 10px 16px; border-radius: 8px; border: 2px solid #fff; background: #fff; color: #0f1720; font: inherit; font-weight: 700; cursor: pointer; }
.consent-btn:hover { background: #e8edf3; border-color: #e8edf3; }
.consent-btn.consent-link { background: transparent; color: #fff; }
.consent-btn.consent-link:hover { background: rgba(255,255,255,.1); }
.consent-btn:focus-visible { outline: 3px solid #ffd166; outline-offset: 2px; }
@media (max-width: 860px) { .cc-banner { bottom: 86px; max-height: calc(100vh - 110px); } }
.cookie-settings-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: none; cursor: pointer; text-align: left; }
.cookie-settings-btn:hover { text-decoration: underline; color: #fff; }
