@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --font-manrope: "Manrope";
  --font-space-grotesk: "Space Grotesk";
  --ink: #17231f;
  --muted: #5d6b65;
  --paper: #f5f3ec;
  --white: #fffefb;
  --teal: #087467;
  --teal-dark: #07594f;
  --lime: #d9f06e;
  --orange: #f39a56;
  --soft: #e9eee9;
  --line: rgba(23, 35, 31, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-manrope), Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; }

.independence-notice { display: flex; justify-content: center; gap: .55rem; padding: .7rem 1.5rem; background: var(--ink); color: #f7f5ee; font-size: .82rem; letter-spacing: .01em; text-align: center; }
.independence-notice strong { color: var(--lime); }

.site-header { width: min(1180px, calc(100% - 40px)); min-height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px 12px 12px 3px; background: var(--teal); color: white; font-family: var(--font-space-grotesk), sans-serif; font-size: 1.25rem; font-weight: 700; }
.brand > span:last-child { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--font-space-grotesk), sans-serif; font-size: 1.04rem; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .68rem; }
.site-header nav { display: flex; align-items: center; gap: 1.5rem; font-size: .86rem; font-weight: 700; }
.site-header nav > a:not(.nav-button):hover { color: var(--teal); }
.nav-button { padding: .78rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 5px 18px rgba(23,35,31,.05); }
.nav-button span { margin-left: .25rem; color: var(--teal); }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 660px; margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding: 4.5rem 0 5.5rem; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.2rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: var(--lime); }
h1, h2, h3 { font-family: var(--font-space-grotesk), sans-serif; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.8rem, 5.2vw, 5.25rem); line-height: .99; letter-spacing: -.055em; }
.hero-lead { max-width: 660px; margin: 1.7rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .9rem 1.25rem; border-radius: 14px; font-size: .9rem; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; box-shadow: 0 12px 30px rgba(8,116,103,.2); }
.button-primary:hover { background: var(--teal-dark); box-shadow: 0 16px 36px rgba(8,116,103,.26); }
.button-secondary { background: var(--white); border: 1px solid var(--line); }
.button-lime { background: var(--lime); color: var(--ink); box-shadow: 0 14px 32px rgba(0,0,0,.15); }
.safe-link { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; }
.safe-link strong { color: var(--ink); }

.hero-visual { min-height: 490px; position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 3% 0 2% 4%; border-radius: 48% 52% 44% 56% / 54% 43% 57% 46%; background: var(--lime); transform: rotate(-4deg); z-index: -2; }
.hero-visual::after { content: ""; position: absolute; width: 72%; height: 16%; bottom: 5%; border-radius: 50%; background: rgba(23,35,31,.18); filter: blur(30px); z-index: -1; }
.guide-card { width: min(390px, 79%); padding: 1.5rem; border: 9px solid var(--ink); border-radius: 28px; background: var(--white); box-shadow: 0 28px 55px rgba(23,35,31,.18); transform: rotate(1.5deg); }
.guide-card-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 800; }
.guide-card-head i { padding: .35rem .55rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-style: normal; font-size: .62rem; }
.guide-card ol { display: grid; gap: .6rem; margin: 1rem 0 1.2rem; padding: 0; list-style: none; }
.guide-card li { display: flex; align-items: center; gap: .75rem; padding: .7rem .75rem; border-radius: 11px; background: #f1f3ef; font-size: .76rem; font-weight: 800; }
.guide-card li span:last-child { display: grid; }
.guide-card li small { margin-bottom: .14rem; color: var(--muted); font-size: .56rem; font-weight: 600; }
.check, .step-dot { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: white; font-size: .7rem; font-weight: 900; }
.step-dot { background: var(--orange); color: var(--ink); }
.step-dot.muted { background: #dce2de; color: var(--muted); }
.guide-card > a { display: flex; justify-content: space-between; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--teal); font-size: .72rem; font-weight: 800; }
.validity-badge { position: absolute; right: 0; bottom: 14%; display: grid; padding: .9rem 1.1rem; border-radius: 15px; background: var(--ink); color: white; box-shadow: 0 16px 36px rgba(23,35,31,.2); transform: rotate(5deg); }
.validity-badge strong { color: var(--lime); font-size: 1.05rem; }
.validity-badge span { margin-top: .2rem; font-size: .61rem; }
.decor-dot { position: absolute; border-radius: 50%; }
.decor-dot-one { width: 44px; height: 44px; top: 7%; right: 2%; background: var(--orange); }
.decor-dot-two { width: 18px; height: 18px; bottom: 15%; left: 4%; background: var(--teal); }

.quick-answer { width: min(1180px, calc(100% - 40px)); margin: -1.4rem auto 0; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 24px rgba(23,35,31,.05); }
.quick-answer p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.quick-answer p span { margin-right: .65rem; padding: .28rem .52rem; border-radius: 999px; background: var(--soft); color: var(--teal-dark); font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }

.decision { width: min(1180px, calc(100% - 40px)); margin: 2rem auto 0; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; border-radius: 32px; background: var(--ink); color: white; overflow: hidden; position: relative; }
.decision::after { content: ""; position: absolute; width: 320px; height: 320px; right: -150px; top: -180px; border-radius: 50%; border: 70px solid rgba(217,240,110,.1); }
.decision-copy { position: relative; z-index: 1; }
.decision h2 { max-width: 720px; margin: 0; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.02; letter-spacing: -.045em; }
.decision-copy > p:not(.eyebrow) { max-width: 700px; margin: 1.25rem 0 0; color: #c9d0cc; line-height: 1.75; }
.decision-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.7rem; }
.text-link { color: white; font-size: .82rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.35); }
.price-card { position: relative; z-index: 1; padding: 1.6rem; border-radius: 22px; background: var(--white); color: var(--ink); transform: rotate(1.5deg); box-shadow: 0 25px 50px rgba(0,0,0,.22); }
.price-card > p { margin: 0 0 .5rem; color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.price-card > strong { display: block; font-family: var(--font-space-grotesk), sans-serif; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.04em; }
.price-card > strong small { font: 700 .62rem var(--font-manrope); letter-spacing: 0; }
.price-card ul { display: grid; gap: .75rem; margin: 1.3rem 0; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.price-card li { display: flex; align-items: center; gap: .55rem; font-size: .76rem; font-weight: 700; }
.price-card li .check { width: 21px; height: 21px; font-size: .58rem; }
.price-card > span { display: block; color: var(--muted); font-size: .6rem; line-height: 1.5; }

.steps-section, .comparison-section, .faq-section, .sources { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.steps-section { padding: 8rem 0 7rem; }
.section-heading { max-width: 790px; margin: 0 auto 3.5rem; text-align: center; }
.section-heading.compact { margin-bottom: 3rem; }
.section-heading h2 { margin: 0; font-size: clamp(2.2rem, 4.7vw, 4.25rem); line-height: 1.02; letter-spacing: -.05em; }
.section-heading > p:last-child { max-width: 650px; margin: 1.25rem auto 0; color: var(--muted); line-height: 1.75; }
.steps-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: start; }
.before-card { position: sticky; top: 1.5rem; padding: 1.6rem; border-radius: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(23,35,31,.06); }
.mini-label { margin: 0; color: var(--teal); font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.before-card h3 { margin: .55rem 0 1rem; font-size: 1.4rem; letter-spacing: -.03em; }
.before-card ul { display: grid; gap: .8rem; margin: 0; padding: 0 0 1.2rem; list-style: none; }
.before-card li { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .78rem; font-weight: 700; }
.before-card .check { width: 22px; height: 22px; font-size: .55rem; }
.before-card > a { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--teal); font-size: .76rem; font-weight: 900; }
.steps-list { margin: 0; padding: 0; list-style: none; }
.steps-list > li { display: grid; grid-template-columns: 70px 1fr; gap: 1.4rem; padding: 0 0 2.3rem; position: relative; }
.steps-list > li:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 54px; bottom: 6px; width: 1px; background: var(--line); }
.step-number { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--white); color: var(--teal); font-size: .75rem; font-weight: 900; box-shadow: 0 7px 18px rgba(23,35,31,.04); }
.steps-list h3 { margin: .15rem 0 .55rem; font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.025em; }
.steps-list p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.78; }
.inline-official { display: inline-flex; gap: .4rem; margin-top: .8rem; color: var(--teal); font-size: .75rem; font-weight: 900; }
.result-box { margin: 3rem 0 0 355px; padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem; border: 1px solid rgba(8,116,103,.25); border-radius: 20px; background: rgba(217,240,110,.22); }
.result-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--teal); color: white; font-weight: 900; }
.result-box h3 { margin: .35rem 0 .4rem; font-size: 1.22rem; }
.result-box div:last-child > p:last-child { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }

.comparison-section { padding: 1rem 0 7rem; }
.comparison-table { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--white); box-shadow: 0 15px 40px rgba(23,35,31,.06); }
.comparison-row { display: grid; grid-template-columns: 1fr 1fr 1.25fr; align-items: center; min-height: 70px; padding: .8rem 1.3rem; border-bottom: 1px solid var(--line); font-size: .83rem; }
.comparison-row:last-child { border-bottom: 0; }
.comparison-row > *:not(:first-child) { padding-left: 1.2rem; }
.comparison-row strong { color: var(--teal-dark); }
.comparison-head { min-height: 56px; background: var(--ink); color: white; font-size: .69rem; text-transform: uppercase; letter-spacing: .08em; }
.comparison-head strong { color: var(--lime); }
.comparison-cta { margin-top: 1rem; padding: 1.2rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-radius: 16px; background: var(--soft); }
.comparison-cta p { margin: 0; color: var(--muted); font-size: .82rem; }
.comparison-cta p strong { color: var(--ink); }
.comparison-cta .button { min-height: 45px; white-space: nowrap; }

.faq-section { padding: 7rem 0; border-top: 1px solid var(--line); }
.faq-list { max-width: 880px; margin: 0 auto; display: grid; gap: .7rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.faq-list summary { padding: 1.2rem 1.3rem; display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; font-family: var(--font-space-grotesk), sans-serif; font-size: .95rem; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--teal); font-size: 1.25rem; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: .84rem; line-height: 1.75; }

.sources { margin-bottom: 5rem; padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-radius: 22px; background: var(--white); border: 1px solid var(--line); }
.sources h2 { max-width: 430px; margin: .45rem 0 0; font-size: 1.45rem; letter-spacing: -.03em; }
.source-links { display: grid; gap: .7rem; }
.source-links a { min-width: 330px; display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border-radius: 12px; background: var(--soft); color: var(--teal-dark); font-size: .75rem; font-weight: 900; }

footer { background: var(--ink); color: white; padding: 4rem max(20px, calc((100% - 1180px)/2)); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
.footer-brand small { color: #aeb9b4; }
.footer-grid > div:first-child > p { max-width: 430px; color: #aeb9b4; font-size: .78rem; line-height: 1.7; }
.footer-grid > div:last-child { display: grid; justify-content: end; align-content: start; gap: .55rem; color: #aeb9b4; font-size: .78rem; text-align: right; }
.footer-grid > div:last-child strong, .footer-grid > div:last-child a { color: white; }
.footer-note { padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; border-top: 1px solid rgba(255,255,255,.13); color: #9daaa4; font-size: .64rem; line-height: 1.65; }
.footer-note p { max-width: 800px; margin: 0; }
.footer-note a { color: var(--lime); }
.footer-note > span { white-space: nowrap; }

@media (max-width: 900px) {
  .site-header nav > a:not(.nav-button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-visual { min-height: 470px; }
  .decision { grid-template-columns: 1fr; }
  .price-card { max-width: 540px; transform: none; }
  .steps-layout { grid-template-columns: 1fr; }
  .before-card { position: static; }
  .result-box { margin-left: 0; }
  .sources { align-items: flex-start; flex-direction: column; }
  .source-links { width: 100%; }
  .source-links a { min-width: 0; }
}

@media (max-width: 620px) {
  .independence-notice { display: block; padding: .65rem 1rem; font-size: .7rem; line-height: 1.45; }
  .independence-notice strong { display: block; }
  .site-header, .hero, .quick-answer, .decision, .steps-section, .comparison-section, .faq-section, .sources { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 74px; }
  .brand small { display: none; }
  .nav-button { padding: .65rem .8rem; font-size: .7rem; }
  .hero { min-height: auto; padding: 3rem 0 4rem; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.65rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .safe-link { line-height: 1.5; }
  .hero-visual { min-height: 420px; }
  .guide-card { width: 86%; }
  .validity-badge { right: -1%; bottom: 8%; }
  .quick-answer { margin-top: 0; }
  .quick-answer p span { display: inline-block; margin-bottom: .35rem; }
  .decision { padding: 2rem 1.3rem; border-radius: 24px; }
  .decision-actions { display: grid; }
  .text-link { justify-self: center; }
  .steps-section { padding: 6rem 0 5rem; }
  .section-heading { text-align: left; }
  .steps-list > li { grid-template-columns: 48px 1fr; gap: 1rem; }
  .step-number { width: 42px; height: 42px; border-radius: 12px; }
  .steps-list > li:not(:last-child)::before { left: 20px; top: 45px; }
  .comparison-row { grid-template-columns: 1fr; gap: .3rem; padding: 1rem; }
  .comparison-row > *:not(:first-child) { padding-left: 0; }
  .comparison-row > span:first-child { color: var(--muted); font-size: .67rem; }
  .comparison-head { display: none; }
  .comparison-row strong:last-child, .comparison-row span:last-child { padding-top: .35rem; border-top: 1px dashed var(--line); }
  .comparison-row strong:last-child::before, .comparison-row span:last-child::before { content: "E-pénztárgép: "; color: var(--muted); font-size: .66rem; font-weight: 600; }
  .comparison-row > :nth-child(2)::before { content: "Online pénztárgép: "; color: var(--muted); font-size: .66rem; font-weight: 600; }
  .comparison-cta { display: grid; }
  .sources { padding: 1.35rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { justify-content: start; text-align: left; }
  .footer-note { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .faq-list summary span { transition: none; }
}
