/* ==========================================================================
   sportfogadasinfo.hu — design system
   Világos, szerkesztőségi arculat. Egy akcentus (pálya-zöld), meleg papír
   alap, hajszálvékony vonalak. Sehol gradiens, sehol pirula alakú elem.
   ========================================================================== */

:root {
    /* felületek */
    --paper: #FAFAF7;
    --paper-card: #FFFFFF;
    --paper-alt: #F2F2EC;
    --paper-deep: #EAEAE2;

    /* vonalak */
    --line: #E4E4DB;
    --line-strong: #CFCFC3;

    /* szöveg */
    --ink: #16181A;
    --ink-2: #40464A;
    --muted: #757C80;

    /* akcentus */
    --accent: #0E7A50;
    --accent-dark: #0A5C3C;
    --accent-soft: #E7F2EC;
    --star: #B8860B;
    --flag: #B4462F;

    /* másodlagos akcentus: meleg agyag. A zöld a cselekvésé (gombok,
       pipák), az agyag a szerkesztőségi jeleké (rangsor, címkék, kiemelés).
       Sosem keverednek egy elemen belül. */
    --clay: #BC5227;
    --clay-dark: #97401D;
    --clay-soft: #FAEDE6;

    /* sötét panel: a világos oldal ritmusát adó ellenpont */
    --ink-panel: #15181B;
    --on-ink: #F4F3EF;
    --on-ink-2: #A8ADB0;
    --line-ink: rgba(244, 243, 239, .14);

    /* forma */
    --r-xs: 3px;
    --r-sm: 5px;
    --r: 8px;
    --r-lg: 12px;

    --shadow-1: 0 1px 2px rgba(20, 24, 22, .05);
    --shadow-2: 0 2px 4px rgba(20, 24, 22, .05), 0 10px 24px rgba(20, 24, 22, .06);
    --shadow-3: 0 4px 8px rgba(20, 24, 22, .06), 0 20px 44px rgba(20, 24, 22, .09);

    --ease: cubic-bezier(.22, .72, .28, 1);
    --nav-h: 72px;
    --maxw: 1200px;

    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.62;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.16;
    margin: 0 0 .55em;
    color: var(--ink);
}

p { margin: 0 0 1em; color: var(--ink-2); }

a { color: var(--accent); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.15rem; }
li { margin-bottom: .4em; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 600; }

::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

/* ------------------------------------------------ layout ---------------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding-block: clamp(56px, 7vw, 92px); }
.hero + .section { padding-top: clamp(44px, 5vw, 68px); }

.section--alt {
    background:
        radial-gradient(circle at 1px 1px, rgba(22, 24, 26, .055) 1px, transparent 0) 0 0 / 22px 22px,
        var(--paper-alt);
    border-block: 1px solid var(--line);
}

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ------------------------------------------------ ikonok ---------------- */
.ic {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -.125em;
    overflow: visible;
}

/* ------------------------------------------------ tipográfia ------------ */

/* Kicker: nagybetűs címke rövid vonallal — a visszatérő motívum. */
.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .17em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--accent);
    flex: 0 0 26px;
}

.eyebrow .ic { width: 14px; height: 14px; }

.section-head { max-width: 660px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: .35em; }
.section-sub { color: var(--muted); font-size: 1.03rem; margin: 0; }


/* ------------------------------------------------ gombok ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--font-body);
    font-size: .94rem;
    font-weight: 600;
    letter-spacing: -.005em;
    padding: .72rem 1.3rem;
    border: 1px solid var(--accent);
    border-radius: var(--r-sm);
    cursor: pointer;
    text-align: center;
    background: var(--accent);
    color: #fff;
    transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover { background: var(--paper-alt); border-color: var(--ink); color: var(--ink); }

.btn--block { width: 100%; }
.btn--lg { padding: .92rem 1.7rem; font-size: 1rem; }
.btn--sm { padding: .52rem 1rem; font-size: .86rem; }

.btn .ic { width: 16px; height: 16px; }
.btn--lg .ic { width: 17px; height: 17px; }
.btn--sm .ic { width: 14px; height: 14px; }

/* ------------------------------------------------ navigáció ------------- */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 900;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(250, 250, 247, .88);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), height .25s var(--ease), background .25s var(--ease);
}

.nav.is-stuck { height: 62px; border-bottom-color: var(--line); background: rgba(250, 250, 247, .96); }

.nav > .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

/* márkajel: tömör négyzet, benne emelkedő oszlopok */
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); }
.brand:hover { color: var(--ink); }

.brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    background: var(--ink);
    color: var(--paper);
}

.brand-mark svg { width: 18px; height: 18px; }

.brand-text { display: flex; align-items: baseline; gap: .15rem; }

.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: -.028em;
    color: var(--ink);
}

.brand-tld { font-family: var(--font-mono); font-size: .78rem; font-weight: 500; color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }

.nav-links a {
    display: block;
    padding: .5rem .8rem;
    border-radius: var(--r-xs);
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-2);
    transition: color .18s var(--ease), background .18s var(--ease);
}

.nav-links a:hover { color: var(--ink); background: var(--paper-alt); }
.nav-links a.is-active { color: var(--accent); }

.nav-cta { margin-left: 10px; }

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-xs);
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.nav-toggle span { position: relative; display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .26s var(--ease), background .15s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: currentColor; transition: transform .26s var(--ease); }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 991px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        display: none;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 14px 24px 20px;
        box-shadow: var(--shadow-2);
    }

    .nav.is-open .nav-menu { display: block; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-links a { padding: .8rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav-links li:last-child a { border-bottom: 0; }
    .nav-cta { margin: 14px 0 0; display: block; }
    .nav-cta .btn { width: 100%; }
}

/* ------------------------------------------------ hero ------------------ */
.hero {
    padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
    padding-bottom: clamp(40px, 5vw, 60px);
    border-bottom: 1px solid var(--line);
}

.hero-inner { max-width: 780px; }

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    letter-spacing: -.042em;
    margin-bottom: .42em;
}

/* a kiemelt szó agyagszínű, alatta vastag jelölőcsík */
.accent {
    position: relative;
    color: var(--clay);
    white-space: nowrap;
}

.accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: .1em;
    height: .1em;
    background: var(--clay);
    opacity: .28;
}

.hero-lead { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-2); max-width: 610px; margin: 0 0 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 1.6rem;
    font-size: .88rem;
    color: var(--muted);
}

.trust-row .ic { color: var(--accent); margin-right: .4rem; width: 15px; height: 15px; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: clamp(36px, 4.5vw, 56px);
    border-radius: var(--r);
    background: var(--ink-panel);
    overflow: hidden;
}

.hero-stat { padding: 1.45rem 1.3rem; border-right: 1px solid var(--line-ink); }
.hero-stat:last-child { border-right: 0; }

.hero-stat b {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: -.035em;
    color: var(--on-ink);
    font-variant-numeric: tabular-nums;
}

.hero-stat span { font-size: .81rem; color: var(--on-ink-2); }

/* ------------------------------------------------ iroda kártyák --------- */
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

.book {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.book:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.book--featured { border-color: var(--clay); }
.book--featured::before { content: ''; display: block; height: 3px; background: var(--clay); }

.book-rank {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .7rem .35rem .55rem;
    background: var(--ink-panel);
    border-radius: 0 0 var(--r-xs) 0;
    font-family: var(--font-mono);
    font-size: .63rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--on-ink-2);
}

.book-rank b {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--on-ink);
}

.book--featured .book-rank { background: var(--clay); color: rgba(255, 255, 255, .82); top: 3px; }
.book--featured .book-rank b { color: #fff; }

.book-top { padding: 2.6rem 1.2rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.book-logo { height: 54px; display: grid; place-items: center; margin-bottom: .85rem; }
.book-logo img { max-height: 48px; width: auto; object-fit: contain; }
.book-name { font-size: 1.1rem; margin-bottom: .3rem; }

.book-rating { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .84rem; color: var(--muted); }
.book-score { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }

.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--star); }
.stars .ic { width: 13px; height: 13px; }

.book-bonus { padding: 1rem 1.2rem; text-align: center; background: var(--accent-soft); border-bottom: 1px solid var(--line); }

.book-bonus-label {
    display: block;
    font-family: var(--font-mono);
    font-size: .66rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: .3rem;
}

.book-bonus-value { font-family: var(--font-display); font-weight: 700; font-size: .99rem; line-height: 1.35; color: var(--ink); }

.book-body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.2rem 1.3rem; }
.book-specs { list-style: none; margin: 0 0 1rem; padding: 0; flex: 1; }

.book-specs li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: 0;
    padding: .5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: .89rem;
    color: var(--ink-2);
}

.book-specs li:last-child { border-bottom: 0; }
.book-specs .ic { color: var(--accent); width: 15px; height: 15px; margin-top: .28rem; }
.book-specs b { color: var(--ink); }

.pay-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 1rem; }

.pay-chip {
    font-family: var(--font-mono);
    font-size: .68rem;
    letter-spacing: .02em;
    color: var(--muted);
    background: var(--paper-alt);
    border: 1px solid var(--line);
    border-radius: var(--r-xs);
    padding: .2rem .48rem;
}

.book-actions { display: flex; flex-direction: column; gap: .5rem; }
.book-actions .btn { font-size: .88rem; padding-inline: .9rem; }
.book-note { margin: .8rem 0 0; font-size: .7rem; line-height: 1.5; color: var(--muted); text-align: center; }

/* ------------------------------------------------ táblázat -------------- */
.table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow-x: auto;
    background: var(--paper-card);
    -webkit-overflow-scrolling: touch;
}

table.compare { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .92rem; }
table.compare th, table.compare td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }

table.compare thead th {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--paper-alt);
    white-space: nowrap;
}

table.compare tbody tr:hover { background: var(--paper); }
table.compare tbody tr:last-child td { border-bottom: 0; }
table.compare td b { color: var(--ink); }

.t-book { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.t-book img { width: 30px; height: 30px; object-fit: contain; }

/* ------------------------------------------------ kártyák --------------- */
.card {
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 1.6rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.card-icon .ic { width: 19px; height: 19px; }

/* cikk kártyák */
.post {
    display: flex;
    flex-direction: column;
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.post:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }

.post-banner {
    height: 116px;
    display: grid;
    place-items: center;
    background: var(--paper-alt);
    border-bottom: 1px solid var(--line);
}

.post-banner .ic { width: 32px; height: 32px; stroke-width: 1.3; color: var(--muted); }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }

.post-tag {
    font-family: var(--font-mono);
    font-size: .67rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: .55rem;
}

.post h3 { font-size: 1.18rem; }
.post-body p { flex: 1; font-size: .94rem; }
.post-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; font-weight: 600; font-size: .92rem; align-self: flex-start; }
.post-link .ic { transition: transform .2s var(--ease); }
.post:hover .post-link .ic { transform: translateX(3px); }

/* ------------------------------------------------ lépések --------------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { display: flex; gap: 1rem; padding: 1.3rem 1.4rem; background: var(--paper-card); }

.step-num {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: .84rem;
    font-weight: 600;
    background: var(--ink);
    color: var(--paper);
}

.step h4 { font-size: 1rem; margin-bottom: .25rem; }
.step p { margin: 0; font-size: .93rem; }

/* ------------------------------------------------ GYIK ------------------ */
.faq { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-card); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '';
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-right: 2px;
    border-right: 1.6px solid var(--accent);
    border-bottom: 1.6px solid var(--accent);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s var(--ease);
}

.faq-item[open] summary { color: var(--accent-dark); }
.faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-answer { padding: 0 1.4rem 1.25rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ------------------------------------------------ CTA sáv --------------- */
.cta-band {
    position: relative;
    padding: clamp(36px, 5vw, 58px) clamp(24px, 4vw, 52px);
    border-radius: var(--r);
    background: var(--ink-panel);
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--clay);
}

.cta-band .eyebrow { color: var(--clay); }
.cta-band .eyebrow::before { background: var(--clay); }
.cta-band h2 { font-size: clamp(1.55rem, 2.9vw, 2.15rem); color: var(--on-ink); }
.cta-band p { max-width: 560px; color: var(--on-ink-2); }

/* ------------------------------------------------ lábléc ---------------- */
.footer { background: var(--ink-panel); padding-top: clamp(48px, 5vw, 68px); }
.footer .brand-name { color: var(--on-ink); }
.footer .brand-mark { background: var(--clay); color: #fff; }
.footer .brand-tld { color: var(--clay); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 36px; }

.footer h5 {
    font-family: var(--font-mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--clay);
    margin-bottom: 1rem;
}

.footer p { font-size: .9rem; color: var(--on-ink-2); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .5rem; }
.footer-list a { color: var(--on-ink-2); font-size: .92rem; }
.footer-list a:hover { color: #fff; }
.footer-list .ic { width: 15px; height: 15px; margin-right: .4rem; }

.responsible { display: flex; gap: .9rem; align-items: flex-start; }

.age-badge {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: var(--r-xs);
    border: 1.5px solid #D96B4A;
    color: #D96B4A;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: .82rem;
}

.footer-bottom {
    border-top: 1px solid var(--line-ink);
    padding-block: 18px 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    color: var(--muted);
}

.footer-bottom { color: var(--on-ink-2); }
.footer-bottom a { color: var(--on-ink-2); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.disclaimer {
    padding: 1rem 1.2rem;
    border-radius: var(--r-sm);
    border-left: 3px solid var(--flag);
    background: rgba(244, 243, 239, .05);
    font-size: .81rem;
    line-height: 1.6;
    color: var(--on-ink-2);
}

.disclaimer strong { color: var(--on-ink); }

.disclaimer .ic { color: var(--flag); margin-right: .4rem; }

/* ------------------------------------------------ modál ----------------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(22, 24, 26, .45);
}

.modal.is-open { display: flex; animation: fade .2s var(--ease); }

.modal-box {
    width: min(720px, 100%);
    max-height: min(84vh, 900px);
    display: flex;
    flex-direction: column;
    background: var(--paper-card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r);
    box-shadow: var(--shadow-3);
    overflow: hidden;
    animation: rise .22s var(--ease);
}

.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 1.04rem; }
.modal-head h3 .ic { color: var(--accent); }

.modal-close {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border-radius: var(--r-xs);
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    cursor: pointer;
    transition: background .18s var(--ease), color .18s var(--ease);
}

.modal-close:hover { background: var(--paper-alt); color: var(--ink); }
.modal-body { padding: 1.4rem; overflow-y: auto; overscroll-behavior: contain; }
.modal-body h4 { font-size: .95rem; color: var(--ink); margin: 1.5rem 0 .45rem; }
.modal-body h4:first-child { margin-top: 0; }
.modal-body p, .modal-body li { font-size: .91rem; }
.modal-foot { padding: .9rem 1.4rem; border-top: 1px solid var(--line); background: var(--paper-alt); text-align: right; }

.note-box { margin-top: 1.3rem; padding: .9rem 1.1rem; border-radius: var(--r-sm); border-left: 3px solid var(--accent); background: var(--accent-soft); }
.note-box p { margin: 0; font-size: .87rem; }
.note-box .ic { margin-right: .4rem; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

body.no-scroll { overflow: hidden; }

/* ------------------------------------------------ vissza a tetejére ----- */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 880;
    width: 40px;
    height: 40px;
    border-radius: var(--r-xs);
    display: grid;
    place-items: center;
    background: var(--paper-card);
    border: 1px solid var(--line-strong);
    color: var(--ink-2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    box-shadow: var(--shadow-1);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, color .18s, border-color .18s;
}

.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent); }
.to-top .ic { width: 16px; height: 16px; }

/* ------------------------------------------------ cikkoldalak ----------- */
.page-hero, .review-hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-alt);
}

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .83rem; color: var(--muted); margin-bottom: 1.1rem; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs .ic { width: 12px; height: 12px; opacity: .55; }

.page-hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.page-hero .lead { font-size: 1.06rem; max-width: 660px; color: var(--ink-2); }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .84rem; color: var(--muted); margin-top: 1.1rem; }
.meta-row .ic { color: var(--accent); margin-right: .35rem; width: 15px; height: 15px; }

.review-logo {
    width: 84px;
    height: 84px;
    margin-bottom: 1.2rem;
    display: grid;
    place-items: center;
    padding: .9rem;
    border-radius: var(--r);
    background: var(--paper-card);
    border: 1px solid var(--line);
}

.review-logo img { max-height: 52px; width: auto; object-fit: contain; }

.rating-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .4rem .8rem;
    border-radius: var(--r-xs);
    background: var(--paper-card);
    border: 1px solid var(--line);
    font-size: .88rem;
    color: var(--ink);
    margin-top: .3rem;
}

.rating-pill .stars .ic { width: 15px; height: 15px; }

.kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-card); overflow: hidden; }
.kpi { padding: 1.1rem .9rem; border-right: 1px solid var(--line); }
.kpi:last-child { border-right: 0; }
.kpi .ic { color: var(--accent); width: 18px; height: 18px; }
.kpi h4 { font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: .5rem 0 .2rem; }
.kpi b { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }

/* szövegtörzs */
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin-top: 2.3em; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .ic { color: var(--accent); width: 21px; height: 21px; margin-right: .5rem; }
.prose h3 { font-size: 1.16rem; margin-top: 1.8em; }
.prose p, .prose li { font-size: 1.01rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li::marker { color: var(--accent); }

.callout { margin: 1.8rem 0; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-sm); background: var(--accent-soft); }
.callout h4 { margin-bottom: .35rem; font-size: .99rem; color: var(--accent-dark); }
.callout h4 .ic { width: 17px; height: 17px; margin-right: .4rem; }
.callout p:last-child { margin-bottom: 0; }

.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.8rem 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper-card); }
.stat-tile { padding: 1.2rem; text-align: center; border-right: 1px solid var(--line); }
.stat-tile:last-child { border-right: 0; }
.stat-tile b { display: block; font-family: var(--font-mono); font-size: 1.25rem; font-weight: 600; color: var(--accent-dark); }
.stat-tile span { font-size: .81rem; color: var(--muted); }

.feature-box { margin: 1.7rem 0; padding: 1.6rem; border: 1px solid var(--line); border-left: 3px solid var(--accent-line, var(--accent)); border-radius: var(--r-sm); background: var(--paper-card); }
.feature-box h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.14rem; margin-bottom: .8rem; }
.feature-box h3 .ic { color: var(--accent-line, var(--accent)); width: 19px; height: 19px; }
.feature-box > p:last-child, .feature-box > ul:last-child { margin-bottom: 0; }
.feature-box--blue { --accent-line: #2E6E8E; }
.feature-box--violet { --accent-line: #6B5B95; }
.feature-box--amber { --accent-line: #B8860B; }

.pros-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 20px; }
.pros-list li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .95rem; }
.pros-list .ic { color: var(--accent); width: 16px; height: 16px; margin-top: .26rem; }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1.2rem; }
.support-card { padding: 1.3rem; border-radius: var(--r-sm); background: var(--paper-alt); border: 1px solid var(--line); text-align: center; }
.support-card > .ic { width: 22px; height: 22px; color: var(--accent); margin: 0 auto .6rem; display: block; }
.support-card h4 { font-size: .98rem; margin-bottom: .3rem; }
.support-card p { font-size: .87rem; margin-bottom: .25rem; }
.support-card .highlight { color: var(--accent-dark); font-weight: 600; word-break: break-all; }
.support-card .recommended { color: var(--star); font-size: .81rem; font-weight: 600; margin: .35rem 0 0; }
.support-card .recommended .ic { width: 13px; height: 13px; margin-right: .25rem; }

.back-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.back-link:hover { color: var(--accent); }
.back-link .ic { width: 15px; height: 15px; }

/* ------------------------------------------------ megjelenés ------------ */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------ reszponzív ------------ */
@media (max-width: 1100px) {
    .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .kpi:nth-child(3n) { border-right: 0; }
    .kpi:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
    :root { --nav-h: 62px; }

    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stat:nth-child(2n) { border-right: 0; }
    .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .stat-tiles { grid-template-columns: 1fr; }
    .stat-tile { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat-tile:last-child { border-bottom: 0; }

    .section { padding-block: clamp(44px, 8vw, 68px); }
    .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 44px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.9rem); }
    .page-hero, .review-hero { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 32px; }
    .prose p, .prose li { font-size: .98rem; }
    table.compare { min-width: 620px; font-size: .87rem; }
    table.compare th, table.compare td { padding: .8rem .85rem; }
}

@media (max-width: 620px) {
    .container { padding-inline: 18px; }
    .grid-2, .grid-3, .grid-4, .book-grid { grid-template-columns: 1fr; }

    /* ---- kompakt mobil: ne legyen keskeny és végtelen magas ---- */

    /* iroda-kártya feje vízszintes sávvá alakul:
       balra a logó, jobbra egymás alatt a név és az értékelés */
    .book-top {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        column-gap: .85rem;
        align-items: center;
        text-align: left;
        padding: 1.7rem 1rem .9rem;
    }

    .book-logo { grid-row: 1 / span 2; height: 40px; width: 72px; margin: 0; }
    .book-logo img { max-height: 36px; }
    .book-name { align-self: end; font-size: 1rem; margin: 0; }
    .book-rating { align-self: start; justify-content: flex-start; white-space: nowrap; }
    .stars .ic { width: 12px; height: 12px; }

    .book-bonus { padding: .8rem 1rem; text-align: left; }
    .book-bonus-value { font-size: .94rem; }
    .book-bonus-value br { display: none; }
    .book-body { padding: .9rem 1rem 1.05rem; }
    .book-specs { margin-bottom: .8rem; }
    .book-specs li { padding: .42rem 0; font-size: .87rem; }
    .book-note { font-size: .66rem; margin-top: .6rem; }

    /* tudástár- és cikk-kártyák tömörebben */
    .card { padding: 1.15rem; }
    .card-icon { width: 32px; height: 32px; margin-bottom: .7rem; }
    .card-icon .ic { width: 17px; height: 17px; }
    .card h3 { font-size: 1.04rem; }
    .card p { font-size: .92rem; }

    .post-banner { height: 74px; }
    .post-banner .ic { width: 26px; height: 26px; }
    .post-body { padding: 1.15rem; }

    .step { padding: 1rem 1.1rem; gap: .8rem; }
    .step-num { flex: 0 0 26px; width: 26px; height: 26px; font-size: .78rem; }

    .section { padding-block: 40px; }
    .hero { padding-bottom: 32px; }
    .hero-lead { margin-bottom: 1.4rem; }
    .hero-stat { padding: 1rem .9rem; }
    .section-head { margin-bottom: 22px; }
    .grid { gap: 14px; }
    .book-grid { gap: 14px; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .pros-list, .support-grid { grid-template-columns: 1fr; }
    .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .kpi:nth-child(2n) { border-right: 0; }
    .kpi:nth-last-child(-n+2) { border-bottom: 0; }

    .hero-actions .btn { width: 100%; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .card, .step, .feature-box, .cta-band { padding: 1.25rem; }
    .btn { min-height: 44px; }
    .nav-links a { min-height: 44px; display: flex; align-items: center; }
    .faq-item summary { padding: 1rem 1.15rem; min-height: 52px; }
    .faq-answer { padding: 0 1.15rem 1.1rem; }

    .modal { padding: 0; align-items: flex-end; }
    .modal-box { width: 100%; max-height: 92vh; border-radius: var(--r) var(--r) 0 0; border-bottom: 0; }
    .modal-foot .btn { width: 100%; }
    .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
