/* ==========================================================================
   eBrain Technology Group – website styles (plain CSS, no build step)
   ========================================================================== */

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
    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: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
    --bg: #14161d;
    --bg-deep: #0d0f14;
    --panel: #1e212b;
    --panel-2: #262a36;
    --line: rgba(255, 255, 255, .09);
    --text: #f3f6fa;
    --muted: #a3acbd;
    --accent: #27c9ef;
    --accent-2: #8beeff;
    --light: #eef2f5;
    --ink: #14161d;
    --ink-muted: #55607a;

    /* product themes override these two */
    --theme: var(--accent);
    --theme-2: var(--accent-2);

    --radius: 22px;
    --radius-s: 12px;
    --container: 1200px;
    --gutter: clamp(20px, 4vw, 40px);
    --section: clamp(72px, 10vw, 144px);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.theme-purple { --theme: #9340ff; --theme-2: #d8ea00; }
.theme-violet { --theme: #8f7bff; --theme-2: #cfc6ff; }
.theme-teal { --theme: #14b8a6; --theme-2: #8ff5e6; }
.theme-amber { --theme: #e79a2a; --theme-2: #ffd999; }
.theme-orange { --theme: #f26a2e; --theme-2: #ffc2a1; }
.theme-cyan { --theme: var(--accent); --theme-2: var(--accent-2); }

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--light); color: var(--ink); transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.rounded { border-radius: var(--radius); }

.kicker {
    margin: 0 0 18px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.kicker::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--theme); }

.chip {
    display: inline-block;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
    border-radius: 999px;
    color: var(--accent-2);
    font-family: var(--mono);
    font-size: .6875rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 120; height: 2px; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; }

/* ------------------------------------------------------------------ buttons */

.btn {
    --btn-color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    border: 1px solid var(--btn-color);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn .i-arrow { flex: none; transition: transform .3s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--btn-color); color: var(--ink); box-shadow: 0 0 32px color-mix(in srgb, var(--btn-color) 45%, transparent); }
.btn:hover .i-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--btn-color); color: var(--ink); font-weight: 600; }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--light); border-color: var(--light); box-shadow: 0 0 32px rgba(255, 255, 255, .25); }
.btn--small { padding: 8px 16px; font-size: .875rem; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--text); }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { background: var(--ink); color: var(--text); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.actions--center { justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

/* ------------------------------------------------------------------- header */

.header { position: fixed; inset: 14px 0 auto 0; z-index: 100; padding-inline: var(--gutter); transition: transform .45s var(--ease); }
.header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--container);
    margin-inline: auto;
    padding: 10px 12px 10px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(24, 27, 36, .6);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    backdrop-filter: blur(18px) saturate(1.3);
    transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled .header__bar { background: rgba(20, 22, 29, .86); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.header__logo img { width: 104px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 36px); }
.nav__list { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 14px); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { padding: 10px 10px; color: rgba(255, 255, 255, .82); font-size: .9375rem; text-decoration: none; transition: color .2s; }
.nav__link:hover, .nav__link[aria-current] { color: #fff; }
.nav__link[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; text-decoration-thickness: 2px; }
.nav__expand { display: grid; place-items: center; width: 22px; height: 28px; margin-left: -8px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .6); cursor: pointer; }
.nav__expand svg { transition: transform .3s var(--ease); }
.nav__meta { display: flex; align-items: center; gap: 14px; }

.mega {
    position: absolute;
    left: 50%;
    top: calc(100% + 14px);
    min-width: 320px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(24, 27, 36, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.mega__list { display: grid; gap: 2px; }
.mega__list--cards { grid-template-columns: repeat(2, minmax(200px, 1fr)); min-width: 480px; }
.mega__link { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: var(--radius-s); text-decoration: none; transition: background-color .2s; }
.mega__link:hover, .mega__link:focus-visible { background: color-mix(in srgb, var(--theme) 16%, transparent); }
.mega__link img, .mega__dot { flex: none; width: 40px; height: 40px; border-radius: 11px; }
.mega__dot { display: grid; place-items: center; background: linear-gradient(160deg, var(--theme), color-mix(in srgb, var(--theme) 30%, #000)); font-weight: 700; }
.mega__link strong { display: block; font-size: .9375rem; font-weight: 600; }
.mega__link small { display: block; color: var(--muted); font-size: .8125rem; }
.mega__all { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); color: var(--accent-2); font-size: .875rem; text-decoration: none; }
.mega__all:hover .i-arrow { transform: translateX(4px); }
.mega__all .i-arrow { transition: transform .3s var(--ease); }

@media (min-width: 1041px) {
    .nav__item.has-children:hover .mega,
    .nav__item.has-children:focus-within .mega,
    .nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav__item.has-children:hover .nav__expand svg,
    .nav__item.is-open .nav__expand svg { transform: rotate(180deg); }
}

.search { position: relative; display: flex; align-items: center; }
.search input {
    width: 38px;
    height: 38px;
    padding: 0 0 0 36px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: .875rem;
    cursor: pointer;
    transition: width .35s var(--ease), border-color .25s, background-color .25s;
}
.search input::placeholder { color: transparent; }
.search input:focus { width: 190px; padding-right: 14px; border-color: var(--line); background: rgba(255, 255, 255, .06); outline: none; cursor: text; }
.search input:focus::placeholder { color: var(--muted); }
.search svg { position: absolute; left: 10px; color: rgba(255, 255, 255, .75); pointer-events: none; }

.lang { display: flex; gap: 2px; font-family: var(--mono); font-size: .75rem; }
.lang a { display: block; padding: 6px 7px; border-radius: 6px; color: rgba(255, 255, 255, .5); text-decoration: none; }
.lang a:hover, .lang a[aria-current] { color: #fff; }

.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span:first-child, .burger span:first-child::before, .burger span:first-child::after { display: block; width: 22px; height: 2px; margin-inline: auto; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), background-color .2s; }
.burger span:first-child { position: relative; }
.burger span:first-child::before, .burger span:first-child::after { content: ""; position: absolute; left: 0; }
.burger span:first-child::before { top: -7px; }
.burger span:first-child::after { top: 7px; }
.burger[aria-expanded="true"] span:first-child { background: transparent; }
.burger[aria-expanded="true"] span:first-child::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
    .burger { display: block; }
    .header__bar { border-radius: 26px; }
    .nav {
        position: fixed;
        inset: 84px var(--gutter) auto var(--gutter);
        max-height: calc(100dvh - 104px);
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
        border: 1px solid var(--line);
        border-radius: 26px;
        background: rgba(20, 22, 29, .97);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
    .nav__link { flex: 1; padding: 14px 4px; font-size: 1.125rem; }
    .nav__expand { width: 44px; height: 44px; margin: 0; }
    .mega { position: static; flex-basis: 100%; min-width: 0; padding: 0; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .nav__item.is-open .mega { display: block; padding-bottom: 12px; }
    .nav__item.is-open .nav__expand svg { transform: rotate(180deg); }
    .mega__list--cards { grid-template-columns: 1fr; min-width: 0; }
    .nav__meta { flex-wrap: wrap; justify-content: space-between; }
    .search input { width: 190px; padding-right: 14px; border-color: var(--line); cursor: text; }
    .search input::placeholder { color: var(--muted); }
}

/* --------------------------------------------------------------------- hero */

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: max(640px, 100svh);
    padding: 150px 0 110px;
    overflow: hidden;
    text-align: center;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media > img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 50% at 50% 55%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
        linear-gradient(to bottom, rgba(20, 22, 29, .72), rgba(20, 22, 29, .55) 45%, var(--bg) 96%);
}
.hero__net { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: .55; mix-blend-mode: screen; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.6rem, 1rem + 6.6vw, 6.25rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.hero__line { display: block; }
.hero__highlight {
    padding-bottom: .12em;
    background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 40%, #fff 50%, var(--accent-2) 60%, var(--accent) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }
.hero__text { max-width: 60ch; margin: 28px auto 0; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, .95rem + .35vw, 1.1875rem); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(14px); opacity: 0; } }

/* intro animation of the hero (only with JS, see main.js) */
.js .hero__line, .js .hero__text, .js .hero__actions { opacity: 0; transform: translateY(28px); }
.js .is-ready .hero__line, .js .is-ready .hero__text, .js .is-ready .hero__actions { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .is-ready .hero__line:nth-child(2) { transition-delay: .12s; }
.js .is-ready .hero__text { transition-delay: .28s; }
.js .is-ready .hero__actions { transition-delay: .42s; }

/* -------------------------------------------------------------- page header */

.phead { position: relative; padding: clamp(150px, 16vw, 210px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.phead__glow {
    position: absolute;
    inset: -30% -10% auto auto;
    width: 70vw;
    max-width: 900px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--theme) 30%, transparent), transparent);
    filter: blur(20px);
    animation: drift 16s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-8%, 10%, 0) scale(1.15); } }
.phead__inner { position: relative; display: grid; gap: clamp(32px, 5vw, 72px); align-items: end; }
.phead--image .phead__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.phead h1 { max-width: 16ch; font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.75rem); letter-spacing: -.035em; }
.phead__lead { max-width: 58ch; margin-top: 26px; color: rgba(255, 255, 255, .78); font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; }
.phead__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.phead--article { padding-bottom: clamp(32px, 4vw, 48px); }
.phead--article h1 { max-width: 22ch; margin-top: 18px; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }

.crumbs { margin-bottom: 26px; font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .9); }

.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: .875rem; text-decoration: none; }
.back:hover { color: #fff; }

/* ------------------------------------------------------------- product hero */

.prod { position: relative; padding: clamp(130px, 13vw, 170px) 0 0; overflow: hidden; }
.prod__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, var(--theme-2) 55%, transparent), transparent 60%),
        linear-gradient(180deg, color-mix(in srgb, var(--theme) 85%, #000) 0%, color-mix(in srgb, var(--theme) 55%, var(--bg)) 55%, var(--bg) 100%);
}
.prod__inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.prod__card {
    margin-bottom: clamp(48px, 7vw, 96px);
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(20, 22, 29, .62);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}
.prod__logo { width: auto; height: 34px; margin-bottom: 20px; object-fit: contain; object-position: left; }
.prod h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -.035em; }
.prod__category { margin: 10px 0 0; color: var(--theme-2); font-family: var(--mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.prod__claim { margin: 18px 0 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.45; color: rgba(255, 255, 255, .9); }
.prod__facts { display: grid; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; }
.prod__facts > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
.prod__facts dt { padding-top: 3px; color: rgba(255, 255, 255, .6); font-family: var(--mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; }
.prod__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 0; }
.prod .btn { --btn-color: var(--theme-2); }
.prod__visual { align-self: end; }
.prod__visual img { width: 100%; max-height: 640px; object-fit: cover; object-position: top; border-radius: var(--radius) var(--radius) 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }

.checks { display: grid; gap: 6px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .32em;
    width: 16px;
    height: 16px;
    background: var(--theme-2);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ----------------------------------------------------------------- sections */

.section { position: relative; padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .5) 0; }
.section + .section:not(.section--deep):not(.section--light):not(.section--theme) { padding-top: 0; }
.section--deep + .section, .section--light + .section, .section--theme + .section, .hero ~ .section:first-of-type { padding-top: var(--section); }
.section--deep { background: var(--bg-deep); }
.section--deep + .section--deep { padding-top: 0; }
.section--flush { padding-top: 0 !important; }
.section--light { margin-inline: clamp(8px, 1.5vw, 24px); border-radius: clamp(20px, 3vw, 36px); background: var(--light); color: var(--ink); }
.section--light .kicker { color: var(--ink-muted); }
.section--light + .section--light { margin-top: 12px; }
.section--theme {
    margin-inline: clamp(8px, 1.5vw, 24px);
    border-radius: clamp(20px, 3vw, 36px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--theme) 92%, #000) 0%, color-mix(in srgb, var(--theme) 60%, var(--bg)) 55%, var(--bg) 100%);
}
.section--theme .kicker { color: rgba(255, 255, 255, .8); }
.section--theme .kicker::before { background: var(--theme-2); }
.section--theme + .section--light { margin-top: 12px; }

.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.head__text { margin-top: 20px; color: var(--muted); font-size: 1.0625rem; }
.section--light .head__text { color: var(--ink-muted); }
.section--theme .head__text { color: rgba(255, 255, 255, .86); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .kicker::before { display: none; }

.duo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo__media { overflow: hidden; border-radius: var(--radius); }
.duo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.duo__body h2 { margin-bottom: 24px; }

.prose { color: var(--muted); font-size: 1.0625rem; }
.section--light .prose { color: var(--ink-muted); }
.prose > * + * { margin-top: 1em; }
.prose ul { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; color: var(--text); }
.prose li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--theme); }
.prose a { color: var(--accent-2); }

/* --------------------------------------------------------------------- ways */

.ways { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.ways__intro { position: sticky; top: 120px; }
.ways__text { margin-top: 20px; color: var(--muted); font-size: 1.0625rem; }
.ways__visual { position: relative; width: min(100%, 360px); margin-top: 40px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.ways__visual img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; animation: breathe 9s ease-in-out infinite alternate; }
.ways__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent 55%, var(--bg) 100%); }
@keyframes breathe { from { transform: scale(1) rotate(0deg); filter: hue-rotate(0deg); } to { transform: scale(1.25) rotate(8deg); filter: hue-rotate(-25deg); } }

.steps { position: relative; display: grid; gap: 8px; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 26px 24px; border: 1px solid transparent; border-radius: var(--radius); opacity: .45; transition: opacity .5s, background-color .5s, border-color .5s, transform .5s var(--ease); }
.step.is-active { opacity: 1; background: var(--panel); border-color: var(--line); transform: translateX(6px); }
.step__num { color: var(--accent); font-family: var(--mono); font-size: .875rem; padding-top: 4px; }
.step h3 { font-size: 1.375rem; }
.step p { margin-top: 10px; color: var(--muted); }
html:not(.js) .step { opacity: 1; }

/* --------------------------------------------------------------- highlights */

.highlights__image { overflow: hidden; border-radius: var(--radius); }
.highlights__image img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.highlights li { padding-top: 20px; border-top: 1px solid var(--line); }
.highlights h3 { margin-bottom: 10px; font-size: 1.125rem; }
.highlights p { color: var(--muted); font-size: .9375rem; }

/* ----------------------------------------------------------- platform cards */

.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
/* five cards: three on top, two wider ones below */
.pcards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pcards--5 > * { grid-column: span 2; }
.pcards--5 > :nth-child(n+4) { grid-column: span 3; min-height: 280px; }
.pcards--1, .pcards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcards--1 { max-width: 620px; grid-template-columns: 1fr; }
.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 340px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .35s, transform .45s var(--ease), box-shadow .45s;
}
.pcard::before, [data-spotlight]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--theme) 34%, transparent), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.pcard:hover, .pcard:focus-visible { border-color: color-mix(in srgb, var(--theme) 70%, transparent); transform: translateY(-6px); box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--theme) 55%, transparent); }
.pcard:hover::before, [data-spotlight]:hover::before { opacity: 1; }
.pcard__logo { display: flex; align-items: center; height: 46px; margin-bottom: 26px; }
.pcard__logo img { width: auto; max-width: 190px; max-height: 46px; object-fit: contain; object-position: left; }
.pcard__logo strong { font-size: 1.5rem; }
.pcard__title { font-size: 1.375rem; font-weight: 500; letter-spacing: -.01em; }
.pcard__category { margin-top: 4px; color: var(--theme-2); font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.pcard__summary { margin-top: 18px; color: var(--muted); font-size: .9375rem; }
.pcard__audience { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px; color: var(--theme-2); font-size: .8125rem; }
.pcard__more { display: flex; align-items: center; gap: 8px; max-height: 0; opacity: 0; font-size: .875rem; font-weight: 600; transition: max-height .4s var(--ease), opacity .3s, margin .4s var(--ease); }
.pcard:hover .pcard__more, .pcard:focus-visible .pcard__more { max-height: 40px; margin-top: 14px; opacity: 1; }

/* ---------------------------------------------------------------- ecosystem */

.eco { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eco .head { margin-bottom: 28px; }
.eco__info { min-height: 168px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.eco__hint { color: var(--muted); font-size: .9375rem; }
.eco__info h3 { margin: 4px 0 8px; font-size: 1.375rem; }
.eco__info-category { margin: 0; color: var(--theme-2); font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; }
.eco__info-summary { margin: 0; color: var(--muted); font-size: .9375rem; }
.eco__info-partner { margin: 12px 0 0; font-size: .875rem; }
.eco__info-partner:empty { display: none; }
.eco__info > * { animation: fade-up .45s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } }

.eco__stage { position: relative; }
.js .eco__stage { width: 100%; max-width: 620px; aspect-ratio: 1; margin-inline: auto; }
.eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco__lines line { stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; stroke-dasharray: 3 7; animation: dash 1.6s linear infinite; }
.eco__lines line.is-partner { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 8 8; opacity: .55; }
.eco__lines line.is-on { stroke: var(--accent-2); opacity: 1; stroke-width: 2.5; }
.eco__lines circle { fill: none; stroke: rgba(255, 255, 255, .07); }
@keyframes dash { to { stroke-dashoffset: -32; } }
.eco__center { display: none; }
.js .eco__center {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30%;
    aspect-ratio: 1;
    border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 28%, var(--bg-deep)), var(--bg-deep));
    box-shadow: 0 0 80px color-mix(in srgb, var(--accent) 35%, transparent);
    text-align: center;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}
.eco__center span { max-width: 9ch; font-size: clamp(.8125rem, .6rem + .8vw, 1.0625rem); font-weight: 600; line-height: 1.2; }
@keyframes pulse { 50% { box-shadow: 0 0 120px color-mix(in srgb, var(--accent) 55%, transparent); } }
.eco__nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.js .eco__nodes { display: block; }
.eco__node { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border-radius: 18px; text-align: center; text-decoration: none; transition: transform .4s var(--ease); }
.js .eco__node { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: 150px; margin: -55px 0 0 -75px; }
.eco__node img, .eco__letter { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--theme) 80%, transparent); transition: transform .4s var(--ease), box-shadow .4s; }
.eco__letter { display: grid; place-items: center; background: linear-gradient(160deg, var(--theme), color-mix(in srgb, var(--theme) 30%, #000)); font-size: 1.5rem; font-weight: 700; }
.eco__node strong { margin-top: 6px; font-size: .9375rem; font-weight: 600; }
.eco__node small { color: var(--muted); font-size: .6875rem; line-height: 1.3; }
.eco__node:hover img, .eco__node:focus-visible img, .eco__node.is-on img,
.eco__node:hover .eco__letter, .eco__node.is-on .eco__letter { transform: scale(1.14); box-shadow: 0 14px 44px -6px var(--theme); }
.eco__stage.has-active .eco__node:not(.is-on) { opacity: .45; }

/* ----------------------------------------------------------------- services */

.services { display: grid; gap: 12px; }
.service {
    position: relative;
    display: grid;
    grid-template-columns: 56px 96px minmax(0, 3fr) minmax(0, 5fr);
    gap: 24px;
    align-items: center;
    padding: 26px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
    isolation: isolate;
    transition: border-color .3s, transform .4s var(--ease);
}
.service:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateX(6px); }
.service__num { color: var(--muted); font-family: var(--mono); font-size: .875rem; }
.service__icon img { width: 64px; height: auto; transition: transform .5s var(--ease); }
.service:hover .service__icon img { transform: scale(1.12) rotate(-4deg); }
.service h3 { font-size: 1.375rem; }
.service p { color: var(--muted); font-size: .9375rem; }

/* ------------------------------------------------------------- testimonials */

.quotes { display: grid; gap: 28px; }
.quotes__image { overflow: hidden; border-radius: var(--radius); }
.quotes__image img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.quote { display: none; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(24px, 5vw, 72px); align-items: start; }
.quote.is-active { display: grid; animation: fade-up .6s var(--ease) both; }
.quote blockquote p { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem); font-style: italic; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
.quote figcaption span { display: grid; color: var(--muted); font-size: .8125rem; }
.quote figcaption strong { color: var(--text); font-size: .9375rem; font-weight: 600; }
.quotes__dots { display: flex; gap: 8px; margin-top: 24px; }
.quotes__dots button { width: 28px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; }
.quotes__dots button[aria-selected="true"] { background: var(--accent); }

/* ---------------------------------------------------------------------- faq */

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--panel); transition: border-color .3s, background-color .3s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--panel-2); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; font-size: 1.0625rem; font-weight: 500; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: linear-gradient(var(--accent), var(--accent)) center / 100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 100% no-repeat;
    transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__item .prose { padding: 0 60px 22px 22px; font-size: 1rem; }
.faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* -------------------------------------------------------------- contact cta */

.cta {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(28px, 5vw, 64px);
    border-radius: var(--radius);
    background: var(--light);
    color: var(--ink);
}
.cta .kicker { color: var(--ink-muted); }
.cta__text { color: var(--ink); font-size: 1.0625rem; }
.cta__cols { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; margin-top: 26px; }
.cta__points ul { display: grid; gap: 6px; }
.cta__points li { position: relative; padding-left: 20px; font-weight: 500; }
.cta__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.cta__notes { display: grid; gap: 8px; margin-top: 20px; color: var(--ink-muted); font-size: .8125rem; }
.cta__notes li { display: flex; align-items: center; gap: 8px; }
.cta .actions { margin-top: 30px; }

.person { display: flex; align-items: center; gap: 16px; }
.person img { flex: none; width: 88px; height: 88px; border-radius: 20px; object-fit: cover; }
.person p { display: grid; gap: 2px; margin: 0; }
.person small { color: var(--ink-muted); font-size: .75rem; }
.person strong { font-size: 1.0625rem; font-weight: 600; }
.person span { max-width: 22ch; color: var(--ink-muted); font-size: .8125rem; line-height: 1.4; }
.person--dark small, .person--dark span { color: var(--muted); }

/* ----------------------------------------------------------------- features */

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); text-align: center; }
.features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature .icon { width: 56px; height: 56px; margin: 0 auto 22px; color: var(--theme-2); }
.feature h3 { margin-bottom: 12px; font-size: 1.1875rem; }
.feature p { max-width: 32ch; margin-inline: auto; color: rgba(255, 255, 255, .8); font-size: .9375rem; }
.js .feature .icon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .feature.is-visible .icon path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .2s; }

/* ----------------------------------------------------------------- showcase */

.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.showcase--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shot__frame { margin-bottom: 26px; border-radius: var(--radius); overflow: hidden; background: #dfe5ec; box-shadow: 0 30px 60px -30px rgba(20, 22, 29, .45); transition: transform .3s var(--ease), box-shadow .3s; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.shot__frame img { width: 100%; }
.shot h3 { margin-bottom: 12px; font-size: 1.375rem; }
.shot p { color: var(--ink-muted); }
.showcase--phones { align-items: start; }
.showcase--phones .shot { text-align: center; }
.showcase--phones .shot__frame { width: min(100%, 260px); margin-inline: auto; border: 8px solid var(--ink); border-radius: 38px; background: var(--ink); animation: float 7s ease-in-out infinite; }
.showcase--phones .shot:nth-child(2) .shot__frame { animation-delay: -2.3s; }
.showcase--phones .shot:nth-child(3) .shot__frame { animation-delay: -4.6s; }
.showcase--phones .shot__frame img { border-radius: 30px; }
@keyframes float { 50% { translate: 0 -12px; } }
.shot--text { padding: 30px; border: 1px solid rgba(20, 22, 29, .1); border-radius: var(--radius); background: #fff; }
.shot__num { display: block; margin-bottom: 40px; color: var(--theme); font-family: var(--mono); font-size: .875rem; }

/* -------------------------------------------------------------------- video */

.video { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); aspect-ratio: 16 / 9; box-shadow: 0 40px 80px -40px rgba(20, 22, 29, .6); }
.video picture, .video img, .video video, .video__placeholder { width: 100%; height: 100%; object-fit: cover; }
.video__placeholder { background: radial-gradient(60% 80% at 30% 20%, color-mix(in srgb, var(--theme) 80%, transparent), transparent), radial-gradient(50% 70% at 80% 80%, color-mix(in srgb, var(--theme-2) 50%, transparent), transparent), var(--ink); }
.video img { transition: transform 1.2s var(--ease), filter .6s; }
.video:hover img { transform: scale(1.04); filter: brightness(.8); }
.video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: -44px 0 0 -44px;
    padding: 0 0 0 4px;
    border: 0;
    border-radius: 50%;
    background: var(--theme);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme) 70%, transparent);
    animation: ring 2.4s ease-out infinite;
    transition: transform .3s var(--ease);
}
.video__play:hover { transform: scale(1.08); }
@keyframes ring { to { box-shadow: 0 0 0 28px transparent; } }

/* -------------------------------------------------------------- integration */

.integ { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.integ__text h2 { margin-bottom: 22px; }
.integ__text h3 { margin: 36px 0 14px; font-size: 1.5rem; }
.integ__text p { color: var(--muted); font-size: 1.0625rem; }
.combo { position: relative; display: grid; gap: 14px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.combo:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--theme) 60%, transparent); }
.combo__icons { display: flex; align-items: center; gap: 0; margin-bottom: 8px; }
.combo__icon img, .combo__icon b { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px; }
.combo__icon b { background: linear-gradient(160deg, var(--theme), color-mix(in srgb, var(--theme) 30%, #000)); font-size: 1.75rem; }
.combo__link { display: flex; gap: 6px; padding-inline: 12px; }
.combo__link i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: hop 1.2s ease-in-out infinite; }
.combo__link i:nth-child(2) { animation-delay: .15s; }
.combo__link i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 50% { transform: translateY(-5px); opacity: .4; } }
.combo__title { font-family: var(--mono); font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase; }
.combo__text { color: var(--muted); }
.combo__more { display: flex; align-items: center; gap: 8px; color: var(--accent-2); font-size: .875rem; font-weight: 600; }

/* --------------------------------------------------------------- calculator */

.calc { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: clamp(20px, 3vw, 32px); background: linear-gradient(160deg, #10141f, #0b0d13); box-shadow: 0 40px 100px -40px color-mix(in srgb, var(--accent) 35%, transparent); }
.calc h2 em { font-style: normal; color: var(--accent); }
.calc__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.calc__tabs button { padding: 9px 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.calc__tabs button[aria-selected="true"] { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.calc__sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 36px; }
.calc__sliders label > span { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: .9375rem; }
.calc__sliders output { min-width: 64px; padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent-2); font-family: var(--mono); font-size: .8125rem; text-align: center; }
.calc input[type="range"] { --fill: 50%; width: 100%; height: 6px; margin: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill), rgba(255, 255, 255, .14) var(--fill)); -webkit-appearance: none; appearance: none; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; border: 3px solid var(--accent); border-radius: 50%; background: #0b0d13; -webkit-appearance: none; appearance: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 20%, transparent); transition: box-shadow .2s; }
.calc input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid var(--accent); border-radius: 50%; background: #0b0d13; }
.calc input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 28%, transparent); }
.calc__boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.calc__box { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.calc__box--own { border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.calc__box--save { border-color: color-mix(in srgb, #2dd4bf 60%, transparent); background: color-mix(in srgb, #2dd4bf 8%, transparent); }
.calc__label { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; }
.calc__value { margin: 10px 0 6px; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.75rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc__box--save .calc__value { color: #2dd4bf; }
.calc__note { margin: 0; min-height: 2.6em; color: var(--muted); font-size: .8125rem; }
.calc__bar { display: block; height: 6px; margin-top: 16px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.calc__bar i { display: block; width: 0; height: 100%; border-radius: 3px; background: rgba(255, 255, 255, .45); transition: width .6s var(--ease); }
.calc__box--own .calc__bar i { background: var(--accent); }
.calc__foot { margin: 24px 0 0; padding: 14px 18px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--muted); font-size: .8125rem; }

/* ------------------------------------------------------------------- matrix */

.matrix h2 { margin-bottom: 28px; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.matrix__scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.matrix table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .875rem; }
.matrix th, .matrix td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.matrix tr:last-child > * { border-bottom: 0; }
.matrix thead th { color: var(--muted); font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.matrix tbody th { width: 26%; font-weight: 600; }
.matrix td { color: var(--muted); }
.matrix .is-own { background: color-mix(in srgb, var(--accent) 9%, transparent); color: var(--accent-2); font-weight: 600; }
.matrix thead .is-own { color: var(--accent); }
.matrix__no { display: inline-flex; align-items: center; gap: 6px; color: #ff7a7a; }
.matrix tbody tr { transition: background-color .2s; }
.matrix tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* --------------------------------------------------------------------- team */

.team__intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 6vw, 96px); margin-bottom: clamp(40px, 6vw, 72px); }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team__group { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.team__group ul { display: grid; gap: 18px; }
.member { display: flex; align-items: center; gap: 16px; }
.member img, .member__initial { flex: none; width: 72px; height: 72px; border-radius: 18px; object-fit: cover; transition: transform .4s var(--ease); }
.member:hover img { transform: scale(1.08) rotate(-2deg); }
.member__initial { display: grid; place-items: center; background: var(--panel-2); color: var(--accent); font-size: 1.5rem; font-weight: 600; }
.member p { display: grid; gap: 2px; margin: 0; }
.member strong { font-weight: 600; }
.member span { color: var(--muted); font-size: .8125rem; line-height: 1.35; }
.hub { margin-top: 16px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--panel)), var(--panel)); }
.hub h3 { margin-bottom: 12px; font-size: 1.5rem; }
.hub p { max-width: 70ch; color: rgba(255, 255, 255, .8); }
.hub .btn { margin-top: 20px; }

/* ---------------------------------------------------------------- checklist */

.checklist ul { display: grid; gap: 4px; }
.checklist li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%2327c9ef' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* -------------------------------------------------------------------- posts */

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) 20px; }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__image { display: block; aspect-ratio: 3 / 2; margin-bottom: 20px; border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post__image img { transform: scale(1.07); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--muted); font-size: .8125rem; }
.post__title { font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; transition: color .2s; }
.post:hover .post__title { color: var(--accent-2); }
.post__lead { margin-top: 10px; color: var(--muted); font-size: .9375rem; }
.post__more { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--accent-2); font-size: .875rem; font-weight: 600; }
.post__more .i-arrow { transition: transform .3s var(--ease); }
.post:hover .post__more .i-arrow { transform: translateX(5px); }

.article__body { padding-bottom: var(--section); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; color: var(--muted); font-size: .9375rem; }
.article__meta span::before { content: "·"; margin-right: 20px; }
.article__image { margin-bottom: clamp(32px, 5vw, 56px); overflow: hidden; border-radius: var(--radius); }
.article__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__lead { color: var(--text); font-size: clamp(1.1875rem, 1.1rem + .5vw, 1.4375rem); line-height: 1.5; }
.article .prose { margin-top: 28px; font-size: 1.125rem; line-height: 1.75; }
.article__back { margin-top: 48px; }

/* ------------------------------------------------------------------ marquee */

.marquee { display: flex; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; flex: none; gap: 14px; min-width: 100%; justify-content: space-around; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li { padding: 14px 28px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: clamp(1rem, .9rem + .6vw, 1.375rem); font-weight: 500; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-100% - 14px)); } }

/* --------------------------------------------------------------- link cards */

.lcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lcards--1 { grid-template-columns: 1fr; }
.lcard { position: relative; display: grid; gap: 12px; padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), border-color .3s; }
.lcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.lcard__num { color: var(--accent); font-family: var(--mono); font-size: .8125rem; }
.lcard strong { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 500; letter-spacing: -.02em; }
.lcard > span:not([class]) { color: var(--muted); }
.lcard__more { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--accent-2); font-size: .875rem; font-weight: 600; }
.lcard:hover .i-arrow { transform: translateX(5px); }
.lcard .i-arrow { transition: transform .3s var(--ease); }

/* --------------------------------------------------------------------- form */

.cform { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cform__aside { position: sticky; top: 120px; display: grid; gap: 24px; }
.cform__note { color: var(--muted); }
.form { padding: clamp(22px, 3.5vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.form__wide { grid-column: 1 / -1; }
.form label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .8125rem; }
.form input:not([type="checkbox"]), .form select, .form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font: inherit;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.form select option { color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .07); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.form.was-validated :invalid { border-color: #ff7a7a; }
.form__check { display: flex; gap: 12px; align-items: flex-start; }
.form__check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.form__check span { margin: 0 !important; font-size: .8125rem; }
.form.was-validated .form__check input:invalid + span { color: #ff9c9c; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 6px 0 0; }
.form__foot small { color: var(--muted); }
.form__status { margin: 0 0 20px; padding: 16px 18px; border-radius: var(--radius-s); }
.form__status--ok { border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.form__status--error { border: 1px solid #ff7a7a; background: rgba(255, 122, 122, .1); }
.form .btn[disabled] { opacity: .6; cursor: progress; }

.results { display: grid; gap: 10px; }
.results a { display: grid; gap: 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--panel); text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.results a:hover { border-color: var(--accent); transform: translateX(6px); }
.results strong { font-size: 1.125rem; font-weight: 500; }
.results span { color: var(--muted); font-family: var(--mono); font-size: .75rem; }
.results__empty { color: var(--muted); }

/* ------------------------------------------------------------------- footer */

.footer { position: relative; margin-top: var(--section); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(180deg, var(--bg) 0%, #1d5a6c 55%, var(--accent) 100%); }
main > .section--deep:last-child + .footer, main > .section--deep:last-child { margin-bottom: 0; }
.footer__panel { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(27, 30, 39, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 8vw, 120px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.footer__brand img { width: 119px; }
.footer__brand p { max-width: 44ch; margin-top: 20px; color: var(--muted); font-size: .9375rem; }
.newsletter label { display: block; margin-bottom: 12px; font-size: 1.125rem; font-weight: 500; }
.newsletter__row { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .04); transition: border-color .2s; }
.newsletter__row:focus-within { border-color: var(--accent); }
.newsletter__row input[type="email"] { flex: 1; min-width: 0; padding: 6px 14px; border: 0; background: none; color: var(--text); font: inherit; }
.newsletter__row input[type="email"]:focus { outline: none; }
.newsletter__note { margin: 10px 0 0; color: var(--muted); font-size: .8125rem; }
.newsletter__note--ok { color: var(--accent-2); }
.newsletter__note--error { color: #ff9c9c; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(28px, 4vw, 48px) 0; }
.footer__cols h2 { margin-bottom: 16px; color: var(--muted); font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.footer__cols h2 a { text-decoration: none; }
.footer__cols ul { display: grid; gap: 10px; font-size: .9375rem; }
.footer__cols a { text-decoration: none; transition: color .2s; }
.footer__cols li a:hover, .footer__bottom a:hover { color: var(--accent-2); }
.footer__cols li span { color: var(--muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer__bottom ul { display: flex; gap: 20px; }
.footer__bottom a { text-decoration: none; }

/* ------------------------------------------------------------------- motion */

.js [data-reveal], .js [data-reveal-item] { opacity: 0; transform: translateY(32px); }
.js [data-reveal].is-visible, .js [data-reveal-item].is-visible { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .pcard.is-visible, .js .lcard.is-visible, .js .service.is-visible, .js .combo.is-visible { transition: opacity .8s var(--ease), transform .45s var(--ease), border-color .35s, box-shadow .45s; transition-delay: calc(var(--i, 0) * 90ms), 0s, 0s, 0s; }
[data-zoom] img { transform: scale(calc(1.12 - var(--p, 0) * .12)); will-change: transform; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s ease both; }
::view-transition-new(root) { animation: vt-in .4s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* --------------------------------------------------------------- responsive */

@media (max-width: 1040px) {
    .pcards, .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pcards--5 > *, .pcards--5 > :nth-child(n+4) { grid-column: auto; }
    .features, .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service { grid-template-columns: 40px 72px minmax(0, 1fr); }
    .service p { grid-column: 3; }
    .calc__boxes { grid-template-columns: 1fr; }
    .calc__note { min-height: 0; }
}

@media (max-width: 860px) {
    .duo, .ways, .eco, .integ, .cta, .cform, .team__intro, .prod__inner, .phead--image .phead__inner, .footer__top { grid-template-columns: minmax(0, 1fr); }
    .ways__intro, .cform__aside { position: static; }
    .ways__visual { display: none; }
    .prod__card { margin-bottom: 0; }
    .prod__visual img { max-height: 420px; }
    .showcase, .showcase--3, .calc__sliders { grid-template-columns: minmax(0, 1fr); }
    .cta__cols { grid-template-columns: minmax(0, 1fr); }
    .quote { grid-template-columns: minmax(0, 1fr); }
    .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .js .eco__node { width: 112px; margin: -48px 0 0 -56px; }
    .js .eco__node small { display: none; }
    .eco__node img, .eco__letter { width: 52px; height: 52px; border-radius: 15px; }
    .highlights__image img, .quotes__image img { aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .pcards, .pcards--2, .posts, .features, .features--3, .highlights, .team, .lcards, .form__grid { grid-template-columns: minmax(0, 1fr); }
    .pcard { min-height: 0; }
    .pcard__more { max-height: 40px; margin-top: 14px; opacity: 1; }
    .service { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 16px; padding: 22px; }
    .service__num { display: none; }
    .service p { grid-column: 1 / -1; }
    .prod__facts > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .footer__cols { grid-template-columns: minmax(0, 1fr); }
    .step { grid-template-columns: 40px minmax(0, 1fr); padding: 20px 16px; }
    .faq__item .prose { padding-right: 22px; }
    /* comparison table becomes one card per capability */
    .matrix table { min-width: 0; }
    .matrix thead { display: none; }
    .matrix tr { display: block; padding: 16px 18px; border-bottom: 1px solid var(--line); }
    .matrix tr:last-child { border-bottom: 0; }
    .matrix th, .matrix td { display: block; width: auto !important; padding: 4px 0; border: 0; }
    .matrix tbody th { margin-bottom: 8px; font-size: 1rem; }
    .matrix td::before { content: attr(data-label) ": "; color: var(--muted); font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
    .matrix .is-own { margin-top: 8px; padding: 10px 12px; border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .js [data-reveal], .js [data-reveal-item], .js .hero__line, .js .hero__text, .js .hero__actions { opacity: 1; transform: none; }
    .js .feature .icon path { stroke-dashoffset: 0; }
    .step { opacity: 1; }
    .hero__net { display: none; }
    [data-zoom] img { transform: none; }
    @view-transition { navigation: none; }
}
