/* Kincstérkép — sales page styles. Same layout system as GyorsKeto, navy/gold/parchment
   palette. The variable names keep the "green" prefix so the shared rules stay identical. */
:root {
  --green: #1d2f52;
  --green-deep: #121f3a;
  --green-soft: #e6eaf3;
  --cream: #f6efe0;
  --paper: #fffbf2;
  --ink: #1b2130;
  --muted: #5d6474;
  --line: #e3d9c2;
  --gold: #e2b23c;
  --cta: #d64545;
  --cta-deep: #b23434;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 31, 58, 0.14);
  --font-display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* grid/flex children may not grow past the viewport because of a wide image inside */
.wrap > *, .split > *, .bonus > *, .guarantee > *, .card > *, .theme > *, .sample > * { min-width: 0; }
.split > img, .bonus > img { width: 100%; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; font-weight: 800; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, 62rem); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 44rem); margin-inline: auto; }
section { padding: 3.5rem 0; }
.eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--green); margin-bottom: .75rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 224, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.brand { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--green-deep); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--cta); }
.top nav { display: none; gap: 1.5rem; font-weight: 700; font-size: .95rem; }
.top nav a { color: var(--ink); text-decoration: none; }
.top .btn { padding: .55rem 1rem; font-size: .95rem; }
@media (min-width: 840px) { .top nav { display: flex; } }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--cta); color: #fff; border: 0; border-radius: 999px;
  padding: 1rem 1.75rem; font: inherit; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(214, 69, 69, .3);
  transition: transform .08s ease, background .15s ease;
}
.btn:hover { background: var(--cta-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: wait; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--green-deep); box-shadow: none; border: 2px solid var(--green); }
.btn.ghost:hover { background: var(--green-soft); }
.tiny { font-size: .85rem; color: var(--muted); margin-top: .75rem; }

/* hero */
.hero { background: var(--green); color: #fff; padding: 2.5rem 0 3rem; overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #e6eaf3; max-width: 34rem; }
.hero .eyebrow { color: var(--gold); }
.hero .checks { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.hero .checks li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 700; }
.hero .checks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.hero .art { order: -1; }
.hero .art img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.hero .tiny { color: #c9d1e3; }
@media (min-width: 840px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
  .hero .art { order: 0; }
}

/* number grid */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .4rem; font-weight: 700; font-size: .95rem; }

.chapters { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2rem; }
@media (min-width: 720px) { .chapters { grid-template-columns: repeat(4, 1fr); } }
.chapter { background: var(--green-soft); border-radius: 12px; padding: 1rem; display: flex; gap: .75rem; align-items: center; }
.chapter b { font-family: var(--font-display); font-size: 1.6rem; color: var(--green); font-variant-numeric: tabular-nums; }
.chapter span { font-weight: 700; font-size: .95rem; line-height: 1.25; }

/* difference / why block */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 840px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.flip > :first-child { order: 2; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.list li { display: flex; gap: .7rem; align-items: flex-start; }
.list svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--green); }

/* samples */
.samples { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .samples { grid-template-columns: repeat(3, 1fr); } }
.sample { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sample img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.sample p { padding: .9rem 1rem; margin: 0; font-weight: 700; font-size: .95rem; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; margin-top: .75rem; }
summary { cursor: pointer; font-weight: 800; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--green); }
details[open] summary::after { content: "–"; }
details .body { padding: 0 0 1.1rem; }
.recipe { display: grid; gap: 1rem; }
@media (min-width: 640px) { .recipe { grid-template-columns: 1.1fr 1fr; } }
.recipe h4 { margin: .5rem 0 .3rem; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.recipe ul, .recipe ol { margin: 0; padding-left: 1.2rem; }
.macros { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.macros span { background: var(--green-soft); border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; font-weight: 700; }
.menu-table { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .95rem; }
.menu-table th, .menu-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.menu-table th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.table-wrap { overflow-x: auto; }

/* digital / bonus / guarantee */
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--cream); border-radius: var(--radius); padding: 1.4rem; display: flex; gap: 1rem; }
.card svg { flex: none; width: 34px; height: 34px; color: var(--green); }
.card b { display: block; margin-bottom: .25rem; }
.bonus { background: var(--green-deep); color: #fff; border-radius: var(--radius); padding: 2rem; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 840px) { .bonus { grid-template-columns: 1fr 1fr; } }
.bonus h2 { color: #fff; }
.bonus .eyebrow { color: var(--gold); }
.bonus img { border-radius: 12px; }
.guarantee { display: grid; gap: 1.5rem; align-items: center; background: var(--paper); border: 2px solid var(--green); border-radius: var(--radius); padding: 2rem; }
@media (min-width: 720px) { .guarantee { grid-template-columns: auto 1fr; } }
.seal { width: 120px; height: 120px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 400; line-height: 1.05; padding: .5rem; margin-inline: auto; }
.seal b { font-size: 1.9rem; display: block; }
.seal small { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-body); }

/* price */
.price-box { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.price-box .amount { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 4.5rem); color: var(--green); line-height: 1; font-variant-numeric: tabular-nums; }
.price-box .amount small { font-size: .35em; vertical-align: super; }
.price-box .per { font-weight: 800; color: var(--cta); margin: .5rem 0 1.5rem; }
.price-box .includes { text-align: left; margin: 0 auto 1.5rem; max-width: 26rem; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; margin-top: 1.25rem; font-size: .85rem; color: var(--muted); font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: .4rem; }
.trust svg { width: 18px; height: 18px; }

/* faq */
.faq details { margin-top: .6rem; }

/* footer */
footer { padding: 2.5rem 0 7rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: grid; gap: 1rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
footer a { color: var(--muted); }
@media (min-width: 840px) { footer { padding-bottom: 2.5rem; } }

/* sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 1px solid var(--line); padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
.buybar b { font-family: var(--font-display); font-size: 1.3rem; color: var(--green); }
.buybar small { display: block; font-size: .75rem; color: var(--muted); font-family: var(--font-body); font-weight: 700; }
.buybar .btn { padding: .8rem 1.25rem; font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.buybar > div { min-width: 0; }
@media (min-width: 840px) { .buybar { display: none; } }

/* legal / plain pages */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.page h2 { font-size: 1.3rem; margin-top: 2rem; }
.page .box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.thanks { text-align: center; padding: 3rem 0 5rem; }
.thanks .box { text-align: left; margin-top: 2rem; }
.thanks .amount { font-family: var(--font-display); font-size: 1.4rem; color: var(--green); }
.notice { background: #fff6e0; border: 1px solid #f0d58a; border-radius: 12px; padding: 1rem 1.2rem; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* --- Kincstérkép-only pieces ------------------------------------------------ */
/* question hooks */
.hooks { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 720px) { .hooks { grid-template-columns: repeat(3, 1fr); } }
.hook { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; font-weight: 700; font-size: 1.05rem; display: flex; gap: .9rem; align-items: flex-start; }
.hook::before { content: "?"; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--green-deep); font-family: var(--font-display); font-size: 1.3rem; flex-shrink: 0; }

/* how it works */
.steps { display: grid; gap: 1rem; margin-top: 2rem; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; counter-increment: step; }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-display); font-size: 1.3rem; flex-shrink: 0; }
.step b { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* adventure cards */
.themes { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 840px) { .themes { grid-template-columns: repeat(3, 1fr); } }
.theme { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.theme img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.theme .body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.theme h3 { font-size: 1.45rem; margin: 0; }
.theme .age { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--green); }
.theme p { margin: 0; color: var(--muted); font-size: .97rem; flex: 1; }
.theme .btn { margin-top: .5rem; }

/* pack contents */
.pack { display: grid; grid-template-columns: 1fr; gap: .75rem; margin-top: 2rem; }
@media (min-width: 480px) { .pack { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .pack { grid-template-columns: repeat(3, 1fr); } }
.pack .chapter { align-items: flex-start; }

/* theme picker inside the price box */
.picker { display: grid; gap: .5rem; margin: 0 auto 1.25rem; max-width: 26rem; text-align: left; }
.picker label { display: flex; align-items: center; gap: .7rem; background: var(--cream); border: 2px solid var(--line); border-radius: 12px; padding: .75rem 1rem; cursor: pointer; font-weight: 700; }
.picker label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.picker input { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.picker small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.bundle { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.bundle .amount { font-size: clamp(2rem, 6vw, 2.8rem); }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 700; margin-right: .5rem; }
