/* =====================================================================
   PureShape — megosztott stíluslap
   Meleg, ítélkezésmentes egészség-társ. Arany + krém + tinta.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --bg: #FAF4E8;          /* meleg krém — oldal háttér */
  --bg-deep: #F2E7D1;     /* mélyebb krém — szekció sáv */
  --surface: #FFFCF6;     /* kártya fehér, melegített */
  --ink: #2B2418;         /* fő szöveg */
  --ink-soft: #4C4434;    /* lágyabb szöveg */
  --muted: #786C57;       /* halvány szöveg */
  --line: rgba(120, 96, 48, .16);
  --line-strong: rgba(120, 96, 48, .26);

  /* Akcent — Tweak-kel cserélhető (arany / zsálya / agyag) */
  --accent: #A6823C;
  --accent-deep: #7E6328;
  --accent-soft: rgba(166, 130, 60, .10);
  --accent-tint: #F4ECDA;

  /* Tipográfia — Tweak-kel cserélhető */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Forma */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  /* Árnyék — meleg tónusú */
  --shadow-sm: 0 1px 2px rgba(70, 52, 18, .05), 0 2px 8px rgba(70, 52, 18, .04);
  --shadow: 0 2px 6px rgba(70, 52, 18, .06), 0 18px 40px -18px rgba(70, 52, 18, .22);
  --shadow-lg: 0 8px 24px rgba(70, 52, 18, .10), 0 40px 80px -30px rgba(70, 52, 18, .32);

  /* Ritmus */
  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 56px);
}

/* Akcent-variánsok */
body[data-accent="sage"] {
  --accent: #6F8A5E; --accent-deep: #52683F;
  --accent-soft: rgba(111, 138, 94, .12); --accent-tint: #E9EFE2;
}
body[data-accent="clay"] {
  --accent: #B26B4D; --accent-deep: #8C4E35;
  --accent-soft: rgba(178, 107, 77, .12); --accent-tint: #F4E5DC;
}

/* Típus-variánsok */
body[data-type="soft"] {
  --font-display: 'Spectral', Georgia, serif;
  --font-sans: 'Figtree', -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Alap ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Tipográfia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.2; }
em { font-style: italic; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--accent-deep);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

/* ---------- Layout ---------- */
.shell { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }
.band { background: var(--bg-deep); }
.band-ink { background: #221C12; color: #F3E9D4; }
.pad { padding-block: clamp(64px, 9vw, 120px); }
.pad-sm { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.measure { max-width: 620px; }
.measure.center { margin-inline: auto; }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-sm); flex: none; }
.brand .mark::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #FFF1D9; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--accent-deep); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* Nyelvváltó (HU / EN) */
.lang-switch { display: inline-flex; gap: 2px; background: var(--bg-deep); padding: 3px; border-radius: var(--pill); flex: none; }
.lang-switch .lang-opt { padding: 6px 11px; border-radius: var(--pill); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--ink-soft); transition: color .15s, background .15s; }
.lang-switch .lang-opt.sel { background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.lang-switch .lang-opt:not(.sel):hover { color: var(--accent-deep); }

/* Hamburger gomb — csak mobilon */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 11px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-cta .nav-start { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 6px var(--gut) 14px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  padding: 12px 22px; border-radius: var(--pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #FFF8EC; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* App-store jelvény */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #221C12; color: #F3E9D4;
  padding: 10px 18px 10px 16px; border-radius: 14px;
  transition: transform .15s, box-shadow .2s; box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.store-badge .ico { width: 22px; height: 22px; flex: none; opacity: .95; }
.store-badge .lbl { display: flex; flex-direction: column; line-height: 1.12; }
.store-badge .lbl small { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; opacity: .72; }
.store-badge .lbl b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent-deep); background: var(--accent-soft);
  padding: 5px 12px; border-radius: var(--pill);
}
.soon-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cta-note { font-size: 13.5px; color: var(--muted); }

/* ---------- Telefon-mockup ---------- */
.phone {
  width: 264px; flex: none; position: relative;
  border-radius: 40px; padding: 9px;
  background: linear-gradient(160deg, #2B2418, #4a4030);
  box-shadow: var(--shadow-lg);
}
.phone::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; border-radius: var(--pill); background: #1c1710; z-index: 3;
}
.phone .screen {
  position: relative; border-radius: 32px; overflow: hidden;
  background: var(--accent-tint); aspect-ratio: 9 / 19.5;
}
.phone image-slot { width: 100%; height: 100%; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-sm { width: 220px; }

/* Képernyőkép-helykitöltő (még nincs valódi screenshot) */
.screen-soon {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 24px;
  background: linear-gradient(165deg, var(--accent-tint), color-mix(in srgb, var(--accent) 14%, var(--accent-tint)));
  color: var(--accent-deep);
}
.screen-soon span { font-family: var(--font-display); font-size: 21px; font-weight: 500; }
.screen-soon small { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }

/* image-slot üres állapot — meleg, jelölt */
image-slot {
  --is-bg: var(--accent-tint);
  font-family: var(--font-sans);
}

/* ---------- Hero ---------- */
.hero { overflow: clip; }
.hero-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-copy h1 { max-width: 13ch; }
.hero-copy .lede { max-width: 46ch; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 22px; }
.hero-glow {
  position: absolute; inset: -8% -4% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle at 60% 40%, var(--accent-soft), transparent 68%);
  z-index: 0; pointer-events: none;
}

/* Hero variáns: SPLIT (alap) */
body[data-hero="split"] .hero-inner { grid-template-columns: 1.05fr .95fr; }
body[data-hero="split"] .phone-2 { display: none; }
body[data-hero="split"] .hero-art .phone-1 { width: 296px; }

/* Hero variáns: CENTER */
body[data-hero="center"] .hero-inner { grid-template-columns: 1fr; justify-items: center; }
body[data-hero="center"] .hero-copy { align-items: center; text-align: center; }
body[data-hero="center"] .hero-copy .lede { max-width: 52ch; }
body[data-hero="center"] .hero-copy .store-row { justify-content: center; }
body[data-hero="center"] .hero-art { margin-top: 8px; }
body[data-hero="center"] .phone-2 { display: block; transform: translateY(26px); }
body[data-hero="center"] .phone-1 { z-index: 2; }

/* Hero variáns: BAND */
body[data-hero="band"] .hero { background: var(--bg-deep); }
body[data-hero="band"] .hero-inner { grid-template-columns: 1fr 1fr; }
body[data-hero="band"] .hero-copy {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow);
}
body[data-hero="band"] .phone-2 { display: none; }
body[data-hero="band"] .hero-art .phone-1 { width: 300px; }
body[data-hero="band"] .hero-glow { inset: auto auto -10% -8%; }

@media (max-width: 880px) {
  body[data-hero] .hero-inner { grid-template-columns: 1fr !important; justify-items: center; }
  body[data-hero] .hero-copy { align-items: center; text-align: center; }
  body[data-hero] .hero-copy .store-row { justify-content: center; }
  body[data-hero] .hero-copy h1, body[data-hero] .hero-copy .lede { max-width: 22ch; }
  body[data-hero] .hero-copy .lede { max-width: 44ch; }
  body[data-hero="center"] .phone-2 { display: none; }
}

/* ---------- "Nincs ..." anti-diét sáv ---------- */
.no-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.no-item { display: flex; flex-direction: column; gap: 10px; }
.no-item .x {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: #F3E9D4;
}
.no-item b { font-family: var(--font-display); font-size: 19px; font-weight: 500; color: #F3E9D4; }
.no-item span { font-size: 14.5px; color: rgba(243, 233, 212, .72); }
@media (max-width: 700px) { .no-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Funkciók ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 110px); }
.feature:nth-child(even) .feature-art { order: -1; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 46ch; }
.feature-art { display: flex; justify-content: center; }
.feat-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--accent-deep); }
.feat-tag .dot { width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); }
.feature ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.feature ul li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 16px; }
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .feature-copy { align-items: center; text-align: center; max-width: 48ch; margin-inline: auto; }
  .feature ul { text-align: left; }
}

/* Kis funkció-kártyák (Évem, Közösség) */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 28px); }
.mini {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
}
.mini .feat-tag { margin-bottom: 2px; }
.mini p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 720px) { .mini-grid { grid-template-columns: 1fr; } }

/* ---------- Kinek való ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); margin-top: 40px; }
.who-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.who-card h3 { font-size: 21px; margin-bottom: 8px; }
.who-card p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 820px) { .who-grid { grid-template-columns: 1fr; } }

/* ---------- Árazás ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin: 44px auto 0; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(28px, 3.5vw, 42px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); position: relative; }
.price-card.pro { border-color: var(--accent); box-shadow: var(--shadow); }
.price-card .tier { display: flex; align-items: center; justify-content: space-between; }
.price-card .tier h3 { font-size: 24px; }
.badge-pro { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #FFF8EC; background: var(--accent); padding: 4px 11px; border-radius: var(--pill); }
.price-amt { font-family: var(--font-display); font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.price-amt small { font-family: var(--font-sans); font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-sub { font-size: 14.5px; color: var(--accent-deep); font-weight: 600; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card ul li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: 15.5px; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price-foot { font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) { .price-grid { grid-template-columns: 1fr; } }

/* Prémium, egycsomagos árazás */
.price-solo { max-width: 540px; margin: 44px auto 0; }
.price-card.pro .price-amt { margin-top: 4px; }
.billing { display: inline-flex; gap: 6px; background: var(--bg-deep); padding: 5px; border-radius: var(--pill); align-self: flex-start; }
.billing button { padding: 8px 18px; border-radius: var(--pill); font-weight: 600; font-size: 14.5px; color: var(--ink-soft); transition: background .15s, color .15s, box-shadow .2s; display: inline-flex; align-items: center; gap: 7px; }
.billing button.sel { background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.billing button span { color: var(--accent-deep); font-weight: 700; font-size: 12px; letter-spacing: 0.02em; }

/* GYIK */
.faq { max-width: 780px; margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 2px 24px; box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-display); font-size: clamp(18px, 2vw, 21px); font-weight: 500; color: var(--ink); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-sans); font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .25s ease; line-height: 1; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; padding: 0 0 20px; margin: 0; max-width: 66ch; text-wrap: pretty; }

/* ---------- Adatvédelem / nem orvosi ---------- */
.assure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 28px); margin-top: 40px; }
.assure { display: flex; flex-direction: column; gap: 10px; }
.assure .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-deep); }
.assure h3 { font-size: 19px; }
.assure p { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .assure-grid { grid-template-columns: 1fr; } }
.disclaimer {
  margin-top: 44px; padding: 22px 26px; border-radius: var(--r);
  background: var(--accent-soft); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; text-wrap: pretty;
}
.disclaimer strong { color: var(--ink); }

/* ---------- Záró CTA ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 18ch; margin: 0 auto 18px; }
.cta-final .lede { max-width: 50ch; margin: 0 auto 28px; }
.cta-final .store-row { justify-content: center; }

/* ---------- Lábléc ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.foot .brand { font-size: 18px; }
.foot-tag { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin-top: 12px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: clamp(40px, 7vw, 90px); }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.foot-col a:hover { color: var(--accent-deep); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ---------- Jogi oldal próza ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: 56px var(--gut) 96px; }
.legal h1 { font-size: clamp(30px, 5vw, 40px); }
.legal h2 { font-size: clamp(20px, 2.6vw, 24px); color: var(--accent-deep); margin: 38px 0 10px; }
.legal h3 { font-size: 18px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal .meta { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--accent-deep); margin-bottom: 28px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.legal-top .back { margin-bottom: 0; }
.legal .lang-split { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal .placeholder-note {
  margin: 14px 0; padding: 14px 18px; border-radius: var(--r-sm);
  background: var(--accent-soft); border: 1px dashed var(--line-strong);
  font-size: 14px; color: var(--muted);
}
.legal-foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.legal-foot a { color: var(--accent-deep); }
.legal .fill { background: var(--accent-soft); border: 1px dashed var(--line-strong); border-radius: 6px; padding: 1px 7px; font-size: 0.92em; color: var(--accent-deep); font-weight: 600; white-space: nowrap; }

/* ---------- Tudástár / cikkek ---------- */
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.breadcrumb a { color: var(--accent-deep); }
.breadcrumb .sep { opacity: .5; }

.post { max-width: 760px; margin-inline: auto; padding: 36px var(--gut) 90px; }
.post-head { margin-bottom: 34px; }
.post-head h1 { font-size: clamp(31px, 4.6vw, 48px); margin: 14px 0 0; }
.post-dek { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-soft); line-height: 1.55; margin-top: 18px; text-wrap: pretty; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post-meta b { color: var(--ink-soft); font-weight: 600; }

.post-body > h2 { font-size: clamp(23px, 3vw, 30px); margin: 42px 0 12px; }
.post-body > h3 { font-size: 20px; margin: 26px 0 8px; }
.post-body p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 16px; text-wrap: pretty; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 9px; }
.post-body li { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.post-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.post-body strong { color: var(--ink); }
.post-body .faq, .post-body .compare { margin-left: 0; margin-right: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15.5px; box-shadow: var(--shadow-sm); border-radius: var(--r); overflow: hidden; }
.post-body table th, .post-body table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body table thead th { background: var(--bg-deep); font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.post-body table tbody tr:last-child td { border-bottom: 0; }
.post-body table td:first-child { color: var(--ink); font-weight: 500; }
.post-body table { background: var(--surface); }

/* Közvetlen válasz blokk (40-60 szó, idézés-optimált) */
.answer { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 16px 20px; margin: 2px 0 22px; font-size: 17px; line-height: 1.6; color: var(--ink); }
.answer strong { color: var(--ink); }

.post-body blockquote { margin: 20px 0; padding: 6px 0 6px 20px; border-left: 3px solid var(--line-strong); color: var(--ink-soft); }
.post-body blockquote cite { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); font-style: normal; }

.post-cta { margin: 44px 0 0; padding: 26px 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--accent); box-shadow: var(--shadow-sm); }
.post-cta h3 { font-size: 21px; margin-bottom: 8px; }
.post-cta p { color: var(--ink-soft); margin-bottom: 14px; }

.related { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; margin-bottom: 14px; }
.related ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.related a { color: var(--accent-deep); font-weight: 600; }

/* Hub */
.hub { max-width: var(--maxw); margin-inline: auto; padding: 44px var(--gut) 90px; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.5vw, 26px); margin-top: 40px; }
.hub-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s; }
a.hub-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-card h2 { font-size: 22px; }
.hub-card p { color: var(--ink-soft); font-size: 15.5px; }
.hub-card.soon { opacity: .62; }
.hub-card .tag-soon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
@media (max-width: 720px) { .hub-grid { grid-template-columns: 1fr; } }

/* ---------- Hogyan működik (lépések) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); margin-top: clamp(40px, 6vw, 64px); }
.step { display: flex; flex-direction: column; gap: 12px; }
.step .num {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--accent-deep); letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 12px;
}
.step .num::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.step h3 { font-size: 22px; }
.step p { color: var(--ink-soft); font-size: 16px; text-wrap: pretty; }
.step-note {
  margin-top: clamp(34px, 5vw, 52px); display: flex; align-items: flex-start; gap: 14px;
  max-width: 64ch; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6;
  padding: 18px 22px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-wrap: pretty;
}
.step-note .lock { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-size: 15px; }
.step-note strong { color: var(--ink); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Feature kiegészítők ---------- */
/* Bemeneti módok chipjei (Hűtő-Mágus) */
.modes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.mode-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px 9px 12px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--line-strong);
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.mode-chip .g { width: 24px; height: 24px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-deep); display: grid; place-items: center; font-size: 13px; flex: none; }

/* ED-biztonsági callout (Eszti) */
.safe-note {
  margin-top: 6px; padding: 20px 22px; border-radius: var(--r);
  background: var(--accent-soft); border: 1px solid var(--line);
}
.safe-note .sh { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.safe-note .sh .shield { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); color: #FFF8EC; display: grid; place-items: center; font-size: 14px; flex: none; }
.safe-note .never { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.safe-note .never span {
  display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600;
  padding: 6px 13px; border-radius: var(--pill); background: var(--surface);
  border: 1px solid var(--line-strong); color: var(--ink-soft); text-decoration: line-through;
  text-decoration-color: var(--accent); text-decoration-thickness: 1.5px;
}
.safe-note p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; text-wrap: pretty; }

/* Pro-funkció jelölő chip a feat-tag-ben */
.pro-tag {
  display: inline-flex; align-items: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #FFF8EC; background: var(--accent);
  padding: 2px 8px; border-radius: var(--pill); margin-left: 4px; vertical-align: middle;
}

/* Évem heatmap (valódi, generált) */
.heatmap-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); width: 100%; max-width: 480px;
}
.heatmap-card .hm-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.heatmap-card .hm-head b { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.heatmap-card .hm-head span { font-size: 13px; color: var(--muted); }
.heatmap { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; }
.heatmap i { aspect-ratio: 1; border-radius: 3px; background: var(--cell, var(--bg-deep)); }
.heatmap i.today { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--accent); }
.hm-legend { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.hm-legend .scale { display: flex; gap: 3px; }
.hm-legend .scale i { width: 13px; height: 13px; border-radius: 3px; }

/* ---------- App-túra galéria ---------- */
.tour-rail { display: flex; gap: clamp(18px, 3vw, 32px); margin-top: clamp(40px, 6vw, 60px); justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.tour-item { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tour-item .phone { width: 232px; }
.tour-item.lift .phone { width: 256px; }
.tour-cap { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); text-align: center; max-width: 24ch; }
.tour-cap small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }
@media (max-width: 820px) { .tour-item.lift .phone, .tour-item .phone { width: 200px; } }

/* ---------- Összehasonlító táblázat ---------- */
.compare { max-width: 860px; margin: clamp(40px, 6vw, 60px) auto 0; }
.compare-head { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 0; align-items: end; }
.compare-head .ch { padding: 16px 22px; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.compare-head .ch.them { color: var(--muted); text-align: center; }
.compare-head .ch.us {
  text-align: center; color: var(--accent-deep);
  background: var(--accent-soft); border: 1px solid var(--line); border-bottom: 0;
  border-radius: var(--r) var(--r) 0 0; font-family: var(--font-display); font-size: 18px; font-weight: 500;
}
.compare-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.compare-row:last-child { border-bottom: 1px solid var(--line); }
.compare-row .feat { padding: 16px 22px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.compare-row .cell { padding: 16px 22px; display: grid; place-items: center; }
.compare-row .cell.us { background: var(--accent-soft); border-inline: 1px solid var(--line); height: 100%; }
.compare-row:last-child .cell.us { border-radius: 0 0 var(--r) var(--r); }
.mk { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.mk.no { background: rgba(120, 96, 48, .12); color: var(--muted); }
.mk.yes { background: var(--accent); color: #FFF8EC; }
@media (max-width: 720px) {
  .compare-head .ch.them, .compare-row .feat { font-size: 13.5px; }
  .compare-head .ch, .compare-row .feat, .compare-row .cell { padding: 13px 12px; }
  .compare-head .ch.us { font-size: 15px; }
}

/* ---------- Tweaks panel ---------- */
#tweaks { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: none; width: 280px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  box-shadow: var(--shadow-lg); font-family: var(--font-sans); overflow: hidden; }
#tweaks.on { display: block; }
#tweaks .tk-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
#tweaks .tk-head b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
#tweaks .tk-x { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
#tweaks .tk-x:hover { background: var(--accent-soft); color: var(--ink); }
#tweaks .tk-body { padding: 16px; display: flex; flex-direction: column; gap: 18px; }
#tweaks .tk-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 8px; }
#tweaks .seg { display: flex; gap: 6px; background: var(--bg-deep); padding: 4px; border-radius: var(--pill); }
#tweaks .seg button { flex: 1; padding: 7px 4px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--ink-soft); transition: all .15s; }
#tweaks .seg button.sel { background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow-sm); }
#tweaks .swatches { display: flex; gap: 8px; }
#tweaks .swatches button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid transparent; transition: transform .12s; }
#tweaks .swatches button.sel { border-color: var(--ink); }
#tweaks .swatches button:hover { transform: scale(1.08); }

/* ---------- Scroll-progress sáv ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 60;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  pointer-events: none;
}

/* Nav árnyék görgetéskor */
.nav { transition: box-shadow .3s ease, background .3s ease; }
body.scrolled .nav { box-shadow: 0 6px 24px -14px rgba(70, 52, 18, .4); }

/* ---------- Mozgás ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Beúszás (reveal) — csak ha a JS aktív (html.js); különben a tartalom alapból látható */
  .js [data-reveal] {
    opacity: 0;
    transition: opacity .9s cubic-bezier(.22, .61, .36, 1), transform .9s cubic-bezier(.22, .61, .36, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
    will-change: opacity, transform;
  }
  .js [data-reveal="up"]    { transform: translateY(30px); }
  .js [data-reveal="scale"] { transform: scale(.93); }
  .js [data-reveal="left"]  { transform: translateX(-36px); }
  .js [data-reveal="right"] { transform: translateX(36px); }
  .js [data-reveal].in      { opacity: 1; transform: none; }

  /* Lebegés — a `translate` egyedi tulajdonságon, hogy ne ütközzön a `transform`-mal */
  .float { animation: floaty 7s ease-in-out infinite; }
  @keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -15px; } }

  /* Hero fény sodródása */
  .hero-glow { animation: drift 18s ease-in-out infinite alternate; }
  @keyframes drift { 0% { transform: translate(0, 0) scale(1); opacity: .9; } 100% { transform: translate(-7%, 5%) scale(1.16); opacity: 1; } }

  /* Parallax burok — JS állítja a --px-et */
  .px { transform: translate3d(0, var(--px, 0px), 0); will-change: transform; }

  /* Gomb-finomítás */
  .store-badge, .btn { will-change: transform; }
}

/* Reduced motion: minden azonnal látható, statikus */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
