/* Planner preview — responsive layer that matches the capitalcitylife.com look
   (navy / white / steel blue; Cormorant Garamond, Jost, IBM Plex Mono).
   Normal max-width container instead of the site's fixed 1680px column. */

:root {
  --navy: #0E2340;
  --navy-hero: #0F2A4A;
  --navy-foot: #0B1F3A;
  --steel: #2C67AE;
  --steel-dk: #245A99;
  --body: #4A5B72;
  --body-dk: #24364F;
  --rule: #D6DFEA;
  --rule-dk: #2B4A6F;
  --light: #7FB3F0;
  --mist: #F2F6FA;
  --mist2: #EEF3F8;
  --warn: #B4532A;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --pad: clamp(18px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #F5F8FB; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--navy); background: #F5F8FB; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--steel-dk); transition: opacity .18s ease; }
a:hover { opacity: .82; }
::selection { background: var(--steel); color: #fff; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
button { font: inherit; }

.page { max-width: 1440px; margin: 0 auto; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.wrap { padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.hyp { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h2.title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 58px); line-height: .98; letter-spacing: -.015em; margin: 0 0 18px; color: var(--navy); text-wrap: pretty; }
h2.title em { font-style: italic; color: var(--steel); }
.lede { font-size: 16px; line-height: 1.72; color: var(--body); max-width: 680px; margin: 0; }

/* ---------- header (matches site) ---------- */
.site-header { display: flex; align-items: center; gap: 18px 32px; min-height: 76px; padding-block: 14px; border-bottom: 1px solid var(--rule); background: #fff; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; margin-right: auto; }
.brand-name { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .13em; color: var(--navy); white-space: nowrap; }
.brand-sub { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.site-nav { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.site-nav a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); text-decoration: none; white-space: nowrap; }
.btn-req { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--steel); text-decoration: none; padding: 13px 18px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 17px 24px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.btn-light { color: var(--navy-hero); background: var(--light); }
.btn-steel { color: #fff; background: var(--steel); }
.btn-ghost { color: var(--navy); background: transparent; border-color: var(--rule); }
.btn-ghost-dk { color: #fff; background: transparent; border-color: var(--rule-dk); }
.btn:hover { opacity: .9; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero { background: var(--navy-hero); color: #fff; position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(48px, 6vw, 72px); }
.hero-ghost { position: absolute; right: 30px; top: -40px; font-family: var(--serif); font-weight: 500; font-size: clamp(180px, 28vw, 420px); line-height: 1; letter-spacing: -.06em; color: rgba(44,103,174,.08); pointer-events: none; user-select: none; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 30px; position: relative; }
.hero-meta span { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #9DB3CE; }
.hero-meta span:first-child { color: var(--light); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 7vw, 104px); line-height: .92; letter-spacing: -.03em; max-width: 1000px; text-wrap: pretty; position: relative; }
.hero h1 em { font-style: italic; color: var(--light); }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; margin-top: 40px; position: relative; }
.hero p { margin: 0; max-width: 580px; font-size: 16px; line-height: 1.7; color: #C2D2E6; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 14px; border: 1px solid var(--rule-dk); font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #DCE6F2; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--light); flex: none; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- section shells ---------- */
.sec { padding-block: clamp(52px, 7vw, 92px); position: relative; }
.sec-white { background: #fff; }
.sec-mist { background: var(--mist); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 40px; }

/* ---------- guided flow ---------- */
.flow-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.wizard { border: 1px solid var(--rule); background: #fff; padding: clamp(20px, 3vw, 40px); }
.step-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.step-count { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.step-name { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #8A9AB0; }
.progress { height: 4px; background: var(--mist2); position: relative; overflow: hidden; }
.progress-fill { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--steel); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.dots { display: flex; gap: 6px; margin: 14px 0 26px; list-style: none; padding: 0; }
.dots li { flex: 1; height: 0; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; color: var(--navy); padding: 0; margin: 0 0 8px; }
.step .help { margin: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--body); }
.step.enter { animation: stepIn .38s cubic-bezier(.2,.7,.2,1); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.card-choice { position: relative; display: block; cursor: pointer; }
.card-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.card-choice .cc { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 112px; padding: 18px 18px 16px; border: 1px solid var(--rule); background: #fff; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.card-choice .cc-k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.card-choice .cc-t { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.1; color: var(--navy); }
.card-choice .cc-d { font-size: 13.5px; line-height: 1.55; color: var(--body); }
.card-choice:hover .cc { border-color: #9DB7D8; transform: translateY(-2px); }
.card-choice input:focus-visible + .cc { outline: 2px solid var(--steel); outline-offset: 3px; }
.card-choice input:checked + .cc { border-color: var(--steel); background: #F3F7FC; box-shadow: inset 0 0 0 1px var(--steel); }
.card-choice input:checked + .cc .cc-k::after { content: " ✓"; }

.big-slider { padding: 10px 0 4px; }
.big-val { font-family: var(--serif); font-size: clamp(56px, 8vw, 88px); font-weight: 500; line-height: 1; color: var(--navy); }
.big-val small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-left: 10px; }
.scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; color: #8A9AB0; margin-top: 6px; }

.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }

/* range inputs */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(to right, var(--steel) var(--fill, 50%), var(--rule) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--rule); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--steel); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--steel); box-shadow: 0 1px 3px rgba(14,35,64,.25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--steel); }

/* live panel */
.panel { background: var(--navy-hero); color: #fff; padding: clamp(22px, 3vw, 34px); position: sticky; top: 18px; }
.panel h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.panel .hyp { color: var(--light); }
.panel dl { margin: 22px 0 0; display: grid; gap: 0; }
.panel .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule-dk); }
.panel dt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9DB3CE; }
.panel dd { margin: 0; font-family: var(--serif); font-size: 21px; text-align: right; color: #fff; }
.panel dd.empty { color: #5F7FA6; font-style: italic; }
.panel dd.pop { animation: pop .5s ease; }
@keyframes pop { 0% { color: var(--light); } 100% { color: #fff; } }
.panel .next { margin-top: 20px; font-size: 14px; line-height: 1.6; color: #C2D2E6; }
.panel .next strong { color: #fff; font-weight: 500; }

/* result */
.result { margin-top: 32px; border: 1px solid var(--steel); background: #F3F7FC; padding: clamp(20px, 3vw, 34px); }
.result[hidden] { display: none; }
.result h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 38px); }
.result p { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: var(--body-dk); }
.result ul { margin: 6px 0 16px; padding-left: 18px; color: var(--body-dk); font-size: 14.5px; line-height: 1.7; }
.result .hero-ctas { margin-top: 10px; }

/* ---------- disclosure ---------- */
.disclose { border: 1px solid var(--rule); border-left: 4px solid var(--steel); background: #fff; padding: 18px 22px; margin-bottom: 32px; }
.disclose strong { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 500; margin-bottom: 6px; }
.disclose p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--body-dk); }

/* ---------- explorers ---------- */
.explorer { background: #fff; border: 1px solid var(--rule); padding: clamp(20px, 3vw, 40px); margin-bottom: 32px; position: relative; scroll-margin-top: 16px; }
.explorer.first { border-color: var(--steel); box-shadow: 0 0 0 1px var(--steel), 0 18px 40px -24px rgba(14,35,64,.45); }
.start-flag { display: none; position: absolute; top: -13px; left: clamp(20px, 3vw, 40px); background: var(--steel); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.explorer.first .start-flag { display: inline-block; }
.ex-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 26px; }
.ex-head h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.ex-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; align-items: start; }
.controls { display: flex; flex-direction: column; gap: 22px; }
.ctl label, .ctl .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--body-dk); margin-bottom: 4px; }
.ctl output { font-family: var(--serif); font-size: 24px; color: var(--navy); white-space: nowrap; }
.ctl .note { font-size: 12.5px; line-height: 1.55; color: var(--body); margin: 4px 0 0; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body-dk); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--steel); }
.adv { border-top: 1px solid var(--rule); padding-top: 18px; display: flex; flex-direction: column; gap: 18px; }
.adv[hidden] { display: none; }
.capfloor { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.capfloor div { border: 1px solid var(--rule); padding: 10px 12px; }
.capfloor b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--navy); }
.capfloor span { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }

.chart-box { min-width: 0; }
.chart-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.chart-title h4 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--body); }
.legend i { display: inline-block; width: 16px; height: 3px; vertical-align: middle; margin-right: 6px; }
.chart-wrap { position: relative; border: 1px solid var(--rule); background: #FBFCFE; touch-action: pan-y; }
.chart-wrap svg { width: 100%; height: auto; }
.tip { position: absolute; top: 10px; pointer-events: none; background: var(--navy); color: #fff; padding: 10px 12px; font-size: 12.5px; line-height: 1.5; min-width: 168px; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); transition: left .08s linear; }
.tip b { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--light); font-weight: 400; display: block; margin-bottom: 2px; }
.scrub { margin-top: 12px; }
.readouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.readouts > div { padding: 14px 14px 12px 0; border-bottom: 1px solid var(--rule); }
.readouts .rv { display: block; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; color: var(--navy); line-height: 1.1; margin: 4px 0 2px; overflow-wrap: anywhere; }
.readouts .rl { font-size: 12.5px; color: var(--body); line-height: 1.4; }
.readouts .rv.warn { color: var(--warn); }
.hyp-line { margin: 14px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.big-disclaimer { margin-top: 18px; padding: 16px 18px; background: var(--navy); color: #DCE6F2; font-size: 14px; line-height: 1.65; }
.big-disclaimer strong { color: #fff; font-weight: 500; }

/* tabs */
.tabs { display: inline-flex; border: 1px solid var(--rule); }
.tabs button { background: #fff; border: 0; padding: 12px 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--rule); }
.tabs button[aria-selected="true"] { background: var(--steel); color: #fff; }

/* explainer step cards */
.how { margin-top: 34px; border-top: 1px solid var(--rule); padding-top: 28px; }
.how h4, .surr h4 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: 30px; }
.flowline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; counter-reset: fl; margin-bottom: 22px; }
.flowline li { list-style: none; border: 1px solid var(--rule); padding: 14px; position: relative; background: #fff; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.flowline li b { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }
.flowline li::before { counter-increment: fl; content: "0" counter(fl); font-family: var(--mono); font-size: 10px; color: var(--steel); letter-spacing: .1em; }
.flowline li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--steel); font-size: 14px; background: #fff; z-index: 1; }
ol.flowline { padding: 0; margin-top: 0; }

details.acc { border-top: 1px solid var(--rule); }
details.acc:last-of-type { border-bottom: 1px solid var(--rule); }
details.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--navy); }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--steel); transition: transform .2s ease; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 0 18px; font-size: 14.5px; line-height: 1.72; color: var(--body-dk); max-width: 860px; }
details.acc .acc-body ul { margin: 0; padding-left: 18px; }
details.acc .acc-body li { margin-bottom: 6px; }

/* surrender schedule */
.surr { margin-top: 34px; border-top: 1px solid var(--rule); padding-top: 28px; }
.surr-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 170px; padding: 0 0 4px; border-bottom: 1px solid var(--rule); }
.surr-bars div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 6px; }
.surr-bars i { display: block; width: 100%; background: var(--steel); height: var(--h); transform-origin: bottom; animation: grow .7s cubic-bezier(.2,.7,.2,1) both; }
.surr-bars div:last-child i { background: var(--rule); height: 3px; }
.surr-bars span { font-family: var(--serif); font-size: 19px; color: var(--navy); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.surr-x { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--body); text-align: center; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.facts div { border: 1px solid var(--rule); padding: 16px; font-size: 13.5px; line-height: 1.6; color: var(--body); }
.facts b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 4px; }

/* compare */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 0; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 16px 16px; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.6; color: var(--body-dk); }
.cmp thead th { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--navy); border-bottom: 2px solid var(--navy); }
.cmp tbody th { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 400; width: 16%; }
.cmp .hl { background: #F3F7FC; box-shadow: inset 1px 0 0 var(--steel), inset -1px 0 0 var(--steel); }
.cmp thead .hl { box-shadow: inset 1px 0 0 var(--steel), inset -1px 0 0 var(--steel), inset 0 3px 0 var(--steel); }
.cmp .fit-tag { display: none; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--steel); padding: 4px 7px; margin-top: 6px; width: max-content; }
.cmp .hl .fit-tag { display: block; }

/* contact / CTA */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.cta-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.cta-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.cta-list .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.cta-list .v { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--navy); }
.cta-list .v.blue { color: var(--steel); }
.cta-note { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: var(--body); }

/* ---------- footer (matches site) ---------- */
.site-footer { background: var(--navy-foot); padding-block: 56px 44px; display: flex; flex-direction: column; gap: 28px; }
.f-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px 24px; }
.f-name { font-family: var(--serif); font-size: 54px; font-weight: 500; line-height: .95; letter-spacing: -.01em; color: #fff; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-label { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--light); }
.f-lic { font-family: var(--mono); font-size: 16px; line-height: 1.6; color: #DCE6F2; }
.f-reach { align-items: flex-end; text-align: right; }
.f-phone { font-family: var(--serif); font-size: 28px; color: #fff; text-decoration: none; }
.f-mail { font-family: var(--mono); font-size: 11px; color: #D2DEEC; text-decoration: none; }
.f-local { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--light); text-decoration: none; }
.f-nav { display: flex; gap: 12px 18px; padding-top: 8px; flex-wrap: wrap; justify-content: flex-end; }
.f-nav a { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #AFC2D8; text-decoration: none; white-space: nowrap; }
.f-rule { height: 1px; background: var(--rule-dk); }
.f-disc { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px 24px; }
.f-disc p { margin: 0; font-size: 11px; line-height: 1.75; color: #9FB4CC; text-wrap: pretty; }
.f-disc .f-label { color: #9DB3CE; }
.f-planner p { font-size: 12px; color: #C2D2E6; }

/* ---------- tapbar (matches site) ---------- */
.tapbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .ex-grid { grid-template-columns: minmax(0, 1fr); }
  .flowline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flowline li:not(:last-child)::after { display: none; }
}
@media (max-width: 1000px) {
  .site-nav { order: 3; flex: 1 0 100%; gap: 12px 18px; padding-top: 12px; border-top: 1px solid var(--rule); }
  .flow-grid, .sec-head, .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .panel { position: static; }
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-top, .f-disc { grid-template-columns: minmax(0, 1fr); }
  .f-reach { align-items: flex-start; text-align: left; }
  .f-nav { justify-content: flex-start; }
  .f-name { font-size: clamp(31px, 7.4vw, 48px); }
  .tapbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: #fff; border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom);
  }
  .tapbar a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; text-align: center; }
  .tapbar-call { color: var(--navy); border-right: 1px solid var(--rule); }
  .tapbar-book { color: #fff; background: var(--steel); font-weight: 500; }
  body { padding-bottom: 54px; }
}
@media (max-width: 640px) {
  .tip { position: static; margin: 0; min-width: 0; box-shadow: none; border-top: 1px solid var(--rule); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .flowline { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-choice .cc { min-height: 0; }
  .capfloor { grid-template-columns: 1fr 1fr 1fr; }
  .btn { white-space: normal; text-align: center; padding: 15px 18px; }
  .hero-ctas .btn, .result .btn, .wiz-nav .btn { flex: 1 1 auto; }
  .surr-bars { height: 130px; gap: 4px; }
  .surr-x { gap: 4px; font-size: 8.5px; }
  .surr-bars span { font-size: 15px; }
  /* comparison table becomes stacked cards */
  table.cmp, .cmp thead, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { display: none; }
  .cmp tbody tr { border: 1px solid var(--rule); margin-bottom: 14px; padding: 6px 0; background: #fff; }
  .cmp tbody th { padding: 12px 14px 4px; border: 0; }
  .cmp td { border: 0; padding: 6px 14px; }
  .cmp td::before { content: attr(data-col); display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--navy); }
  .cmp .hl { box-shadow: inset 3px 0 0 var(--steel); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print { .tapbar, .wiz-nav, .scrub { display: none !important; } }

/* result box: keep the small labels small (".result p" would enlarge them) */
.result p.kicker { font-size: 11px; line-height: 1.4; color: var(--steel); margin: 0 0 14px; }
.result p.hyp { font-size: 9.5px; line-height: 1.4; color: var(--steel); }

/* current page in the header nav (matches the site's active link) */
.site-nav a[aria-current="page"] { color: var(--steel); border-bottom: 1px solid var(--steel); padding-bottom: 5px; }
