/* Betűtípusok — saját tárhelyről (nem a Google szervereiről), hogy a látogatók IP-címe ne kerüljön harmadik félhez. */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext-400-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext-500-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext-600-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-ext-700-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); 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: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-400-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); 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: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-ext-500-normal.woff2") format("woff2"); 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; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); 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; }

/* Design tokens — docs/design-handoff.md "Design Tokens" */
body {
  --bg: #f7f6f3; --surface: #ffffff; --surface2: #f3f1ec; --surface3: #faf9f6;
  --ink: #1c1b19; --ink2: #4f4c46; --muted: #6b675f; --muted2: #8a867d;
  --line: #e6e2da; --line2: #eeebe4; --field-line: #d6d2c8; --track: #e0dcd3; --footer: #efede8;
  --accent: #2c6e4f; --accent-hover: #245c42; --on-accent: #ffffff; --accent-soft: #e3efe8;
  --ring: rgba(44, 110, 79, 0.15); --header: rgba(247, 246, 243, 0.94);
  --warn: #a8761a; --warn-bg: #fbf3e1; --warn-ink: #5a4310;
  --err-bg: #fbeceb; --err-line: #edc4c0; --err-ink: #7a2620; --err: #b0362c;
  --stripe1: #f1eee8; --stripe2: #f7f5f0;
  --shadow: 0 14px 40px rgba(28, 27, 25, 0.14); --scrim: rgba(28, 27, 25, 0.45);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s, color 0.2s;
}
body[data-theme="dark"] {
  --bg: #151412; --surface: #1e1c1a; --surface2: #262421; --surface3: #1b1a18;
  --ink: #efece6; --ink2: #c9c4ba; --muted: #a39e94; --muted2: #8d887e;
  --line: #33302c; --line2: #2b2926; --field-line: #48443e; --track: #3a3631; --footer: #100f0e;
  --accent: #62b88d; --accent-hover: #79c79f; --on-accent: #0e1a13; --accent-soft: #1f3329;
  --ring: rgba(98, 184, 141, 0.25); --header: rgba(21, 20, 18, 0.92);
  --warn: #d6a94c; --warn-bg: #2a2314; --warn-ink: #ecd9a8;
  --err-bg: #2e1a18; --err-line: #5e2e29; --err-ink: #f0bdb6; --err: #ef8a7d;
  --stripe1: #22201d; --stripe2: #1b1a17;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.5); --scrim: rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
input, select, button { font-family: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.band { border-top: 1px solid var(--line); background: var(--surface); }
h2.section-title { margin: 0; font-size: 34px; letter-spacing: -0.02em; line-height: 1.1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; border-radius: 10px; font-size: 15px; text-decoration: none;
  height: 44px; padding: 0 18px; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 600; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--field-line); }
.btn-ghost:hover { background: var(--surface2); color: var(--ink); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); font-weight: 600; }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent); }
.btn-lg { height: 58px; padding: 0 30px; border-radius: 12px; font-size: 17px; }
.btn-md { height: 52px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
.btn-pay { height: 54px; padding: 0 26px; border-radius: 12px; font-size: 16px; }
.btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; align-items: center; gap: 18px; }
.logo { flex: none; display: flex; align-items: center; }
.logo img { height: 30px; width: auto; display: block; }
.logo .logo-dark { display: none; }
body[data-theme="dark"] .logo .logo-light { display: none; }
body[data-theme="dark"] .logo .logo-dark { display: block; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 15px; white-space: nowrap; min-width: 0; }
.main-nav a { color: var(--ink2); text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.spacer { flex: 1; }
.status { flex: none; white-space: nowrap; display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.dot-slow { background: var(--warn); }
.dot-disrupted { background: var(--err); }
.dot-sm { width: 7px; height: 7px; }
.lang { position: relative; flex: none; }
.lang-btn { height: 44px; padding: 0 12px; border: 1px solid var(--field-line); border-radius: 10px; background: transparent; color: var(--ink); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.lang-btn .flag { font-size: 18px; }
.lang-btn .caret { font-size: 11px; color: var(--muted); }
.menu { position: absolute; right: 0; top: 50px; z-index: 50; min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: flex; flex-direction: column; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 15px; color: var(--ink); background: none; border: none; text-align: left; }
.menu-item:hover, .menu-item[aria-selected="true"] { background: var(--surface2); }
.menu-item .flag { font-size: 18px; }
.menu-item .name { flex: 1; }
.menu-item .code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.icon-btn { flex: none; height: 44px; width: 44px; padding: 0; border: 1px solid var(--field-line); border-radius: 10px; background: transparent; color: var(--ink); font-size: 15px; }
.icon-btn:hover { background: var(--surface2); }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 10px 14px; }
  .main-nav { order: 10; width: 100%; }
  .status { display: none; }
}

/* Landing */
.hero { padding-top: 96px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 22px; }
/* Főoldal: kétoszlopos hero — balra a cím és az indítás, jobbra a hangsúlyos jogosultság-ellenőrző */
.hero.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-split h1 { font-size: clamp(34px, 4.6vw, 54px); }
.checker-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 18px; padding: 30px 28px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 90px; }
.checker-card .checker-title { margin: 0; font-size: 26px; line-height: 1.2; letter-spacing: -0.015em; }
.checker-card .checker-lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.checker-card .checker-form .select, .checker-card .combo input { height: 56px; font-size: 17px; }
.checker-card .result { font-size: 17px; }
.checker-card [data-result="yes"] .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 900px) {
  .hero.hero-split { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 56px; }
}
/* Tartalmi blokkok (szöveg, kép nélkül) */
.content-section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.section-lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.block-title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; }
.info-grid { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.info-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.info-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.info-card { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.band .info-card { background: var(--bg); }
.info-card .num { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.info-card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.info-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink2); }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--accent); }
.timeline-item { padding: 22px 24px 4px 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.timeline-item::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); }
.timeline-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.timeline-value { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.timeline-item p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 340px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.02em; }
.hero h1 { margin: 0; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.028em; font-weight: 700; max-width: 820px; text-wrap: balance; }
.hero .lead { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink2); max-width: 600px; text-wrap: pretty; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-top: 6px; }
.note { font-size: 14px; color: var(--muted); }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 4px; }
.draft-card { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); max-width: 600px; }
.draft-card span { flex: 1; min-width: 200px; font-size: 15px; color: var(--ink2); }
.two-col { padding-top: 80px; padding-bottom: 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 44px; }
.stack { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 15px; font-weight: 600; }
.result { padding: 14px 16px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 600; }
.result-yes { background: var(--accent-soft); }
.result-no { background: var(--surface2); }
.result-visa { background: var(--warn-bg); color: var(--warn-ink); }
.facts p { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line2); font-size: 17px; line-height: 1.5; }
.facts p:first-child { padding-top: 0; }
.row-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; background: none; border: none; border-bottom: 1px solid var(--line2); text-align: left; font-size: 16px; font-weight: 600; color: var(--ink); }
.row-toggle .pm { font-size: 20px; font-weight: 400; color: var(--muted); flex: none; }
.country-grid { padding: 16px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; font-size: 14px; color: var(--ink2); margin: 0; list-style: none; }
.what p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink2); text-wrap: pretty; }
.steps-section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 32px; }
.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.step-card { border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.step-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.step-card img { width: 56px; height: 56px; display: block; }
.step-card .num { font-family: var(--mono); font-size: 14px; color: var(--accent); }
.step-card p { margin: 0; font-size: 17px; line-height: 1.5; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 15px; color: var(--ink2); align-items: center; }
.trust-item { display: flex; gap: 8px; align-items: center; padding: 6px 0; }
.trust-item img { width: 24px; height: 24px; display: block; }
.link-btn { background: none; border: none; font-size: 15px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--field-line); text-underline-offset: 4px; }
.faq-list { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .faq-list { grid-column: auto; } }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: none; text-align: left; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-q .pm { flex: none; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq-a { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 700px; }
.cta-band { padding-bottom: 88px; }
.cta-box { background: var(--accent); color: var(--on-accent); border-radius: 20px; padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-box .btn { background: var(--on-accent); color: var(--accent); height: 56px; padding: 0 28px; border-radius: 12px; font-size: 17px; font-weight: 600; border: none; }
@media (max-width: 600px) { .cta-box { padding: 32px 24px; } .hero { padding-top: 56px; padding-bottom: 64px; } }

/* Inputs */
.input, .select {
  width: 100%; box-sizing: border-box; height: 50px; padding: 0 14px;
  border: 1px solid var(--field-line); border-radius: 10px; font-size: 16px;
  background: var(--surface); color: var(--ink); outline: none;
}
.select { padding: 0 12px; }
.input-lg { height: 52px; }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--ring); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); }
.combo { position: relative; }
.combo-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 260px; overflow: auto; padding: 4px; margin: 0; list-style: none; }
.combo-opt { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.combo-opt:hover, .combo-opt[aria-selected="true"] { background: var(--surface2); }
.combo-empty { padding: 10px 12px; color: var(--muted); font-size: 15px; }
.err { font-size: 14px; color: var(--err); }
.help { font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Form */
.form-section { max-width: 1160px; margin: 0 auto; padding: 32px 20px 72px; display: flex; flex-direction: column; gap: 22px; }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.progress li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.progress .bar { height: 5px; border-radius: 3px; background: var(--track); }
.progress .on .bar { background: var(--accent); }
.progress span { font-size: 13px; color: var(--muted2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress .current span { font-weight: 600; color: var(--ink); }
.form-layout { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.card { flex: 1 1 520px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 24px; }
.card-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.card-head > div { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 240px; }
.card-head h1 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.card-head p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
.help-toggle { flex: none; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink2); cursor: pointer; padding: 8px 0; }
.help-toggle input, .check input { accent-color: var(--accent); }
.help-toggle input { width: 18px; height: 18px; margin: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field-line); background: transparent; color: var(--ink2); font-size: 14px; white-space: nowrap; }
.tab[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.err-box { background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err-ink); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px 18px; }
.radio-block { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border: none; border-top: 1px solid var(--line2); margin: 0; min-width: 0; }
.radio-block legend { font-size: 16px; font-weight: 600; line-height: 1.4; padding: 0; float: left; width: 100%; }
.radio-block legend + * { clear: both; }
.radio-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-opt { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border: 1px solid var(--field-line); border-radius: 10px; cursor: pointer; font-size: 16px; background: var(--surface); }
.radio-opt:has(input:checked) { border-color: var(--accent); }
.radio-opt input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.uploads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.upload { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 14px; background: var(--surface3); }
.upload-title { display: flex; flex-direction: column; gap: 4px; }
.upload-title strong { font-size: 16px; font-weight: 600; }
.upload-preview { width: 100%; height: 170px; border-radius: 10px; border: 1px solid var(--line); background-color: var(--surface2); background-size: cover; background-position: center; }
.upload-empty { height: 170px; border-radius: 10px; border: 1px dashed var(--field-line); background: repeating-linear-gradient(135deg, var(--stripe1) 0 10px, var(--stripe2) 10px 20px); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--muted2); text-align: center; padding: 12px; box-sizing: border-box; }
.upload-btn { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); font-weight: 600; font-size: 15px; cursor: pointer; background: var(--surface); }
.upload-btn:hover { background: var(--accent-soft); }
.upload-btn:focus-within { box-shadow: 0 0 0 3px var(--ring); }
.upload-btn input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ok { font-size: 14px; color: var(--accent); overflow-wrap: anywhere; }
.req { border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.req ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ink2); }
.req figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.req figure img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }
.req figcaption { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 13px; text-align: center; font-weight: 600; }
.good { color: var(--accent); }
.bad { color: var(--err); }
.summary-box { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.summary-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--surface2); }
.summary-head h2 { margin: 0; font-size: 15px; font-weight: 600; }
.summary-head button { background: none; border: none; color: var(--accent); font-size: 14px; font-weight: 600; padding: 6px 0; }
.summary-box dl { margin: 0; }
.summary-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line2); font-size: 15px; }
.summary-row dt { color: var(--muted); }
.summary-row dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line2); font-size: 15px; }
.price-row .mono { font-size: 14px; text-align: right; }
.price-total { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--surface2); font-size: 17px; font-weight: 700; }
.terms { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 14px; line-height: 1.55; color: var(--ink2); display: flex; flex-direction: column; gap: 10px; }
.terms p { margin: 0; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.45; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.check-err { padding-left: 32px; }
.form-nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid var(--line2); padding-top: 22px; }
.pay { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.cards { display: flex; gap: 8px; align-items: center; }
.cards span { height: 32px; padding: 0 8px; border-radius: 6px; background: #ffffff; border: 1px solid var(--line); display: flex; align-items: center; }
.small { font-size: 13px; color: var(--muted); }
.aside { flex: 1 1 240px; max-width: 320px; position: sticky; top: 88px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
.aside dl { margin: 0; display: flex; flex-direction: column; font-size: 15px; }
.aside dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line2); }
.aside dt { color: var(--muted); }
.aside dd { margin: 0; text-align: right; }
@media (max-width: 800px) { .aside { position: static; max-width: none; } .pay { align-items: stretch; } }

/* Thanks / 404 */
.narrow { max-width: 640px; margin: 0 auto; padding: 80px 20px; display: flex; flex-direction: column; gap: 24px; box-sizing: border-box; }
.narrow h1 { margin: 0; font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
.narrow p { margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink2); }
.check-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.order-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.order-box .mono { font-size: 24px; font-weight: 500; letter-spacing: 0.04em; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.notfound { align-items: center; text-align: center; padding: 72px 20px 96px; gap: 20px; }
.notfound img { width: 100%; max-width: 360px; height: auto; display: block; }
.notfound h1 { font-size: 32px; line-height: 1.15; }
.notfound p { font-size: 17px; max-width: 460px; }

/* Legal */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 20px 80px; display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
.legal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.legal h1 { margin: 8px 0 6px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; line-height: 1.15; }
.legal h2 { margin: 18px 0 0; font-size: 21px; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink); }
.legal p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink2); text-wrap: pretty; }
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.legal code { font-family: var(--mono); font-size: 0.9em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; min-width: 560px; }
.table-wrap th { text-align: left; padding: 10px 12px; background: var(--surface2); color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.table-wrap td { padding: 10px 12px; border-top: 1px solid var(--line2); color: var(--ink2); vertical-align: top; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--footer); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.site-footer strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a, .footer-links button { color: var(--ink2); text-decoration: underline; background: none; border: none; padding: 0; font-size: 14px; }
.site-footer p { margin: 0; max-width: 820px; }
.site-footer p a { color: var(--ink); }

/* Cookie bar */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); box-sizing: border-box; }
.cookie-text { display: flex; flex-direction: column; gap: 6px; }
.cookie-text strong { font-size: 16px; }
.cookie-text p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink2); text-wrap: pretty; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line2); font-size: 15px; }
label.cookie-row { cursor: pointer; }
.cookie-row > span { display: flex; flex-direction: column; gap: 2px; }
.cookie-row strong { font-weight: 600; }
.cookie-row input { width: 22px; height: 22px; accent-color: var(--accent); }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cookie-actions .btn, .cookie .btn-save { height: 48px; font-size: 16px; }
.cookie-settings-link { align-self: center; background: none; border: none; padding: 6px; font-size: 15px; color: var(--ink2); text-decoration: underline; }

/* Modal */
.scrim { position: fixed; inset: 0; z-index: 70; background: var(--scrim); display: grid; place-items: center; padding: 20px; }
.modal { max-width: 520px; width: 100%; background: var(--surface); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.modal h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.modal-close { flex: none; width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--field-line); background: transparent; color: var(--ink); font-size: 18px; }
.modal p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink2); }

@media print {
  .site-header, .site-footer, .cookie, .no-print { display: none !important; }
  body { background: #fff; color: #000; }
  .legal { padding: 0; }
}
.visa-logo { width: 56px; height: auto; display: block; }
.mc-logo { height: 22px; width: auto; display: block; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* PHP-verzió kiegészítései */
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.js .no-js { display: none !important; }
.theme-icon-dark { display: none; }
body[data-theme="dark"] .theme-icon-dark { display: inline; }
body[data-theme="dark"] .theme-icon-light { display: none; }
.help-hidden .help { display: none; }
.checker-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.checker-form .select { flex: 1 1 220px; height: 52px; }
.combo-native { width: 100%; }
.js .combo-native.enhanced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.flash { border-radius: 10px; padding: 12px 16px; font-size: 15px; background: var(--warn-bg); color: var(--warn-ink); }
.upload-status:empty { display: none; }
.upload.busy .upload-btn { opacity: 0.6; pointer-events: none; }
.link-edit { color: var(--accent); font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 0; }
.lang-menu[hidden] { display: none; }
dialog.modal { border: none; padding: 28px; }
dialog.modal::backdrop { background: var(--scrim); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details .pm::before { content: "+"; }
details[open] > summary .pm::before { content: "−"; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.faq-item summary h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.faq-item summary .pm { flex: none; font-size: 22px; font-weight: 400; color: var(--muted); }
summary.row-toggle { box-sizing: border-box; }
summary:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.eligible-note { margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; font-size: 14px !important; line-height: 1.5; color: var(--muted); }
dialog.modal:not([open]) { display: none; }
.checker-form .combo { flex: 1 1 220px; min-width: 0; }
.textarea { height: auto; min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; font-family: inherit; }
.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); max-width: 88%; }
.msg-me { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
.msg-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.msg-body { font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
