:root {
    --bg: #030d1c;
    --bg-2: #061831;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.16);
    --text: #eaf1fb;
    --muted: #93a4bd;
    --blue: #016ffc;
    --blue-2: #4d94ff;
    --green: #05be59;
    --navy: #05284e;
    --radius: 22px;
    --radius-sm: 14px;
    --wrap: 1180px;
    --pad: clamp(18px, 5vw, 32px);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Sora', 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(1, 111, 252, .18), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(5, 190, 89, .08), transparent 60%),
        var(--bg);
    color: var(--text);
    font: 400 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 9vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.center { display: grid; place-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 8px; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.grad {
    background: linear-gradient(100deg, var(--blue-2) 10%, #7fd6ff 55%, var(--green) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
    color: var(--blue-2); margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(5, 190, 89, .18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(5, 190, 89, 0); } }

.lead { font-size: clamp(1.05rem, 3.6vw, 1.25rem); color: #c3d0e2; margin-top: 18px; max-width: 34em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 22px; border-radius: 14px;
    background: linear-gradient(180deg, #2a86ff, var(--blue));
    color: #fff; font: 600 1rem/1 var(--font);
    box-shadow: 0 10px 30px -10px rgba(1, 111, 252, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(1, 111, 252, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .11); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: .95rem; }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-2); font-weight: 600; margin-top: 18px; }
.link .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(3, 13, 28, .72);
    backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.1rem/1 var(--display); letter-spacing: -.01em; }
.nav__brand img { width: 44px; height: auto; }
.nav__brand b { color: var(--blue-2); font-weight: 700; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__lang {
    min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 12px;
    border: 1px solid var(--line); border-radius: 12px; font: 600 .85rem/1 var(--font); letter-spacing: .06em; color: #c9d5e6;
}
.nav__lang:hover { color: #fff; border-color: var(--line-2); }
.nav__toggle {
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; color: var(--text); cursor: pointer;
}
.nav__burger, .nav__burger::before, .nav__burger::after {
    display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ''; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav.is-open .nav__burger { background: transparent; }
.nav.is-open .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }
.nav__menu {
    position: absolute; inset: 64px 0 auto; display: grid; gap: 4px; padding: 12px var(--pad) 20px;
    background: rgba(3, 13, 28, .96); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.nav.is-open .nav__menu { transform: none; opacity: 1; visibility: visible; }
.nav__menu a:not(.btn) { padding: 14px 6px; font-weight: 500; color: #c9d5e6; border-bottom: 1px solid var(--line); }
.nav__menu a[aria-current='page'] { color: #fff; }
.nav__menu .btn { margin-top: 12px; }

/* Hero */
.hero { position: relative; padding: 48px 0 40px; overflow: hidden; }
.hero--page { padding-bottom: 20px; }
.hero__glow {
    position: absolute; inset: -20% -30% auto; height: 620px; pointer-events: none;
    background:
        radial-gradient(closest-side at 70% 40%, rgba(1, 111, 252, .35), transparent),
        radial-gradient(closest-side at 30% 60%, rgba(5, 190, 89, .15), transparent);
    filter: blur(20px);
    animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
    opacity: .5;
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 48px; }
.hero__copy { position: relative; z-index: 1; }
.hero__shot { position: relative; z-index: 1; margin-top: 40px; }

.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); color: #c9d5e6; font-size: .88rem;
}
.chips .ico { width: 16px; height: 16px; color: var(--blue-2); }

/* Phone mockup */
.phone {
    position: relative; margin: 0; width: min(72vw, 290px); aspect-ratio: 390 / 890;
    border-radius: 44px; padding: 34px 9px 12px;
    background: linear-gradient(145deg, #2a3446, #0d131d 45%, #1b2330);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px 10px 32px 32px; background: #f3f5f9; }
.phone__notch {
    position: absolute; top: 11px; left: 50%; width: 30%; height: 14px; transform: translateX(-50%);
    background: #05080d; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.hero__phones { position: relative; display: flex; justify-content: center; min-height: 460px; }
.hero__phones .phone { width: min(56vw, 270px); }
.phone--back { transform: translateX(-26%) rotate(-6deg); opacity: .9; }
.phone--front { position: absolute; top: 40px; left: 50%; transform: translateX(-12%) rotate(4deg); }
.phone--inline { width: 240px; margin: 24px auto -290px; }
.phone--solo { width: min(70vw, 280px); }

/* Browser mockup */
.browser {
    margin: 0; border-radius: 16px; overflow: hidden; background: #0b1422;
    border: 1px solid var(--line-2);
    box-shadow: 0 40px 90px -40px rgba(1, 111, 252, .55), 0 20px 40px -20px rgba(0, 0, 0, .8);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #101b2c; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #34425a; }
.browser__bar i:first-child { background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { margin-left: 10px; font-size: .78rem; color: var(--muted); background: rgba(255, 255, 255, .05); padding: 4px 12px; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; }

/* Sections */
.section { padding: 64px 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__head .muted { margin-top: 12px; }
.section__shot { margin-top: 28px; }

.card {
    position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.card > .ico, .bento__big > div > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--blue-2); background: rgba(1, 111, 252, .12); box-shadow: inset 0 0 0 1px rgba(77, 148, 255, .25); margin-bottom: 18px; }
.card h3 + p { margin-top: 8px; color: var(--muted); }
a.card { display: block; color: inherit; }
a.card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.card--blue { background: linear-gradient(160deg, rgba(1, 111, 252, .28), rgba(1, 111, 252, .06) 60%); border-color: rgba(77, 148, 255, .35); }
.card--glow { overflow: hidden; }
.card--glow::before {
    content: ''; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1;
    background: radial-gradient(closest-side, rgba(1, 111, 252, .45), transparent); pointer-events: none;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps__n { position: absolute; top: 20px; right: 22px; font: 800 2.4rem/1 var(--display); color: rgba(255, 255, 255, .06); }

.bento, .feature-list, .roles { display: grid; gap: 14px; }
.bento__big { overflow: hidden; }

.split { display: grid; gap: 14px; }
.split__card { display: block; padding: 28px; }
.split__card h2 { font-size: clamp(1.45rem, 5vw, 2rem); }
.split__card p:not(.eyebrow) { margin-top: 12px; color: #c3d0e2; }
.split__shot { margin: -4px -4px 24px; }
.split__shot .browser { box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .9); }
.split__shot--phones { display: flex; justify-content: center; gap: 14px; height: 200px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.split__shot--phones .phone { width: 150px; flex: none; border-radius: 30px; padding: 24px 6px 8px; }
.split__shot--phones .phone__notch { top: 8px; height: 10px; }
.split__shot--phones .phone img { border-radius: 8px 8px 22px 22px; }
.split__card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.split__card:hover .link .ico { transform: translateX(4px); }

.two-col { display: grid; gap: 36px; align-items: center; }
.two-col h2 + .muted { margin-top: 14px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #c9d5e6; }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px;
    background: rgba(5, 190, 89, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305be59' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stats .card { padding: 20px; }
.stats strong { display: block; font: 800 clamp(1.6rem, 6vw, 2.4rem)/1 var(--display); }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: .92rem; }

/* Gallery: horizontal swipe on mobile */
.gallery {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px var(--pad) 30px; scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.gallery::-webkit-scrollbar { display: none; }
.gallery .phone { flex: none; width: min(64vw, 250px); scroll-snap-align: center; }

/* Stack strip under hero */
.strip { padding: 8px 0 12px; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.strip__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 12px 4px; font-size: .82rem; color: var(--muted); }
.strip__head a { color: var(--blue-2); font-weight: 600; white-space: nowrap; }
.strip__track { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip__list { display: flex; flex: none; gap: 36px; padding: 10px 18px; margin: 0; list-style: none; animation: marquee 38s linear infinite; }
.strip__list li { font: 700 clamp(1rem, 3.6vw, 1.25rem)/1 var(--display); color: rgba(234, 241, 251, .55); white-space: nowrap; letter-spacing: -.01em; }
.strip__list li::before { content: '◆'; margin-right: 36px; font-size: .55em; vertical-align: middle; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Technology + security */
.section--tech::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(800px 400px at 80% 10%, rgba(1, 111, 252, .12), transparent 70%);
}
.tech { display: grid; gap: 24px; position: relative; }
.tech__intro .lead { margin-top: 16px; }
.tech__facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tech__facts li { padding: 16px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); }
.tech__facts strong { display: block; font: 800 clamp(1.3rem, 5vw, 2rem)/1 var(--display); background: linear-gradient(100deg, #fff, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tech__facts span { display: block; margin-top: 8px; font-size: .8rem; color: var(--muted); line-height: 1.35; }

.layers { display: grid; gap: 14px; margin-top: 32px; position: relative; }
.layer { padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.layer__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.layer__n { font: 800 1.6rem/1 var(--display); color: var(--blue-2); opacity: .7; }
.layer__head h3 { font-size: 1.1rem; }
.layer__head p { margin-top: 4px; font-size: .88rem; color: var(--muted); }
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tile {
    display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 14px;
    background: rgba(3, 13, 28, .55); border: 1px solid var(--line);
    transition: border-color .2s, transform .2s var(--ease);
}
.tile:hover { border-color: color-mix(in srgb, var(--c) 60%, transparent); transform: translateY(-2px); }
.tile__mark {
    flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
    font: 800 .8rem/1 var(--display); color: #fff; letter-spacing: -.02em;
    background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
    box-shadow: 0 6px 18px -8px var(--c), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.tile__body { min-width: 0; }
.tile__body strong { display: block; font: 600 .9rem/1.2 var(--font); color: #fff; }
.tile__body em { font-style: normal; font-weight: 700; color: var(--blue-2); margin-left: 2px; }
.tile__body small { display: block; margin-top: 3px; font-size: .74rem; line-height: 1.3; color: var(--muted); }

.section__head--sub { margin-top: 64px; }
.security { display: grid; gap: 14px; }

/* News */
.news { display: grid; gap: 16px; }
.news__item { scroll-margin-top: 88px; }
.news__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.news__item time {
    display: block;
    font: 600 .75rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2);
}
.news__status {
    font: 700 .68rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
    color: #f5c542; background: rgba(245, 197, 66, .14); border: 1px solid rgba(245, 197, 66, .4);
    padding: 4px 8px; border-radius: 999px;
}
.news__item h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
a.news__item { color: inherit; }
a.news__item:hover h2 { color: var(--blue-2); }
.news-page { padding-top: 28px; }
.news-back { margin-bottom: 16px; }
.news-article {
    display: grid; gap: 28px; align-items: start;
}
.news-article h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.news-article time {
    display: block;
    font: 600 .75rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2);
}
.news__item .news__meta { margin-top: 0; max-width: none; color: inherit; }
.news-article .lead { margin-top: 12px; font-size: 1.05rem; }
.news-article__body p { margin-top: 14px; color: #c3d0e2; }
.news-article__shot .phone { width: min(100%, 220px); margin: 0 auto; }
.news-article__shot .browser { margin: 0; }
.news-more {
    margin-top: 8px;
    padding-top: 40px;
    padding-bottom: 48px;
    background:
        linear-gradient(180deg, rgba(1, 111, 252, .1), transparent 55%),
        var(--bg-2);
    border-top: 1px solid var(--line);
}
.news-more .section__head { margin-bottom: 22px; }
.news__item p { margin-top: 10px; color: var(--muted); max-width: 42em; }
.news-list .news__item:has(.news__shot) {
    display: grid; gap: 14px;
}
.news__shot { min-width: 0; order: -1; }
.news__shot .phone {
    width: 140px; height: 176px; aspect-ratio: auto; margin: 0 auto; overflow: hidden;
    border-radius: 26px; padding: 18px 6px 0;
    box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .85);
    mask-image: linear-gradient(#000 72%, transparent);
    -webkit-mask-image: linear-gradient(#000 72%, transparent);
}
.news__shot .phone__notch { top: 6px; height: 8px; }
.news__shot .phone img { border-radius: 6px 6px 0 0; }
.news__shot .browser {
    margin: 0; border-radius: 10px;
    box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .85);
}
.news__shot .browser__bar { padding: 6px 8px; }
.news__shot .browser__bar i { width: 7px; height: 7px; }
.news__shot .browser__bar span { display: none; }
.news__shot .browser img { display: block; height: 150px; object-fit: cover; object-position: top left; }
@media (min-width: 800px) {
    .news-list .news__item:has(.news__shot) {
        grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 36px;
    }
    .news-list .news__shot { order: 0; }
    .news-list .news__shot .phone {
        width: 168px; height: 228px; margin-left: auto;
        border-radius: 32px; padding: 24px 7px 0;
    }
    .news__shot .phone__notch { top: 8px; height: 10px; }
    .news-list .news__shot .browser img { height: 148px; }
    .news-list .news__shot .phone { margin-left: auto; margin-right: 0; }
    .news-article:has(.news-article__shot) { grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); }
    .news-more__list { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
    .news-more__list h2 { font-size: 1.15rem; }
}
.news-more .news__item:has(.news__shot) { display: flex; flex-direction: column; gap: 12px; }
.news-more .news__shot { order: -1; }
.news-more .news__shot .browser img { height: 112px; }
.news-more .news__shot .phone {
    width: 104px; height: 128px; margin: 0 auto;
    border-radius: 20px; padding: 14px 4px 0;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid var(--blue-2); border-bottom: 2px solid var(--blue-2); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary h3 { font-size: 1.05rem; font-family: var(--font); letter-spacing: 0; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* Legal page */
.legal { padding-block: 40px 24px; }
.legal__head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.legal__head h1 { font-size: clamp(2rem, 7vw, 3rem); }
.legal__head .muted { margin-top: 14px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.legal__toc a { padding: 7px 12px; border-radius: 999px; font-size: .85rem; color: #c9d5e6; background: var(--surface-2); border: 1px solid var(--line); }
.legal__toc a:hover { color: #fff; border-color: var(--line-2); }
.legal section { padding-top: 28px; scroll-margin-top: 80px; }
.legal h2 { font-size: clamp(1.3rem, 4.6vw, 1.6rem); margin-bottom: 12px; }
.legal p, .legal li, .legal address { color: #c3d0e2; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 1.1em; margin: 10px 0 0; display: grid; gap: 8px; }
.legal li::marker { color: var(--blue-2); }
.legal strong { color: #fff; }
.legal a:not(.legal__toc a) { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 12px; line-height: 1.7; }
.legal code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }

/* CTA */
.cta { display: grid; gap: 8px; padding: 32px 24px; border-color: rgba(77, 148, 255, .3); }
.cta > * { position: relative; }
.contact { font-style: normal; display: grid; gap: 10px; margin-top: 22px; }
.contact a, .contact span { display: inline-flex; align-items: center; gap: 10px; color: #c9d5e6; }
.contact a:hover { color: #fff; }
.contact .ico { width: 18px; height: 18px; color: var(--blue-2); }
@media (min-width: 600px) { .contact { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 28px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 24px; background: rgba(0, 0, 0, .15); }
.footer__grid { display: grid; gap: 32px; }
.footer__grid p { margin-top: 14px; max-width: 30em; font-size: .95rem; }
.footer__grid nav { display: grid; gap: 10px; align-content: start; }
.footer__grid nav a { color: #c9d5e6; }
.footer__grid nav a:hover { color: #fff; }
.footer__h { font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__legal { display: flex; flex-direction: column; gap: 6px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ≥ 600px */
@media (min-width: 600px) {
    .cta-row { flex-direction: row; flex-wrap: wrap; }
    .steps, .feature-list, .roles, .security { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .bento__big { grid-column: span 2; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
    .phone--inline { margin: 0 0 -260px; width: 220px; align-self: start; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer__legal { flex-direction: row; justify-content: space-between; }
    .gallery .phone { width: 250px; }
}

/* ≥ 960px */
@media (min-width: 960px) {
    .nav__toggle { display: none; }
    .nav__end { order: 3; margin-left: 10px; }
    .nav__lang { height: 42px; min-width: 42px; }
    .nav__menu {
        order: 2; margin-left: auto;
        position: static; display: flex; align-items: center; gap: 6px; padding: 0;
        background: none; border: 0; transform: none; opacity: 1; visibility: visible;
    }
    .nav__menu a:not(.btn) { border: 0; padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
    .nav__menu a:not(.btn):hover, .nav__menu a[aria-current='page'] { background: var(--surface-2); color: #fff; }
    .nav__menu .btn { margin: 0 0 0 8px; }

    .hero { padding: 96px 0 72px; }
    .hero__grid { grid-template-columns: 1.25fr 1fr; align-items: center; }
    .hero h1 { font-size: clamp(3rem, 4.6vw, 4.2rem); }
    .hero__phones { min-height: 620px; }
    .hero__phones .phone { width: 280px; }
    .hero--page .hero__copy { max-width: 780px; }
    .hero__shot { margin-top: 56px; }

    .section { padding: 96px 0; }
    .section.news-page { padding-top: 36px; padding-bottom: 64px; }
    .section.news-more { padding-top: 48px; padding-bottom: 64px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .bento { grid-template-columns: repeat(3, 1fr); }
    .bento__big { grid-column: span 2; grid-row: span 2; grid-template-columns: 1fr; align-content: space-between; }
    .bento__wide { grid-column: span 3; display: flex; align-items: center; gap: 20px; }
    .bento__wide > .ico { margin-bottom: 0; }
    .bento__wide h3 + p { margin-top: 4px; }
    .phone--inline { margin: 28px auto -250px; width: 250px; }
    .feature-list { grid-template-columns: repeat(4, 1fr); }
    .roles, .security { grid-template-columns: repeat(3, 1fr); }
    .tech { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
    .layers { grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
    .layer { padding: 24px; }
    .tiles { grid-template-columns: 1fr; }
    .section__head--sub { margin-top: 96px; }
    .split { grid-template-columns: 1fr 1fr; }
    .split__card { padding: 40px; }
    .two-col { grid-template-columns: 1fr 1.25fr; gap: 64px; }
    .two-col--flip > :first-child { order: 2; }
    .stats { grid-template-columns: repeat(4, 1fr); }
    .cta { grid-template-columns: 1.4fr auto; align-items: center; padding: 48px; }
    .cta .cta-row { margin-top: 0; }
    .gallery {
        max-width: var(--wrap); margin-inline: auto; overflow: visible;
        mask-image: none; -webkit-mask-image: none;
    }
    .gallery .phone { width: calc((100% - 90px) / 6); border-radius: 30px; padding: 24px 6px 9px; }
    .gallery .phone__notch { top: 8px; height: 10px; }
    .gallery .phone img { border-radius: 8px 8px 22px 22px; }
    .gallery .phone:nth-child(even) { transform: translateY(28px); }
}

@media (hover: hover) {
    .card:hover { border-color: var(--line-2); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
