/* INIOS-oldal: többoldalas rendszer — modulmenü, oldal-hero animált háttérrel, eszközkeretek (tablet, telefon), képernyőrészletek,
   diagramok, funkció-szakaszok, folyamat, Jarvis-terv. A képernyőrészletek (data-ui) a termék saját felülete: ott kis keretek és tónuslépcsők élnek. */

/* ---------- alap ikon ---------- */
.ic { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-d { width: 0.9em; height: 0.9em; transform: rotate(90deg); margin-left: 0.35em; transition: transform 200ms var(--ease-out); }
[aria-expanded="true"] > .ic-d { transform: rotate(-90deg); }
.ic-go { width: 1.1em; height: 1.1em; margin-left: auto; }

/* ---------- navigáció: modulmenü + mobil menü ---------- */
.nav { transition: color 240ms ease, background-color 240ms ease; }
.nav.is-solid { background: var(--paper); }
.nav.is-open { background: var(--paper); color: var(--ink); }
.nav.is-open .nav-links a.nav-cta { background: var(--ink); color: var(--paper); }
.nav.is-solid[data-tone="dark"] { background: var(--ink); }
.nav-mod { display: inline-flex; align-items: center; font-size: var(--s-small); font-weight: 500; color: inherit; padding: 6px 0; }
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: inherit; margin-right: -8px; }
.nav-burger .ic { width: 26px; height: 26px; }
.mega { position: fixed; inset: 0 0 auto 0; z-index: 48; background: var(--paper); color: var(--ink); padding: 84px var(--m) 36px; pointer-events: auto; }
.mega[hidden], .m-menu[hidden] { display: none; }
.mega-in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px var(--gap); max-width: 1500px; margin: 0 auto; }
.mega-h { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.mega-g ul li + li { margin-top: 2px; }
.mega-g a, .m-menu a { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 2px; text-decoration: none; transition: background-color var(--t-hover) ease; }
.mega-g a span { display: flex; flex-direction: column; line-height: 1.3; }
.mega-g a b { font-size: 15px; font-weight: 600; }
.mega-g a i { font-style: normal; font-size: 13px; color: var(--ink-2); }
.mega-g a .ic { margin-top: 2px; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .mega-g a:hover, .m-menu a:hover { background: var(--stone); } }
.mega-f { grid-column: 1 / -1; padding-top: 8px; }
.mega-all { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.m-menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); color: var(--ink); overflow-y: auto; padding: 84px var(--m) 48px; }
.m-menu ul + .mega-h { margin-top: 24px; }
.m-menu a { font-size: 18px; font-weight: 500; }
@media (max-width: 1100px) { .nav-links > a:not(.nav-cta), .nav-mod { display: none; } .nav-burger { display: inline-flex; } .nav-cta { margin-left: auto; } .mega { display: none !important; } }
@media (min-width: 1101px) { .m-menu { display: none !important; } }

/* ---------- oldal-hero + animált horizont-háttér ---------- */
.phero { position: relative; overflow: hidden; background: var(--paper); min-height: 86svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(112px, 11vw, 150px) var(--m) clamp(40px, 5vw, 72px); }
.hz { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, #F3F5F8 0%, #EBF0F5 55%, #DDE7F0 100%); /* taste-skill-ignore: a márka horizont-háttere, a tulajdonos kérésére */ }
.hz canvas { width: 100%; height: 100%; display: block; }
.phero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: center; width: 100%; max-width: 1560px; margin: 0 auto; }
.phero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.phero-copy h1 { font-size: clamp(36px, 4.5vw, 72px); }
.phero-vis { min-width: 0; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--s-small); color: var(--ink-2); }
.crumb a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.25em; transition: text-decoration-color var(--t-hover) ease; }
.crumb i { font-style: normal; opacity: 0.55; }
@media (hover: hover) and (pointer: fine) { .crumb a:hover { text-decoration-color: currentColor; } }
.cta-r { display: flex; flex-wrap: wrap; gap: 12px; }
.button-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
@media (hover: hover) and (pointer: fine) { .button-ghost:hover { background: var(--ink); color: var(--paper); } }
.chips-r { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: clamp(36px, 4vw, 56px) auto 0; width: 100%; max-width: 1560px; }
.chips-r a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; background: rgba(255, 255, 255, 0.7); color: var(--ink); border-radius: 2px; font-size: var(--s-small); font-weight: 500; text-decoration: none; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chips-r a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .chips-r a:hover { background: var(--ink); color: var(--paper); } }
@media (max-width: 960px) { .phero { min-height: 0; } .phero-in { grid-template-columns: 1fr; } .phero-copy h1 { font-size: clamp(36px, 9vw, 64px); } }

/* ---------- eszközkeretek ---------- */
.dev { container-type: inline-size; margin: 0; position: relative; }
.dev-cap { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.dev-frame { position: relative; background: #0F1B24; padding: 1.7cqw; border-radius: 3.4cqw; }
.dev-cam { position: absolute; left: 50%; top: 0.55cqw; width: 0.7cqw; height: 0.7cqw; border-radius: 50%; background: #2A3B49; transform: translateX(-50%); }
.dev-screen { border-radius: 1.9cqw; overflow: hidden; background: var(--paper); aspect-ratio: 4 / 3; font-size: 1.9cqw; line-height: 1.35; }
.dev-phone { width: min(100%, 290px); margin-inline: auto; }
.dev-phone .dev-frame { padding: 3cqw; border-radius: 13cqw; }
.dev-island { position: absolute; left: 50%; top: 3.6cqw; width: 26cqw; height: 5.4cqw; border-radius: 99px; background: #0F1B24; transform: translateX(-50%); z-index: 3; }
.dev-phone .dev-screen { border-radius: 10.5cqw; aspect-ratio: 9 / 19; font-size: 4.3cqw; }
.pair { position: relative; padding-bottom: 8%; }
.pair .dev-tablet { width: 86%; }
.pair .dev-phone { position: absolute; right: 0; bottom: 0; width: 30%; }
.pair .dev-phone .dev-cap, .pair .dev-tablet .dev-cap { display: none; }
.pair + .vis-n { margin-top: 6px; }
.dev-tablet { width: 100%; }

/* app-keret: sín + fejléc + törzs (tablet), fejléc + törzs + fülek (telefon) */
.app { display: grid; grid-template-columns: 7.5% minmax(0, 1fr); height: 100%; color: var(--ink); }
.app-rail { background: #0F1B24; display: flex; flex-direction: column; align-items: center; gap: 1.1em; padding: 1em 0; }
.app-logo { display: grid; place-items: center; width: 1.9em; height: 1.9em; background: var(--glacier); color: var(--ink); font-weight: 600; border-radius: 0.3em; margin-bottom: 0.4em; }
.rail-i { display: grid; place-items: center; width: 2.2em; height: 2.2em; color: #8FA4B8; border-radius: 0.4em; }
.rail-i.on { background: rgba(255, 255, 255, 0.12); color: #fff; }
.app-main { display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; gap: 1em; padding: 0.8em 1.2em; background: #fff; }
.app-top b { font-weight: 600; font-size: 1.1em; }
.app-search { flex: 1; display: flex; align-items: center; gap: 0.5em; max-width: 24em; margin-left: auto; padding: 0.45em 0.8em; background: var(--paper); color: #5A6B79; border-radius: 0.4em; }
.app-top .disc { margin: 0; flex: none; }
.app-body { flex: 1; padding: 1.1em 1.2em; overflow: hidden; background: var(--paper); }
.app-m { display: flex; flex-direction: column; height: 100%; }
.app-m .app-top { padding: 3.2em 1em 0.7em; }
.app-m .app-body { padding: 0.9em; }
.app-tabs { display: flex; justify-content: space-around; padding: 0.7em 0 1.1em; background: #fff; }
.tab-i { color: #8FA4B8; }
.tab-i.on { color: var(--ink); }
.disc-ink { background: var(--ink); }
.disc-lg { width: 3em; height: 3em; font-size: 1em; }
.avatar { display: inline-grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--glacier); color: var(--ink); font-weight: 600; font-size: 0.85em; flex: none; }

/* képernyő-építőelemek */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1em; height: 100%; }
.split-q { grid-template-columns: 1.6fr 1fr; }
.split-i { grid-template-columns: 1.35fr 1fr; }
.split-s { grid-template-columns: 1.7fr 1fr; }
.pane { background: #fff; border-radius: 0.5em; padding: 1em; min-width: 0; display: flex; flex-direction: column; gap: 0.7em; overflow: hidden; }
.pane-d { gap: 0.8em; }
.pane-j { background: var(--glacier); }
.pane-g { align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4em; }
.list { display: flex; flex-direction: column; }
.list li { display: flex; align-items: center; gap: 0.7em; padding: 0.6em 0; border-bottom: 1px solid #E8ECF0; }
.list li:last-child { border-bottom: 0; }
.li-main { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.3; }
.li-main b { font-weight: 600; }
.li-main i, .ui-dim { font-style: normal; color: #5A6B79; font-size: 0.92em; }
.list-i li > b { font-weight: 600; white-space: nowrap; }
.list-f li { gap: 0.8em; }
.list-f .ic { color: #5A6B79; width: 1.6em; height: 1.6em; }
.list-m li { padding: 0.75em 0; }
.d-head { display: flex; align-items: center; gap: 0.8em; }
.d-head i { display: block; font-style: normal; color: #5A6B79; }
.d-meta { display: flex; flex-direction: column; gap: 0.5em; }
.d-meta div { display: flex; justify-content: space-between; gap: 1em; }
.d-meta dt { color: #5A6B79; }
.d-meta dd { text-align: right; }
.d-act { display: flex; flex-wrap: wrap; gap: 0.5em; margin-top: auto; }
.timeline { display: flex; flex-direction: column; gap: 0.6em; padding-left: 1em; border-left: 2px solid var(--glacier); }
.timeline li { display: flex; flex-direction: column; line-height: 1.3; }
.timeline i { font-style: normal; color: #5A6B79; font-size: 0.9em; }
.q-top { display: flex; align-items: center; justify-content: space-between; gap: 1em; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; color: #5A6B79; padding: 0.5em 0.4em; font-size: 0.92em; }
.tbl td { padding: 0.6em 0.4em; border-top: 1px solid #E8ECF0; }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.tot { display: grid; grid-template-columns: 1fr auto; gap: 0.3em 1em; margin-top: 0.4em; padding: 0.7em; background: var(--paper); border-radius: 0.4em; }
.tot b { text-align: right; font-weight: 600; }
.tot-g { font-size: 1.1em; font-weight: 600; }
.j-head { display: flex; align-items: center; gap: 0.5em; }
.j-head .ic { color: var(--ink); }
.mini li { display: flex; justify-content: space-between; gap: 1em; padding: 0.35em 0; }
.mini i { font-style: normal; color: #5A6B79; }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8em; height: 100%; }
.kb-col { background: #E9EEF3; border-radius: 0.5em; padding: 0.7em; display: flex; flex-direction: column; gap: 0.6em; }
.kb-h { display: flex; justify-content: space-between; }
.kb-h i { font-style: normal; color: #5A6B79; }
.kb-card { background: #fff; border-radius: 0.4em; padding: 0.7em; display: flex; flex-direction: column; gap: 0.2em; }
.kb-card span { color: #5A6B79; }
.kb-f { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4em; }
.kb-f em { display: inline-flex; align-items: center; gap: 0.3em; font-style: normal; color: #5A6B79; }
.kb-f .ic { width: 1em; height: 1em; }
.mo { display: flex; justify-content: space-between; align-items: baseline; }
.mo i { font-style: normal; color: #5A6B79; }
.cal { display: flex; flex-direction: column; gap: 0.8em; height: 100%; }
.cal-h { display: flex; justify-content: space-between; align-items: center; }
.cal-g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5em; flex: 1; }
.cal-d { position: relative; background: #fff; border-radius: 0.4em; min-height: 11em; padding-top: 2em; }
.cal-dn { position: absolute; top: 0.6em; left: 0.7em; font-weight: 600; color: #5A6B79; }
.ev { position: absolute; left: 0.4em; right: 0.4em; top: calc(2.2em + var(--t) * 1.5em); height: calc(var(--l) * 1.5em - 0.2em); border-radius: 0.3em; padding: 0.3em 0.5em; font-size: 0.9em; line-height: 1.2; overflow: hidden; }
.ev-a { background: var(--glacier); }
.ev-b { background: var(--ink); color: var(--paper); }
.ev-c { background: var(--fjord); }
.dash { display: flex; flex-direction: column; gap: 0.9em; height: 100%; }
.dash-g { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.8em; flex: 1; min-height: 0; }
.card-c { background: #fff; border-radius: 0.5em; padding: 0.9em; display: flex; flex-direction: column; gap: 0.6em; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(10em, 1fr)); gap: 0.7em; }
.kpis-m { grid-template-columns: 1fr 1fr; }
.kpi { background: #fff; border-radius: 0.5em; padding: 0.8em 0.9em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1em 0.4em; }
.kpi-l { flex-basis: 100%; color: #5A6B79; font-size: 0.92em; }
.kpi-v { font-size: 1.7em; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi-u { color: #5A6B79; }
.kpi-d { margin-left: auto; font-size: 0.88em; font-weight: 600; padding: 0.1em 0.5em; border-radius: 99px; background: var(--glacier); }
.kpi-d.dn { background: var(--stone); }
.kpi .ch-spark { width: 100%; height: 1.8em; margin-top: 0.3em; }
.mail-prev { background: var(--paper); border-radius: 0.4em; padding: 1em; display: flex; flex-direction: column; gap: 0.5em; }
.mp-h { height: 2.2em; background: var(--glacier); border-radius: 0.3em; }
.mp-l { height: 0.7em; background: #D5DCE3; border-radius: 99px; }
.w90 { width: 90%; } .w75 { width: 75%; }
.mp-b { margin-top: 0.3em; }
.soc { display: flex; flex-direction: column; gap: 0.8em; height: 100%; }
.soc-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4em; }
.soc-c { position: relative; background: #fff; border-radius: 0.4em; min-height: 9em; padding: 2em 0.3em 0.3em; display: flex; flex-direction: column; gap: 0.3em; }
.post { display: flex; flex-direction: column; padding: 0.4em; border-radius: 0.3em; font-size: 0.85em; line-height: 1.2; }
.post i { font-style: normal; opacity: 0.7; }
.p-a { background: var(--glacier); } .p-b { background: var(--ink); color: var(--paper); } .p-c { background: var(--fjord); }
.soc-prev { display: flex; gap: 0.9em; background: #fff; border-radius: 0.5em; padding: 0.9em; align-items: center; }
.soc-prev p { color: #33424E; margin: 0.2em 0 0.5em; }
.post-img { display: block; width: 7em; height: 5em; background: var(--fjord); border-radius: 0.4em; flex: none; position: relative; overflow: hidden; }
.post-img::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 55%; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 0.9; }
.post-img-m { width: 100%; height: 8em; margin-bottom: 0.6em; }
.stu { background: #fff; gap: 0.8em; padding: 1.2em; }
.stu-nav { height: 1em; width: 40%; background: #D5DCE3; border-radius: 99px; }
.stu-h1 { height: 2.4em; width: 72%; background: var(--ink); border-radius: 0.3em; }
.stu-h1.s { width: 50%; }
.stu-p { height: 0.9em; width: 60%; background: #D5DCE3; border-radius: 99px; }
.stu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6em; margin-top: auto; }
.stu-cards i { height: 6em; background: var(--glacier); border-radius: 0.4em; }
.set { display: flex; flex-direction: column; gap: 0.7em; }
.m-card { background: #fff; border-radius: 0.7em; padding: 1em; display: flex; flex-direction: column; gap: 0.5em; margin-bottom: 0.7em; }
.m-card p { line-height: 1.4; }
.m-card-s { background: var(--glacier); }
.m-card i { font-style: normal; color: #4A5B69; }
.m-big { font-size: 1.9em; letter-spacing: -0.03em; font-weight: 600; }
.m-day { display: flex; flex-direction: column; gap: 0.6em; }
.m-ev { display: flex; flex-direction: column; border-radius: 0.6em; padding: 0.8em; }
.m-ev i { font-style: normal; opacity: 0.7; }
.m-ev-a { background: var(--glacier); } .m-ev-b { background: var(--ink); color: var(--paper); } .m-ev-c { background: var(--fjord); }

/* ---------- diagramok ---------- */
.ch { width: 100%; height: auto; display: block; overflow: visible; }
.ch-grid { stroke: #DCE3EA; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ch-stroke { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ch-area { fill: var(--glacier); opacity: 0.7; }
.ch-dot { fill: var(--ink); }
.ch-line { height: 7em; }
.ch-spark { height: 1.8em; }
.ch-txt { fill: #5A6B79; font-size: 11px; }
.bar { fill: var(--stone); transform-box: fill-box; transform-origin: bottom; }
.bar-hi { fill: var(--ink); }
.dn-track { fill: none; stroke: #E2E8EE; stroke-width: 5; }
.dn { fill: none; stroke-width: 5; }
.dn-a { stroke: var(--ink); } .dn-b { stroke: var(--fjord); } .dn-c { stroke: var(--glacier); }
.dn-ctr { fill: var(--ink); font-size: 8px; font-weight: 600; }
.dn-sub { fill: #5A6B79; font-size: 3.6px; }
.g-s { fill: #5A6B79; }
.ch-donut { width: auto; }
.g-track { fill: none; stroke: #E2E8EE; stroke-width: 9; stroke-linecap: round; }
.g-val { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-dasharray: var(--v) 1; }
.g-c { fill: var(--ink); font-size: 26px; font-weight: 600; }
.g-s { font-size: 9px; }
.ch-funnel { display: flex; flex-direction: column; gap: 0.4em; }
.fn-row { position: relative; height: 2.2em; width: var(--w); min-width: 12em; }
.fn-bar { position: absolute; inset: 0; background: var(--glacier); border-radius: 0.3em; transform-origin: left; }
.fn-row:first-child .fn-bar { background: #A9D3EE; }
.fn-t { position: relative; display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 0.7em; }
.fn-t i { font-style: normal; font-weight: 600; }
.vis-card { background: #fff; border-radius: 6px; padding: clamp(16px, 2vw, 28px); display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.vis-t { font-weight: 600; font-size: 16px; }
.vis-n { font-size: 13px; color: var(--ink-2); }
.vis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--gap); }
.vis-stack { display: flex; flex-direction: column; gap: var(--gap); }
.vis-donut { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend b { margin-left: auto; padding-left: 16px; font-variant-numeric: tabular-nums; }
.dn-k { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.dn-k.dn-a { background: var(--ink); } .dn-k.dn-b { background: var(--fjord); } .dn-k.dn-c { background: var(--glacier); }
.vis-card .kpis { grid-template-columns: repeat(auto-fit, minmax(9em, 1fr)); font-size: 16px; }
.vis-card .kpi { background: var(--paper); }

/* diagram-animáció: JS nélkül és csökkentett mozgásnál a végállapot látszik */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) .ch-stroke { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js:not(.no-motion) .ch-area, .js:not(.no-motion) .ch-dot { opacity: 0; }
  .js:not(.no-motion) .ch.is-in .ch-stroke { animation: ch-draw 1.5s var(--ease-out) forwards; }
  .js:not(.no-motion) .ch.is-in .ch-area { animation: ch-fade 0.9s ease 0.7s forwards; }
  .js:not(.no-motion) .ch.is-in .ch-dot { animation: ch-fade 0.5s ease 1.4s forwards; }
  .js:not(.no-motion) .bar { transform: scaleY(0); }
  .js:not(.no-motion) .ch.is-in .bar { animation: ch-grow 0.9s var(--ease-out) calc(var(--i) * 70ms) forwards; }
  .js:not(.no-motion) .dn { stroke-dasharray: 0 100; }
  .js:not(.no-motion) .ch.is-in .dn { stroke-dasharray: var(--d); transition: stroke-dasharray 1.2s var(--ease-out) calc(var(--i) * 140ms); }
  .js:not(.no-motion) .g-val { stroke-dasharray: 0 1; }
  .js:not(.no-motion) .ch.is-in .g-val { stroke-dasharray: var(--v) 1; transition: stroke-dasharray 1.4s var(--ease-out); }
  .js:not(.no-motion) .fn-bar { transform: scaleX(0); }
  .js:not(.no-motion) .ch.is-in .fn-bar { transform: none; transition: transform 1s var(--ease-out) calc(var(--i) * 120ms); }
}
@keyframes ch-draw { to { stroke-dashoffset: 0; } }
@keyframes ch-fade { to { opacity: 1; } }
@keyframes ch-grow { to { transform: scaleY(1); } }

/* ---------- funkciók egyesével ---------- */
.feats { background: var(--paper); padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.feats-in { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); padding: 0 var(--m); max-width: 1700px; margin: 0 auto; }
.feats-nav { position: sticky; top: 92px; align-self: start; max-height: calc(100svh - 120px); overflow-y: auto; scrollbar-width: none; padding-top: 6px; }
.feats-nav ol { display: flex; flex-direction: column; gap: 2px; }
.feats-nav a { display: block; padding: 8px 10px; margin: 0 -10px; font-size: 15px; font-weight: 500; line-height: 1.3; text-decoration: none; border-radius: 2px; color: var(--ink-2); transition: background-color var(--t-hover) ease, color var(--t-hover) ease; }
.feats-nav a.is-on { color: var(--ink); background: var(--glacier); }
@media (hover: hover) and (pointer: fine) { .feats-nav a:hover { background: var(--stone); color: var(--ink); } }
.feats-h { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(8px, 2vw, 24px); }
.feats-h .t-head { max-width: 18ch; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(36px, 5vw, 72px) 0; scroll-margin-top: 80px; }
.feat-r .feat-copy { order: 2; }
.feat-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.feat-hd { display: flex; align-items: center; gap: 14px; }
.feat-ic { display: inline-flex; color: var(--ink); flex: none; }
.feat-ic .ic { width: 30px; height: 30px; }
.feat-st { margin-top: -6px; }
.st { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 99px; }
.st-live { background: var(--glacier); color: var(--ink); }
.st-pilot { background: var(--fjord); color: var(--ink); }
.st-soon { background: var(--stone); color: var(--ink); }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; line-height: 1.4; color: var(--ink-2); }
.ticks .ic { width: 20px; height: 20px; margin-top: 2px; color: var(--ink); }
.feat-vis { min-width: 0; padding: clamp(18px, 3vw, 40px); background: var(--stone); }
.feats-list > .feat:nth-of-type(even) .feat-vis { background: var(--glacier); }
@media (max-width: 1100px) { .feats-in { grid-template-columns: 1fr; } .feats-nav { display: none; } }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat-r .feat-copy { order: 0; } }

/* ---------- folyamat, mutatók, Jarvis-sáv, kapcsolódók, felhívás ---------- */
.flow { background: var(--ink); color: var(--paper); padding: var(--pad-y) var(--m); }
.flow-in { max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.flow .t-body { color: var(--paper-2); }
.flow-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(24px, 3vw, 48px); }
.flow-l li { display: flex; flex-direction: column; gap: 14px; }
.flow-hd { display: flex; align-items: center; gap: 14px; }
.flow-l p { color: var(--paper-2); font-size: 18px; line-height: 1.45; max-width: 30ch; }
.flow-n { flex: none; font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--glacier); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .t-body { max-width: 56ch; } }
.metrics { background: var(--glacier); padding: var(--pad-y) var(--m); }
.metrics-in { max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.metrics-copy { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 960px) { .metrics-in, .jband-in { grid-template-columns: 1fr !important; } }
.jband { background: var(--ink); color: var(--paper); padding: var(--pad-y) var(--m); }
.jband-in { max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.jband-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.jband .t-body { color: var(--paper-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.link-arrow .ic { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ic { transform: translateX(4px); } }
.rel { background: var(--paper); padding: var(--pad-y) var(--m); }
.rel-in { max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.rel-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.rel-l a { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--stone); text-decoration: none; min-height: 100px; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.rel-l a:active { transform: scale(0.985); }
.rel-l a > .ic:first-child { width: 28px; height: 28px; }
.rel-l span { display: flex; flex-direction: column; line-height: 1.3; }
.rel-l b { font-size: 18px; font-weight: 600; }
.rel-l i { font-style: normal; color: var(--ink-2); font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .rel-l a:hover { background: var(--glacier); } }
.cta2 { background: var(--ink); color: var(--paper); padding: var(--pad-y) var(--m); }
.cta2-in { max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(40px, 6vw, 96px); }
.cta2-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta2 .t-body { color: var(--paper-2); }
.cta2 h2 { max-width: 16ch; }

/* ---------- Jarvis terv-kártya ---------- */
.plan { background: var(--paper); border-radius: 6px; padding: 0; overflow: hidden; font-size: 15px; color: var(--ink); }
.plan-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: #fff; }
.plan-h .ic { color: var(--ink); }
.plan-trig { margin-left: auto; font-size: 13px; color: #5A6B79; }
.plan-s { padding: 12px 18px; border-top: 1px solid #E4E8ED; }
.plan-k { font-size: 13px; font-weight: 600; color: #5A6B79; margin-bottom: 6px; }
.plan-l li { padding: 3px 0 3px 16px; position: relative; line-height: 1.4; }
.plan-l li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.plan-w { font-weight: 600; font-size: 16px; line-height: 1.35; }
.plan-d { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px; background: var(--glacier); }
.plan-d .plan-k { margin: 0 8px 0 0; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .js:not(.no-motion) [data-plan]:not(.is-in) [data-step] { opacity: 0; transform: translateY(8px); } [data-plan] [data-step] { transition: opacity 500ms ease calc(var(--i, 0) * 120ms + var(--base, 0ms)), transform 600ms var(--ease-out) calc(var(--i, 0) * 120ms + var(--base, 0ms)); } }

/* ---------- lábléc oszlopok ---------- */
.foot-cols { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px var(--gap); }
.foot-cols ul { display: flex; flex-direction: column; gap: 8px; font-size: var(--s-small); }
.foot-cols 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-cols a:hover { text-decoration-color: currentColor; } }
@media (max-width: 899px) { .foot-cols { grid-column: 1 / 13; } }

/* ---------- rendszertérkép (hub) ---------- */
.maps { background: var(--paper); padding: var(--pad-y) var(--m); }
.maps-in { max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.maps-in .t-head { max-width: 22ch; }
.hub { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 720px; margin-top: 24px; background: var(--glacier); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-line { stroke: #7FB3DA; stroke-width: 1.2; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; animation: hub-flow 6s linear infinite; animation-delay: calc(var(--i) * -0.6s); }
@keyframes hub-flow { to { stroke-dashoffset: -50; } }
.hub-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: clamp(110px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; text-decoration: none; z-index: 2; }
.hub-core .ic { width: 28px; height: 28px; color: var(--glacier); }
.hub-core b { font-size: clamp(16px, 1.5vw, 22px); }
.hub-core i { font-style: normal; font-size: 12px; color: var(--paper-2); padding: 0 12px; line-height: 1.25; }
.hub-pulse { position: absolute; inset: -14%; border-radius: 50%; border: 2px solid #7FB3DA; opacity: 0; animation: hub-pulse 3.2s ease-out infinite; }
@keyframes hub-pulse { 0% { transform: scale(0.8); opacity: 0.8; } 100% { transform: scale(1.35); opacity: 0; } }
.hub-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; background: var(--paper); color: var(--ink); border-radius: 2px; font-size: clamp(13px, 1.1vw, 16px); font-weight: 600; text-decoration: none; white-space: nowrap; z-index: 2; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.hub-node:active { transform: translate(-50%, -50%) scale(0.97); }
@media (hover: hover) and (pointer: fine) { .hub-node:hover { background: var(--ink); color: var(--paper); } }
@media (max-width: 760px) { .hub { aspect-ratio: auto; height: 560px; } .hub-node span { display: none; } .hub-node { padding: 12px; } }

/* ---------- modulcsoportok, modulkártyák ---------- */
.mgroup { padding: clamp(40px, 5vw, 72px) var(--m); background: var(--paper); }
.mgroup:nth-of-type(even) { background: var(--stone); }
.mgroup-in { max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--gap); }
.mcards a { display: flex; flex-direction: column; gap: 8px; min-height: 200px; padding: 24px; background: var(--glacier); color: var(--ink); text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.mcards a:active { transform: scale(0.985); }
.mc-ic .ic { width: 32px; height: 32px; }
.mcards b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 6px; }
.mcards i { font-style: normal; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.mc-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .mcards a:hover { background: var(--ink); color: var(--paper); } .mcards a:hover i { color: var(--paper-2); } }

/* ---------- kezdőlap: modul-áttekintés, eszközök ---------- */
.mods { background: var(--paper); min-height: 0; }
.mods-in { max-width: 1500px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.mods-h { display: flex; flex-direction: column; gap: 20px; }
.mods-h .t-display-2 { max-width: 16ch; }
.mods-g { display: flex; flex-direction: column; gap: 16px; }
.devband { background: var(--stone); padding: var(--pad-y) var(--m); }
.devband-in { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.devband-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (max-width: 960px) { .devband-in { grid-template-columns: 1fr; } }
.jarvis-more { grid-column: 1 / 13; justify-self: start; color: var(--paper); }

/* ---------- kapcsolat ---------- */
.contact { position: relative; background: var(--paper); overflow: hidden; padding: clamp(116px, 11vw, 160px) var(--m) var(--pad-y); min-height: 90svh; }
.contact-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); max-width: 1500px; margin: 0 auto; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cform { background: var(--ink); color: var(--paper); padding: clamp(20px, 3vw, 40px); max-width: none; }
@media (max-width: 960px) { .contact-in { grid-template-columns: 1fr; } }

/* ---------- gyakori kérdések ---------- */
.faq { background: var(--paper); padding: var(--pad-y) var(--m); }
.faq-in { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.faq-l details { background: var(--stone); margin-bottom: 8px; }
.faq-l summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq-l summary::-webkit-details-marker { display: none; }
.faq-l summary .ic { transition: transform 240ms var(--ease-out); }
.faq-l details[open] summary .ic { transform: rotate(45deg); }
.faq-l details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 18px; line-height: 1.5; max-width: 62ch; }

/* sötét szakaszok: ugyanaz a horizont-háttér, halványabban */
.hz-dark { background: none; }
.flow, .cta2, .jband { position: relative; overflow: hidden; }
.flow-in, .cta2-in, .jband-in { position: relative; z-index: 1; }

/* ---------- Jarvis-pult ---------- */
.cockpit { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: var(--pad-y) var(--m); }
.cockpit-in { position: relative; z-index: 1; max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.cock-h { display: flex; flex-direction: column; gap: 20px; }
.cock-h .t-display-2 { max-width: 18ch; }
.cock-h .t-body { color: var(--paper-2); max-width: 56ch; }
.cock-grid { display: grid; grid-template-columns: minmax(210px, 3fr) minmax(0, 6fr) minmax(210px, 3fr); gap: var(--gap); align-items: start; }
.cock-tabs { display: flex; flex-direction: column; gap: 6px; }
.cock-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px 16px; background: rgba(255, 255, 255, 0.07); color: var(--paper); border-radius: 2px; min-height: 64px; transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cock-tabs button:active { transform: scale(0.98); }
.cock-tabs button[aria-selected="true"] { background: var(--glacier); color: var(--ink); }
.cock-tabs b { font-size: 16px; font-weight: 600; }
.cock-tabs i { font-style: normal; font-size: 13px; opacity: 0.75; }
@media (hover: hover) and (pointer: fine) { .cock-tabs button[aria-selected="false"]:hover { background: rgba(255, 255, 255, 0.16); } }
.cock-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cock-trig { padding: 16px 20px; background: #1B2B38; color: var(--paper); border-radius: 6px; }
.trig-k { font-size: 13px; color: var(--paper-2); }
.trig-from { font-weight: 600; margin-top: 2px; }
.trig-t { margin-top: 6px; line-height: 1.45; font-size: 16px; }
.cockpit .plan { font-size: 15px; }
.plan-ic { display: inline-flex; }
.plan-ic .ic { width: 20px; height: 20px; }
.plan-risk { background: #E9EEF3; }
.cock-side { display: flex; flex-direction: column; gap: 12px; }
.cock-status { font-size: 14px; color: var(--glacier); min-height: 1.4em; }
.cock-box { background: var(--paper); color: var(--ink); padding: 16px 18px; border-radius: 6px; }
.trace { display: flex; flex-direction: column; }
.trace-i { display: flex; align-items: center; gap: 10px; padding: 6px 0; opacity: 0.35; transition: opacity 400ms ease; }
.trace-i.is-on { opacity: 1; }
.trace-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.gate-b { display: flex; flex-wrap: wrap; gap: 8px; }
.gate-b .ui-btn { min-height: 40px; }
.gate-b .ui-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.gate-out { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) { .js:not(.no-motion) .cockpit [data-p]:not(.is-in) { opacity: 0; transform: translateY(8px); } .cockpit [data-p] { transition: opacity 500ms ease, transform 600ms var(--ease-out); } }
@media (max-width: 1100px) { .cock-grid { grid-template-columns: 1fr; } .cock-tabs { flex-direction: row; flex-wrap: wrap; } .cock-tabs button { flex: 1 1 200px; } }

/* ---------- Jarvis: mit nem tesz meg magától ---------- */
.guard { background: var(--paper); padding: var(--pad-y) var(--m); }
.guard-in { max-width: 1560px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.guard-h { display: flex; flex-direction: column; gap: 20px; }
.guard-h .t-display-2 { max-width: 16ch; }
.guard-l { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.guard-l li { background: var(--stone); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.guard-l li:nth-child(even) { background: var(--glacier); }
.guard-l p { font-size: 18px; color: var(--ink-2); line-height: 1.45; }
.guard-note { background: var(--ink); color: var(--paper); padding: 22px 28px; }
.guard-note p { max-width: 72ch; font-size: 18px; line-height: 1.5; color: var(--paper-2); }
.guard-note b { color: var(--paper); }

main p:not([class]) { max-width: 75ch; }
@media (max-width: 960px) { .dev-phone { width: min(100%, 250px); } .pair .dev-phone { width: 34%; } }
@media (max-width: 480px) { .t-display-2 { font-size: 9vw; } }
