/*
 * MR. Vision Designer honlap – a program saját kinézetéből: világos szürke vászon, fehér panelek, logózöld kiemelés,
 * szegmentált fülsáv, csukható panelcsoportok, kék méretvonalak. Világos és sötét változat (a program témái szerint).
 */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/intertight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/intertight-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Színek (app/css/style.css alapján) ---------- */
:root {
  --bg: #f3f4f6;
  --bg-2: #eceef1;
  --panel: #ffffff;
  --field: #ffffff;
  --ink: #1f2937;
  --ink-2: #4b5563;
  --muted: #6b7280;
  --line: #e2e5e9;
  --line-2: #c5cad1;
  --line-soft: #f0f1f3;
  --accent: #578452;        /* MR. Vision logózöld */
  --accent-hi: #4a7346;
  --accent-bg: #edf4eb;
  --accent-line: #b9d3b3;
  --accent-ink: #2f5a2b;
  --accent-em: #4a7346;     /* kiemelés a címekben */
  --btn: #4a7346;           /* zöld gomb (fehér felirattal is jól olvasható) */
  --btn-hi: #3d6239;
  --dim: #2f6fdb;           /* kék méret, mint a programban */
  --orange: #e8891c;        /* narancs fogantyú */
  --ax-x: #e5484d; --ax-y: #30a46c; --ax-z: #3e63dd;
  --warn-bg: #fff7ed; --warn-ink: #9a3412; --warn-line: #fed7aa;
  --bad: #b42318; --bad-line: #d92d20;
  --grid: rgba(31, 41, 55, .055);
  --view-top: #e7eaee; --view-bot: #f7f8f9;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px -10px rgba(16, 24, 40, .16);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .04), 0 28px 64px -20px rgba(16, 24, 40, .28);
  --r: 8px;
  --r-lg: 12px;
  --top-h: 64px;
  --sans: "Inter Tight", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15171a; --bg-2: #191c1f; --panel: #1e2125; --field: #272b30;
    --ink: #e6e8eb; --ink-2: #b7bdc6; --muted: #9aa3ae;
    --line: #343a41; --line-2: #4b525b; --line-soft: #2b3035;
    --accent: #6b9c65; --accent-hi: #7cae76; --accent-bg: #253323; --accent-line: #43603e; --accent-ink: #a3d39b; --accent-em: #8fc488;
    --btn: #4a7a45; --btn-hi: #578a51;
    --dim: #79a8f7; --warn-bg: #36281a; --warn-ink: #fdba74; --warn-line: #7a4a1f; --bad: #f97066; --bad-line: #f97066;
    --grid: rgba(255, 255, 255, .045); --view-top: #23272c; --view-bot: #1a1d21;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -10px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 64px -20px rgba(0, 0, 0, .65);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15171a; --bg-2: #191c1f; --panel: #1e2125; --field: #272b30;
  --ink: #e6e8eb; --ink-2: #b7bdc6; --muted: #9aa3ae;
  --line: #343a41; --line-2: #4b525b; --line-soft: #2b3035;
  --accent: #6b9c65; --accent-hi: #7cae76; --accent-bg: #253323; --accent-line: #43603e; --accent-ink: #a3d39b; --accent-em: #8fc488;
  --btn: #4a7a45; --btn-hi: #578a51;
  --dim: #79a8f7; --warn-bg: #36281a; --warn-ink: #fdba74; --warn-line: #7a4a1f; --bad: #f97066; --bad-line: #f97066;
  --grid: rgba(255, 255, 255, .045); --view-top: #23272c; --view-bot: #1a1d21;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -10px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 28px 64px -20px rgba(0, 0, 0, .65);
  color-scheme: dark;
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--accent-hi); }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-bg); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--top-h) + 72px); }
.ikon { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--panel); color: var(--ink); padding: 10px 16px; border-radius: var(--r); box-shadow: var(--shadow); }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.narrow { max-width: 860px; }

/* ---------- Betűk ---------- */
.display { font-weight: 650; font-size: clamp(2.3rem, 1.3rem + 3.7vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.h2 { font-weight: 650; font-size: clamp(1.75rem, 1.15rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.h3 { font-weight: 650; font-size: clamp(1.35rem, 1.08rem + .95vw, 1.8rem); line-height: 1.2; letter-spacing: -.022em; text-wrap: balance; }
.display em, .h2 em, .h3 em { font-style: normal; color: var(--accent-em); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.lead p:last-child { margin-bottom: 0; }
/* felcím: mint a program csukható panelcsoportjának feje (▾ + név) */
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--accent); }
.kicker:empty { display: none; }

/* ---------- Gombok, szegmentált fülek ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 7px; border: 1px solid transparent; font: 600 .97rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn .ikon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .ikon:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hi); }
.btn-ghost { background: var(--field); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-ghost .ikon:first-child { color: var(--accent-hi); }
.btn-white { background: #fff; color: #23391f; }
.btn-white:hover { background: #eef5ec; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.seg { display: inline-flex; background: var(--field); border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden; }
.seg > a, .seg > button, .seg > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 15px; border: 0; border-left: 1px solid var(--line-2); background: none; color: var(--ink); font: 500 .93rem/1.1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s; }
.seg > :first-child { border-left: 0; }
.seg > a:hover, .seg > button:hover { background: var(--line-soft); }
.seg > .on, .seg > [aria-current="page"], .seg > [aria-pressed="true"], .seg > [aria-selected="true"] { background: var(--btn); color: #fff; }
.seg > span { cursor: default; }
.seg-sm > a, .seg-sm > button, .seg-sm > span { min-height: 32px; padding: 0 11px; font-size: .85rem; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 7px; background: var(--field); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--ink-2); }

/* ---------- Béta-sáv a fejléc fölött (szövege: admin › Általános adatok) ---------- */
.beta-sav { background: var(--accent-bg); color: var(--accent-ink); border-bottom: 1px solid var(--accent-line); }
.beta-sav-in { max-width: 1320px; margin: 0 auto; padding: 7px clamp(16px, 3vw, 28px); display: flex; align-items: center; justify-content: center; gap: 10px; font-size: .86rem; font-weight: 500; line-height: 1.4; text-align: center; }
.beta-cimke { display: inline-block; flex: none; padding: 2px 8px; border-radius: 999px; background: var(--btn); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.ok .beta-cimke { margin-left: 4px; }
@media (max-width: 640px) {
  .beta-sav-in { font-size: .8rem; gap: 8px; text-align: left; justify-content: flex-start; }
}

/* ---------- Fejléc: a program felső sávja ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--panel); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1320px; margin: 0 auto; height: var(--top-h); padding: 0 clamp(16px, 3vw, 28px); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.brand-txt small { margin-top: 4px; font-size: .6rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--accent-hi); }
.nav-link[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-cta, .nav-login { display: none; }
.topbar-act { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }
.menu-toggle .i-x { display: none; }
.menu-open .menu-toggle .i-menu { display: none; }
.menu-open .menu-toggle .i-x { display: block; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; }
  .nav { display: none; position: absolute; top: var(--top-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 16px clamp(16px, 4vw, 32px) 20px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu-open .nav { display: flex; }
  .nav-seg { flex-direction: column; }
  .nav-seg > a { border-left: 0; border-top: 1px solid var(--line-2); justify-content: flex-start; min-height: 46px; font-size: 1rem; }
  .nav-seg > a:first-child { border-top: 0; }
  .nav-link { padding: 8px 2px; font-size: 1rem; }
  .nav-cta, .nav-login { display: inline-flex; min-height: 46px; }
}
@media (max-width: 640px) { .top-login { display: none; } }
@media (max-width: 520px) { .topbar-act [data-tema] { display: none; } .top-cta { padding: 0 11px; font-size: .84rem; } }

/* ---------- Rácsos háttér (mint a 3D nézet padlója) ---------- */
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 85%); }

/* ---------- Nyitókép ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(18px, 2.5vw, 30px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.hero-txt .display em { display: block; }
.hero-side .lead { margin-bottom: 26px; }
.fine { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }
.hero-fig { margin: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* méretvonalak a kép körül */
.dimfig { position: relative; padding: 30px 0 0 30px; }
.dim { position: absolute; color: var(--dim); font: 600 .8rem/1 var(--sans); font-variant-numeric: tabular-nums; }
.dim::before { content: ""; position: absolute; background: currentColor; }
.dim > span { position: absolute; background: var(--bg); padding: 2px 8px; border: 1px solid currentColor; border-radius: 4px; }
.dim-v { top: 4px; left: 30px; right: 0; height: 16px; border-left: 1.5px solid; border-right: 1.5px solid; }
.dim-v::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; }
.dim-v > span { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.dim-f { left: 4px; top: 30px; bottom: 0; width: 16px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.dim-f::before { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; }
.dim-f > span { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
@media (max-width: 600px) { .dimfig { padding: 26px 0 0 0; } .dim-f { display: none; } .dim-v { left: 0; } }

/* ---------- Programablak ---------- */
.appwin { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.appbar { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--panel); min-width: 0; }
.appbar-brand { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; padding: 0 8px 0 2px; white-space: nowrap; }
.appbar-r { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.appbtn { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--field); color: var(--ink); font: 500 .85rem/1.1 var(--sans); white-space: nowrap; cursor: pointer; }
button.appbtn:hover { border-color: var(--ink-2); }
.appbtn[aria-pressed="true"] { background: var(--accent-bg); border-color: var(--accent-line); color: var(--accent-ink); }
.appbtn-green { background: var(--btn); border-color: transparent; color: #fff; }
.appview { background: linear-gradient(var(--view-top), var(--view-bot)); }
.appview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.statusbar { border-top: 1px solid var(--line); background: var(--panel); font-size: .82rem; color: var(--ink-2); }
.statusbar-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 18px; padding: 8px 14px; }
.ok { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-hi); font-weight: 500; }
.ok .ikon { width: 16px; height: 16px; }
@media (max-width: 760px) { .hide-sm { display: none !important; } .hero-fig .appbar .appbar-brand { display: none; } }
@media (max-width: 480px) { .hide-xs { display: none !important; } }

/* böngészőablak a képernyőképek körül (a program böngészőben fut) */
.win { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.win-bar { display: grid; grid-template-columns: 1fr minmax(0, 2.4fr) 1fr; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.win-pontok { display: flex; gap: 5px; }
.win-pontok i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.win-cim { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 23px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink-2); font-size: .75rem; }
.win-cim .ikon { width: 12px; height: 12px; color: var(--accent-hi); }
.win-cim span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-body > img { display: block; width: 100%; height: auto; }
.win-body > svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 520px) { .win-bar { grid-template-columns: auto minmax(0, 1fr); } }

/* beépített rajzok */
.illus text { font-family: var(--sans); }
.illus text.il-codet, .illus text.il-codec { font-family: var(--mono); }
.il-bg { fill: var(--bg); } .il-panel, .il-paper { fill: var(--panel); } .il-field { fill: var(--field); } .il-none { fill: none; }
.il-shadow { fill: var(--line); }
.il-line { stroke: var(--line); stroke-width: 1.5; } .il-line2 { stroke: var(--line-2); stroke-width: 1.5; }
.il-ink { fill: var(--ink); } .il-ink2 { fill: var(--ink-2); } .il-muted { fill: var(--muted); } .il-white { fill: #fff; } .il-b { font-weight: 700; }
.il-acc { fill: var(--btn); } .il-accbg { fill: var(--accent-bg); } .il-accline { stroke: var(--accent-line); stroke-width: 1.5; } .il-accink { fill: var(--accent-ink); }
.il-dim { stroke: var(--dim); stroke-width: 1.5; fill: none; } .il-dimt { fill: var(--dim); font-weight: 600; }
.il-dash { stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 6 5; }
.il-tool { fill: none; stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 5 4; }
.il-inkline { stroke: var(--ink-2); stroke-width: 1.2; }
.il-hole { fill: var(--panel); stroke: var(--ink-2); stroke-width: 1.2; }
.il-toolhead { fill: var(--orange); }
.il-code { fill: #1b1e22; } .il-codet { fill: #d6dde5; } .il-codec { fill: #8fc488; }
.il-qr { fill: var(--ink); }

/* ---------- Előnyök sáv (mint a program állapotsora) ---------- */
.benefits { background: var(--panel); border-block: 1px solid var(--line); }
.benefit-list { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 24px; font-weight: 500; font-size: .93rem; line-height: 1.35; }
.benefit-list li { display: flex; align-items: flex-start; gap: 8px; }
.benefit-list .ikon { width: 18px; height: 18px; color: var(--accent); margin-top: 1px; }

/* ---------- Szakaszok ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section.pt-s { padding-top: clamp(28px, 4vw, 48px); }
.section-alt { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.stack { grid-template-columns: 1fr; align-items: start; }
.section-aside { color: var(--ink-2); margin: 0; max-width: 54ch; font-size: 1.02rem; }
.section-aside .more { margin-top: 10px; display: inline-flex; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* csomag-jelölés */
.tier { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent; font-size: .72rem; font-weight: 650; letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.tier:hover { filter: brightness(1.06); }
.tier-free { background: var(--line-soft); color: var(--ink-2); border-color: var(--line); }
.tier-basic { background: var(--accent-bg); color: var(--accent-ink); border-color: var(--accent-line); }
.tier-pro { background: var(--btn); color: #fff; }
.tier-ultimate { background: var(--ink); color: var(--panel); }

/* hat lépés */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 36px; border-top: 1.5px dashed var(--line-2); z-index: 0; }
.flow-step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.flow-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.flow-ico, .card-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: var(--accent-bg); color: var(--accent-hi); border: 1px solid var(--accent-line); }
.flow-ico .ikon, .card-ico .ikon { width: 22px; height: 22px; }
.flow-num { font: 600 .8rem var(--mono); color: var(--muted); }
.flow-step h3 { font-size: 1.04rem; font-weight: 650; letter-spacing: -.01em; }
.flow-step p { margin: 0; flex: 1; font-size: .9rem; color: var(--ink-2); }
.flow-step .tier { align-self: flex-start; margin-top: 4px; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } .flow::before { display: none; } }
@media (max-width: 600px) { .flow { grid-template-columns: 1fr; } }

/* kép + szöveg sorok */
.feat { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.section-head + .feat, .feat:first-child { border-top: 0; padding-top: 0; }
.feat.flip .feat-media { order: 2; }
.feat.no-media { grid-template-columns: minmax(0, 760px); }
.feat-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 10px; }
.feat-head .kicker { margin: 0; }
.feat-txt .h3 { margin-bottom: 14px; }
.feat-txt > p, .prose p { color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ikon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); stroke-width: 2.2; }
.checks-sm li { font-size: .91rem; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; color: var(--accent-hi); text-decoration: none; }
.more .ikon { width: 16px; height: 16px; transition: transform .2s; }
.more:hover .ikon { transform: translateX(3px); }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } .feat.flip .feat-media { order: 0; } }

/* ---------- Élő bemutató ---------- */
.demo .appbar { flex-wrap: wrap; }
.demo-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; border-bottom: 1px solid var(--line); }
.demo-view { position: relative; min-height: 460px; background: linear-gradient(var(--view-top), var(--view-bot)); overflow: hidden; }
.demo-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; outline: none; }
.demo-view canvas:active { cursor: grabbing; }
.demo-load { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: .9rem; }
.demo-labels { position: absolute; inset: 0; pointer-events: none; }
.demo-labels span { position: absolute; transform: translate(-50%, -50%); padding: 1px 7px; border: 1px solid var(--dim); border-radius: 4px; background: var(--panel); color: var(--dim); font: 600 .78rem/1.4 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.axes { position: absolute; left: 12px; bottom: 10px; display: flex; gap: 8px; font: 700 .72rem var(--sans); pointer-events: none; }
.ax-x { color: var(--ax-x); } .ax-y { color: var(--ax-y); } .ax-z { color: var(--ax-z); }
.demo-info { position: absolute; right: 12px; top: 12px; max-width: 230px; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font-size: .82rem; color: var(--ink-2); }
.demo-info b { display: block; color: var(--ink); font-size: .9rem; }
.demo-panel { background: var(--panel); border-left: 1px solid var(--line); padding: 4px 0 8px; overflow: auto; }
.grp { border-bottom: 1px solid var(--line-soft); }
.grp > summary { display: flex; align-items: center; gap: 9px; padding: 11px 16px; font-weight: 600; font-size: .93rem; cursor: pointer; list-style: none; }
.grp > summary::-webkit-details-marker { display: none; }
.tri { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid var(--ink-2); transition: transform .18s; flex: none; }
details[open] > summary .tri { transform: rotate(90deg); }
.grp-in { display: grid; gap: 12px; padding: 2px 16px 16px; }
.fld { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 4px 10px; font-size: .86rem; color: var(--ink-2); }
.fld input[type="number"] { width: 100%; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--field); color: var(--ink); font: 500 .93rem var(--sans); font-variant-numeric: tabular-nums; }
.fld input[type="number"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.fld input[type="range"] { grid-column: 1 / -1; width: 100%; margin: 0; accent-color: var(--accent); height: 22px; }
.fld-row { display: flex; justify-content: space-between; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--field); }
.stepper button { width: 34px; height: 32px; border: 0; background: none; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.stepper button:hover { background: var(--line-soft); }
.stepper button:disabled { color: var(--line-2); cursor: default; background: none; }
.stepper output { min-width: 32px; text-align: center; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.seg-full { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg-full > button { padding: 0 4px; }
.swatches { grid-template-columns: 1fr 1fr; gap: 8px; }
.sw { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--field); color: var(--ink); font: 500 .85rem var(--sans); cursor: pointer; }
.sw i { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .18); flex: none; }
.sw.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-bg); }
.checkbox { padding: 12px 16px 4px; display: grid; gap: 8px; font-size: .85rem; }
.msg { display: flex; gap: 8px; align-items: flex-start; }
.msg .ikon { width: 16px; height: 16px; margin-top: 2px; }
.msg-ok { color: var(--accent-hi); font-weight: 500; }
.msg-warn { padding: 8px 10px; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 6px; }
.demo-list { background: var(--panel); }
.demo-list-head { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.demo-list-head b { font-size: .95rem; }
.table-scroll { overflow: auto; max-height: 340px; }
.list { width: 100%; border-collapse: collapse; font-size: .875rem; }
.list th { position: sticky; top: 0; z-index: 1; background: var(--panel); text-align: left; font-weight: 600; color: var(--ink-2); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list td { padding: 7px 12px; border-bottom: 1px solid var(--line-soft); }
.list .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.list .muted { color: var(--muted); }
.list tr.mat td { background: var(--accent-bg); color: var(--accent-ink); font-weight: 650; padding: 8px 12px; }
.list tbody tr[data-part] { cursor: pointer; }
.list tbody tr[data-part]:hover td { background: var(--line-soft); }
.list tbody tr.sel td { background: color-mix(in srgb, var(--orange) 14%, var(--panel)); }
.demo .statusbar-in b { color: var(--ink); font-weight: 600; }
.warnc { display: inline-flex; align-items: center; gap: 6px; color: var(--warn-ink); font-weight: 600; }
.warnc .ikon, .demo .ok .ikon { width: 16px; height: 16px; }
.demo-nojs { padding: 16px; margin: 0; }
.tips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--ink-2); font-size: .92rem; }
.tips li { display: inline-flex; gap: 8px; align-items: center; }
.tips .ikon { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) {
  .demo-body { grid-template-columns: 1fr; }
  .demo-view { min-height: 0; aspect-ratio: 4 / 3; }
  .demo-panel { border-left: 0; border-top: 1px solid var(--line); }
  .demo .appbar-r { margin-left: 0; flex-wrap: wrap; }
}

/* ---------- Számok ---------- */
.stats-band { background: var(--panel); border-block: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(28px, 4vw, 44px) clamp(16px, 2.5vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 650; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat b::before { content: ""; display: block; width: 52px; height: 10px; margin-bottom: 16px; border-left: 1.5px solid var(--dim); border-right: 1.5px solid var(--dim); background: linear-gradient(var(--dim), var(--dim)) center / 100% 1.5px no-repeat; }
.stat span { display: block; margin-top: 10px; color: var(--ink-2); font-size: .92rem; max-width: 26ch; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(odd) { border-left: 0; padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Csomagok ---------- */
.billing { display: flex; justify-content: center; margin-bottom: 30px; }
.billing .seg > button { min-height: 42px; padding: 0 20px; }
.save { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-ink); font-size: .72rem; font-weight: 650; }
.seg > [aria-pressed="true"] .save { background: rgba(255, 255, 255, .2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 24px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.plan header h3 { display: flex; align-items: center; gap: 9px; font-size: 1.3rem; font-weight: 650; letter-spacing: -.015em; }
.plan header h3::before { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--tier-c, var(--line-2)); }
.plan-free { --tier-c: var(--line-2); } .plan-basic { --tier-c: var(--accent-line); } .plan-pro { --tier-c: var(--accent); } .plan-ultimate { --tier-c: var(--ink); }
.plan header p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.price b { font-size: 2.35rem; font-weight: 650; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--ink-2); font-size: .88rem; }
.plan-desc { margin: 0; color: var(--ink-2); font-size: .92rem; }
.plan .checks { margin-top: 2px; }
.plan.featured { border: 2px solid var(--accent); padding: 23px 21px; box-shadow: 0 0 0 4px var(--accent-bg), var(--shadow); }
.plan-chip { position: absolute; top: -12px; left: 20px; padding: 4px 10px; border-radius: 999px; background: var(--btn); color: #fff; font-size: .72rem; font-weight: 650; letter-spacing: .03em; }
.plans-note { margin: 22px auto 0; text-align: center; color: var(--ink-2); font-size: .88rem; max-width: 70ch; }
@media (max-width: 1100px) { .plans, .plans-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans, .plans-3, .plans-2 { grid-template-columns: 1fr; } }

/* összehasonlító táblázat (mint a szabásjegyzék) */
.cmp-wrap { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmp { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.cmp thead th { font-size: 1rem; font-weight: 650; text-align: center; padding: 16px 14px; border-bottom: 1px solid var(--line); }
.cmp thead th.cmp-feat { text-align: left; font-size: .85rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.cmp td { text-align: center; width: 14%; }
.cmp tr > :first-child { position: sticky; left: 0; z-index: 1; background: var(--panel); }
.cmp tr.grp th { background: var(--accent-bg); color: var(--accent-ink); font-weight: 650; font-size: .86rem; padding: 9px 14px; text-align: left; }
.cmp .hl { background: color-mix(in srgb, var(--accent) 7%, var(--panel)); }
.cmp thead .hl { color: var(--accent-hi); }
.cmp .yes { display: inline-grid; place-items: center; color: var(--accent-hi); }
.cmp .yes .ikon { width: 20px; height: 20px; stroke-width: 2.4; }
.cmp .no { color: var(--line-2); font-weight: 600; }
.cmp .txt { font-size: .82rem; color: var(--ink-2); font-weight: 500; }
.cmp tfoot td { padding: 16px 10px; border-bottom: 0; }
.cmp tfoot .btn { width: 100%; }

/* ---------- Gyakori kérdések ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: 12px; padding: 18px 4px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .tri { border-left-color: var(--accent); }
.faq summary:hover { color: var(--accent-hi); }
.faq .answer { padding: 0 4px 18px 22px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Kártyák ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.card-ico { margin-bottom: 16px; }
.card h3 { font-size: 1.06rem; font-weight: 650; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Felhívás ---------- */
.cta { position: relative; isolation: isolate; padding: clamp(56px, 7vw, 96px) 0; background: #263f23; color: #fff; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 48px; align-items: end; }
.cta .h2 { color: #fff; margin-bottom: 14px; }
.cta .h2 em { color: #b5dbad; }
.cta p { margin: 0; color: rgba(255, 255, 255, .84); max-width: 58ch; }
.kicker-light { color: rgba(255, 255, 255, .72); }
.kicker-light::before { border-top-color: #b5dbad; }
.cta-act { display: grid; gap: 12px; justify-items: center; }
.cta-link { color: #fff; opacity: .85; font-weight: 500; font-size: .92rem; }
.cta-link:hover { opacity: 1; }
@media (max-width: 800px) { .cta-in { grid-template-columns: 1fr; } .cta-act { justify-items: start; } }

/* ---------- Aloldalak ---------- */
.page-hero { padding: clamp(44px, 7vw, 92px) 0 clamp(28px, 4vw, 48px); }
.page-hero .display { max-width: 18ch; }
.page-hero .lead { margin: 20px 0 0; }
.subnav { position: sticky; top: var(--top-h); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--field); color: var(--ink); font-size: .88rem; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--ink-2); }
.chip.on { background: var(--btn); border-color: transparent; color: #fff; }

/* képes körbevezetés */
.tour { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.tour-nav { display: flex; flex-direction: column; gap: 4px; }
.tour-nav button { text-align: left; padding: 10px 14px; border: 1px solid transparent; border-radius: 8px; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.tour-nav button:hover { background: var(--line-soft); }
.tour-nav b { display: block; font-weight: 600; font-size: .95rem; }
.tour-nav small { display: block; margin-top: 2px; color: var(--ink-2); font-size: .82rem; line-height: 1.4; }
.tour-nav [aria-selected="true"] { background: var(--accent-bg); border-color: var(--accent-line); }
.tour-nav [aria-selected="true"] b { color: var(--accent-ink); }
.tour-panel { margin: 0; }
.js .tour-panel[data-rejtett] { display: none; }
.tour-panel + .tour-panel { margin-top: 28px; }
.js .tour-panel + .tour-panel { margin-top: 0; }
.tour-panel figcaption { margin-top: 12px; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .tour-nav button { flex: none; border-color: var(--line-2); border-radius: 999px; padding: 7px 14px; }
  .tour-nav small { display: none; }
}

/* videó (csak kattintásra töltődik be) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 8px; width: 100%; border: 0; background: radial-gradient(circle at 50% 45%, #2f4a2b, #111 70%); color: #fff; font: 600 1rem var(--sans); cursor: pointer; }
.video-play .ikon { width: 64px; height: 64px; fill: #fff; stroke: none; }
.video-play small { font-weight: 400; opacity: .7; font-size: .82rem; }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.dialog { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.dialog-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dialog-head b { font-size: 1.05rem; font-weight: 650; }
.dialog-head span { color: var(--muted); font-size: .82rem; }
.dialog-body { padding: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .88rem; }
.input { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--field); color: var(--ink); font: 400 .97rem/1.4 var(--sans); }
textarea.input { resize: vertical; min-height: 120px; }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input::placeholder { color: var(--muted); opacity: .8; }
.error { display: none; margin-top: 6px; color: var(--bad); font-size: .83rem; }
.field.invalid .error { display: block; }
.field.invalid .input { border-color: var(--bad-line); }
.req { color: var(--bad-line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.consent.invalid > span { color: var(--bad); }
.dialog-foot { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.form-status { margin: 0 auto 0 0; font-size: .88rem; }
.form-status.err { color: var(--bad); }
.form-status.ok { color: var(--accent-hi); }
.contact-side { display: grid; gap: 16px; }
.panel { padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel-title { font-size: 1.05rem; font-weight: 650; margin-bottom: 14px; }
.numlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .95rem; }
.numlist li::before { content: counter(n); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 999px; background: var(--accent-bg); color: var(--accent-ink); font-weight: 700; font-size: .8rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.contact-list a:hover { border-color: var(--accent-line); }
.contact-list .ikon { width: 22px; height: 22px; color: var(--accent-hi); }
.contact-list small { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.contact-list b { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Jogi, 404 ---------- */
.legal h2 { font-size: 1.25rem; font-weight: 650; margin: 34px 0 10px; letter-spacing: -.01em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); }
.legal strong { color: var(--ink); }
.notfound { padding: clamp(64px, 10vw, 128px) 0; }
.notfound .big { position: relative; width: min(320px, 100%); height: 34px; margin-bottom: 28px; }
.notfound .big .dim-v { left: 0; top: 8px; }
.notfound .lead { margin: 16px 0 28px; }

/* ---------- Lábléc ---------- */
.footer { background: var(--panel); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 44px; }
.footer h2 { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink-2); text-decoration: none; }
.footer ul a:hover { color: var(--ink); text-decoration: underline; }
.footer-brand p { margin: 16px 0 0; color: var(--ink-2); font-size: .93rem; max-width: 42ch; }
.social { display: flex; gap: 8px; margin-top: 18px; }
.social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--ink-2); }
.social a:hover { color: var(--ink); border-color: var(--ink-2); }
.footer-status { background: var(--bg); }
.trademark { margin: 0; padding-bottom: 18px; font-size: .76rem; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Megjelenési animáció ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  .topbar, .footer, .cta, .subnav, .demo { display: none !important; }
  body { background: #fff; }
}

/* ---------- A nyitóoldal 3D-s bemutatója (js/tortenet.js) ---------- */
.story { position: relative; padding-bottom: clamp(32px, 4vw, 56px); }
.story-view { position: relative; overflow: hidden; }
.story-canvas, .story-labels, .scard, .story-cap, .story-tovabb, .story-lanc { display: none; }
.tortenet .story { height: calc((100svh - var(--top-h)) * 5.6 + 120px); padding-bottom: 0; }
.tortenet .story-sticky { position: sticky; top: calc(var(--top-h) + 4px); }
.tortenet .story-view { height: min(calc(100svh - var(--top-h) - 128px), 60vw); min-height: 340px; }
.tortenet .story-view > .story-poster { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: opacity .7s ease; }
.tortenet .story.kesz3d .story-poster { opacity: 0; }
.tortenet .story-canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.tortenet .story.kesz3d .story-canvas { opacity: 1; }
/* A görgetős bemutató az oldal végén van, csak WebGL-lel látszik; fent álló nyitókép, alatta rögtön az információ. */
html:not(.tortenet) .csak-3d { display: none !important; }
.hero-kep { padding-bottom: clamp(32px, 4vw, 56px); }
.hero-view { position: relative; }
.hero-lepesek { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font: 600 .88rem var(--sans); text-decoration: none; box-shadow: var(--shadow); white-space: nowrap; }
.hero-lepesek .ikon { width: 15px; height: 15px; color: var(--accent-hi); fill: currentColor; }
.hero-lepesek:hover { border-color: var(--accent-line); color: var(--accent-hi); }
.story-fej { padding-bottom: 0; scroll-margin-top: var(--top-h); }
@media (max-width: 600px) { .hero-lepesek { left: 8px; bottom: 8px; padding: 7px 12px; font-size: .82rem; } }
.story .dim { transition: opacity .35s ease; }
.tortenet .story:not(.st-hero) .dim { opacity: 0; }
.tortenet .story-ok { opacity: 0; transition: opacity .4s ease; }
.tortenet .story-ok.on { opacity: 1; }
.story .statusbar b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

.tortenet .story-labels { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sl { position: absolute; left: 0; top: 0; white-space: nowrap; font: 600 .78rem/1.4 var(--sans); will-change: transform; }
.sl-dim { padding: 1px 7px; border: 1px solid var(--dim); border-radius: 4px; background: var(--panel); color: var(--dim); font-variant-numeric: tabular-nums; }
.sl-pin { padding: 4px 11px 4px 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }
.sl-pin::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--orange); }
.sl-lap { padding: 1px 6px; border-radius: 3px; background: color-mix(in srgb, var(--panel) 82%, transparent); color: var(--ink); font-size: .72rem; }

/* kártyák az ablakban */
.tortenet .scard { display: block; position: absolute; top: 14px; right: 14px; width: min(370px, 36%); max-height: calc(100% - 28px); overflow: hidden; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(16px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; }
.tortenet .scard.on { opacity: 1; transform: none; }
.scard-fej { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 13px; border-bottom: 1px solid var(--line); }
.scard-fej b { font-size: .93rem; font-weight: 650; }
.scard-fej span { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.scard .list { font-size: .8rem; }
.scard .list th { padding: 6px 10px; font-size: .74rem; }
.scard .list td { padding: 4px 10px; }
.scard .list tr.mat td { padding: 5px 10px; font-size: .75rem; }
.scard-lista tbody tr, .q-sorok li { opacity: 0; transform: translateX(10px); transition: opacity .3s ease, transform .3s ease; transition-delay: calc(var(--s, 0) * 32ms); }
.scard-lista.on tbody tr, .scard-ajanlat.on .q-sorok li { opacity: 1; transform: none; }
.q-sorok { list-style: none; margin: 0; padding: 4px 13px; }
.q-sorok li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line-soft); }
.q-sorok b { display: block; font-size: .86rem; font-weight: 600; }
.q-sorok small { color: var(--muted); font-size: .74rem; }
.q-sorok em { font-style: normal; font-size: .86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.q-ossz { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 13px; background: var(--accent-bg); color: var(--accent-ink); }
.q-ossz strong { font-size: 1.45rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.q-minta { margin: 0; padding: 7px 13px 9px; font-size: .72rem; color: var(--muted); }
.kod { display: block; padding: 10px 13px; background: #1b1e22; color: #d6dde5; font: 400 .76rem/1.7 var(--mono); }
.kod span { display: block; min-height: 1.7em; padding: 0 5px; margin: 0 -5px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kod .kom { color: #8fc488; }
.kod .most { background: rgba(232, 137, 28, .28); color: #fff; }
.kod-most { margin: 0; padding: 8px 13px 10px; font-size: .78rem; color: var(--ink-2); }
.kod-most span { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; margin-right: 4px; }
.kod-most b { font-weight: 600; color: var(--ink); }

/* felirat, haladásjelző */
.tortenet .story-cap { display: block; position: absolute; left: 14px; bottom: 58px; width: min(410px, calc(100% - 28px)); padding: 15px 17px 16px; background: color-mix(in srgb, var(--panel) 94%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.tortenet .story-cap.on { opacity: 1; transform: none; }
.sc-szam { font: 600 .74rem var(--mono); color: var(--muted); margin-right: 8px; }
.story-cap .tier { vertical-align: 1px; pointer-events: auto; }
.story-cap h3 { margin: 7px 0 4px; font-size: 1.28rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.story-cap p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.tortenet .story-lanc { display: flex; position: absolute; left: 14px; right: 14px; bottom: 10px; margin: 0; padding: 0; list-style: none; opacity: 1; transition: opacity .3s ease; }
.tortenet .story.st-hero .story-lanc { opacity: 0; pointer-events: none; }
.story-lanc li { flex: 1 1 0; min-width: 0; }
.story-lanc button { display: flex; align-items: center; gap: 6px; width: 100%; height: 36px; padding: 0 8px; border: 0; border-top: 2px solid var(--line-2); background: color-mix(in srgb, var(--panel) 86%, transparent); color: var(--ink-2); font: 500 .74rem var(--sans); text-align: left; cursor: pointer; transition: border-color .25s, color .25s; }
.story-lanc li + li button { box-shadow: inset 1.5px 0 0 var(--line-2); }
.story-lanc li:first-child button { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
.story-lanc li:last-child button { border-top-right-radius: 6px; border-bottom-right-radius: 6px; }
.story-lanc i { font: 600 .7rem var(--mono); font-style: normal; color: var(--muted); }
.story-lanc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-lanc .kesz { border-top-color: var(--dim); }
.story-lanc .on { border-top-color: var(--dim); color: var(--ink); font-weight: 650; }
.story-lanc .on i { color: var(--dim); }
.tortenet .story-tovabb { display: inline-flex; align-items: center; gap: 8px; position: absolute; left: 50%; bottom: 14px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font: 600 .86rem var(--sans); box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translate(-50%, 8px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; white-space: nowrap; }
.tortenet .story-tovabb.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.story-tovabb .ikon { width: 16px; height: 16px; color: var(--accent-hi); animation: tovabb 1.5s ease-in-out infinite; }
@keyframes tovabb { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
@media (max-width: 760px) {
  .tortenet .story-view { height: calc(100svh - var(--top-h) - 118px); }
  .tortenet .scard { top: 8px; left: 8px; right: 8px; width: auto; max-height: 164px; }
  .scard-lista tbody tr:nth-child(n+5) { display: none; }
  .scard .list th { padding: 3px 10px; }
  .scard .list td, .scard .list tr.mat td { padding: 2px 10px; }
  .q-sorok li { padding: 3px 0; }
  .q-sorok li:nth-child(n+3), .q-sorok small, .q-minta { display: none; }
  .scard-fej { padding: 6px 12px; }
  .q-ossz { padding: 6px 13px; }
  .q-ossz strong { font-size: 1.15rem; }
  .kod { font-size: .7rem; padding: 7px 11px; }
  .kod-most { display: none; }
  .tortenet .story-cap { left: 8px; bottom: 50px; width: calc(100% - 16px); padding: 11px 13px 12px; }
  .story-cap h3 { font-size: 1.08rem; margin-top: 5px; }
  .story-cap p { font-size: .84rem; line-height: 1.42; }
  .tortenet .story-lanc { left: 8px; right: 8px; bottom: 8px; }
  .story-lanc button { height: 30px; justify-content: center; padding: 0; }
  .story-lanc span { display: none; }
  .sl-pin { font-size: .72rem; padding: 3px 9px 3px 20px; }
  .sl-pin::before { left: 7px; }
  .sl-dim { font-size: .68rem; padding: 0 4px; }
}

/* ---------- Miért készült? ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px clamp(32px, 6vw, 88px); align-items: start; }
.why-prose { margin-top: 22px; }
.why-prose p { font-size: 1.1rem; line-height: 1.68; color: var(--ink-2); }
.why-prose p:first-child { color: var(--ink); font-weight: 500; }
.why-sign { margin: 22px 0 0; padding-left: 13px; border-left: 3px solid var(--accent); font-weight: 600; color: var(--accent-hi); }
.why-foto { margin: 0 0 16px; }
.why-foto img { display: block; width: 100%; border-radius: 10px; }
.swaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.swaps li { padding: 15px 18px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.swaps s { display: block; color: var(--muted); font-size: .95rem; text-decoration-color: var(--bad-line); text-decoration-thickness: 2px; }
.swaps b { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-size: 1.2rem; font-weight: 650; letter-spacing: -.015em; color: var(--accent-hi); }
.swaps b .ikon { width: 19px; height: 19px; stroke-width: 2.4; }
.swaps p { margin: 5px 0 0; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }

/* műhelyből jött részletek, kipróbálható számolómező */
.calc-mini { display: flex; align-items: center; gap: 8px; height: 42px; margin-bottom: 16px; }
.calc-mini input { width: 124px; height: 42px; padding: 0 11px; border: 1px solid var(--accent-line); border-radius: 7px; background: var(--field); color: var(--ink); font: 600 1.02rem var(--sans); font-variant-numeric: tabular-nums; }
.calc-mini input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; }
.calc-mini output { padding: 3px 9px; border-radius: 6px; background: var(--accent-bg); color: var(--accent-ink); font-weight: 650; font-size: .9rem; white-space: nowrap; transition: opacity .2s; }
.calc-mini output:empty { opacity: 0; }

/* árnál: napi összeg */
.price-napi { flex-basis: 100%; font-size: .8rem; font-weight: 600; color: var(--accent-hi); }

/* mit veszíthetsz? */
.risk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 44px; align-items: center; margin-top: 28px; padding: 22px 26px; background: var(--accent-bg); border: 1px solid var(--accent-line); border-radius: var(--r-lg); }
.risk .h3 { margin-bottom: 6px; }
.risk-txt p { margin: 0; color: var(--ink-2); max-width: 58ch; }
.risk-pontok { margin: 0; gap: 6px; font-weight: 500; font-size: .95rem; }
@media (max-width: 900px) { .risk { grid-template-columns: 1fr; padding: 20px; } }

/* megéri? számoló és ár-összevetés */
.worth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.calc-mezok { display: grid; gap: 11px; }
.calc .fld { grid-template-columns: minmax(0, 1fr) 118px; font-size: .92rem; }
.calc .fld input[type="text"], .calc .fld select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--field); color: var(--ink); font: 500 .94rem var(--sans); font-variant-numeric: tabular-nums; }
.calc .fld small { color: var(--muted); }
.calc .fld-csuszka output { justify-self: end; font-weight: 650; color: var(--ink); }
.calc-ki { margin-top: 16px; padding: 15px 18px; background: var(--accent-bg); border-radius: 10px; }
.calc-ki p { margin: 0 0 4px; color: var(--ink-2); font-size: .95rem; }
.calc-nagy { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 9px; }
.calc-nagy b { font-size: 2.2rem; font-weight: 650; line-height: 1.1; letter-spacing: -.03em; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.calc-ki .calc-nyer { margin: 8px 0 0; font-weight: 650; color: var(--accent-ink); }
.calc-megj { margin: 13px 0 0; font-size: .84rem; color: var(--muted); }
.cost-sorok { list-style: none; margin: 0; padding: 0; display: grid; gap: 17px; }
.cost-fej { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 6px; font-size: .92rem; }
.cost-fej b { font-weight: 500; }
.cost-fej small { color: var(--muted); }
.cost-fej strong { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cost-sav { display: block; height: 10px; border-radius: 4px; background: var(--line-soft); }
.cost-sav > i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--line-2); transform-origin: left center; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .cost:not(.in) .cost-sav > i { transform: scaleX(0); }
.sajat .cost-sav > i { background: var(--btn); }
.sajat .cost-fej b, .sajat .cost-fej strong { color: var(--accent-hi); font-weight: 650; }
@media (max-width: 900px) { .worth { grid-template-columns: 1fr; } }

/* vélemények */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.quote figcaption b { display: block; font-weight: 650; }
.quote figcaption span { color: var(--muted); font-size: .88rem; }
/* a konyha felépítése gombbal (ha ki vannak kapcsolva az animációk, csak így indul) */
.story-ujra { display: none; }
.tortenet .story-ujra { display: inline-flex; align-items: center; gap: 7px; position: absolute; left: 14px; top: 14px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font: 600 .84rem var(--sans); box-shadow: var(--shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.tortenet .story-ujra .ikon { width: 15px; height: 15px; color: var(--accent-hi); fill: currentColor; }
.tortenet .story.st-hero .story-ujra.on { opacity: 1; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { .story-tovabb .ikon { animation: none; } }