:root {
  --bg: #F9FAFB;
  --card: #FFFFFF;
  --line: #E5E7EB;
  --ink: #111827;
  --text: #374151;
  --muted: #6B7280;
  --blue: #2563EB;
  --blue-d: #1D4ED8;
  --green: #059669;
  --amber: #D97706;
  --warm: #F5F4F2;
  --r: 12px;
  --rb: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 30px rgba(17, 24, 39, .10);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h: 68px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--rb); border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; transition: background .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-d); }
.btn-white { background: #fff; color: var(--blue-d); }
.btn-ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.wide { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo span:last-child { font-weight: 500; color: var(--muted); }
.mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; }
.mark .i { width: 20px; height: 20px; }
.links { display: flex; gap: 2px; margin-left: auto; }
.links a { padding: 8px 12px; border-radius: 6px; text-decoration: none; font-weight: 500; font-size: 15px; }
.links a:hover { background: var(--bg); color: var(--blue); }
.phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: var(--rb); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.phone .i { color: var(--blue); width: 17px; height: 17px; }

/* Hero */
.hero { position: relative; min-height: 50vh; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='96' viewBox='0 0 120 96'%3E%3Cg fill='none' stroke='%23E5E7EB' stroke-width='1.5'%3E%3Cpath d='M10 44 30 26l20 18v24H10z'/%3E%3Cpath d='M70 92 90 74l20 18'/%3E%3Cpath d='M70 20 90 2l20 18'/%3E%3C/g%3E%3C/svg%3E"); mask-image: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 75%); }
.hero-inner { position: relative; text-align: center; padding: 64px 28px 56px; max-width: 860px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.025em; }
.lede { margin: 16px auto 0; max-width: 620px; font-size: 19px; color: var(--muted); }
.addr { position: relative; display: flex; gap: 6px; margin: 32px auto 0; max-width: 720px; height: 60px; padding: 6px; border-radius: 40px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-align: left; }
.addr:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15), var(--shadow-lg); }
.addr-field { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 16px; color: var(--muted); min-width: 0; }
.addr-field .i { color: var(--blue); }
.addr input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 17px; color: var(--ink); }
.addr input:focus { outline: none; }
.addr .btn { border-radius: 40px; padding: 0 26px; min-height: 0; height: 100%; }
.ac { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; }
.ac li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; }
.ac li .i { color: var(--muted); width: 18px; height: 18px; }
.ac li b { color: var(--ink); font-weight: 600; }
.ac li span { color: var(--muted); font-size: 14px; }
.ac li[aria-selected="true"], .ac li:hover { background: #EFF6FF; }
.ac .powered { justify-content: flex-end; padding: 6px 12px; font-size: 11px; color: var(--muted); cursor: default; background: var(--bg); }
.addr-err { min-height: 0; margin-top: 10px; color: #B91C1C; font-size: 14px; font-weight: 500; }
.addr-err:empty { display: none; }
.addr-err.light { color: #FECACA; }
.trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-weight: 600; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { color: var(--green); width: 18px; height: 18px; }
.trusted { margin-top: 12px; font-size: 14px; color: var(--muted); }
.trusted b { color: var(--ink); }

/* Result */
.result-wrap { padding: 48px 0 8px; outline: none; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.result-head h2 { font-size: 26px; }
.result-head .btn { min-height: 44px; }

/* Report card */
.report { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 28px 30px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px 40px; max-width: 1000px; margin: 0 auto; }
.report-scroll { margin: 32px 0; overflow-x: auto; }
.wm { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 6px; background: #FEF3C7; color: #92400E; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.r-prop { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.r-prop .i { width: 16px; height: 16px; color: var(--blue); }
.r-prop b { color: var(--ink); font-weight: 600; }
.r-label { margin-top: 14px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.r-value { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.conf { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.conf::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.conf.high { background: #D1FAE5; color: #047857; }
.conf.medium { background: #FEF3C7; color: #B45309; }
.range { margin-top: 26px; }
.bar { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #DBEAFE, #93C5FD 50%, #DBEAFE); }
.bar .band { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--blue); opacity: .85; }
.bar .mk { position: absolute; top: -8px; width: 4px; height: 28px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
.bar .mk::after { content: attr(data-l); position: absolute; top: -26px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.range-l { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.range-l b { color: var(--ink); }
.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.factors div { padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); }
.factors dt { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.factors dt .i { width: 14px; height: 14px; }
.factors dd { font-weight: 700; color: var(--ink); font-size: 16px; }
.side { display: grid; gap: 18px; align-content: start; }
.trend { padding: 16px; border-radius: 10px; border: 1px solid var(--line); }
.trend-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.trend-h span { font-size: 13px; color: var(--muted); }
.trend-h b { color: var(--green); font-size: 18px; display: inline-flex; align-items: center; gap: 2px; }
.trend-h b .i { width: 16px; height: 16px; }
.spark { display: block; width: 100%; height: 64px; margin-top: 8px; }
.comps h3 { font-size: 15px; margin-bottom: 8px; }
.comps li { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.comps li b { color: var(--ink); font-weight: 600; }
.comps li span { color: var(--muted); font-size: 13px; }
.comps li em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.r-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); padding-top: 18px; }
.disclaimer { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.warm { background: var(--warm); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; position: relative; }
.steps li { position: relative; text-align: center; padding: 0 12px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 48px); right: calc(-50% + 48px); border-top: 2px dashed #BFDBFE; }
.steps li:not(:last-child)::before { content: ""; position: absolute; top: 27px; right: calc(-50% + 44px); border: 6px solid transparent; border-left-color: #93C5FD; }
.ic { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #EFF6FF; color: var(--blue); }
.ic .i { width: 28px; height: 28px; }
.ic b { position: absolute; top: -4px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; display: grid; place-items: center; border: 2px solid var(--bg); }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 6px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.stats > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.stats dt { font-size: 14px; color: var(--muted); font-weight: 500; }
.stats dd { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 4px 0 6px; font-variant-numeric: tabular-nums; }
.stats p { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.stats .i { width: 15px; height: 15px; }
.pos { color: var(--green); }
.chart-card { margin: 18px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 16px; box-shadow: var(--shadow); }
.chart-card figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-card figcaption b { color: var(--ink); }
.chart-card figcaption span { color: var(--muted); font-size: 14px; }
.chart { position: relative; margin-top: 10px; }
.chart svg { display: block; width: 100%; height: 240px; overflow: visible; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .tip { position: absolute; pointer-events: none; transform: translate(-50%, -110%); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; white-space: nowrap; }
.chart .tip b { display: block; }
.src { margin-top: 8px; font-size: 13px; color: var(--muted); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.points { display: grid; gap: 14px; margin-top: 28px; }
.points li { display: flex; gap: 14px; padding: 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.points .i { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: #EFF6FF; color: var(--blue); box-sizing: border-box; }
.points b { display: block; color: var(--ink); font-size: 17px; }
.points span { color: var(--muted); font-size: 14px; }
.team { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.team svg { width: 100%; height: 100%; display: block; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.rv { position: relative; margin: 0; padding: 26px 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; gap: 12px; }
.rv .q { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; color: #DBEAFE; fill: #DBEAFE; stroke: none; }
.stars { display: flex; gap: 2px; color: #F59E0B; }
.stars .i { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rv blockquote { margin: 0; color: var(--ink); font-size: 16px; flex: 1; }
.rv figcaption { font-size: 14px; color: var(--muted); }
.rv figcaption b { color: var(--ink); }

.cma { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.body { margin-top: 14px; font-size: 17px; }
.ticks { display: grid; gap: 10px; margin-top: 22px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.ticks .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: #D1FAE5; color: var(--green); box-sizing: border-box; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.form { padding: 26px; display: grid; gap: 14px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.f small { color: var(--muted); font-weight: 400; }
.f input, .f select, .f textarea { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--rb); border: 1px solid #D1D5DB; background: #fff; font-size: 15px; font-weight: 400; }
.f textarea { resize: vertical; }
.f :focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.f [aria-invalid="true"] { border-color: #DC2626; background: #FEF2F2; }
.f.prefilled input { background: #EFF6FF; border-color: #93C5FD; }
.err { color: #B91C1C; font-size: 14px; font-weight: 500; }
.err:empty { display: none; }
.note { text-align: center; font-size: 14px; color: var(--muted); }
.secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.secure .i { width: 14px; height: 14px; }
.done { padding: 44px 28px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.done > .i { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #D1FAE5; color: var(--green); box-sizing: border-box; }
.done h3 { font-size: 24px; }

.faq { margin-top: 32px; display: grid; gap: 10px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qa h3 { margin: 0; }
.qa button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 60px; padding: 14px 20px; border: 0; background: none; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); }
.qa button .i { transition: transform .25s; color: var(--muted); }
.qa button[aria-expanded="true"] .i { transform: rotate(180deg); color: var(--blue); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 20px 18px; color: var(--text); }
.qa.open .ans { grid-template-rows: 1fr; }

.banner { background: linear-gradient(120deg, #1E40AF, var(--blue) 55%, #3B82F6); color: #fff; padding: 72px 0; text-align: center; }
.banner h2 { color: #fff; }
.banner .addr { border-color: transparent; }
.call { margin-top: 18px; color: #DBEAFE; }
.call a { color: #fff; font-weight: 700; }

/* Footer */
.footer { background: #111827; color: #9CA3AF; padding: 56px 0 28px; }
.f-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid #1F2937; }
.logo.light { color: #fff; }
.logo.light span:last-child { color: #9CA3AF; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #1F2937; color: #E5E7EB; }
.social a:hover { background: var(--blue); }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer li { padding: 3px 0; }
.footer ul a { text-decoration: none; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.f-bottom { display: grid; gap: 8px; padding-top: 24px; font-size: 13px; }
.eho { display: flex; align-items: center; gap: 12px; }
.eho svg { width: 40px; height: 40px; flex: none; color: #E5E7EB; }
.eho b { color: #E5E7EB; }
.float-cta { display: none; }

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

@media (max-width: 980px) {
  .links { display: none; }
  .phone { margin-left: auto; }
  .report { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .why, .cma { grid-template-columns: 1fr; gap: 36px; }
  .reviews { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .wrap { padding: 0 18px; }
  .logo span:last-child { display: none; }
  .phone span { display: none; }
  .phone { padding: 0; width: 44px; justify-content: center; }
  .hero-inner { padding: 44px 18px 40px; }
  .lede { font-size: 17px; }
  .addr { flex-direction: column; height: auto; border-radius: 20px; padding: 8px; }
  .addr-field { min-height: 52px; padding-left: 10px; }
  .addr .btn { height: 52px; border-radius: 14px; }
  .section { padding: 56px 0; }
  .steps { grid-template-columns: 1fr; gap: 0; text-align: left; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding: 0 0 32px; }
  .steps li .ic { grid-row: span 2; margin: 0; }
  .steps li:not(:last-child)::after { top: 64px; bottom: 0; left: 31px; right: auto; border-top: 0; border-left: 2px dashed #BFDBFE; }
  .steps li:not(:last-child)::before { display: none; }
  .report { min-width: 560px; padding: 22px; }
  .factors { grid-template-columns: repeat(3, 1fr); }
  .result-wrap .report { min-width: 0; }
  .result-wrap .factors { grid-template-columns: 1fr 1fr; }
  .stats dd { font-size: 24px; }
  .g2 { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-top > div:first-child { grid-column: 1 / -1; }
  .float-cta { display: flex; justify-content: center; align-items: center; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 45; min-height: 52px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 24px rgba(37, 99, 235, .35); transition: transform .3s, opacity .3s; }
  .float-cta.away { transform: translateY(150%); opacity: 0; }
  .footer { padding-bottom: 96px; }
  .toast { bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
