:root {
    --bg: #f5f7fb;
    --bg-2: #eaf0fa;
    --ink: #0b1733;
    --ink-2: #1c2a4a;
    --text: #1a2744;
    --muted: #5b6886;
    --line: rgba(11, 23, 51, .09);
    --line-2: rgba(11, 23, 51, .16);
    --card: #ffffff;
    --blue: #1e63f0;
    --blue-2: #4b86ff;
    --green: #06a67b;
    --green-2: #2fd3a0;
    --amber: #ffb020;
    --radius: 24px;
    --radius-sm: 14px;
    --wrap: 1200px;
    --pad: clamp(18px, 5vw, 32px);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --shadow: 0 1px 2px rgba(11, 23, 51, .04), 0 12px 32px -16px rgba(11, 23, 51, .18);
}

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

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

body {
    margin: 0;
    background: 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.1; letter-spacing: -.025em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 9.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 6.4vw, 3rem); font-weight: 800; }
h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 840px; }
.muted { color: var(--muted); }
.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); 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) 10%, #19a7e0 50%, var(--green) 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

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

.lead { font-size: clamp(1.06rem, 3.6vw, 1.26rem); color: var(--ink-2); opacity: .86; margin-top: 18px; max-width: 34em; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 24px; border-radius: 14px;
    background: linear-gradient(135deg, var(--blue), #1a4fd0);
    color: #fff; font: 600 1rem/1 var(--font);
    box-shadow: 0 12px 28px -12px rgba(30, 99, 240, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(30, 99, 240, .85), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--blue-2), var(--shadow); }
.btn--green { background: linear-gradient(135deg, var(--green), #058a66); box-shadow: 0 12px 28px -12px rgba(6, 166, 123, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.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: 30px; }

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

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(245, 247, 251, .78);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; min-height: 66px; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand img { width: 132px; height: auto; }
.nav__end { display: flex; align-items: center; gap: 8px; }
.nav__lang {
    min-width: 46px; height: 46px; display: grid; place-items: center; padding: 0 12px;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; font: 700 .82rem/1 var(--font); letter-spacing: .06em; color: var(--ink-2);
}
.nav__lang:hover { border-color: var(--line-2); }
.nav__toggle {
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); 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: 66px 0 auto; display: grid; gap: 2px; padding: 12px var(--pad) 22px;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(11, 23, 51, .3);
    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: var(--ink-2); border-bottom: 1px solid var(--line); }
.nav__menu a[aria-current='page'] { color: var(--blue); }
.nav__menu .btn { margin-top: 14px; }

/* Hero */
.hero { position: relative; padding: 44px 0 36px; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: -30% -20% auto; height: 760px; pointer-events: none;
    background:
        radial-gradient(closest-side at 72% 38%, rgba(30, 99, 240, .20), transparent),
        radial-gradient(closest-side at 30% 70%, rgba(6, 166, 123, .16), transparent);
    filter: blur(10px);
    animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(3%, 4%, 0) scale(1.05); } }
.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: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 44px; }
.hero__copy { position: relative; z-index: 1; }
.hero--page .hero__copy { max-width: 800px; }
.hero__shot { position: relative; z-index: 1; margin-top: 36px; }

.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 13px; border-radius: 999px;
    background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; font-weight: 500; box-shadow: 0 4px 12px -8px rgba(11, 23, 51, .2);
}
.chips .ico { width: 16px; height: 16px; color: var(--green); }

/* Phone mockup */
.phone {
    position: relative; margin: 0; width: min(70vw, 280px); aspect-ratio: 390 / 890;
    border-radius: 44px; padding: 34px 9px 12px;
    background: linear-gradient(145deg, #273248, #0c1220 45%, #1b2436);
    box-shadow: 0 40px 70px -30px rgba(11, 23, 51, .55), 0 0 0 1px rgba(11, 23, 51, .12), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px 10px 32px 32px; background: #fff; }
.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: 470px; }
.hero__phones .phone { width: min(54vw, 262px); }
.phone--back { transform: translateX(-28%) rotate(-6deg); }
.phone--front { position: absolute; top: 46px; left: 50%; transform: translateX(-10%) rotate(4deg); }
.hero__badge {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px;
    background: var(--card); border-radius: 16px; box-shadow: var(--shadow), 0 0 0 1px var(--line); font-size: .85rem; line-height: 1.25;
}
.hero__badge strong { display: block; font: 800 1rem/1.1 var(--display); color: var(--ink); }
.hero__badge .ico { width: 36px; height: 36px; padding: 8px; border-radius: 11px; color: #fff; background: linear-gradient(135deg, var(--green), #058a66); }
.hero__badge--a { left: 0; bottom: 60px; }
.hero__badge--b { right: 0; top: 18px; }
.hero__badge--b .ico { background: linear-gradient(135deg, var(--amber), #f08a00); }

/* Browser mockup */
.browser {
    margin: 0; border-radius: 16px; overflow: hidden; background: #fff;
    border: 1px solid var(--line-2);
    box-shadow: 0 50px 90px -50px rgba(30, 99, 240, .55), 0 20px 40px -24px rgba(11, 23, 51, .35);
}
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #c9d1de; }
.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: #fff; 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--white { background: #fff; border-block: 1px solid var(--line); }
.section__head { max-width: 740px; margin-bottom: 34px; }
.section__head .muted { margin-top: 14px; font-size: 1.05rem; }
.section__shot { margin-top: 44px; }
.section__head--center { margin-inline: auto; text-align: center; }

.card {
    position: relative; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow);
    transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.card > .ico, .card__ico { width: 44px; height: 44px; padding: 10px; border-radius: 13px; color: var(--blue); background: rgba(30, 99, 240, .09); margin-bottom: 18px; }
.card--green > .ico, .card__ico--green { color: var(--green); background: rgba(6, 166, 123, .1); }
.card h3 + p, .card h3 + ul { margin-top: 8px; color: var(--muted); }
a.card:hover { transform: translateY(-3px); border-color: var(--line-2); }

/* Roles cards */
.roles { display: grid; gap: 14px; }
.role { display: flex; flex-direction: column; }
.role__tag { position: absolute; top: 22px; right: 22px; font: 700 .7rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.role ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: .93rem; color: var(--ink-2); }
.role li { display: flex; gap: 8px; }
.role li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--green); }
.role .link { margin-top: auto; padding-top: 18px; }

/* Bento */
.bento { display: grid; gap: 14px; }
.bento__big { overflow: hidden; padding-bottom: 0; }
.bento__big .browser { margin: 22px -1px 0; border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: none; }
.bento__phone { overflow: hidden; padding-bottom: 0; }
.bento__phone .phone { width: 230px; margin: 22px auto -210px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.stats li { list-style: none; padding: 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats strong { display: block; font: 800 clamp(1.7rem, 6vw, 2.4rem)/1 var(--display); color: var(--ink); }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.stats { padding: 0; }

/* Two-column feature blocks */
.two-col { display: grid; gap: 30px; align-items: center; }
.two-col + .two-col { margin-top: 64px; }
.two-col h2 { font-size: clamp(1.6rem, 5.4vw, 2.4rem); }
.two-col h2 + .muted { margin-top: 14px; font-size: 1.04rem; }
.two-col__phones { display: flex; justify-content: center; gap: 16px; }
.two-col__phones .phone { width: min(44vw, 240px); }
.two-col__phones .phone:nth-child(2) { margin-top: 44px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 6px;
    background: rgba(6, 166, 123, .13) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306a67b' 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;
}
.ticks strong { color: var(--ink); }

/* Feature index (features page) */
.jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 4px 0 8px; margin-top: 26px; }
.jump a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line);
    font-size: .74rem; font-weight: 500; line-height: 1.15; text-align: center; color: var(--ink-2);
}
.jump a:hover { border-color: var(--blue-2); color: var(--blue); }
.jump .ico { width: 20px; height: 20px; color: var(--blue); }
.domain { scroll-margin-top: 90px; }
.grid-3 { display: grid; gap: 14px; margin-top: 28px; }
.mini { padding: 20px; }
.mini h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; }
.mini h3 .ico { width: 20px; height: 20px; color: var(--blue); }
.mini p { margin-top: 6px; color: var(--muted); font-size: .94rem; }

/* Gallery */
.gallery {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px var(--pad) 36px; 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 figure { flex: none; scroll-snap-align: center; margin: 0; }
.gallery .phone { width: min(62vw, 240px); }
.gallery--inline { padding-inline: 0; margin-top: 40px; }
.gallery figcaption { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--muted); }

/* Module strip */
.strip { padding: 6px 0 10px; border-block: 1px solid var(--line); background: #fff; }
.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: 34px; padding: 14px 17px; margin: 0; list-style: none; animation: marquee 44s linear infinite; }
.strip__list li { display: inline-flex; align-items: center; gap: 10px; font: 700 clamp(.98rem, 3.4vw, 1.18rem)/1 var(--display); color: var(--ink-2); white-space: nowrap; }
.strip__list .ico { width: 20px; height: 20px; color: var(--blue); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Dark tech section */
.section--dark {
    background:
        radial-gradient(900px 480px at 85% 0%, rgba(30, 99, 240, .35), transparent 65%),
        radial-gradient(700px 420px at 0% 100%, rgba(6, 166, 123, .22), transparent 65%),
        var(--ink);
    color: #dbe4f5;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .muted, .section--dark .lead { color: #a8b6d1; opacity: 1; }
.section--dark .eyebrow { color: var(--green-2); }
.tech { display: grid; gap: 26px; }
.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: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.tech__facts strong { display: block; font: 800 clamp(1.3rem, 5vw, 2rem)/1 var(--display); background: linear-gradient(100deg, #fff, #8fd9ff 60%, var(--green-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tech__facts span { display: block; margin-top: 8px; font-size: .8rem; color: #a8b6d1; line-height: 1.35; }
.layers { display: grid; gap: 14px; margin-top: 34px; }
.layer { padding: 20px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); }
.layer__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.layer__n { font: 800 1.6rem/1 var(--display); color: var(--green-2); opacity: .8; }
.layer__head p { margin-top: 4px; font-size: .88rem; color: #a8b6d1; }
.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(4, 10, 24, .55); border: 1px solid rgba(255, 255, 255, .08); 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 .76rem/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: #8fd9ff; margin-left: 2px; }
.tile__body small { display: block; margin-top: 3px; font-size: .74rem; line-height: 1.3; color: #a8b6d1; }
.section__head--sub { margin-top: 64px; }
.security { display: grid; gap: 14px; }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section--dark .card > .ico { color: var(--green-2); background: rgba(47, 211, 160, .12); }
.section--dark .card h3 + p { color: #a8b6d1; }

/* 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: 24px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
    border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); 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.04rem; font-family: var(--font); letter-spacing: 0; font-weight: 600; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* CTA / contact */
.cta {
    display: grid; gap: 8px; padding: 34px 24px; overflow: hidden; border: 0; color: #dbe4f5;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(47, 211, 160, .35), transparent 70%),
        linear-gradient(135deg, #1446c4, var(--blue) 55%, #1180d6);
}
.cta h2, .cta .eyebrow { color: #fff; }
.cta p:not(.eyebrow) { color: #dbe6ff; margin-top: 10px; }
.contact { font-style: normal; display: grid; gap: 10px; margin-top: 22px; }
.contact a, .contact span { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.contact .ico { width: 18px; height: 18px; color: #bfe9ff; }
.cta .btn { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.cta .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }

/* Legal */
.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: var(--ink-2); background: var(--card); border: 1px solid var(--line); }
.legal__toc a:hover { border-color: var(--blue-2); color: var(--blue); }
.legal section { padding-top: 30px; scroll-margin-top: 84px; }
.legal h2 { font-size: clamp(1.3rem, 4.6vw, 1.6rem); margin-bottom: 12px; }
.legal p, .legal li, .legal address { color: var(--ink-2); }
.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); }
.legal strong { color: var(--ink); }
.legal a:not(.legal__toc a) { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal address { font-style: normal; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; line-height: 1.7; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; background: #fff; }
.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: var(--ink-2); }
.footer__grid nav a:hover { color: var(--blue); }
.footer__h { font: 700 .76rem/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 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ≥ 600px */
@media (min-width: 600px) {
    .cta-row { flex-direction: row; flex-wrap: wrap; }
    .roles, .security, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__big { grid-column: span 2; }
    .stats { grid-template-columns: repeat(4, 1fr); }
    .tiles { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer__legal { flex-direction: row; justify-content: space-between; }
    .contact { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 28px; }
    .jump { display: flex; flex-wrap: wrap; }
    .jump a { flex-direction: row; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .9rem; }
    .jump .ico { width: 16px; height: 16px; }
}

/* ≥ 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: 4px; padding: 0;
        background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible;
    }
    .nav__menu a:not(.btn) { border: 0; padding: 10px 13px; border-radius: 10px; font-size: .95rem; }
    .nav__menu a:not(.btn):hover, .nav__menu a[aria-current='page'] { background: #fff; color: var(--blue); }
    .nav__menu .btn { margin: 0 0 0 8px; }
    .nav__brand img { width: 150px; }

    .hero { padding: 88px 0 72px; }
    .hero__grid { grid-template-columns: 1.15fr 1fr; align-items: center; }
    .hero h1 { font-size: clamp(3.1rem, 4.8vw, 4.5rem); }
    .hero__phones { min-height: 640px; }
    .hero__phones .phone { width: 285px; }
    .hero__badge--a { left: -10px; bottom: 90px; }

    .section { padding: 100px 0; }
    .roles { grid-template-columns: repeat(4, 1fr); }
    .security, .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .bento { grid-template-columns: repeat(3, 1fr); }
    .bento__big { grid-column: span 2; grid-row: span 2; }
    .bento__phone { grid-row: span 2; }
    .two-col { grid-template-columns: 1fr 1.2fr; gap: 64px; }
    .two-col--phones { grid-template-columns: 1fr 1fr; }
    .two-col--flip > :first-child { order: 2; }
    .two-col + .two-col { margin-top: 110px; }
    .tech { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
    .layers { grid-template-columns: repeat(3, 1fr); margin-top: 46px; }
    .layer { padding: 24px; }
    .tiles { grid-template-columns: 1fr; }
    .section__head--sub { margin-top: 96px; }
    .cta { grid-template-columns: 1.4fr auto; align-items: center; padding: 52px; }
    .cta .cta-row { margin-top: 0; }
    .gallery { max-width: var(--wrap); margin-inline: auto; justify-content: center; overflow: visible; mask-image: none; -webkit-mask-image: none; }
    .gallery figure { width: calc((100% - 90px) / 6); }
    .gallery .phone { width: 100%; border-radius: 30px; padding: 24px 6px 9px; }
    .gallery .phone__notch { top: 8px; height: 10px; }
    .gallery .phone img { border-radius: 8px 8px 22px 22px; }
    .gallery figure:nth-child(even) { transform: translateY(30px); }
    .gallery--inline { gap: 36px; margin-top: 56px; }
    .gallery--inline figure { width: 230px; }
}

@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; }
}
