/* AcuSoft — bemutató oldal. Paletta: az alkalmazás „Cég színei” témája
   (resources/css/app.css, data-paletta="ceg"): éjkék felületek, narancs
   kiemelés, hűvös szürkéskék alap. Széles elrendezés (max. 1800 px).
   Betű: Onest (helyben). */

@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-ext-400-normal.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: Onest; font-weight: 400; font-display: swap; src: url(/fonts/onest-latin-400-normal.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; }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(/fonts/onest-latin-ext-500-normal.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: Onest; font-weight: 500; font-display: swap; src: url(/fonts/onest-latin-500-normal.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; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-ext-600-normal.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: Onest; font-weight: 600; font-display: swap; src: url(/fonts/onest-latin-600-normal.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; }
@font-face { font-family: Onest; font-weight: 700; font-display: swap; src: url(/fonts/onest-latin-ext-700-normal.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: Onest; font-weight: 700; font-display: swap; src: url(/fonts/onest-latin-700-normal.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 {
    --navy: #000B1D; --navy-2: #0E1829; --navy-3: #121F36; --navy-line: #1F2E4B; --navy-hover: #1B2A47;
    --orange: #F04A24; --orange-2: #FF7A57; --orange-ink: #A82E0E; --orange-bg: #FCEAE4;
    --ink: #0B1530; --text: #121B2E; --soft: #46536B; --muted: #5D6A82;
    --on-dark: #C9D3E3; --on-dark-2: #A8B5CB; --on-dark-3: #8F9DB6;
    --bg: #F4F6FA; --bg-2: #EEF2F8; --paper: #FFFFFF; --line: #E1E6EE;
    --steel: #2F4A78; --steel-bg: #E3E9F3;
    --r: 18px;
    --shadow: 0 1px 2px rgba(11,21,48,.06), 0 12px 32px -12px rgba(11,21,48,.28);
    /* a kipróbálható portál-bemutatók (lent) régi változónevei */
    --green: var(--navy); --green-hover: var(--navy-hover); --green-ink: var(--steel);
    --cream: var(--bg); --cream-2: var(--bg-2); --mint-soft: var(--steel-bg); --ink-soft: var(--soft);
    --brass: var(--orange); --brass-ink: var(--orange-ink); --brass-bg: var(--orange-bg);
}

* { box-sizing: border-box; }
/* A `hidden` attribútum mindig nyerjen a display-szabályokkal szemben. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body {
    margin: 0; background: var(--paper); color: var(--text);
    font: 400 17px/1.55 Onest, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1800px; margin: 0 auto; padding-left: clamp(20px, 4vw, 72px); padding-right: clamp(20px, 4vw, 72px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; }

/* --- Gombok --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
    font: inherit; font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-o { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px -10px rgba(240,74,36,.7); }
.btn-o:hover { background: var(--orange-2); }
.btn-n { background: var(--navy); color: #fff; }
.btn-n:hover { background: var(--navy-hover); }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn-ghost-dark { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost-dark:hover { background: var(--bg); }
.btn[disabled] { opacity: .55; cursor: default; }
.link { background: none; border: 0; color: var(--navy); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* --- Navigáció --- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(0,11,29,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; border-bottom: 1px solid var(--navy-line); }
.nav-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; font-weight: 600; color: inherit; }
.brand b { color: var(--orange); font-weight: 700; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.78); font-size: .94rem; font-weight: 500; }
.nav-links a:hover { color: #fff; }

/* --- Nyitó --- */
.hero { background: radial-gradient(900px 520px at 92% 8%, #1B2A47 0%, transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(240,74,36,.10) 0%, transparent 60%), var(--navy); color: var(--on-dark); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 96px); align-items: center; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero .kicker { color: var(--orange-2); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 3.4vw, 3.9rem); font-weight: 700; letter-spacing: -.03em; margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.lead { font-size: 1.18rem; color: var(--on-dark-2); margin: 20px 0 30px; max-width: 44ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--on-dark); }
.chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.shot { position: relative; }
.frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--navy-line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.frame-bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.frame-url { font-size: .72rem; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 6px; }
.float { position: absolute; display: flex; gap: 10px; align-items: center; background: var(--navy-3); border: 1px solid var(--navy-line); border-radius: 14px; padding: 11px 14px; font-size: .82rem; box-shadow: 0 18px 40px -14px rgba(0,0,0,.7); animation: float 6s ease-in-out infinite; }
.float b { display: block; color: #fff; font-size: .86rem; }
.float small { color: var(--on-dark-3); }
.float .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.f1 { left: -28px; bottom: 38px; } .f1 .dot { background: var(--orange); }
.f2 { right: -18px; top: -18px; animation-delay: -3s; } .f2 .dot { background: var(--steel); }
@keyframes float { 50% { transform: translateY(-6px); } }

/* --- Számsor --- */
.stats { background: var(--navy-2); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px clamp(16px, 2.4vw, 40px); border-left: 1px solid var(--navy-line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.stat b span { color: var(--orange-2); }
.stat small { font-size: .9rem; color: var(--on-dark-2); }

/* --- Szakaszok --- */
.sec { padding: clamp(64px, 7vw, 104px) 0; }
.alt { background: var(--bg); }
.dark { background: var(--navy); color: var(--on-dark); }
.dark h2 { color: #fff; }
.dark .kicker { color: var(--orange-2); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; row-gap: 14px; align-items: end; margin-bottom: 44px; }
.sec-head .kicker { grid-column: 1 / -1; }
.sec-head p:not(.kicker) { justify-self: end; max-width: 46ch; text-align: right; font-size: 1.05rem; color: var(--soft); }
.sec-head-1 { grid-template-columns: 1fr; margin-bottom: 24px; }

/* --- Miért --- */
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 10px; align-content: start; }
.pain .was { font-size: .85rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--orange-2); }
.pain h3 { font-size: 1.15rem; }
.pain p:not(.was) { color: var(--soft); font-size: .97rem; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.ico svg { width: 20px; height: 20px; }

/* --- Bemutató: valódi felvétel böngészőablakban --- */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 3vw, 48px); align-items: start; }
.live {
    width: 100%; max-width: calc((100vh - 220px) * 16 / 9); justify-self: center; border-radius: 16px; overflow: hidden;
    background: #E5E9F0; border: 1px solid #CDD5E2;
    box-shadow: 0 2px 4px rgba(11,21,48,.06), 0 30px 60px -24px rgba(0,11,29,.45), 0 12px 24px -12px rgba(0,11,29,.2);
    transform: perspective(1800px) rotateX(4deg) scale(.97); transform-origin: 50% 0;
    opacity: .6; transition: transform .9s cubic-bezier(.2,.7,.2,1), opacity .9s ease;
}
.live.in { transform: none; opacity: 1; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5DDE8; }
.live-chrome { display: flex; align-items: flex-end; gap: 14px; padding: 9px 14px 0; background: #DDE3EC; }
.live-chrome .dots { padding-bottom: 12px; }
.live-tabs { display: flex; gap: 2px; min-width: 0; }
.live-tab {
    display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-size: .78rem; color: var(--muted); padding: 8px 16px 9px; border-radius: 9px 9px 0 0; max-width: 260px;
    transition: background .35s ease, color .35s ease;
}
.live-tab img { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.live-tab.on { background: #F7F9FC; color: var(--ink); font-weight: 500; }
.live-bar { display: flex; align-items: center; gap: 12px; padding: 7px 12px; background: #F7F9FC; border-bottom: 1px solid #DDE3EC; }
.live-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px 14px; font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; }
.live-url svg { color: var(--navy); flex: none; }
.live-url > span { overflow: hidden; text-overflow: ellipsis; }
.live-url b { font-weight: 400; color: var(--soft); }
.live-on { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--steel); white-space: nowrap; }
.live-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240,74,36,.6); animation: livePulse 1.8s ease infinite; }
.live-screen { position: relative; background: var(--navy); aspect-ratio: 16 / 9; }
.live-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.live-play {
    position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--orange); color: var(--navy); font-size: 28px; box-shadow: 0 0 0 12px rgba(240,74,36,.18), 0 10px 30px -8px rgba(0,0,0,.6);
}
.live-play span { margin-left: 6px; }
.live-side { position: sticky; top: 96px; display: grid; gap: 24px; }
.live-caption { display: grid; gap: 10px; justify-items: start; min-height: 6.2em; }
.live-who { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; background: var(--navy); color: #fff; transition: background .3s; }
.live-who.client { background: var(--orange); color: var(--navy); }
.live-txt { font-size: 1.08rem; line-height: 1.45; color: var(--ink); font-weight: 500; transition: opacity .25s ease; }
.live-txt.fade { opacity: 0; }
.live-steps { display: grid; gap: 2px; }
.live-steps button {
    width: 100%; background: none; border: 0; padding: 10px 0 10px 16px; cursor: pointer; text-align: left; font: inherit;
    display: grid; grid-template-columns: 30px 1fr; row-gap: 8px; border-left: 3px solid var(--line); transition: border-color .3s;
}
.live-steps em { font-style: normal; font-size: .82rem; font-weight: 600; color: var(--muted); }
.live-steps strong { font-size: .95rem; font-weight: 500; color: var(--soft); }
.live-steps button span { grid-column: 1 / -1; display: block; height: 3px; border-radius: 99px; background: transparent; overflow: hidden; }
.live-steps button span i { display: block; height: 100%; width: 0; background: var(--orange); }
.live-steps button.on { border-left-color: var(--orange); }
.live-steps button.on strong { color: var(--ink); font-weight: 600; }
.live-steps button.on span { background: var(--steel-bg); }
.live-steps button:hover strong { color: var(--ink); }
@keyframes livePulse { 70% { box-shadow: 0 0 0 7px rgba(240,74,36,0); } 100% { box-shadow: 0 0 0 0 rgba(240,74,36,0); } }
.live-status { display: none; }

/* --- Portálok --- */
.portals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.portal > * { min-width: 0; max-width: 100%; }
.portal { background: var(--navy); color: var(--on-dark); border-radius: 24px; padding: clamp(24px, 2.6vw, 44px); display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.portal-2 { background: var(--navy-2); }
.portal-copy { display: grid; gap: 16px; align-content: start; }
.tag { justify-self: start; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; background: rgba(240,74,36,.18); color: var(--orange-2); }
.portal-2 .tag { background: rgba(255,255,255,.1); color: var(--on-dark); }
.big { font-size: clamp(1.4rem, 1.8vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ticks li { position: relative; padding-left: 32px; font-size: .96rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--orange); color: var(--navy); }
.ticks b { color: #fff; font-weight: 600; }
.portal .device { flex: 1; }

/* Kipróbálható bemutató-keret */
.device { background: var(--paper); color: var(--text); border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.device-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #ECEFF5; border-bottom: 1px solid var(--line); }
.url { flex: 1; min-width: 0; font-size: .78rem; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-badge { font-size: .72rem; font-weight: 600; color: var(--orange-ink); background: var(--orange-bg); padding: 3px 8px; border-radius: 99px; white-space: nowrap; }
.app { padding: 18px; min-height: 400px; font-size: .95rem; flex: 1; }
.app-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.app-head small { display: block; color: var(--muted); font-size: .78rem; }
.app-head b { font-size: 1.05rem; color: var(--ink); }
.pill { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.pill-ok { background: var(--bg-2); color: var(--steel); }
.tabs, .projects { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .projects button {
    background: none; border: 0; font: inherit; font-size: .9rem; font-weight: 500; color: var(--muted);
    padding: 10px 12px; min-height: 44px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"], .projects button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--orange); }

/* Ütemterv */
.gantt { position: relative; display: grid; gap: 6px; }
.g-head, .g-row { display: grid; grid-template-columns: 110px repeat(5, 1fr); align-items: center; }
.g-head span { font-size: .72rem; color: var(--muted); text-align: center; }
.g-row { position: relative; background: none; border: 0; font: inherit; text-align: left; padding: 0; min-height: 38px; cursor: pointer; border-radius: 8px; }
.g-row:hover, .g-row.active { background: var(--cream); }
.g-row span { font-size: .85rem; padding-left: 6px; }
.bar { grid-column: calc(2 + var(--s)) / span var(--w); height: 18px; border-radius: 6px; margin: 0 3px; }
.bar.done { background: var(--green); } .bar.now { background: var(--brass); } .bar.next { background: var(--mint-soft); }
.g-today { position: absolute; top: 18px; bottom: 0; left: calc(110px + (100% - 110px) * var(--s) / 5); width: 2px; background: var(--brass); pointer-events: none; }
.g-today span { position: absolute; top: -16px; left: -10px; font-size: .68rem; color: var(--brass-ink); font-weight: 600; }
.g-info { margin: 14px 0 0; padding: 12px 14px; background: var(--cream); border-radius: 10px; font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 480px) { .g-head, .g-row { grid-template-columns: 86px repeat(5, 1fr); } .g-today { left: calc(86px + (100% - 86px) * var(--s) / 5); } .g-row span { font-size: .78rem; } }

/* Fotónapló */
.feed { display: grid; gap: 14px; }
.feed article { display: grid; grid-template-columns: 120px 1fr; gap: 14px; }
.feed small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 4px; }
.feed p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.ph { border-radius: 10px; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.ph-1 { background: linear-gradient(180deg, #A9C6DA 0 45%, #B48A6A 45% 100%); }
.ph-1::after { content: ""; position: absolute; inset: 40% 12% 0 12%; background: repeating-linear-gradient(0deg, #C9A07E 0 8px, #9E7456 8px 9px), #C9A07E; }
.ph-2 { background: linear-gradient(180deg, #B9D3E3 0 50%, #9A9A94 50% 100%); }
.ph-2::after { content: ""; position: absolute; inset: 55% 8% 10% 8%; background: #BFBDB5; border-radius: 3px; box-shadow: inset 0 0 0 3px #8E8C85; }
@media (max-width: 480px) { .feed article { grid-template-columns: 90px 1fr; } }

/* Ajánlat */
.quote { display: grid; gap: 2px; }
.q-line, .q-total { display: flex; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.q-line b { font-weight: 500; white-space: nowrap; }
.q-total { border: 0; font-size: 1rem; } .q-total b { color: var(--green); font-size: 1.1rem; white-space: nowrap; }
.q-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.q-done { margin-top: 12px; padding: 14px; background: var(--cream-2); border-radius: 10px; }
.q-done b { color: var(--green-ink); } .q-done p { margin: 4px 0 8px; font-size: .9rem; color: var(--ink-soft); }

/* Üzenetek */
.chat { display: flex; flex-direction: column; gap: 8px; max-height: 260px; overflow-y: auto; padding-right: 4px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: .9rem; }
.msg b { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.msg.them { background: var(--cream); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.me { background: var(--green); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quick button { font: inherit; font-size: .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px; min-height: 40px; cursor: pointer; }
.quick button:hover { border-color: var(--green); }
.quick button:disabled { opacity: .45; cursor: default; }

/* Tervezői portál */
.docs-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.doc-list li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.doc-list li.new { border-color: var(--green); background: var(--cream-2); animation: pop .4s ease; }
.doc-ic { width: 38px; height: 46px; border-radius: 6px; background: #F0F3F8; border: 1px solid var(--line); display: grid; place-items: center; font-size: .62rem; font-weight: 700; color: #B44A3A; }
.doc-list b { display: block; font-size: .9rem; font-weight: 600; }
.doc-list small { color: var(--muted); font-size: .78rem; }
.ver { font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: #E6EDF4; color: #2F5A86; white-space: nowrap; }
.ver.ok { background: var(--cream-2); color: var(--green-ink); } .ver.old { background: #EEE; color: #888; }
.upload { padding: 12px; border: 1px dashed var(--green); border-radius: 10px; margin-bottom: 10px; background: var(--cream-2); }
.up-file { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 8px; }
.up-track { height: 6px; background: var(--mint-soft); border-radius: 99px; overflow: hidden; }
.up-track i { display: block; height: 100%; width: 0; background: var(--green); transition: width .15s linear; }
.doc-note { margin: 12px 0 0; font-size: .88rem; color: var(--green-ink); min-height: 1.4em; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }

/* --- Funkciók --- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(130px, auto); gap: 20px; }
.cell { grid-column: span 2; border-radius: var(--r); padding: 26px; background: var(--paper); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.cell p { font-size: .94rem; color: var(--soft); }
.cell-main { grid-row: span 2; background: var(--navy); border-color: var(--navy); }
.cell-main h3 { color: #fff; font-size: 1.35rem; } .cell-main p { color: var(--on-dark-2); font-size: 1rem; max-width: 42ch; }
.cell-accent { background: var(--orange-bg); border-color: #F8D6CA; }
.cell-wide { grid-column: span 3; }
.num { font-size: 2.4rem; font-weight: 700; color: var(--orange); letter-spacing: -.03em; line-height: 1; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pills li { font-size: .8rem; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--on-dark); }

/* --- Indulás --- */
.start { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: s; position: relative; }
.start::before { content: ""; position: absolute; left: 22px; right: 33.3%; top: 22px; border-top: 2px dashed var(--navy-line); }
.start li { padding-right: 32px; counter-increment: s; }
.start li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--navy); font-weight: 700; margin-bottom: 16px; position: relative; z-index: 1; }
.start b { display: block; font-size: 1.12rem; color: #fff; margin-bottom: 6px; }
.start p { color: var(--on-dark-2); font-size: .97rem; }
.start .when { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--orange-2); }

/* --- Kérdések + demókérés --- */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--soft); }

.form { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.form-title { font-size: 1.4rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type=checkbox]), .form textarea {
    font: inherit; font-size: 1rem; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 14px; min-height: 46px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,11,29,.15); }
.form [aria-invalid="true"] { border-color: #C0392B; }
.toggles { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toggles legend { font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.toggles label { display: inline-flex; position: relative; cursor: pointer; }
.toggles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggles span { font-size: .86rem; font-weight: 500; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--soft); transition: background .15s, color .15s; }
.toggles label:hover span { border-color: var(--navy); }
.toggles input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.toggles input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.form .chk { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.consent { font-size: .84rem !important; color: var(--soft) !important; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-msg { font-size: .95rem; min-height: 1.4em; }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--steel); font-weight: 600; } .form-msg.err { color: #B03A2E; }
.form button[disabled] { opacity: .6; cursor: progress; }

/* --- Lábléc --- */
.foot { background: var(--navy); color: var(--on-dark-3); padding: 32px 0; font-size: .88rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot .brand { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-left: auto; }
.foot a { color: var(--on-dark); }

/* --- Értesítő buborék --- */
.toast {
    position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90;
    background: var(--navy-2); color: #F7F9FC; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow);
    font-size: .92rem; max-width: calc(100% - 32px); display: flex; gap: 10px; align-items: center;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); flex: none; }

/* --- Jogi oldal --- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.doc h1 { font-size: 2rem; margin-bottom: .6em; }
.doc h2 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.doc p { margin-bottom: 1em; }
.doc .note { background: var(--orange-bg); border-radius: 10px; padding: 14px 16px; color: var(--orange-ink); }

/* ================= Kisebb kijelzők ================= */
@media (max-width: 1279px) {
    .portals { grid-template-columns: minmax(0, 1fr); }
    .portal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; }
    .ticks { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
    .float { display: none; }
    .hero-in { grid-template-columns: 1fr; }
    .shot { max-width: 820px; }
    .bento { grid-template-columns: 1fr 1fr; }
    .cell, .cell-wide { grid-column: span 1; }
    .cell-main { grid-column: span 2; grid-row: auto; }
    .live-grid { grid-template-columns: 1fr; }
    .live-side { position: static; }
    .live-steps { grid-template-columns: repeat(3, 1fr); column-gap: 16px; }
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav .btn { margin-left: auto; }
    .stats-in { grid-template-columns: 1fr 1fr; }
    .stat { padding: 20px 16px; border-top: 1px solid var(--navy-line); }
    .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .stat:nth-child(-n+2) { border-top: 0; }
    .sec-head { grid-template-columns: 1fr; margin-bottom: 32px; }
    .sec-head p:not(.kicker) { justify-self: start; text-align: left; }
    .pain { grid-template-columns: 1fr; gap: 14px; }
    .pain article { padding: 24px; }
    .portal { display: flex; }
    .ticks { grid-template-columns: 1fr 1fr; }
    .start { grid-template-columns: 1fr; gap: 24px; }
    .start::before { display: none; }
    .ask { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .live-grid { gap: 20px; }
    .live {
        width: min(320px, 82vw, calc((100vh - 40px) * .5417)); width: min(320px, 82vw, calc((100svh - 40px) * .5417));
        max-width: none; padding: 9px; border-radius: 46px; background: var(--navy); border: 1px solid #2A3D60;
        box-shadow: inset 0 0 0 2px #182842, 0 30px 50px -22px rgba(0,11,29,.55), 0 10px 20px -10px rgba(0,11,29,.3);
        transform: translateY(14px); opacity: .6;
    }
    .live.in { transform: none; opacity: 1; }
    .live-chrome, .live-bar { display: none; }
    .live-screen { aspect-ratio: auto; border-radius: 37px; overflow: hidden; background: var(--navy); }
    .live-screen video { height: auto; aspect-ratio: 780 / 1440; }
    .live-status {
        display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 22px 0 26px;
        color: #F7F9FC; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
    }
    .live-island { width: 76px; height: 20px; border-radius: 99px; background: #000; }
    .live-sig { display: flex; align-items: flex-end; gap: 2px; height: 10px; }
    .live-sig i { width: 3px; background: #F7F9FC; border-radius: 1px; }
    .live-sig i:nth-child(1) { height: 4px; } .live-sig i:nth-child(2) { height: 6px; } .live-sig i:nth-child(3) { height: 8px; } .live-sig i:nth-child(4) { height: 10px; }
    .live-sig b { width: 18px; height: 9px; margin-left: 5px; border: 1.5px solid #F7F9FC; border-radius: 3px; background: linear-gradient(90deg, #F7F9FC 70%, transparent 70%) content-box; padding: 1px; }
    .live-play { width: 68px; height: 68px; font-size: 22px; }
    .live-caption { justify-items: center; text-align: center; min-height: 5.4em; }
    .live-txt { font-size: 1rem; }
    .live-steps { grid-template-columns: 1fr 1fr; }
    .live-steps button { padding: 8px 0 8px 12px; }
    .live-steps strong { font-size: .88rem; }
    .ticks { grid-template-columns: 1fr; }
    .app { padding: 14px; min-height: 0; }
    .app-head { flex-wrap: wrap; }
    .portal { padding: 18px; border-radius: 20px; }
    .bento { grid-template-columns: 1fr; }
    .cell-main { grid-column: auto; }
    .form { padding: 20px; }
    .form .row { grid-template-columns: 1fr; }
    .foot nav { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .live { transform: none; opacity: 1; } .live-on i { animation: none; } }
