/* INIOS bemutatkozó oldal — Nordic Tech Minimalism.
   Egy betűtípus (Inter, két súly), a márka négy színe lapos mezőkben, a fejezetek kemény éllel találkoznak.
   A képernyőrészletek (data-ui) a termék saját felületének hű másai demóadatokkal; ott a termék saját szabályai élnek. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/inter-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; }

:root {
  --paper: #F3F5F8;
  --stone: #D8DCE1;
  --glacier: #CDE8F7;
  --ink: #0F1B24;
  --fjord: #8FA4B8;
  --silver: #DBE0E7;
  --ink-2: #33424E;
  --paper-2: #B9C5D0;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s-small: 15px;
  --s-body: clamp(18px, 0.45vw + 15.2px, 20px);
  --s-clause: clamp(21px, 1.2vw + 12px, 32px);
  --s-head: clamp(34px, 3.4vw + 8px, 60px);
  --s-display: clamp(46px, 8.2vw, 132px);

  --m: max(clamp(16px, 2.8vw, 40px), calc((100vw - 1560px) / 2));
  --gap: clamp(12px, 1.4vw, 20px);
  --pad-y: clamp(88px, 10vw, 160px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; scrollbar-color: var(--ink) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--s-body); line-height: 1.5; font-weight: 400; font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
[data-tone="dark"] ::selection, .cta ::selection { background: var(--glacier); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[data-tone="dark"] :focus-visible { outline-color: var(--glacier); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: var(--m); top: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-160%); transition: transform var(--t-hover) var(--ease-out); }
.skip:focus { transform: none; }

/* ---------- tónus: a mezők szövegszíne ---------- */
[data-tone="light"] { --fg: var(--ink); --fg-2: var(--ink-2); }
[data-tone="dark"] { --fg: var(--paper); --fg-2: var(--paper-2); }

/* ---------- típus: öt lépés ---------- */
.t-display { font-size: var(--s-display); line-height: 0.95; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.t-display-2 { font-size: clamp(40px, 6.2vw, 100px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.t-head { font-size: var(--s-head); line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
.t-clause { font-size: var(--s-clause); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.t-body { font-size: var(--s-body); line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }

/* ---------- gombok ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 16px; font-weight: 600; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-accent { background: var(--glacier); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #26394A; }
  .button-accent:hover { background: #E4F3FB; }
}

/* ---------- navigáció ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--m); color: var(--fg); transition: color 240ms ease; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav-brand { display: block; width: clamp(84px, 7.4vw, 112px); color: inherit; }
.wm { width: 100%; height: auto; fill: currentColor; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-links a { font-size: var(--s-small); font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; text-decoration-thickness: 0.08em; transition: text-decoration-color var(--t-hover) ease; }
.nav-links a.nav-cta { padding: 11px 18px; background: var(--fg); color: var(--paper); border-radius: 999px; text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color 240ms ease, color 240ms ease; }
.nav[data-tone="dark"] .nav-links a.nav-cta { background: var(--glacier); color: var(--ink); }
.nav-links a.nav-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .nav-links a:not(.nav-cta):hover { text-decoration-color: currentColor; } }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- fejezetek ---------- */
.chapter { position: relative; padding: var(--pad-y) var(--m); min-height: 90svh; color: var(--fg); }
.chapter .t-body { color: var(--fg-2); }
.chapter > h2, .chapter h2 { color: var(--fg); }

/* ---------- 1. hero ---------- */
.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 1fr; column-gap: var(--gap); min-height: 100svh; padding: clamp(116px, 11vw, 150px) var(--m) 0; background: var(--paper); overflow: hidden; }
.hero h1 { grid-column: 1 / 9; grid-row: 1; }
.hero-side { grid-column: 1 / 5; grid-row: 2; align-self: start; padding: clamp(28px, 3vw, 44px) 0 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; position: relative; z-index: 2; }
.stage { grid-column: 5 / 13; grid-row: 2; position: relative; margin: clamp(28px, 3vw, 48px) calc(var(--m) * -1) 0 0; background: var(--ink); color: var(--paper); min-height: 340px; overflow: hidden;
  clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); }
.stage-in { position: absolute; left: clamp(28px, 4vw, 56px); top: clamp(36px, 4.2vw, 64px); width: min(660px, calc(100% - clamp(28px, 4vw, 56px))); transform-origin: 0 0; }
.stage-note { position: absolute; right: var(--m); top: 18px; font-size: 13px; color: var(--paper-2); }

/* ---------- képernyőrészletek (data-ui): a termék saját felülete ---------- */
.ui { font-size: 14px; line-height: 1.4; color: var(--ink); background: var(--paper); border-radius: 6px; font-feature-settings: "tnum"; }
.ui b, .ui strong { font-weight: 600; }
.ui-dim { color: #5A6B79; }
.ui-dot { width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--ink); flex: none; }
.ui-bar { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--stone); } /* taste-skill-ignore: a termék saját felülete (data-ui) */
.ui-rows li { display: grid; grid-template-columns: 8.4em 1fr auto; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #E4E8ED; } /* taste-skill-ignore: a termék saját felülete (data-ui) */
.ui-rows time { color: #5A6B79; font-size: 13px; }
.ui-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-jarvis { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--glacier); }
.ui-today { border-radius: 6px 6px 0 0; }
.ui-jarvis p { flex: 1; font-size: 14px; }
.ui-btn { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; background: var(--ink); color: var(--paper); border-radius: 2px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.ui-btn-ghost { background: transparent; color: var(--ink); }
button.ui-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { button.ui-btn:hover { background: #26394A; } button.ui-btn-ghost:hover { background: rgba(15, 27, 36, 0.08); } }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 0.26em 0.75em; border-radius: 99px; font-size: 0.86em; font-weight: 600; white-space: nowrap; }
.pill-new { background: var(--glacier); color: var(--ink); }
.pill-draft { background: var(--stone); color: var(--ink); }
.pill-ok { background: var(--ink); color: var(--paper); }
.pill-bill { background: #B9D8EC; color: var(--ink); }
.pill-wait { background: var(--fjord); color: var(--ink); }
[data-tone="dark"] .pill-ok { background: var(--paper); color: var(--ink); }
.disc { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.78em; font-weight: 600; margin-right: 0.4em; }

/* ---------- 2. próbáld ki ---------- */
.try { background: var(--glacier); padding-bottom: calc(var(--pad-y) * 0.8); }
.try .t-head { max-width: 16ch; }
.try-line { margin-top: clamp(28px, 4vw, 56px); }
.try-input { font-size: clamp(36px, 6vw, 104px); display: block; width: 100%; padding: 0 0 0.06em; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); caret-color: var(--ink); text-overflow: clip; overflow-x: auto; white-space: nowrap; min-width: 0; -webkit-appearance: none; appearance: none; }
.try-input:focus-visible { outline: 3px solid var(--ink); outline-offset: 10px; }
.try-input::selection { background: var(--ink); color: var(--glacier); }
.try-answer { margin-top: clamp(28px, 3.4vw, 48px); max-width: 560px; }
.ui-quote { background: var(--paper); border-radius: 6px; overflow: hidden; }
.q-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--stone); } /* taste-skill-ignore: a termék saját felülete (data-ui) */
.q-rows { padding: 6px 18px 4px; }
.q-rows div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid #E4E8ED; } /* taste-skill-ignore: a termék saját felülete (data-ui) */
.q-rows div:last-child { border-bottom: 0; }
.q-rows dt { color: #5A6B79; }
.q-rows dd { text-align: right; font-weight: 500; }
.q-total { background: #E9EEF3; }
.q-total dd, .q-total dt { font-weight: 600; color: var(--ink); }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: #E9EEF3; }
.q-foot p { font-size: 13px; color: var(--ink-2); max-width: 30ch; }
.q-ask { padding: 18px; }
.q-ask p { font-weight: 500; }
.q-done { padding: 18px; }
.q-done p + p { margin-top: 6px; color: var(--ink-2); }
.try-examples { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.try-ex-label { font-size: var(--s-small); font-weight: 500; margin-right: 6px; }
.ex { min-height: 44px; padding: 0 16px; background: var(--paper); color: var(--ink); border-radius: 2px; font-size: 16px; font-weight: 500; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.ex:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ex:hover { background: var(--ink); color: var(--paper); } }
.try-note { margin-top: 28px; font-size: var(--s-small); color: var(--ink-2); max-width: 62ch; }

/* ---------- 3. egy ügy útja ---------- */
.strip { position: relative; background: var(--stone); }
.strip-title { position: absolute; left: var(--m); top: clamp(100px, 9vw, 130px); z-index: 3; color: var(--ink); max-width: 7ch; }
.strip-fields { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 100svh; }
.field { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 0 clamp(16px, 2vw, 32px) 32px; color: var(--fg); min-height: 64svh; }
.f1 { background: var(--stone); }
.f2 { background: var(--ink); }
.f3 { background: var(--glacier); }
.f4 { background: var(--fjord); }
.field .card { margin-top: 38svh; width: min(300px, 100%); }
.field .clause { align-self: flex-start; max-width: 14ch; padding-top: 28px; }
.card { padding: 18px; background: var(--paper); border-radius: 6px; font-size: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-line { margin-top: 10px; font-weight: 500; }
.card-meta { margin-top: 14px; display: grid; gap: 8px; }
.card-meta div { display: flex; justify-content: space-between; gap: 12px; }
.card-meta dt { color: #5A6B79; }
.card-meta dd { text-align: right; }
.card-check { margin-top: 14px; display: grid; gap: 9px; }
.card-check li { display: flex; align-items: center; gap: 10px; color: #5A6B79; }
.card-check svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; border: 1.5px solid #9FB0BF; fill: none; stroke: transparent; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card-check .is-done { color: var(--ink); }
.card-check .is-done svg { background: var(--ink); border-color: var(--ink); stroke: var(--paper); }
.card-fig { margin-top: 14px; font-size: var(--s-clause); font-weight: 600; letter-spacing: -0.03em; }
.card-fig .ui-dim { font-size: 14px; font-weight: 400; letter-spacing: 0; }
.card-foot { margin-top: 10px; color: var(--ink-2); font-size: 13px; }

/* ---------- 4. Jarvis ---------- */
.jarvis { background: var(--ink); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 88px); align-content: start; }
.jarvis-copy { grid-column: 1 / 9; display: flex; flex-direction: column; gap: 32px; }
.jarvis-chat { grid-column: 9 / 13; align-self: end; padding: 0; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--stone); } /* taste-skill-ignore: a termék saját felülete (data-ui) */
.chat-msg { padding: 20px 18px 6px; font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; min-height: 5.2em; }
.chat-msg .w { display: inline-block; white-space: pre; }
.chat-actions { display: flex; gap: 8px; padding: 6px 18px 14px; }
.chat-actions .ui-btn { min-height: 40px; }
.chat-state { padding: 12px 18px; background: #E9EEF3; font-size: 13px; color: var(--ink-2); border-radius: 0 0 6px 6px; }
.never { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.never li { padding-right: 8%; }
.never .t-clause { color: var(--paper); }

/* ---------- 5. közjáték: a márka mozgóképe ---------- */
.reveal { position: relative; background: var(--silver); }
.reveal-pin { position: relative; display: flex; flex-direction: column; background: var(--silver); }
.reveal-title { flex: none; padding: clamp(28px, 3vw, 44px) var(--m) clamp(32px, 3.4vw, 52px); max-width: 22ch; color: var(--ink); }
.reveal-media { position: relative; flex: 1; min-height: 62svh; }
.reveal-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: var(--silver); }
.js:not(.no-motion) .reveal-pin { height: 100svh; overflow: hidden; }
.js:not(.no-motion) .reveal-media { min-height: 0; }

/* ---------- 6. modulok: közelképek egy táblán ---------- */
.board { background: var(--paper); padding: 10px; min-height: 0; }
.board-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 104px; gap: 8px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: var(--ink); }
.tile h3 { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; position: relative; z-index: 2; }
.tile p { font-size: 15px; line-height: 1.4; margin-top: 2px; max-width: 34ch; position: relative; z-index: 2; }
.tl-a { grid-column: 1 / 7; grid-row: 1 / 5; background: var(--ink); color: var(--paper); }
.tl-b { grid-column: 7 / 10; grid-row: 1 / 5; background: var(--glacier); }
.tl-c { grid-column: 10 / 13; grid-row: 1 / 5; background: var(--fjord); }
.tl-head { grid-column: 1 / 7; grid-row: 5 / 7; background: var(--stone); justify-content: flex-start; }
.tl-d { grid-column: 7 / 10; grid-row: 5 / 7; background: var(--ink); color: var(--paper); }
.tl-e { grid-column: 10 / 13; grid-row: 5 / 7; background: var(--glacier); }
.tl-f { grid-column: 1 / 7; grid-row: 7 / 9; background: var(--fjord); }
.tl-g { grid-column: 7 / 13; grid-row: 7 / 9; background: var(--stone); }
.tl-a, .tl-d { --tile-tone: dark; }
.tl-a .ui, .tl-d .ui { background: transparent; color: var(--paper); }
.tl-a p, .tl-d p { color: var(--paper-2); }
.tile .ui { background: transparent; color: inherit; border-radius: 0; }
.zoom { position: absolute; z-index: 1; display: flex; align-items: center; gap: 0.3em; line-height: 1; white-space: nowrap; }
.z-fig { font-size: clamp(64px, 9.4vw, 148px); right: auto; left: 20px; top: 22px; flex-direction: column; align-items: flex-start; gap: 0.1em; }
.fig-label { font-size: 0.17em; font-weight: 500; color: var(--paper-2); letter-spacing: 0; }
.fig-num { font-weight: 600; letter-spacing: -0.045em; }
.z-disc { font-size: clamp(64px, 6.6vw, 104px); right: -0.18em; top: 0.22em; gap: 0; }
.z-disc .disc { width: 1em; height: 1em; font-size: 1em; margin: 0 0 0 -0.26em; border: 0.06em solid var(--glacier); font-size: 1em; }
.z-disc .disc { font-size: 1em; }
.z-disc .d1 { background: var(--ink); }
.z-disc .d2 { background: #26394A; }
.z-disc .d3 { background: var(--paper); color: var(--ink); }
.z-toggle { font-size: clamp(40px, 4.6vw, 72px); left: 0.6em; top: 0.9em; }
.tg { position: relative; width: 2.5em; height: 1.4em; border-radius: 99px; background: var(--ink); transition: background-color 240ms ease; }
.tg i { position: absolute; top: 0.2em; left: 1.3em; width: 1em; height: 1em; border-radius: 50%; background: var(--paper); transition: left 320ms var(--ease-out); }
.tg.is-off { background: #6E8396; }
.tg.is-off i { left: 0.2em; }
.z-status { font-size: clamp(34px, 4vw, 62px); left: 0.5em; top: 0.7em; }
.z-cal { font-size: clamp(30px, 3.4vw, 54px); left: 0.4em; top: 0.7em; }
.chip { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.28em 0.7em; border-radius: 0.3em; background: var(--ink); color: var(--paper); font-weight: 600; }
.chip b { display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--glacier); color: var(--ink); font-size: 0.8em; }
.z-keys { font-size: clamp(34px, 4vw, 62px); left: 0.5em; top: 0.5em; gap: 0.25em; }
.key { display: inline-block; padding: 0.36em 0.7em; border-radius: 0.28em; background: var(--paper); color: var(--ink); font-weight: 600; }
.key-on { background: var(--ink); color: var(--paper); }
.key-arrow { font-weight: 600; }
.z-custom { font-size: clamp(30px, 3.6vw, 56px); left: 0.5em; top: 0.5em; gap: 0.25em; }

/* ---------- 7–8. kinek, így indul ---------- */
.who { background: var(--stone); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 88px); align-content: start; min-height: 0; }
.who-copy { grid-column: 1 / 10; display: flex; flex-direction: column; gap: 32px; }
.who-list { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.who-list li { display: flex; flex-direction: column; gap: 12px; padding-right: 8%; }
.who-list p, .start-steps p { font-size: var(--s-body); color: var(--ink-2); max-width: 30ch; }
.start { background: var(--glacier); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 88px); align-content: start; min-height: 0; }
.start > h2 { grid-column: 1 / 13; }
.start-steps { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.start-steps li { display: flex; flex-direction: column; gap: 12px; padding-right: 8%; }

/* ---------- 9. felhívás ---------- */
.cta { background: var(--ink); min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.cta h2 { font-size: var(--s-display); }
.cta-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.cta-row p { grid-column: 1 / 6; font-size: 20px; }
.cta-row .button { grid-column: 10 / 13; justify-self: end; min-height: 56px; }
.cta-panel { display: grid; grid-template-rows: 1fr; }
.cta-panel[hidden] { display: none; }
.cta-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); max-width: 920px; }
.f-row { display: flex; flex-direction: column; gap: 8px; }
.f-wide { grid-column: 1 / 3; }
.f-row label { font-size: var(--s-small); color: var(--paper-2); }
.f-row input, .f-row textarea { width: 100%; min-height: 52px; padding: 12px 14px; background: #1B2B38; color: var(--paper); border: 0; border-radius: 2px; font-size: 17px; resize: vertical; }
.f-row input:focus-visible, .f-row textarea:focus-visible { outline: 3px solid var(--glacier); outline-offset: 2px; }
.f-foot { grid-column: 1 / 3; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.f-msg { font-size: var(--s-small); color: var(--paper-2); max-width: 52ch; }

/* ---------- 10. lábléc ---------- */
.foot { background: var(--paper); color: var(--ink); padding: clamp(72px, 9vw, 128px) var(--m) 28px; }
.foot-wm { width: 100%; color: var(--ink); }
.foot-row { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.foot-places { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 4px; }
.foot-places .t-clause { font-size: var(--s-clause); }
.foot-links { grid-column: 8 / 13; display: flex; flex-direction: column; gap: 10px; font-size: var(--s-small); }
.foot-links a, .foot-legal a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .foot-links a:hover, .foot-legal a:hover { text-decoration-color: currentColor; } }
.foot-legal { margin-top: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }

/* ---------- mozgás: a tartalom JS nélkül is látszik ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) [data-rise] { opacity: 0; transform: translateY(24px); }
  .js:not(.no-motion) [data-reveal] { opacity: 0; transform: translateY(30px); }
  .js:not(.no-motion) .lines [data-line] { transform: translateY(108%); }
  .js:not(.no-motion) .stage { clip-path: polygon(72px 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); }
  .js:not(.no-motion) .stage.is-open { clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); transition: clip-path 1150ms var(--ease-in-out); }
  .js:not(.no-motion) .tile { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media (hover: hover) and (pointer: fine) {
  .tl-b:hover .z-disc .disc { margin-left: -0.12em; }
}
.z-disc .disc { transition: margin-left 420ms var(--ease-out); }

/* ---------- reszponzív ---------- */
@media (max-width: 1100px) {
  .jarvis-copy { grid-column: 1 / 13; }
  .jarvis-chat { grid-column: 1 / 11; align-self: start; }
  .who-copy { grid-column: 1 / 13; }
  .z-fig { font-size: clamp(56px, 11vw, 120px); }
}
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding-top: 108px; }
  .hero h1 { font-size: 15vw; }
  .hero-side { padding: 28px 0 32px; }
  .stage { margin: 0 calc(var(--m) * -1); min-height: 0; padding-bottom: 0; clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%, 0 72px); }
  .stage-in { position: relative; left: auto; top: auto; width: auto; margin: 40px var(--m) 0; }
  .stage { height: 420px; }
  .stage-note { top: 14px; }
  .ui-rows li { grid-template-columns: auto 1fr; align-items: start; }
  .ui-rows time { display: none; }
  .ui-main { white-space: normal; }
  .ui-jarvis { flex-wrap: wrap; }
  .ui-jarvis p { flex-basis: calc(100% - 24px); }
  .chapter { min-height: 0; }
  .try { padding-top: 96px; }
  .try-input { font-size: 8vw; }
  .strip-fields { display: block; min-height: 0; }
  .field { min-height: 0; padding-bottom: 36px; align-items: flex-start; justify-content: flex-start; flex-direction: column-reverse; }
  .field .card { margin-top: 28px; width: min(320px, 100%); }
  .field .clause { align-self: flex-start; padding-top: 28px; font-size: 24px; max-width: none; }
  .f1 { padding-top: 200px; }
  .strip-title { top: 96px; }
  .jarvis-chat { grid-column: 1 / 13; }
  .never { grid-template-columns: 1fr; gap: 28px; }
  .reveal-video { object-fit: contain; object-position: 50% 50%; }
  .reveal-media { min-height: 52svh; }
  .board { padding: 6px; }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: min(28vw, 120px); gap: 6px; }
  .tl-head { grid-column: 1 / 3; grid-row: auto / span 2; order: -1; }
  .tl-a, .tl-f, .tl-g { grid-column: 1 / 3; grid-row: auto / span 3; }
  .tl-b, .tl-c, .tl-d, .tl-e { grid-column: auto; grid-row: auto / span 2; }
  .tile { padding: 16px; }
  .tile h3 { font-size: 16px; }
  .tile p { font-size: 14px; }
  .tl-head .t-head { font-size: min(9vw, 56px); }
  .z-fig { font-size: min(25vw, 104px); }
  .z-disc { font-size: min(20vw, 84px); }
  .z-toggle { font-size: min(12vw, 50px); }
  .z-status, .z-cal { font-size: min(9vw, 40px); }
  .z-keys { font-size: min(9vw, 38px); }
  .z-custom { font-size: min(7vw, 30px); }
  .who-list, .start-steps { grid-template-columns: 1fr; gap: 36px; }
  .cta { min-height: 80svh; }
  .cta h2 { font-size: 11.5vw; }
  .cta-row { grid-template-columns: 1fr; row-gap: 28px; }
  .cta-row p, .cta-row .button { grid-column: 1; justify-self: stretch; }
  .cta-form { grid-template-columns: 1fr; }
  .f-wide, .f-foot { grid-column: 1; }
  .foot-places, .foot-links { grid-column: 1 / 13; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .field { flex-direction: row-reverse; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 56px var(--m); }
  .field .card { margin-top: 0; width: min(360px, 52%); }
  .field .clause { padding-top: 4px; max-width: 14ch; font-size: var(--s-clause); }
  .f1 { padding-top: 200px; }
}
@media (max-width: 480px) {
  .t-display { font-size: 15vw; }
  .try-input { font-size: 8vw; }
}
