/* Elrendezés: a hőkamerás kép a műszer, minden más hűvös, csendes vakolat körülötte. Balra zárt szöveg. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-latin-ext.woff2") format("woff2"); font-weight: 200 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #f3f3f8;
  --surface: #ffffff;
  --sunk: #e9e8f2;
  --ink: #17122f;
  --muted: #565170;
  --line: #d4d2e2;
  --link: #4a25b0;
  --ink-btn: #17122f;
  --ink-btn-fg: #ffffff;
  --field: #ffffff;
  --cold: #160c3f;
  --cold-2: #231463;
  --on-cold: #f3f1ff;
  --on-cold-soft: #c9c3ec;
  --hot: #ffc531;
  --hot-hover: #ffb300;
  --hot-ink: #231463;
  --good: #0b7a55;
  --good-bg: #dff3ea;
  --warn: #8f5800;
  --warn-bg: #fdf0d3;
  --bad: #b3261e;
  --bad-bg: #fbe6e4;
  --t0: #2a1e8c; --t1: #411e96; --t2: #591fa0; --t3: #7220a4; --t4: #922295; --t5: #b22586;
  --t6: #cb316e; --t7: #dd464c; --t8: #ef5d2b; --t9: #f68123; --t10: #fca929; --t11: #ffd84a;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: 0.95rem;
  --step-0: 1.125rem;
  --step-1: 1.35rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.75rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.8vw, 4.2rem);
  --header-h: 64px;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120c2b; --surface: #1c1540; --sunk: #181137; --ink: #f0eefb; --muted: #b5afd2; --line: #352c63;
    --link: #bcaeff; --ink-btn: #f0eefb; --ink-btn-fg: #17122f; --field: #150f33;
    --good: #5fd3a8; --good-bg: #123b30; --warn: #f2c56b; --warn-bg: #3b2c0d; --bad: #ff9c94; --bad-bg: #431a18;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120c2b; --surface: #1c1540; --sunk: #181137; --ink: #f0eefb; --muted: #b5afd2; --line: #352c63;
  --link: #bcaeff; --ink-btn: #f0eefb; --ink-btn-fg: #17122f; --field: #150f33;
  --good: #5fd3a8; --good-bg: #123b30; --warn: #f2c56b; --warn-bg: #3b2c0d; --bad: #ff9c94; --bad-bg: #431a18;
  color-scheme: dark;
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; overflow-wrap: break-word; }
h1 { font-size: var(--step-4); font-weight: 750; }
h2 { font-size: var(--step-3); font-weight: 720; }
h3 { font-size: var(--step-2); font-weight: 680; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: 0.16em; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }
.hero :focus-visible, .section--trade .reg__side :focus-visible, .notice :focus-visible { outline-color: var(--hot); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; background: var(--hot); color: var(--hot-ink); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 10px; }

.notice { background: var(--cold); color: var(--on-cold-soft); font-size: var(--step--1); line-height: 1.4; }
.notice .wrap { padding-block: 7px; }
.notice a { color: var(--on-cold); }

.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; min-width: 0; font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand__text { display: grid; gap: 1px; min-width: 0; line-height: 1.15; }
.brand small { font: 400 .82rem/1.2 var(--body); letter-spacing: 0; color: var(--muted); }
.topnav { display: flex; gap: 4px; margin-left: auto; }
.topnav a { padding: 9px 13px; border-radius: 7px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.topnav a:hover { background: var(--sunk); }
.topnav a[aria-current="page"] { background: var(--ink-btn); color: var(--ink-btn-fg); font-weight: 700; }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 24px; border: 2px solid transparent; border-radius: 8px; font: 700 var(--step-0)/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s; }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 1rem; flex: none; }
.btn--hot { background: var(--hot); color: var(--hot-ink); }
.btn--hot:hover { background: var(--hot-hover); }
.btn--ink { background: var(--ink-btn); color: var(--ink-btn-fg); }
.btn--ink:hover { opacity: .88; }
.btn--ghost { border-color: var(--on-cold-soft); color: var(--on-cold); }
.btn--ghost:hover { background: var(--cold-2); }
.btn--line { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--sunk); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.hero { background: var(--cold); color: var(--on-cold); padding-block: clamp(36px, 6vw, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__copy { min-width: 0; display: grid; gap: 22px; }
.hero__about { max-width: 62ch; font-weight: 600; line-height: 1.4; color: var(--on-cold); }
.hero__lead { max-width: 58ch; font-size: var(--step-1); line-height: 1.45; color: var(--on-cold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.hero__facts dt { font-family: var(--display); font-weight: 700; }
.hero__facts dd { color: var(--on-cold-soft); font-size: 1rem; line-height: 1.4; }

.scope { min-width: 0; display: grid; gap: 10px; }
.scope__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.scope__class { display: flex; align-items: center; gap: 10px; color: var(--on-cold-soft); }
.scope__class strong { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--on-cold); min-width: 1.2ch; }
.scope__image { border-radius: 10px; overflow: hidden; line-height: 0; }
.scope__legend { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--on-cold-soft); }
.scope__legend i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--t0), var(--t3), var(--t6), var(--t8), var(--t10), var(--t11)); }
.scope figcaption { font-size: var(--step--1); line-height: 1.4; color: var(--on-cold-soft); }

.switch { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; background: rgba(255,255,255,.1); border-radius: 9px; }
.switch button { min-height: 42px; padding: 8px 14px; border: 0; border-radius: 7px; background: transparent; color: var(--on-cold); font: 700 1rem/1.2 var(--body); cursor: pointer; }
.switch button[aria-pressed="true"] { background: var(--on-cold); color: var(--cold); }
.switch--light { background: var(--sunk); }
.switch--light button { color: var(--ink); }
.switch--light button[aria-pressed="true"] { background: var(--ink-btn); color: var(--ink-btn-fg); }

.section { padding-block: clamp(48px, 7vw, 92px); }
.section__head { display: grid; gap: 14px; max-width: 70ch; margin-bottom: clamp(24px, 3.4vw, 40px); }
.section__head p { color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.subhead { margin-top: clamp(44px, 6vw, 68px); margin-bottom: 18px; }

.program-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }

.ladder { display: grid; gap: 14px; }
.ladder__band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: clamp(14px, 3vw, 36px); align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ladder__band:last-child { border-bottom: 0; padding-bottom: 0; }
.ladder__bars { display: grid; gap: 3px; }
.ladder__bars li { width: var(--w); min-height: 34px; display: flex; align-items: center; padding-inline: 12px; font: 750 1.05rem/1 var(--display); color: #fff; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); }
.c0 { background: var(--t0); } .c1 { background: var(--t1); } .c2 { background: var(--t2); } .c3 { background: var(--t3); }
.c4 { background: var(--t4); } .c5 { background: var(--t5); } .c6 { background: var(--t6); } .c7 { background: #c93a42; }
.c8 { background: #cf4a17; } .ladder__bars li.c9 { background: var(--t9); color: #231463; } .ladder__bars li.c10 { background: var(--t10); color: #231463; } .ladder__bars li.c11 { background: var(--t11); color: #231463; }
.c0 { --w: 34%; } .c1 { --w: 40%; } .c2 { --w: 46%; } .c3 { --w: 52%; } .c4 { --w: 58%; } .c5 { --w: 64%; } .c6 { --w: 70%; } .c7 { --w: 76%; } .c8 { --w: 82%; } .c9 { --w: 88%; } .c10 { --w: 94%; } .c11 { --w: 100%; }
.ladder__note { display: grid; gap: 4px; min-width: 0; }
.ladder__pct { font: 750 clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ladder__stock { color: var(--muted); font-size: var(--step--1); }

.compare { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compare__row { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.compare__row:first-child { border-top: 0; }
.compare__row--head { background: var(--sunk); font-family: var(--display); }
.compare__row > span { color: var(--muted); }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 44px); margin-top: clamp(40px, 5vw, 60px); }
.rules > div { display: grid; gap: 12px; align-content: start; min-width: 0; }
.rules h3 { font-size: var(--step-1); }
.rules h3:not(:first-child) { margin-top: 14px; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .34em; width: 13px; height: 7px; border-left: 3px solid var(--good); border-bottom: 3px solid var(--good); transform: rotate(-45deg); }
.ticks--free li::before { width: 12px; height: 3px; top: .7em; border: 0; background: var(--muted); transform: none; }
.ticks--no li::before { width: 14px; height: 3px; top: .72em; left: 1px; border: 0; background: var(--bad); transform: rotate(45deg); }
.ticks--no li::after { content: ""; position: absolute; left: 1px; top: .72em; width: 14px; height: 3px; background: var(--bad); transform: rotate(-45deg); }
.ticks--light li::before { border-color: var(--hot); }

.path { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.path--six { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.path li { counter-increment: step; position: relative; display: grid; gap: 4px; align-content: start; padding: 54px 16px 0 0; }
.path li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-btn); color: var(--ink-btn-fg); font: 750 1.05rem/1 var(--display); z-index: 1; }
.path li::after { content: ""; position: absolute; left: 36px; right: 0; top: 17px; height: 2px; background: var(--line); }
.path li:last-child::after { display: none; }
.path strong { font-family: var(--display); line-height: 1.2; }
.path span { color: var(--muted); font-size: 1rem; line-height: 1.4; }

.caution { display: grid; gap: 12px; margin-top: clamp(40px, 5vw, 60px); padding: clamp(20px, 3vw, 30px); background: var(--warn-bg); border-radius: 10px; }
.caution h3 { font-size: var(--step-2); }
.caution ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.caution p, .caution li { max-width: 80ch; }
.caution__foot { font-weight: 700; }

.section--calc { background: var(--sunk); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.calc__form { display: grid; gap: 28px; min-width: 0; }
.calc__group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.calc__group legend { font: 680 var(--step-2)/1.15 var(--display); padding: 0; margin-bottom: 14px; letter-spacing: -0.01em; }
.calc__aside { grid-column: 1 / -1; color: var(--muted); font-size: var(--step--1); line-height: 1.45; }

.field { display: grid; gap: 5px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-weight: 700; line-height: 1.3; }
.opt { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
input:not([type=checkbox]):not([type=range]), select, textarea { width: 100%; min-height: 50px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 7px; background: var(--field); color: var(--ink); font: 400 var(--step-0)/1.3 var(--body); }
textarea { resize: vertical; line-height: 1.45; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.err { color: var(--bad); font-size: var(--step--1); line-height: 1.35; min-height: 0; }
.err:empty { display: none; }

.works { grid-column: 1 / -1; display: grid; gap: 7px; }
.work { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 62px; padding: 9px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; cursor: pointer; }
.work:hover { border-color: var(--muted); }
.work input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink-btn); }
.work strong { display: block; line-height: 1.25; }
.work small { color: var(--muted); font-size: var(--step--1); line-height: 1.3; }
.work__effect { font: 700 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.work:has(input:checked) { border-color: var(--ink-btn); box-shadow: inset 0 0 0 1px var(--ink-btn); }
.work:has(input:checked) .work__effect { color: var(--ink); }

.readout { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 14px); display: grid; gap: 14px; min-width: 0; padding: clamp(16px, 2vw, 22px); background: var(--surface); border-radius: 12px; }
.readout__images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.readout__images figure { display: grid; gap: 4px; min-width: 0; }
.readout__images figure > div { border-radius: 7px; overflow: hidden; line-height: 0; }
.readout__images figcaption { font-size: var(--step--1); color: var(--muted); }
.readout__live { display: grid; gap: 8px; }
.readout__big { font: 760 clamp(3.4rem, 2.4rem + 3vw, 4.6rem)/.95 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.readout__range { color: var(--muted); font-size: var(--step--1); }

.gauge { position: relative; height: 40px; margin-top: 2px; }
.gauge::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 12px; border-radius: 6px; background: var(--sunk); }
.gauge__band { position: absolute; top: 4px; height: 12px; background: var(--line); border-radius: 6px; transition: left .25s, width .25s; }
.gauge__fill { position: absolute; left: 0; top: 7px; height: 6px; border-radius: 3px; background: var(--ink-btn); transition: width .25s; }
.gauge__goal { position: absolute; left: 42.857%; top: 0; height: 20px; width: 2px; background: var(--bad); }
.gauge__goal span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); color: var(--bad); font: 700 var(--step--1)/1.2 var(--body); }

.verdict { padding: 11px 14px; border-radius: 8px; background: var(--sunk); }
.verdict strong { display: block; font-family: var(--display); font-size: var(--step-1); line-height: 1.2; }
.verdict p { font-size: 1rem; line-height: 1.4; }
.verdict[data-state="ok"] { background: var(--good-bg); }
.verdict[data-state="edge"], .verdict[data-state="near"] { background: var(--warn-bg); }
.verdict[data-state="low"] { background: var(--bad-bg); }
.readout__suggest { font-size: 1rem; line-height: 1.4; }

.readout__table { display: grid; }
.readout__table > div, .money dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 6px; border-top: 1px solid var(--line); }
.readout__table dt, .money dt { color: var(--muted); }
.readout__table dd, .money dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.money { display: grid; gap: 8px; }
.money label { font-weight: 400; }
input[type=range] { width: 100%; height: 34px; margin: 0; accent-color: var(--ink-btn); }
.readout__notes { display: grid; gap: 6px; font-size: 1rem; line-height: 1.4; }
.readout__notes:empty { display: none; }
.readout__notes li { padding-left: 12px; border-left: 3px solid var(--t9); }
.fine { font-size: var(--step--1); line-height: 1.4; color: var(--muted); }
.dock { display: none; }

.reg { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.reg__side { display: grid; gap: 18px; min-width: 0; }
.reg__side > p { font-size: var(--step-1); line-height: 1.45; color: var(--muted); }
.after { display: grid; gap: 13px; counter-reset: after; }
.after li { counter-increment: after; position: relative; display: grid; padding-left: 44px; }
.after li::before { content: counter(after); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-btn); color: var(--ink-btn-fg); font: 750 .95rem/1 var(--display); }
.after strong { font-family: var(--display); }
.after span { color: var(--muted); font-size: 1rem; line-height: 1.4; }
.reg__side > p.reg__warn { padding: 13px 15px; background: var(--warn-bg); color: var(--ink); border-radius: 8px; font-size: 1rem; }

.wizard, .tradeform { display: grid; gap: 18px; min-width: 0; padding: clamp(18px, 2.6vw, 30px); background: var(--surface); border-radius: 12px; border: 1px solid var(--line); }
.section--trade .tradeform { border-color: transparent; color: var(--ink); }
.tradeform h3 { font-size: var(--step-1); margin-top: 8px; }
.tradeform { color: var(--ink); }
.tradeform h3:first-child { margin-top: 0; }
.wizard__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; font-size: var(--step--1); color: var(--muted); }
.wizard__steps span { padding-top: 7px; border-top: 4px solid var(--line); }
.wizard__steps span.is-on { color: var(--ink); font-weight: 700; border-top-color: var(--ink-btn); }
.wizard__prefill { padding: 9px 12px; background: var(--good-bg); border-radius: 7px; font-size: 1rem; }
.wizard__page { display: grid; gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wizard__page legend { font: 680 var(--step-2)/1.15 var(--display); padding: 0; margin-bottom: 12px; letter-spacing: -0.01em; }
.wizard__page legend:focus { outline: none; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.wizard__nav { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.wizard__nav .btn { min-width: 130px; }
.wizard__nav #w-back { margin-right: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 7px 12px; background: var(--field); border: 1.5px solid var(--line); border-radius: 7px; cursor: pointer; line-height: 1.2; }
.chip:hover { border-color: var(--muted); }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink-btn); }
.chip:has(input:checked) { border-color: var(--ink-btn); box-shadow: inset 0 0 0 1px var(--ink-btn); font-weight: 700; }
.chip--all { background: var(--sunk); }

.consents { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.4; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink-btn); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 11px 14px; background: var(--bad-bg); color: var(--bad); border-radius: 7px; font-weight: 700; }

.done { display: grid; gap: 10px; padding: clamp(22px, 3vw, 34px); background: var(--good-bg); color: var(--ink); border-radius: 12px; }
.done:focus { outline: none; }
.done__preview { padding: 10px 12px; background: var(--surface); border-radius: 7px; font-size: 1rem; }

.section--faq { background: var(--surface); }
.faq { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 60px); align-items: start; }
.faq__list { display: grid; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 15px 34px 15px 0; position: relative; font: 650 var(--step-1)/1.25 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1.2 var(--display); color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; max-width: 68ch; }

.section--trade { background: var(--cold); color: var(--on-cold); }
.section--trade .reg__side > p { color: var(--on-cold-soft); }
.section--trade .tradeform a { color: var(--link); }

.footer { padding-block: 38px; background: var(--bg); color: var(--muted); font-size: 1rem; line-height: 1.45; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .8fr); gap: 26px; }
.footer__grid > div { display: grid; gap: 8px; align-content: start; min-width: 0; }
.footer__grid ul { display: grid; gap: 4px; }
.footer__name { font-family: var(--display); font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }

.preview-flag { background: var(--hot); color: var(--hot-ink); font-size: var(--step--1); }
.preview-flag .wrap { padding-block: 6px; }

/* Hőkamerás ház */
.house { display: block; width: 100%; height: auto; background: #120a36; }
.house .heat { transition: fill .9s ease; }
.house text { font-family: var(--body); fill: #fff; }
.house .tag { font-size: 15px; font-weight: 700; paint-order: stroke; stroke: rgba(10,5,40,.7); stroke-width: 4px; }

@media (max-width: 1000px) {
  :root { --header-h: 112px; }
  .topbar__row { flex-wrap: wrap; gap: 0 12px; padding-top: 6px; }
  .topbar .btn { margin-left: auto; }
  .topnav { order: 3; flex: 1 0 100%; margin-left: 0; padding-block: 6px; overflow-x: auto; scrollbar-width: none; }
  .topnav::-webkit-scrollbar { display: none; }
  .hero__grid, .calc, .reg, .faq { grid-template-columns: minmax(0, 1fr); }
  .readout { position: static; }
  .scope { max-width: 620px; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rules > div:last-child { grid-column: 1 / -1; }
  .path, .path--six { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .path li { padding: 4px 0 0 50px; min-height: 40px; }
  .path li::after { left: 17px; right: auto; top: 36px; width: 2px; height: calc(100% - 20px); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; align-items: center; gap: 12px; padding: 9px max(16px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); }
  .dock.is-on { display: flex; }
  .dock__num { font: 760 1.8rem/1 var(--display); font-variant-numeric: tabular-nums; }
  .dock__label { flex: 1; min-width: 0; font-size: var(--step--1); line-height: 1.25; }
  .dock a { font-weight: 700; }
}
@media (max-width: 620px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .brand span { font-size: .95rem; }
  .hero__facts, .grid, .calc__group, .rules { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { flex: 1 1 100%; }
  .program-pick .switch { display: grid; width: 100%; }
  .ladder__band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 12px; }
  .ladder__note p:not(.ladder__pct) { font-size: var(--step--1); line-height: 1.35; }
  .ladder__bars li { min-height: 28px; padding-inline: 8px; font-size: .92rem; }
  .compare__row:not(.compare__row--head) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; padding: 11px 13px; font-size: 1rem; line-height: 1.35; }
  .compare__row:not(.compare__row--head) > span { grid-column: 1 / -1; font-size: var(--step--1); }
  .compare__row--head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 11px 13px; font-size: 1rem; line-height: 1.2; }
  .compare__row--head > span { display: none; }
  .wizard__nav .btn { flex: 1; min-width: 0; }
  .wizard__nav #w-back { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .house .heat, .gauge__band, .gauge__fill { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* Fülek tartalma */
.about { background: var(--cold); color: var(--on-cold); }
.about p { padding-top: 18px; font-weight: 600; line-height: 1.4; max-width: 72ch; }
.hero__facts a { color: var(--on-cold); }
.path__note { margin-top: 16px; max-width: 80ch; }
.tool { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); min-width: 0; padding: clamp(18px, 2.6vw, 28px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; }
.tool--stack { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.tool :focus-visible { outline-color: var(--link); }
.tool__title { font-size: var(--step-2); }
.tool__fields { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tool__out { display: grid; min-width: 0; }
.tool__out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding-block: 8px; border-top: 1px solid var(--line); }
.tool__out > div:first-child { border-top: 0; padding-top: 0; }
.tool__out dt { color: var(--muted); }
.tool__out dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.tool__main dd { font: 760 clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem)/1 var(--display); letter-spacing: -0.02em; }
.compare--two .compare__row { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); }
.caution--link { background: var(--sunk); justify-items: start; }

.subhead__lead { margin-top: -10px; margin-bottom: 16px; color: var(--muted); }
.tool__fields .money label { font-weight: 700; }

/* Jogi oldalak */
.legal { display: grid; gap: 16px; max-width: 860px; padding-block: 34px 70px; }
.legal h1 { font-size: var(--step-3); }
.legal h2 { font-size: var(--step-2); margin-top: 16px; }
.legal p { max-width: 72ch; }
.legal mark { background: var(--warn-bg); color: var(--warn); padding: 0 4px; border-radius: 3px; }
.legal__dl { display: grid; }
.legal__dl > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; padding-block: 7px; border-top: 1px solid var(--line); }
.legal__dl dt { color: var(--muted); }
.legal__table { overflow-x: auto; }
.legal__table table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 1rem; line-height: 1.4; }
.legal__table th, .legal__table td { padding: 9px 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal__table th { background: var(--sunk); }
@media (max-width: 620px) { .legal__dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (max-width: 620px) {
  .tool { grid-template-columns: minmax(0, 1fr); }
  .compare--two .compare__row:not(.compare__row--head) { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 400px) {
  .topbar__row { gap: 0 8px; }
  .topbar .btn { padding: 8px 10px; font-size: .9rem; }
  .brand { gap: 6px; }
  .brand__name { font-size: .9rem; }
  .brand small { font-size: .72rem; }
}
@media (max-width: 340px) { :root { --header-h: 144px; } }
