:root {
  --t: #0F766E; --t-d: #115E59; --t-l: #F0FDFA; --t-2: #CCFBF1; --amber: #F59E0B; --ink: #0F172A; --text: #334155; --muted: #64748B; --line: #E2E8F0; --bg: #F8FAFC;
  --red: #DC2626; --blue: #2563EB; --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 400 16px/1.6 "Inter", system-ui, sans-serif; color: var(--text); background: #fff; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
button { font: inherit; color: inherit; cursor: pointer; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--t); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--t-d); }
.btn-g { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-weight: 600; }
.btn-g:hover { border-color: var(--t); color: var(--t); }
.btn-lg { min-height: 54px; font-size: 16px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--t); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg); }

.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.lm { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--t); color: #fff; font-weight: 800; }
.top-r { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.top-r .i { width: 16px; height: 16px; color: var(--t); }

.hero { padding: 56px 0 36px; text-align: center; background: radial-gradient(700px 300px at 50% 0, var(--t-2), transparent 70%); }
.kicker { margin: 0 0 10px; color: var(--t); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.sub { font-size: 19px; max-width: 640px; margin: 14px auto 22px; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.trust li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.trust .i { width: 18px; height: 18px; color: var(--t); }

/* calculator */
.calc-sec { padding: 12px 0 56px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.wizard { padding: 28px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 50px -30px rgba(15,23,42,.3); background: #fff; }
.progress ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: space-between; gap: 8px; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); font-size: 13px; }
.progress li.on { color: var(--ink); }
.progress li.on span { border-color: var(--t); color: var(--t); background: #fff; }
.progress li.done span { background: var(--t); border-color: var(--t); color: #fff; }
.pbar { height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; margin-bottom: 24px; }
.pbar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #14B8A6, var(--t)); transition: width .4s ease; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; }
.step[hidden] { display: none; }
.step legend { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 4px; padding: 0; }
.step legend small { font-size: 14px; font-weight: 500; color: var(--muted); }
.field { display: grid; gap: 8px; }
.field > label { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.field output { margin-left: auto; font-weight: 700; color: var(--t); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--t) var(--p), var(--line) var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--t); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--t); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--t); }
.marks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -6px; }
select, .num input, .lead input, .alt-form input, .stepper input { min-height: 56px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 18px; color: var(--ink); background: #fff; width: 100%; }
select:focus, input:focus { outline: none; border-color: var(--t); box-shadow: 0 0 0 4px rgba(15,118,110,.15); }
input[aria-invalid="true"] { border-color: var(--red); }
.num { position: relative; display: flex; align-items: center; }
.num input { padding-right: 90px; font-weight: 600; }
.num.pre input { padding-left: 34px; }
.num > span { position: absolute; right: 16px; color: var(--muted); font-size: 15px; pointer-events: none; }
.num.pre > span:first-child { left: 16px; right: auto; font-weight: 700; color: var(--ink); }
.tip { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); }
.tip:hover, .tip[aria-expanded="true"] { color: var(--t); background: var(--t-l); }
.tip .i { width: 18px; height: 18px; }
.tipbox { position: absolute; z-index: 100; max-width: 280px; padding: 10px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.5; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; }
.stepper button { min-height: 56px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 24px; font-weight: 600; }
.stepper input { text-align: center; font-weight: 700; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goals label { cursor: pointer; }
.goals input { position: absolute; opacity: 0; }
.goals span { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); transition: border-color .15s, background .15s; }
.goals span .i { color: var(--muted); }
.goals input:checked + span { border-color: var(--t); background: var(--t-l); }
.goals input:checked + span .i { color: var(--t); }
.goals input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.nav-btns { display: flex; justify-content: space-between; gap: 10px; margin-top: 24px; }
.nav-btns [data-next] { margin-left: auto; }
.err { margin: 0; color: var(--red); font-weight: 600; font-size: 14px; min-height: 1.2em; }
.err:empty { display: none; }

.preview { position: sticky; top: 80px; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, var(--ink), #134E4A); color: #CCFBF1; }
.pv-l { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.pv-big { margin: 6px 0 14px; font-size: 42px; font-weight: 800; color: #fff; line-height: 1.05; font-variant-numeric: tabular-nums; }
.pv-big small { font-size: 16px; font-weight: 500; color: #99F6E4; margin-left: 4px; }
.pv-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.12); }
.pv-row b { color: #fff; font-variant-numeric: tabular-nums; }
.pv-note { margin: 10px 0 0; font-size: 12px; color: #5EEAD4; }

/* results */
.results { padding: 24px 0 56px; background: var(--bg); border-top: 1px solid var(--line); }
.sum-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 32px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -30px rgba(15,118,110,.45); border: 2px solid var(--t); }
.sum-l { margin: 0; font-weight: 700; color: var(--t); letter-spacing: .04em; text-transform: uppercase; font-size: 14px; }
.sum-big { margin: 6px 0 12px; font-size: clamp(44px, 7vw, 72px); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sum-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.sum-stats li { font-size: 14px; color: var(--muted); }
.sum-stats b { display: block; font-size: 24px; color: var(--ink); }
.sum-break { margin: 0; display: grid; gap: 10px; align-content: center; }
.sum-break div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-break dt { color: var(--muted); }
.sum-break dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.sum-break .net dd { color: var(--t); font-size: 20px; }
.viz { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.chart { margin: 0; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.chart.wide { grid-column: 1 / -1; }
.chart figcaption { font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.chart svg { display: block; width: 100%; height: auto; }
.pie-wrap { display: flex; align-items: center; gap: 20px; }
.pie-wrap svg { width: 170px; flex: none; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.legend b { margin-left: auto; color: var(--ink); padding-left: 10px; }

.reco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.plan-card, .feat-card, .story { margin: 0; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.plan-card { border-color: var(--t); background: var(--t-l); }
.plan-card .tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--t); color: #fff; font-size: 12px; font-weight: 700; }
.plan-card h3, .feat-card h3 { font-size: 18px; margin: 8px 0; }
.plan-card .pp { font-size: 26px; font-weight: 800; color: var(--ink); }
.plan-card p { margin: 6px 0 0; font-size: 14px; }
.feat-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feat-card li { display: flex; gap: 10px; font-size: 14px; }
.feat-card li .i { color: var(--t); margin-top: 2px; }
.feat-card li b { display: block; color: var(--ink); }
.story blockquote { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.story figcaption { font-size: 13px; color: var(--muted); }
.story .res { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: #FEF3C7; color: #92400E; font-size: 12px; font-weight: 700; }

.gate { position: relative; margin-top: 20px; border-radius: 18px; overflow: hidden; padding: 32px 16px; background: #fff; border: 1px solid var(--line); }
.gate-blur { position: absolute; inset: 0; filter: blur(6px); opacity: .5; pointer-events: none; user-select: none; padding: 24px; font-size: 22px; line-height: 2.4; }
.gate-blur table { width: 100%; }
.gate-card { position: relative; display: grid; place-items: center; gap: 8px; text-align: center; }
.gate-card > * { max-width: 520px; width: 100%; }
.gi { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 14px; background: var(--t); color: #fff; }
.gate h3 { font-size: 24px; }
.gate-card > p { margin: 0; }
.lead { display: grid; gap: 10px; text-align: left; padding: 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(15,23,42,.35); }
.lead label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; color: var(--ink); }
.lead input { min-height: 48px; font-size: 16px; }
.req, .opt { font-weight: 400; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine { margin: 0; font-size: 12px; color: var(--muted); }
.full { margin-top: 20px; display: grid; gap: 16px; }
.full[hidden] { display: none; }
.unlocked { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 12px; background: var(--t-l); color: var(--t-d); font-weight: 500; }
.compare, .detail { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.compare h3, .detail h3 { font-size: 18px; }
.lead-p { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }
.cbar { display: grid; grid-template-columns: 170px 1fr 80px; gap: 12px; align-items: center; margin: 10px 0; font-size: 14px; }
.cbar .b { height: 14px; border-radius: 7px; background: var(--bg); overflow: hidden; }
.cbar .b i { display: block; height: 100%; border-radius: 7px; background: var(--c); }
.cbar b { text-align: right; color: var(--ink); }
.detail summary { display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.detail summary::-webkit-details-marker { display: none; }
.detail summary .i { color: var(--t); transition: transform .2s; }
.detail[open] summary .i { transform: rotate(180deg); }
.lines { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px; }
.lines td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.lines .neg td:last-child { color: var(--red); }
.lines .tot td { font-weight: 800; color: var(--t); border-bottom: 0; font-size: 17px; }
.lines small { display: block; color: var(--muted); font-size: 13px; }

.proof { margin-top: 28px; text-align: center; }
.avg { font-size: 18px; color: var(--ink); font-weight: 600; margin: 0 0 14px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 36px; color: #94A3B8; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.join { color: var(--muted); }
.next { margin-top: 28px; padding: 28px; border-radius: 18px; background: var(--ink); color: #CBD5E1; }
.next h3 { color: #fff; font-size: 22px; margin-bottom: 14px; }
.next-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.next .btn-g { background: transparent; color: #fff; border-color: #475569; }
.next .btn-g:hover { border-color: #5EEAD4; color: #5EEAD4; }

.sec { padding: 64px 0; }
.gray { background: var(--bg); }
.sec h2 { font-size: 28px; margin-bottom: 14px; }
.assume { display: grid; gap: 6px; padding-left: 20px; }
.disc { padding: 12px 14px; border-radius: 10px; background: #FFFBEB; color: #92400E; font-size: 14px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--t); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq p { margin: 0; padding: 0 18px 16px; }
.alt { padding: 56px 0; background: var(--t-l); border-top: 1px solid var(--t-2); }
.alt-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; align-items: center; }
.alt h2 { font-size: 26px; }
.alt p { margin: 6px 0 0; }
.alt-form { display: flex; gap: 8px; }
.alt-form input { min-height: 52px; font-size: 16px; }
.alt-form .btn { flex: none; }
.g-msg { grid-column: 2; margin: 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.g-msg.ok { color: var(--t); } .g-msg.bad { color: var(--red); }
.alt .link { grid-column: 2; justify-self: start; }
.alt .link .i { width: 16px; height: 16px; }
.foot { padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot p { margin: 0 0 4px; }
.demo { font-size: 12px; }
.mbar { display: none; }

.dlg { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 18px; padding: 0; color: var(--text); box-shadow: 0 40px 80px rgba(15,23,42,.35); }
.dlg::backdrop { background: rgba(15,23,42,.55); }
.dlg-x { position: absolute; top: 10px; right: 10px; }
.dlg-body { padding: 28px; display: grid; gap: 12px; }
.dlg-body h3 { font-size: 22px; margin-right: 44px; }
.dlg-body p { margin: 0; }
.dlg-body form { display: grid; gap: 10px; }
.dlg-body label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; color: var(--ink); }
.dlg-body input, .dlg-body select { min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.dlg-body .big-n { font-size: 34px; font-weight: 800; color: var(--t); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots button { min-height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; }
.slots button[aria-pressed="true"] { border-color: var(--t); background: var(--t-l); color: var(--t); }
.copybox { display: flex; gap: 8px; }
.copybox input { flex: 1; min-width: 0; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; transition: opacity .25s, transform .25s; z-index: 300; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .calc { grid-template-columns: 1fr; }
  .preview { position: static; }
  .sum-card, .viz, .reco, .alt-in { grid-template-columns: 1fr; }
  .chart.wide { grid-column: auto; }
  .g-msg, .alt .link { grid-column: auto; }
}
@media (max-width: 640px) {
  body.has-mbar { padding-bottom: 76px; }
  .wrap { padding: 0 16px; }
  .top-r { display: none; }
  .hero { padding: 36px 0 24px; }
  .sub { font-size: 17px; }
  .wizard { padding: 20px 16px; }
  .progress li { font-size: 0; }
  .progress li span { font-size: 13px; }
  .progress li.on { font-size: 13px; }
  .goals { grid-template-columns: 1fr; }
  .marks { font-size: 11px; }
  .sum-card { padding: 22px 18px; }
  .pie-wrap { flex-direction: column; align-items: stretch; }
  .pie-wrap svg { align-self: center; }
  .cbar { grid-template-columns: 1fr 64px; }
  .cbar .b { grid-column: 1 / -1; grid-row: 2; }
  .gate-blur { display: none; }
  .two { grid-template-columns: 1fr; }
  .next-btns .btn, .next-btns .btn-g { width: 100%; }
  .alt-form { flex-direction: column; }
  .mbar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,23,42,.12); }
  .mbar small { display: block; font-size: 12px; color: var(--muted); }
  .mbar b { font-size: 20px; color: var(--t); font-variant-numeric: tabular-nums; }
  .toast { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
