/*
 * Funnels by MakeItScale. Matches the main site's look (checked 2 Oct 2026): navy gradient
 * sections, white Inter headings with one italic Instrument Serif accent word in soft sky, Caveat hand notes in sky,
 * [001] labels, white pill buttons, glass cards, 22px radius, 1180px. The tokens are the live site's own.
 * No glows: no coloured shadows, no radial colour washes, no text glow (the live site has a few; they stay out here).
 */
:root {
  /* the main site's own tokens */
  --navy: #15406d;
  --navy-deep: #071f3a;
  --navy-ink: #071b33;
  --navy-hero: #0f3762;
  --surface-blue: #0b5995;
  --sky: #00a6ff;
  --sky-soft: #63b8ef;
  --white: #ffffff;
  --win-green: #4ade80;
  --win-green-hi: #80e8a6;
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .10);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  /* roles on the dark ground */
  --ink: #ffffff;                     /* headings, numbers, strong text, the closes line in the chart */
  --text: rgba(255, 255, 255, .76);   /* body copy */
  --muted: rgba(255, 255, 255, .58);  /* hints and captions */
  --panel: #0a2341;                   /* solid tool surface (calculator); the chart's label halo uses the same value */
  --panel-alt: #0c2849;               /* the input column inside the panel */
  --field: rgba(7, 27, 51, .55);      /* input wells */
  --light: rgba(255, 255, 255, .05);
  --sky-tint: rgba(0, 166, 255, .12);
  --sky-line: rgba(0, 166, 255, .24);
  --poor: #4f6d90;                    /* poor-fit bars, the same value the chart draws with */
  --error: #ff7b86;
  --error-tint: rgba(255, 123, 134, .12);
  --radius: 22px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 24px 48px -30px rgba(0, 0, 0, .75);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; background: var(--navy-ink); }
body { font-family: var(--font); color: var(--text); background: var(--navy-ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
::selection { background: rgba(0, 166, 255, .35); color: var(--white); }
.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; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
h1 { font-size: clamp(48px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 4.2vw, 60px); }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
h1, h2, h3, .hand { text-wrap: balance; }
.lead, .sub { text-wrap: pretty; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sky-soft); letter-spacing: 0; }
.hand { display: block; font-family: var(--hand); font-weight: 600; color: var(--sky); font-size: .56em; margin-top: -.06em; letter-spacing: 0; transform: rotate(-3deg); }
.lead { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .72); font-weight: 300; }
.bracket { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sky); font-weight: 500; margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .72); font-weight: 500; border: 1px solid var(--line); background: var(--glass); padding: 7px 14px; border-radius: 999px; }
.eyebrow i { color: var(--sky); font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; line-height: 1; padding: 16px 30px; border-radius: 999px; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; white-space: nowrap; min-height: 50px; }
.btn:hover { transform: translateY(-2px); }
/* .btn-sky is the main button. On this site it is the main site's white pill. */
.btn-sky { background: var(--white); color: var(--navy); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.btn-sky:hover { box-shadow: 0 26px 50px -18px rgba(0, 0, 0, .7); }
/* .btn-line is the second button: the site's glass ghost button. */
.btn-line { background: var(--glass); color: var(--white); border-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-line:hover { background: var(--glass-strong); border-color: var(--line-strong); }
.btn-sm { padding: 11px 18px; font-size: 13.5px; min-height: 44px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.nav.scrolled, .nav.open { background: rgba(7, 27, 51, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav-left { display: flex; align-items: center; gap: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--white); }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-by { font-size: 12px; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .6); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; gap: 32px; font-size: 15px; }
.nav-links a { color: rgba(255, 255, 255, .9); transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav-links a.hot { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.12em; line-height: 1; color: var(--win-green); -webkit-text-stroke: .5px currentColor; paint-order: stroke fill; }
.nav-links a.hot:hover { color: var(--win-green-hi); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); font-size: 22px; align-items: center; justify-content: center; color: var(--white); }
.nav-panel { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; text-align: center; overflow: hidden; background: linear-gradient(180deg, var(--navy-hero) 0%, var(--navy) 40%, var(--navy-ink) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 55% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero h1 { margin: 28px auto 24px; max-width: 1100px; }
.hero h1 > span { display: block; }
.hero h1 .accent { font-size: 1.7em; line-height: .86; margin: .02em 0; }
.hero .sub { max-width: 690px; margin: 0 auto; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .72); font-weight: 300; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); max-width: 1100px; margin: 68px auto 0; }
.flow-step { position: relative; padding: 0 8px; text-align: center; }
.flow-ico { position: relative; z-index: 1; width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; place-items: center; font-size: 24px; color: var(--sky); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: calc(50% + 40px); width: calc(100% - 80px); border-top: 2px dashed rgba(255, 255, 255, .2); }
.flow-step b { display: block; font-size: 15px; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.flow-step span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.flow-note { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ---------- sections (the same order of grounds as the main site's home page) ---------- */
.sec { padding: 110px 0; }
.sec-ink { background: var(--navy-ink); }
.sec-navy { background: linear-gradient(180deg, var(--navy-ink) 0%, var(--navy-deep) 30%, var(--navy) 100%); }
.sec-navy-rev { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 70%, var(--navy-ink) 100%); }
.sec-surface { background: linear-gradient(180deg, var(--navy) 0%, var(--surface-blue) 55%, var(--navy) 100%); }
.title-block { text-align: center; margin: 0 auto 52px; max-width: 820px; }
.title-block h2.big { font-size: clamp(46px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.title-block .lead { margin: 22px auto 0; max-width: 640px; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .3s ease, border-color .3s ease, background .3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); border-color: rgba(0, 166, 255, .5); background: var(--glass-strong); }
.card .num { font-size: 11px; letter-spacing: .2em; color: var(--sky); font-weight: 500; }
.card .ico { color: var(--sky); font-size: 26px; line-height: 1; margin: 18px 0 16px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .7); font-weight: 300; flex: 1 1 auto; }
.card .chip { align-self: flex-start; margin-top: auto; }
.card p + .chip { margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--sky-soft); background: var(--sky-tint); border: 1px solid var(--sky-line); border-radius: 999px; padding: 6px 12px; }
.lanes { margin-top: 28px; display: grid; gap: 14px; }
.lane { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--glass); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; }
.lane-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--white); min-width: 118px; }
.lane p { margin: 0; font-size: 15px; color: var(--text); }
.price-note { margin-top: 26px; text-align: center; font-size: 16px; color: var(--white); }
.lane-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lane-steps span { font-size: 14px; font-weight: 500; color: var(--white); background: var(--glass-strong); border-radius: 999px; padding: 7px 14px; }
.lane-steps span.hit { background: var(--sky); color: var(--navy-ink); }
.lane-steps i { color: var(--sky); font-size: 13px; }

/* ---------- calculator ---------- */
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.calc-tabs { display: flex; gap: 6px; padding: 10px; background: rgba(255, 255, 255, .03); border-bottom: 1px solid var(--line); }
.calc-tab { flex: 1; padding: 14px 18px; border-radius: 16px; font-weight: 600; font-size: 15px; color: var(--muted); text-align: center; transition: background .2s ease, color .2s ease; }
.calc-tab:hover { color: var(--white); }
.calc-tab[aria-selected="true"] { background: var(--glass-strong); color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.calc-tab .n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sky); color: var(--navy-ink); font-size: 12px; font-weight: 700; margin-right: 9px; }
.calc-panel { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); }
.calc-panel[hidden] { display: none; }
.calc-in { padding: 28px; border-right: 1px solid var(--line); background: var(--panel-alt); }
.calc-out { padding: 28px; min-width: 0; }
.in-head h3 { font-size: 20px; }
.in-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.tag-example { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--sky-soft); background: var(--sky-tint); border-radius: 999px; padding: 6px 12px; }
.tag-example[hidden] { display: none; }
.fields { margin-top: 20px; }
.fld { display: block; margin-bottom: 13px; }
.fld .lbl { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.fld .hint { font-weight: 400; font-size: 12px; color: var(--muted); text-align: right; }
.inp { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--field); transition: border-color .2s ease; }
.inp:focus-within { border-color: var(--sky-soft); box-shadow: 0 0 0 3px rgba(0, 166, 255, .35); }
.inp .pre { padding-left: 13px; color: var(--muted); font-weight: 500; }
.inp input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 13px; font-size: 16px; font-weight: 500; color: var(--white); outline: none; font-variant-numeric: tabular-nums; caret-color: var(--white); }
.inp input::placeholder { color: rgba(255, 255, 255, .35); }
.inp input:-webkit-autofill { -webkit-text-fill-color: var(--white); -webkit-box-shadow: 0 0 0 1000px #0b2645 inset; caret-color: var(--white); }
.fld.err .inp { border-color: var(--error); }
.fld .msg { font-size: 12px; color: var(--error); margin-top: 4px; min-height: 0; }
.fld .msg:empty { display: none; }
.fld .msg.soft { color: var(--muted); }
.in-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 26px; }
.kpi { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; background: var(--glass); min-width: 0; }
.kpi small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.kpi b { display: block; overflow-wrap: anywhere; font-size: 26px; letter-spacing: -.03em; color: var(--white); font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.fl { display: grid; gap: 0; }
.fl-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 236px; align-items: center; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); }
.fl-row:first-child { border-top: 0; }
.fl-name b { display: block; font-size: 21px; letter-spacing: -.03em; color: var(--white); font-variant-numeric: tabular-nums; line-height: 1.1; }
.fl-name small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.fl-bar { position: relative; height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.fl-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--sky); min-width: 4px; transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.fl-meta { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.fl-meta b { display: block; color: var(--white); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.fl-meta .badge { display: inline-block; margin-top: 5px; font-size: 10px; letter-spacing: .05em; white-space: nowrap; text-transform: uppercase; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--white); color: var(--navy-ink); }
.fl-row.weak .fl-bar i { background: var(--white); }
.fl-row.bad .fl-bar { background: var(--error-tint); }
.fl-row.dim { opacity: .5; }
.fl-row.bad .fl-meta b { color: var(--error); }
.fl-row.off .fl-name b { color: rgba(255, 255, 255, .3); }
.callout { margin-top: 22px; border-radius: 18px; background: var(--sky-tint); border: 1px solid var(--sky-line); padding: 18px 20px; color: var(--white); font-size: 15px; line-height: 1.6; }
.callout b { font-weight: 700; }
.callout + .out-actions { margin-top: 18px; }
.callout.warn { background: var(--error-tint); border-color: rgba(255, 123, 134, .3); }
.out-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.set-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.set-block:first-of-type { margin-top: 18px; }
.from-funnel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 16px; }
.from-funnel div { font-size: 12.5px; color: var(--muted); }
.from-funnel b { display: block; font-size: 15px; color: var(--white); font-variant-numeric: tabular-nums; }
.stepper { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: var(--field); }
.stepper button { width: 44px; min-width: 44px; flex: none; height: 44px; display: grid; place-items: center; font-size: 15px; color: var(--white); }
.stepper button:hover { background: var(--glass-strong); }
.stepper button[disabled] { opacity: .35; pointer-events: none; }
.stepper output { min-width: 44px; text-align: center; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.row-split { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.row-split .lbl { font-size: 13px; font-weight: 600; color: var(--white); line-height: 1.35; flex: 1; min-width: 0; }
.row-split .lbl small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
details.tune { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
details.tune summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--white); list-style: none; }
details.tune summary::-webkit-details-marker { display: none; }
details.tune summary i { transition: transform .2s ease; color: var(--muted); }
details.tune[open] summary i { transform: rotate(180deg); }
.slide { margin-top: 16px; }
.slide .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; font-weight: 600; color: var(--white); }
.slide .top output { font-variant-numeric: tabular-nums; color: var(--sky-soft); }
.slide small { display: block; font-size: 12px; color: var(--muted); margin: 2px 0 4px; line-height: 1.4; font-weight: 400; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --f: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--sky) calc(11px + (100% - 22px) * var(--f)), rgba(255, 255, 255, .18) 0); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .18); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--sky); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--navy-ink); }
input[type="range"]:focus-visible { outline-offset: 2px; }

.chart-card { border: 1px solid var(--line); border-radius: 20px; padding: 16px 16px 6px; background: transparent; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); padding: 0 4px 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.legend i.line { height: 3px; border-radius: 2px; vertical-align: 3px; }
.legend i.dash { height: 0; width: 16px; border-top: 2px dashed rgba(255, 255, 255, .75); border-radius: 0; vertical-align: 3px; }
#chart { width: 100%; }
.chart-note { font-size: 12.5px; color: var(--muted); padding: 2px 6px 10px; line-height: 1.5; }
#chart svg { width: 100%; height: auto; }
#chart .band { cursor: pointer; }
.whatif { margin-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; align-items: center; }
.whatif .top { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--white); }
.ticks { grid-column: 1 / 2; display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding: 0 11px 0 11px; font-variant-numeric: tabular-nums; margin-top: -6px; }
.cmp { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmp-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-width: 0; background: var(--glass); }
.cmp-card.best { border-color: var(--sky); background: var(--sky-tint); }
.cmp-card h4 { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.cmp-card h4 em { font-style: normal; color: var(--white); }
.cmp-card b { display: block; font-size: 24px; letter-spacing: -.03em; color: var(--white); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.cmp-card dl { margin-top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; font-size: 12.5px; color: var(--muted); }
.cmp-card dd { color: var(--white); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.verdict { margin-top: 18px; }
.verdict .callout { margin-top: 0; }
.verdict h4 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 6px; color: var(--white); }
.tbl-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 560px; }
.tbl th, .tbl td { padding: 9px 12px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; color: var(--text); }
.tbl thead th { border-top: 0; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.tbl th:first-child, .tbl td:first-child { text-align: left; }
.tbl tr.best td { background: var(--sky-tint); font-weight: 600; color: var(--white); }
.tbl .tag { display: inline-block; margin-left: 6px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--white); color: var(--navy-ink); }
.tbl .tag.t { background: var(--glass-strong); color: var(--white); }
.empty { padding: 36px 8px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--white); font-size: 18px; margin-bottom: 6px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--glass-strong); color: var(--white); display: grid; place-items: center; font-size: 14px; transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--sky); color: var(--navy-ink); }
.faq p { padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.65; color: rgba(255, 255, 255, .72); font-weight: 300; }

/* ---------- final + footer (the closing block sits straight on the gradient, as on the main site) ---------- */
.final-card { text-align: center; padding: 10px 0; }
.final-card h2 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.04em; }
.final-card h2 .accent { font-size: 1.12em; }
.final-card .lead { max-width: 560px; margin: 22px auto 0; }
.final-card .btn { margin-top: 36px; }
.final-card .q { margin-top: 26px; font-style: italic; font-weight: 300; font-size: 15px; color: rgba(255, 255, 255, .55); }
footer { border-top: 1px solid var(--line); background: var(--navy-ink); padding: 46px 0 34px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.foot-links a { color: rgba(255, 255, 255, .65); display: inline-flex; align-items: center; justify-content: flex-start; min-height: 44px; min-width: 44px; padding: 10px 0; }
.foot-links a:hover { color: var(--white); }
.foot-small { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); max-width: 760px; line-height: 1.6; }

/* ---------- apply overlay (full screen) ---------- */
body.lock { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 100; background: var(--navy-ink) linear-gradient(180deg, var(--navy) 0, var(--navy-deep) 340px, var(--navy-ink) 640px) no-repeat; overflow-y: auto; display: none; }
.modal.open { display: block; }
.modal-top { position: sticky; top: 0; z-index: 2; background: rgba(7, 27, 51, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.modal-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.modal-x { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--white); background: var(--glass); }
.modal-x:hover { border-color: var(--line-strong); background: var(--glass-strong); }
.modal-body { max-width: 640px; margin: 0 auto; padding: 48px 24px 96px; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); display: flex; flex-direction: column; }
.modal-body .prog { flex: none; }
.modal-body .step:not([hidden]) { margin-top: auto; margin-bottom: auto; width: 100%; }
.prog { display: flex; gap: 6px; margin-bottom: 36px; }
.prog i { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); transition: background .3s ease; }
.prog i.on { background: var(--sky); }
.modal h2 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -.035em; margin-bottom: 12px; }
.modal .lead { font-size: 17px; margin-bottom: 28px; }
.step[hidden] { display: none; }
.q-count { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 14px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.yn button { padding: 22px 16px; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--glass); font-size: 18px; font-weight: 600; color: var(--white); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.yn button:hover { border-color: var(--sky); background: var(--sky-tint); transform: translateY(-2px); }
.modal .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.preview-note { margin-top: 22px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); padding: 14px 16px; font-size: 13.5px; color: var(--text); }
.result-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-tint); color: var(--sky); display: grid; place-items: center; font-size: 30px; margin-bottom: 22px; }
.result-ico.no { background: var(--glass); color: var(--muted); }
.form-err { margin-top: 14px; color: var(--error); font-size: 14px; }
.form-err:empty { display: none; }


/* ---------- the details form that unlocks results (Get results), notices ---------- */
.inp .suf { padding-right: 13px; color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: rgba(0, 166, 255, .08); border: 1px solid rgba(0, 166, 255, .2); border-radius: 14px; padding: 14px 16px; margin: 18px 0; font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .86); text-align: left; }
.notice i { flex: none; font-size: 20px; color: var(--sky); line-height: 1.2; }
.notice p { margin: 0; }
.notice b { font-weight: 700; color: var(--white); }
.locked { max-width: 460px; margin: 28px auto; text-align: center; }
.locked-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--sky-tint); color: var(--sky); display: grid; place-items: center; font-size: 28px; margin: 0 auto 18px; }
.locked h3 { font-size: 26px; margin-bottom: 8px; }
.locked > p { font-size: 15.5px; margin-bottom: 20px; }
.locked .fld, .locked .notice { text-align: left; }
.locked .btn { width: 100%; margin-top: 6px; }
.locked .form-err { margin: 8px 0 0; }
.locked[hidden], #resultsWrap[hidden] { display: none; }
.sent-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; line-height: 1.5; background: var(--sky-tint); border: 1px solid var(--sky-line); color: var(--white); }
.sent-bar i { flex: none; font-size: 18px; color: var(--sky); }
.sent-bar span { flex: 1 1 260px; }
.sent-bar.preview { background: var(--glass); border-color: var(--line); }
.sent-bar.dirty { background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); }
.fl-name small i { font-style: normal; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .calc-panel { grid-template-columns: 1fr; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav .wrap { height: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-panel { display: block; background: var(--navy-ink); border-top: 1px solid var(--line); padding: 8px 24px 22px; }
  .nav-panel a:not(.btn) { display: block; padding: 15px 0; font-size: 17px; color: var(--white); border-bottom: 1px solid var(--line); }
  .nav-panel .btn { width: 100%; margin-top: 18px; }
  .hero { padding: 118px 0 64px; }
  .sec { padding: 80px 0; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .flow-step::after { display: none; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .grid-3 { grid-template-columns: 1fr; }
  .title-block { margin-bottom: 36px; }
  .lead, .hero .sub { font-size: 17px; }
  .calc { border-radius: 22px; }
  .calc-tabs { flex-direction: column; }
  .calc-in, .calc-out { padding: 20px 18px; }
  .kpi b { font-size: 22px; }
  .fl-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .fl-name { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .fl-name small { margin: 0; }
  .fl-meta b { display: inline; margin-right: 8px; }
  .cmp { grid-template-columns: 1fr; }
  .lane-tag { min-width: 0; width: 100%; }
  .faq summary { font-size: 17px; }
  .faq p { padding-right: 0; }
  .final-card { padding: 0; }
  .foot { flex-direction: column; align-items: flex-start; }
  .yn { grid-template-columns: 1fr; }
  .whatif { grid-template-columns: 1fr; }
  .from-funnel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .btn { white-space: normal; text-align: center; }
  .out-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: calc((100vw - 40px) / 9.45); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
