:root {
  --ink: #0f1b2d;
  --ink-2: #33415c;
  --muted: #5b6b85;
  --line: #dde3ec;
  --bg: #ffffff;
  --bg-2: #f4f7fb;
  --navy: #0b2545;
  --accent: #0e7c86;
  --accent-2: #13a3ad;
  --warn: #b45309;
  --ok: #15803d;
  --radius: 12px;
  --max: 1120px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.15; }
.logo strong { font-size: 20px; letter-spacing: -.01em; }
.logo strong::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--accent), var(--navy)); }
.logo small { font-size: 12px; color: var(--muted); padding-left: 20px; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0b6970; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #c9d3e1; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.nav-links .btn { color: #fff; padding: 9px 16px; }

/* Hero */
.hero { background: linear-gradient(180deg, #f2f7fb 0%, #fff 100%); padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; color: var(--navy); max-width: 820px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2); max-width: 720px; margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.trust-row li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: middle; }

/* Sections */
section { padding: 72px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; color: var(--navy); }
.section-lead { color: var(--ink-2); max-width: 720px; margin: 0 0 36px; font-size: 17px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0 0 10px; color: var(--ink-2); }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); }
.card li { margin: 4px 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #e6f4f5; color: #0a5f67; margin-bottom: 10px; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pill { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--bg-2); }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 14px; }

/* Pricing */
.price { font-size: 30px; font-weight: 800; color: var(--navy); margin: 6px 0 4px; letter-spacing: -.01em; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.card.featured { border: 2px solid var(--accent); }
.note { font-size: 14px; color: var(--muted); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--ink-2); }

/* Forms */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 11px 12px; border: 1px solid #c9d3e1; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 16px; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d6e8; padding: 40px 0; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* Report tool */
.privacy { border: 1px solid #b7e0e3; background: #eef9fa; border-radius: var(--radius); padding: 18px 20px; color: var(--ink); }
.privacy strong { color: var(--accent); }
.drop { border: 2px dashed #9fb3cc; border-radius: var(--radius); background: #fff; padding: 36px 20px; text-align: center; transition: border-color .15s, background .15s; }
.drop.over { border-color: var(--accent); background: #f0fafb; }
.drop p { margin: 8px 0; color: var(--ink-2); }
.drop input[type=file] { display: none; }
.example-banner { background: #fff7e6; border: 1px solid #f3cf8b; color: #7a4a00; padding: 12px 16px; border-radius: 10px; font-weight: 600; margin-bottom: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi .label { font-size: 13px; color: var(--muted); }
.kpi .value { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.kpi .sub { font-size: 12px; color: var(--muted); }
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 210px 1fr 110px; gap: 12px; align-items: center; font-size: 14px; }
.bar { height: 14px; background: #e8eef5; border-radius: 7px; overflow: hidden; }
.bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 7px; }
.bar-row .amt { text-align: right; font-weight: 700; color: var(--navy); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); color: var(--ink-2); font-weight: 700; white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
.conf { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.conf-High { background: #e3f6ea; color: var(--ok); }
.conf-Medium { background: #e6f1fb; color: #1d4ed8; }
.conf-Low { background: #fdf2e3; color: var(--warn); }
.locked { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.locked pre { margin: 0; padding: 20px; background: #0f1b2d; color: #b8c7dc; filter: blur(4px); user-select: none; font-size: 13px; white-space: pre-wrap; }
.locked .overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: rgba(255,255,255,.55); }
.locked .overlay div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; max-width: 460px; box-shadow: var(--shadow); }
.error { background: #fdecec; border: 1px solid #f5b5b5; color: #8a1c1c; padding: 12px 16px; border-radius: 10px; }
.hidden { display: none !important; }
.small { font-size: 13px; color: var(--muted); }
code { background: var(--bg-2); padding: 1px 6px; border-radius: 5px; font-size: 90%; }
.report-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  section { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .grid-2, .grid-4, .steps { grid-template-columns: minmax(0, 1fr); }
  form .row { grid-template-columns: 1fr; gap: 0; }
  .kpi .value { font-size: 22px; }
  .bar-row { grid-template-columns: 1fr 90px; }
  .bar-row .bar { grid-column: 1 / -1; grid-row: 2; }
}
/* h21: never render a horizontal table under ~760px. Cards only. */
@media (max-width: 760px) {
  .table-wrap { border: 0; background: transparent; overflow: visible; max-width: 100%; }
  .table-wrap table,
  .table-wrap thead,
  .table-wrap tbody,
  .table-wrap tfoot,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td,
  table.stack-on-mobile,
  table.stack-on-mobile thead,
  table.stack-on-mobile tbody,
  table.stack-on-mobile tr,
  table.stack-on-mobile th,
  table.stack-on-mobile td {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .table-wrap thead, table.stack-on-mobile thead { display: none; }
  .table-wrap tr, table.stack-on-mobile tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 0 0 12px;
    padding: 8px 4px;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
  }
  .table-wrap th, .table-wrap td,
  table.stack-on-mobile th, table.stack-on-mobile td {
    border: 0;
    padding: 6px 12px;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: manual;
  }
  .table-wrap td.num, .table-wrap th.num,
  table.stack-on-mobile td.num { text-align: left; }
  .table-wrap td[data-label]::before,
  .table-wrap th[data-label]::before,
  table.stack-on-mobile td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    margin-bottom: 2px;
  }
}
@media print {
  .site-header, .site-footer, .no-print, #upload-section { display: none !important; }
  section { padding: 16px 0; }
  .card, .kpi { box-shadow: none; }
}
.spaced { margin-top: 20px; }

/* h18 launcher card */
.launch-grid { align-items: start; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; color: var(--ink-2); }
.checks li { margin: 8px 0; padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.pick-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pick-group legend { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 999px; border: 1px solid #c9d3e1; background: #fff; color: var(--navy); cursor: pointer; min-height: 44px; }
.pick:hover { border-color: var(--accent); }
.pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick:focus-visible, .btn:focus-visible { outline: 3px solid #9fd8dc; outline-offset: 2px; }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: .6; cursor: progress; }
.privacy-line { margin: 10px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.launcher { position: relative; }
.estimate { border: 1px solid #f3cf8b; background: #fffaf0; border-radius: 10px; padding: 14px 16px; margin-bottom: 8px; }
.estimate-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #7a4a00; background: #fde9c3; border-radius: 6px; padding: 2px 8px; }
.estimate-range { font-size: 22px; font-weight: 800; color: var(--navy); margin: 6px 0 4px; }
.estimate p { margin: 6px 0 0; }
.launch-h { font-size: 16px !important; margin: 20px 0 6px !important; }
.cmd-row { display: flex; gap: 8px; align-items: stretch; }
.cmd { flex: 1; min-width: 0; margin: 0; background: #0f1b2d; color: #e3ecf7; border-radius: 8px; padding: 12px 14px; font-size: 13px; overflow-x: auto; white-space: pre; }
.cmd code { background: none; padding: 0; color: inherit; font-size: inherit; }
.btn-copy { padding: 8px 12px; font-size: 13px; align-self: flex-start; }
.inspect { margin-top: 10px; padding: 10px 14px; }
.inspect summary { font-size: 14px; }
.sha { word-break: break-all; font-size: 12px; }
.drop-compact { display: block; padding: 18px 14px; cursor: pointer; }
.mini-result { margin-top: 12px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-kpis .kpi { padding: 10px; }
.mini-kpis .value { font-size: 18px; }
.mini-result ul { padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.plan-match { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg-2); }
.plan-match strong { color: var(--navy); font-size: 17px; }
.onboard { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.card-cta { margin-top: 16px; }
.conf-Held { background: #eceff3; color: #475569; }
@media (max-width: 760px) {
  .cmd-row { flex-direction: column; }
  .btn-copy { align-self: flex-end; }
  .mini-kpis { grid-template-columns: 1fr; }
  .estimate-range { font-size: 19px; }
}
/* h18: keep long commands from widening the card; keep scrolled-to blocks clear of the sticky header */
.launch-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.launch-grid > * { min-width: 0; }
#launch, #launcher, #launch-result, #onboard, #results { scroll-margin-top: 80px; }
@media (max-width: 760px) { .launch-grid { grid-template-columns: minmax(0, 1fr); } }

/* h19: grid and flex children may shrink below their content; long commands scroll inside their own box. */
.grid > *, .steps > *, .kpis > *, .launch-grid > *, .mini-kpis > *, .cmd-row > * { min-width: 0; }
pre, .cmd { max-width: 100%; overflow-x: auto; }
p, li, td, .small { overflow-wrap: anywhere; }
code { overflow-wrap: anywhere; }
pre code { overflow-wrap: normal; }
/* h19: unbuilt features are labeled, not sold. */
.soon { display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.4; padding: 1px 8px; border-radius: 999px; background: #fff4e5; color: #8a4b00; border: 1px solid #f0c27a; white-space: nowrap; vertical-align: 1px; }
/* h19 contrast: footer code was #c9d6e8 on #f4f7fb (1.36:1); area tags 4.38:1 at 12px. */
.site-footer code { background: rgba(255,255,255,.14); color: #ffffff; }
.tag { color: #0a5f67; }
.card > pre.cmd { margin: 8px 0; }

/* h19: read notes on the report (date order, decimal comma, caps, one-time charges) */
.warn-box { border: 1px solid #e3c770; background: #fff8e1; color: #4a3b00; border-radius: 10px; padding: 12px 16px; margin: 0 0 18px; }
.warn-box ul { margin: 6px 0 0; padding-left: 20px; }

/* h19 Sales review: two start paths, sample link, timeline, fee example, open scan block */
.start-paths .btn { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25; text-align: left; }
.start-paths .btn small { font-weight: 400; font-size: .82em; opacity: .9; }
.sample-link { margin: 10px 0 0; }
.timeline { counter-reset: t; list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.timeline li { counter-increment: t; background: #fff; border: 1px solid #dfe5ec; border-radius: 12px; padding: 16px; min-width: 0; }
.timeline li::before { content: counter(t); display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: #0a5f67; color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 8px; }
.timeline li strong { display: block; }
@media (max-width: 760px) { .timeline { grid-template-columns: minmax(0, 1fr); } }
.fee-example { margin-top: 18px; }
.launcher-title { margin-top: 0; }
.scan-open > * { min-width: 0; }
.mini-result .ask { margin-top: 10px; }
.method h2 { margin-top: 32px; }
.method table { width: 100%; border-collapse: collapse; }
.method td, .method th { border-bottom: 1px solid #e3e8ee; padding: 8px; text-align: left; vertical-align: top; }

/* h19 logos (brand kit in /assets/brand, files unchanged) */
.logo { flex-direction: row; align-items: center; flex: 0 1 auto; min-width: 0; }
.logo img { display: block; height: 30px; width: auto; max-width: 100%; }
@media (max-width: 420px) { .logo img { height: 24px; } }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 12px; }
.footer-brand > img { height: 26px; width: auto; }
.fit-service { display: inline-flex; align-items: center; gap: 10px; color: #c9d6e8; text-decoration: none; }
.fit-service img { height: 26px; width: auto; }
.fit-service:hover span { text-decoration: underline; }
.who-logo img { height: 34px; width: auto; display: block; }

/* h19 founder section and slots */
[hidden] { display: none !important; }
.founder { display: flex; gap: 20px; align-items: flex-start; max-width: 860px; }
.founder > div { min-width: 0; }
.founder-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: none; }
@media (max-width: 560px) { .founder { flex-direction: column; } }
@media print {
  pre, .cmd, pre code { white-space: pre-wrap !important; overflow: visible !important; word-break: break-word; }
  .method table { page-break-inside: avoid; }
}
/* h19 demo video */
.demo { margin: 16px 0; max-width: 100%; }
.demo video { display: block; width: 100%; height: auto; border-radius: 8px; background: #0b1220; }
.demo figcaption { font-size: .85rem; color: var(--muted, #5b6b85); margin-top: 6px; }
/* h19 scale: capped tables */
.more-row td { font-size: .85rem; color: var(--muted, #5b6b85); background: #f7f9fc; }
.btn-link { background: none; border: 0; padding: 0; color: var(--teal, #0f766e); text-decoration: underline; cursor: pointer; font: inherit; }
/* h19 pricing (2026-11-18): spend band line on each card, example fee calculator */
.card .band { font-size: 13px; font-weight: 600; color: #0a5f67; margin: -4px 0 6px; }
.fee-calc { margin-top: 18px; }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.calc-grid input { width: 100%; }
.calc-out p { margin: 6px 0; }
.fee-math { margin-top: 8px; }
@media (max-width: 560px) { .calc-grid { grid-template-columns: minmax(0, 1fr); } }
/* h20 executive brief (report page): hidden on screen, printed alone as 3 pages when body.print-brief is set */
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.exec-brief { display: none; }
@media print {
  body.print-brief > *:not(#exec-brief) { display: none !important; }
  body.print-brief .exec-brief { display: block; color: #0b1220; font-size: 11pt; line-height: 1.4; }
  .exec-brief .brief-page { break-after: page; page-break-after: always; }
  .exec-brief .brief-page:last-child { break-after: auto; page-break-after: auto; }
  .exec-brief h1 { font-size: 22pt; margin: 6pt 0 4pt; }
  .exec-brief h2 { font-size: 14pt; margin: 14pt 0 6pt; }
  .exec-brief h3 { font-size: 11.5pt; margin: 10pt 0 4pt; }
  .exec-brief .brief-top { display: flex; justify-content: space-between; font-size: 9pt; color: #5b6b85; border-bottom: 1px solid #c9d3e0; padding-bottom: 4pt; }
  .exec-brief .brief-meta, .exec-brief .brief-small, .exec-brief .brief-foot { font-size: 9pt; color: #44536b; }
  .exec-brief .brief-foot { margin-top: 14pt; border-top: 1px solid #c9d3e0; padding-top: 6pt; }
  .exec-brief .brief-example { font-weight: 700; border: 1px solid #b45309; color: #92400e; padding: 4pt 6pt; }
  .exec-brief .brief-table { width: 100%; border-collapse: collapse; font-size: 9.5pt; page-break-inside: auto; }
  .exec-brief .brief-table th, .exec-brief .brief-table td { border-bottom: 1px solid #dde4ee; padding: 3pt 4pt; text-align: left; vertical-align: top; }
  .exec-brief .brief-table .num { text-align: right; white-space: nowrap; }
  .exec-brief .brief-table tr { page-break-inside: avoid; }
  .exec-brief .est { font-size: 7.5pt; text-transform: uppercase; letter-spacing: .04em; color: #5b6b85; }
  .exec-brief .brief-tier { page-break-inside: avoid; }
  .exec-brief .brief-tier .brief-table { font-size: 8.5pt; }
  .exec-brief .brief-tier p { margin: 2pt 0 4pt; font-size: 9.5pt; }
}

/* h20 Plain English | Technical Details switch (assets/view-toggle.js). No JS: plain text plus an open-able disclosure. */
.view-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.view-toggle[hidden] { display: none; }
.view-pill { border: 0; background: transparent; padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.view-pill[aria-pressed="true"] { background: var(--accent); color: #fff; }
.view-pill:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.card details.tech { background: none; border: 0; border-radius: 0; padding: 0; margin: 6px 0 0; }
.card details.tech > summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--accent); }
.card details.tech[open] > summary { margin-bottom: 6px; }
html[data-view="tech"] .card .plain { display: none; }
html[data-view="tech"] .card details.tech > summary { display: none; }
.price-grid > .card { display: flex; flex-direction: column; }
.price-grid > .card > .card-cta { margin-top: auto; }
.price-grid > .card > ul.plain, .price-grid > .card > details.tech { margin-bottom: 16px; }

/* h21: hide the empty founder photo slot completely */
.founder-photo[hidden], .founder-photo:not([src]), .founder-photo[src=""] { display: none !important; }

html[data-view="tech"] #after .plain { display: none; }
html[data-view="tech"] #after details.tech > summary { display: none; }

/* h21 additions: stage cards, findings cards, apply drawer, totals header, tools, mobile overflow guards */
.savings-header { display: none; background: #0b2b3a; color: #edf4f7; font-size: 14px; }
.savings-header.is-on { display: block; }
.savings-header .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; padding-top: 10px; padding-bottom: 10px; }
.savings-header .sh-label { display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #9bb8c4; }
.savings-header .sh-value { font-weight: 700; font-size: 18px; color: #fff; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .savings-header .wrap { grid-template-columns: minmax(0, 1fr); }
}

.stage-cards { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.stage-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.stage-card .stage-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0a5f67; }
.stage-card h3 { margin: 0 0 6px; font-size: 20px; }
.stage-card .stage-time { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.stage-card .stage-block { margin-top: 10px; }
.stage-card .stage-block h4 { margin: 0 0 4px; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.stage-card .stage-block p { margin: 0; }
.stage-bottom { margin: 18px 0 0; max-width: 760px; }
.soon-note { margin: 16px 0 0; padding: 12px 14px; border: 1px dashed #c5d2db; border-radius: 10px; background: #f7fafb; }
.cta-row.stack-narrow { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) {
  .cta-row, .cta-row.stack-narrow { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .cta-row.stack-narrow .btn { width: 100%; min-height: 44px; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  th, td, td.num, th.num { white-space: normal; overflow-wrap: anywhere; word-break: normal; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 90px; }
  .bar-row div:first-child { min-width: 0; overflow-wrap: anywhere; }
}

.finding-list { display: grid; gap: 12px; margin: 12px 0 0; }
.finding-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-width: 0; overflow-wrap: anywhere; word-break: normal; }
.finding-card.held { opacity: .85; background: #f7f9fb; }
.finding-card .fc-top { display: flex; gap: 12px; align-items: flex-start; }
.finding-card .fc-top input { margin-top: 4px; flex: none; width: 18px; height: 18px; }
.finding-card .fc-body { min-width: 0; flex: 1; }
.finding-card .fc-title { margin: 0 0 6px; font-weight: 700; color: var(--navy); }
.finding-card .fc-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 8px 0 0; font-size: 13px; color: var(--ink-2); }
.finding-card .fc-save { font-weight: 700; color: var(--navy); }
.finding-card .fc-id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; overflow-wrap: anywhere; }
.finding-card .fc-lock { font-size: 12px; color: var(--muted); }

.apply-bar { position: sticky; bottom: 0; z-index: 20; background: #0b2b3a; color: #edf4f7; padding: 12px 0; box-shadow: 0 -6px 16px rgba(0,0,0,.12); }
.apply-bar .wrap { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.apply-bar .ab-label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #9bb8c4; }
.apply-bar .ab-value { font-size: 20px; font-weight: 700; color: #fff; }
.apply-bar .ab-sub { font-size: 13px; color: #c5dbe4; }
@media (max-width: 760px) {
  .apply-bar .wrap { flex-direction: column; align-items: stretch; }
  .apply-bar .btn { width: 100%; min-height: 44px; }
}

.drawer-back { position: fixed; inset: 0; background: rgba(11, 23, 38, .45); z-index: 40; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: #fff; z-index: 41; overflow: auto; padding: 20px 20px 40px; box-shadow: -8px 0 24px rgba(0,0,0,.15); }
.drawer h2 { margin-top: 0; }
.drawer h3 { margin: 20px 0 8px; font-size: 18px; }
.drawer .path-card { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 0 12px; }
.drawer label { display: block; margin: 8px 0 4px; font-weight: 600; }
.drawer input[type=email], .drawer input[type=text] { width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 44px; }
.drawer .terms-box { max-height: 200px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #f7f9fb; font-size: 13px; }
.drawer .draft-flag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fdf2e3; color: #8a4b12; padding: 2px 8px; border-radius: 999px; }
.mask-note { background: #f7f9fb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.calc-form label { display: block; margin: 12px 0 4px; font-weight: 600; }
.calc-form input { width: 100%; max-width: 320px; box-sizing: border-box; padding: 10px 12px; min-height: 44px; }
.calc-result { margin-top: 16px; padding: 14px; border-radius: 12px; background: #f4f8f8; border: 1px solid var(--line); }
.calc-result .big { font-size: 28px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.rate-note { font-size: 13px; color: var(--muted); }
.legal-draft { max-width: 760px; }
.legal-draft .draft-banner { background: #fdf2e3; border: 1px solid #efc48a; padding: 12px 14px; border-radius: 10px; margin: 0 0 18px; }
@media print {
  .apply-bar, .drawer, .drawer-back, .savings-header { display: none !important; }
}

/* h21.1 copy diet, one-plan card, grouped findings, clean drawer */
.leak-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; }
.leak-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 18px; min-width: 0; overflow-wrap: anywhere; }
.leak-card h3 { margin: 0 0 8px; font-size: 18px; }
.leak-card p { margin: 0 0 12px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #0a5f67; background: #e7f4f4; border-radius: 999px; padding: 4px 10px; }
.step-strip { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.step-strip li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; min-width: 0; overflow-wrap: anywhere; }
.step-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #0a5f67; }
.step-strip h3 { margin: 0 0 8px; font-size: 20px; }
.step-strip h3 span { font-weight: 600; font-size: 14px; color: var(--ink-2); }
.plan-card { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px; overflow-wrap: anywhere; }
.plan-card h2 { margin-top: 0; text-align: center; }
.plan-price { text-align: center; font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.plan-bullets { margin: 16px 0; padding-left: 1.2em; }
.plan-calc { margin: 20px 0; padding: 16px; border-radius: 12px; background: #f4f8f8; border: 1px solid var(--line); }
.plan-calc input[type=range] { width: 100%; }
.plan-spend { font-size: 22px; font-weight: 700; margin: 8px 0 14px; }
.plan-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.plan-split div { min-width: 0; overflow-wrap: anywhere; }
.plan-split dt { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.plan-split dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--navy); }
.plan-split .you-keep dd { color: #0a7a4b; }
.plan-secondary { margin: 14px 0 0; text-align: center; }
.plan-terms { max-width: 760px; margin: 16px auto 0; text-align: center; color: var(--ink-2); }
.faq-list dt { font-weight: 700; margin: 16px 0 4px; }
.faq-list dd { margin: 0; }
.tools-strip { border-top: 1px solid var(--line); background: #f7fafb; padding: 16px 0; }
.tools-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; }
.tools-kicker { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; color: var(--muted); }
.tools-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-decoration: underline; min-height: 44px; }
.apply-bar .ab-keep { color: #8ee0b5; }
.bundle-card .fc-rg { font-weight: 600; color: var(--ink-2); }
.fc-lock-icon { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.bundle-items { margin: 10px 0 0 30px; display: grid; gap: 8px; }
.bundle-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.bundle-row input { margin-top: 4px; flex: none; }
.unlock-bullets { margin: 0 0 16px; padding-left: 1.2em; }
@media (max-width: 900px) {
  .leak-grid, .step-strip, .plan-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .plan-card { padding: 20px 16px; }
  .bundle-items { margin-left: 0; }
  .tools-strip .wrap, .tools-strip ul { flex-direction: column; align-items: flex-start; }
}

/* h22-full: concierge, deal room, portal, console */
:root {
  --ask-fab-size: 48px;
  --ask-fab-gap: 16px;
  --ask-fab-width: 12rem; /* full "Ask Trimline AI" label on wide screens */
  --ask-fab-space: calc(var(--ask-fab-size) + var(--ask-fab-gap));
}
body.has-ask-fab { padding-bottom: var(--ask-fab-space); }
body.has-ask-fab.has-apply-bar { padding-bottom: calc(var(--ask-fab-space) + 88px); }
.ask-btn {
  position: fixed;
  right: var(--ask-fab-gap);
  bottom: var(--ask-fab-gap);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: var(--shadow);
}
body.has-apply-bar .ask-btn { bottom: calc(88px + var(--ask-fab-gap)); }
/* Hide the FAB while a drawer is open so it cannot sit on top of a form. */
body:has(.drawer:not(.hidden):not([hidden])) .ask-btn,
body:has(.drawer-back:not(.hidden):not([hidden])) .ask-btn {
  visibility: hidden;
  pointer-events: none;
}
code.sha, .sha, [data-scan-sha] {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}
/* Compact icon pill at 1500px and below so the button fits in a small reserved gutter
   and never covers body copy (including 390, 500, and 1440 viewports). */
@media (max-width: 1500px) {
  :root {
    --ask-fab-size: 44px;
    --ask-fab-gap: 12px;
    --ask-fab-width: 44px;
  }
  .ask-btn {
    width: var(--ask-fab-size);
    min-width: var(--ask-fab-size);
    height: var(--ask-fab-size);
    min-height: var(--ask-fab-size);
    padding: 0;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
  }
  .ask-btn .ask-btn-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .ask-btn .ask-btn-mark { font-weight: 700; letter-spacing: 0.02em; }
  body.has-ask-fab .wrap { padding-right: max(20px, var(--ask-fab-space)); }
}
@media (min-width: 1501px) {
  .ask-btn .ask-btn-mark { display: none; }
  /* Park the labeled button in the side margin, clear of the 1120px column. */
  .ask-btn {
    right: max(var(--ask-fab-gap), calc((100vw - var(--max)) / 2 - var(--ask-fab-width) - var(--ask-fab-gap)));
  }
}
.ask-drawer, #ask-back { z-index: 52; }
.ask-drawer .ask-log { display: grid; gap: 10px; margin: 12px 0; }
.ask-bubble { border-radius: 12px; padding: 10px 12px; overflow-wrap: anywhere; }
.ask-bubble.user { background: #e7f4f4; }
.ask-bubble.bot { background: #f7f9fb; border: 1px solid var(--line); }
.ask-form { display: grid; gap: 8px; }
.ask-form textarea { width: 100%; min-height: 88px; box-sizing: border-box; padding: 10px; }
.deal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.deal-tabs button { min-height: 44px; }
.deal-tab[hidden], .deal-tab.hidden { display: none; }
.dropzone { border: 2px dashed var(--line); border-radius: 12px; padding: 20px; text-align: center; }
.console-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.console-table th, .console-table td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.flag-pill { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; background: #e7f4f4; color: #0a5f67; }
.flag-pill.off { background: #f7f9fb; color: var(--muted); }
.portal-card, .console-card { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; overflow-wrap: anywhere; }
#esign-form, #portal-form, #arch-form, #ask-form { display: grid; gap: 8px; }
#esign-form input[type=text], #esign-form input[type=email], #portal-form input, #arch-form textarea, #ask-form textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; min-height: 44px; font: inherit;
}
#arch-form textarea, #ask-form textarea { min-height: 88px; }

/* h23: the Ask pill is replaced by the Hope AI mesh orb (hope.css); its reserved gutter is gone. */
body { padding-bottom: 0; }
body.has-apply-bar { padding-bottom: var(--apply-bar-h, 88px); }
.ask-btn, #ask-trimline, #ask-back { display: none !important; }
/* B5a: breathing room above the unlock drawer's primary action */
#unlock-panel #unlock-btn { margin-top: 14px; }
