/* LeadLevel szegmens-landingek. Egy akcentszín (narancs), Szenovi petrol alap, sötét mód változókkal. */
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2-variations");
  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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2-variations");
  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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F1F5F5;
  --surface: #FFFFFF;
  --ink: #0C2A2E;
  --ink-2: #3D5559;
  --line: #D5E0E0;
  --deep: #0C2A2E;
  --deep-ink: #E8F0F0;
  --deep-ink-2: #A9C0C2;
  --accent: #FF8A3D;
  --accent-ink: #0C2A2E;
  --ok: #1F7A4D;
  --err: #B3261E;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(12, 42, 46, .35);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #081B1E;
    --surface: #0F2C31;
    --ink: #E8F0F0;
    --ink-2: #A9C0C2;
    --line: #1E4248;
    --deep: #0F2C31;
    --accent: #FF9A57;
    --accent-ink: #081B1E;
    --ok: #6FD3A0;
    --err: #FF8F86;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.ph { line-height: 1; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* gombok: mindig pill, narancs alap sötét szöveggel (kontraszt > 6:1) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--accent); color: var(--accent-ink);
  font: inherit; font-weight: 700; font-size: 1rem; white-space: nowrap;
  padding: .85em 1.4em; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { filter: brightness(1.05); box-shadow: 0 10px 24px -12px rgba(255, 138, 61, .8); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); filter: none; }
.btn .ph { font-size: 1.1em; transition: transform .2s ease; }
.btn:hover .ph-arrow-right { transform: translateX(3px); }

/* fejléc */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.08rem; text-decoration: none; letter-spacing: -0.01em; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--deep); color: var(--accent); font-weight: 800; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .mark { background: var(--accent); color: var(--accent-ink); } }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink-2); font-size: .95rem; font-weight: 550; }
.nav nav a:hover { color: var(--ink); }
.nav-in > .btn { margin-left: auto; }
.nav nav + .btn { margin-left: 0; }
@media (max-width: 760px) { .nav nav { display: none; } }

/* hero: bal szöveg, jobb SMS-előnézet */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 1.6em; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } .hero-copy h1 { max-width: 20ch; } }

.phone {
  margin: 0; justify-self: end; width: min(100%, 360px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 18px 16px 20px; box-shadow: var(--shadow);
}
@media (max-width: 900px) { .phone { justify-self: start; } }
.phone-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: var(--ink-2); padding: 0 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.bubble { background: var(--deep); color: var(--deep-ink); border-radius: 18px 18px 6px 18px; padding: 12px 14px; font-size: .92rem; line-height: 1.45; margin: 0 0 16px 28px; }
@media (prefers-color-scheme: dark) { .bubble { background: #1A4A51; } }
.notify { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.notify-h { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: .86rem; margin: 0 0 8px; }
.notify-h .ph { color: var(--accent); font-size: 1.1rem; }
.notify ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.notify li { font-size: .84rem; color: var(--ink-2); padding-left: 14px; position: relative; }
.notify li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* probléma: nagy kijelentés a sötét sávon */
.problem { background: var(--deep); color: var(--deep-ink); padding: clamp(56px, 8vw, 96px) 0; }
.statement { font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; max-width: 34ch; margin: 0; }

section h2 { max-width: 22ch; }
.how, .fields, .costs, .plan, .faq { padding: clamp(56px, 8vw, 104px) 0; }

/* hogyan: aszimmetrikus, számozott lista elválasztókkal */
.how-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
.how-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.how-row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.how-row:last-child { border-bottom: 1px solid var(--line); }
.how-row > .ph { font-size: 1.6rem; color: var(--accent); padding-top: 2px; }
.how-row p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .how-in { grid-template-columns: 1fr; } }

/* űrlapmezők chipjei */
.fields { background: var(--surface); border-block: 1px solid var(--line); }
.fields-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.fields-in p { color: var(--ink-2); max-width: 44ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-weight: 550; font-size: .95rem; }
.chip .ph { color: var(--accent); }
@media (max-width: 860px) { .fields-in { grid-template-columns: 1fr; } }

/* költségek: két kártya, az egyik akcentussal */
.costs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.cost { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.cost > .ph { font-size: 1.8rem; color: var(--ink-2); display: block; margin-bottom: 18px; }
.cost p { color: var(--ink-2); margin: 0; }
.cost-accent { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.cost-accent > .ph { color: var(--accent); }
@media (max-width: 760px) { .costs-grid { grid-template-columns: 1fr; } }

/* űrlap */
.plan { background: var(--deep); color: var(--deep-ink); }
.plan-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.plan-copy p { color: var(--deep-ink-2); max-width: 40ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { font-size: .84rem; color: var(--ink-2); margin: 0; }
.form-msg { margin: 0; font-size: .92rem; font-weight: 550; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-msg a { font-weight: 700; }
@media (max-width: 860px) { .plan-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* GYIK */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 650; font-size: 1.04rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ph { color: var(--accent); font-size: 1.2rem; transition: transform .25s ease; flex: none; }
.qa[open] summary .ph { transform: rotate(45deg); }
.qa p { color: var(--ink-2); margin: 0 0 20px; max-width: 62ch; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } }

/* lábléc */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .86rem; color: var(--ink-2); }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.brand-sm { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.brand-sm .mark { width: 24px; height: 24px; font-size: .78rem; border-radius: 7px; }
.legal { margin: 0; max-width: 70ch; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; gap: 12px; } }

/* adatkezelési oldal és gyökér-választó */
.doc { padding-top: 48px; padding-bottom: 72px; max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.doc section { padding: 20px 0; border-top: 1px solid var(--line); }
.doc section h2 { font-size: 1.15rem; margin-bottom: .4em; }
.doc section p { color: var(--ink-2); margin: 0; white-space: pre-line; }
.index { list-style: none; padding: 0; display: grid; gap: 12px; }
.index li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }

/* mozgás: visszafogott, csak ha a felhasználó engedi */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .how-row.reveal:nth-child(2) { transition-delay: .08s; }
  .js .how-row.reveal:nth-child(3) { transition-delay: .16s; }
  .js .phone .sms-1, .js .phone .sms-2 { opacity: 0; transform: translateY(10px); }
  .js .phone.play .sms-1 { animation: pop .5s cubic-bezier(.2, .7, .2, 1) .25s forwards; }
  .js .phone.play .sms-2 { animation: pop .5s cubic-bezier(.2, .7, .2, 1) 1.1s forwards; }
  @keyframes pop { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
