:root {
    color-scheme: light;
    --bg: #f3f6f9;
    --bg-2: #e9eff5;
    --surface: #ffffff;
    --ink: #0b1d2e;
    --ink-2: #213649;
    --muted: #4c6073;
    --line: #d7e1ea;
    --line-2: #c3d1de;
    --brand: #167fc5;
    --brand-ink: #0d639c;
    --brand-soft: #e3f1fb;
    --live: #0f9f6e;
    --live-soft: #dcf5eb;
    --warn: #b45309;
    --night: #061727;
    --night-2: #0b2a44;
    --on-night: #eaf5ff;
    --on-night-muted: #9fbbd3;
    --field: #ffffff;
    --shadow: 0 1px 2px rgba(11, 29, 46, 0.06), 0 8px 24px -12px rgba(11, 29, 46, 0.18);
    --radius: 14px;
    --radius-sm: 9px;
    --display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, sans-serif;
    --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.dark {
    color-scheme: dark;
    --bg: #061524;
    --bg-2: #0a1e31;
    --surface: #0c2033;
    --ink: #e8f1f8;
    --ink-2: #c9d9e7;
    --muted: #93a9bd;
    --line: #183149;
    --line-2: #23415d;
    --brand: #3daeeb;
    --brand-ink: #7cc8f2;
    --brand-soft: #0e2d46;
    --live: #34d399;
    --live-soft: #0d3326;
    --warn: #f59e0b;
    --field: #0a1b2c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.6);
}

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: var(--brand-ink);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--brand);
}

p a:not([class]),
td a:not([class]),
main span > a:not([class]),
main aside a:not([class]) {
    font-weight: 600;
    color: var(--brand);
}

.prose p a:not([class]) {
    text-decoration: none;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--display);
    color: var(--ink);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 5.4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.75rem);
}

h3 {
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

p {
    margin: 0;
    text-wrap: pretty;
}

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.narrow {
    max-width: calc(780px + var(--gutter) * 2);
}

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

.skip:focus {
    top: 12px;
    color: #fff;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 11px;
    border: 1px solid transparent;
    font: 600 0.98rem/1 var(--body);
    cursor: pointer;
    transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease);
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

html:not(.dark) .btn-primary {
    background: #1478bb;
}

.btn-primary:hover {
    color: #fff;
    background: var(--brand-ink);
}

html.dark .btn-primary {
    color: #04192a;
}

html.dark .btn-primary:hover {
    color: #04192a;
    background: #7cc8f2;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line-2);
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--brand);
}

.btn-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.92rem;
    border-radius: 9px;
}

.btn-lg {
    min-height: 54px;
    padding: 0 26px;
    font-size: 1.04rem;
}

.on-night .btn-ghost {
    color: var(--on-night);
    border-color: rgba(156, 211, 255, 0.35);
}

.on-night .btn-ghost:hover {
    border-color: #7dd3fc;
    color: #fff;
}

.on-night .btn-primary {
    background: #38bdf8;
    color: #04192a;
}

.on-night .btn-primary:hover {
    background: #7dd3fc;
    color: #04192a;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.brand:hover {
    color: var(--ink);
}

.brand img {
    width: 37px;
    height: 28px;
}

.brand .brand-mark-dark {
    display: none;
}

html.dark .brand .brand-mark-light {
    display: none;
}

html.dark .brand .brand-mark-dark {
    display: inline;
}

.brand b {
    font-weight: 700;
    color: var(--brand);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 12px;
}

.main-nav > a,
.nav-drop > button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--ink-2);
    font: 500 0.95rem/1.2 var(--body);
    background: none;
    border: 0;
    cursor: pointer;
}

.main-nav > a:hover,
.nav-drop > button:hover,
.main-nav > a[aria-current='page'] {
    color: var(--ink);
    background: var(--bg-2);
}

.nav-drop {
    position: relative;
}

.nav-drop svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.nav-drop.is-open > button svg {
    transform: rotate(180deg);
}

.drop-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: -8px;
    width: 300px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.16s, transform 0.16s var(--ease), visibility 0.16s;
}

.nav-drop.is-open .drop-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.drop-panel a {
    display: flex;
    flex-direction: column;
    padding: 9px 12px;
    border-radius: 9px;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.95rem;
}

.drop-panel a span {
    color: var(--muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.drop-panel a:hover {
    background: var(--bg-2);
    color: var(--ink);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-2);
    cursor: pointer;
}

.icon-btn:hover {
    border-color: var(--line-2);
    color: var(--ink);
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.theme-btn .i-sun {
    display: none;
}

html.dark .theme-btn .i-sun {
    display: block;
}

html.dark .theme-btn .i-moon {
    display: none;
}

.menu-btn {
    display: none;
}

.login-link {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 10px;
}

.mobile-nav {
    display: none;
}

@media (max-width: 1080px) {
    .main-nav,
    .login-link {
        display: none;
    }

    .menu-btn {
        display: inline-grid;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        inset: 68px 0 0;
        background: var(--surface);
        padding: 16px var(--gutter) 40px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
    }

    .nav-open .mobile-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-open {
        overflow: hidden;
    }

    .mobile-nav a {
        display: block;
        padding: 12px 4px;
        color: var(--ink);
        font-weight: 600;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--line);
    }

    .mobile-nav .sub a {
        font-weight: 500;
        font-size: 1rem;
        padding-left: 16px;
        color: var(--ink-2);
    }

    .mobile-nav .mobile-cta {
        display: grid;
        gap: 10px;
        margin-top: 20px;
    }

    .mobile-nav .mobile-cta a {
        border: 0;
        text-align: center;
        font-size: 1rem;
    }

    .mobile-nav .mobile-cta .btn-ghost {
        border: 1px solid var(--line-2);
    }
}

@media (max-width: 520px) {
    .header-actions .btn-trial {
        display: none;
    }
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--night);
    color: var(--on-night);
}

.night-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(55% 60% at 74% 48%, rgba(14, 116, 190, 0.5), transparent 70%),
        radial-gradient(40% 35% at 10% 100%, rgba(56, 189, 248, 0.14), transparent 70%),
        linear-gradient(160deg, #0b3a5e 0%, #071f33 52%, #04111d 100%);
}

.night-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image: radial-gradient(#9cd3ff 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 25%, transparent 85%);
    mask-image: radial-gradient(70% 70% at 70% 45%, #000 25%, transparent 85%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(16px, 3vw, 48px);
    min-height: min(760px, calc(100svh - 68px));
    padding-block: clamp(40px, 6vw, 72px);
}

.hero h1 {
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(156, 211, 255, 0.25);
    background: rgba(8, 30, 50, 0.6);
    color: var(--on-night);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 22px;
}

.live-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}

.live-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: live 2.4s var(--ease) infinite;
}

@keyframes live {
    from {
        transform: scale(1);
        opacity: 0.6;
    }
    to {
        transform: scale(2.8);
        opacity: 0;
    }
}

.hero-lead {
    margin-top: 22px;
    max-width: 36em;
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--on-night-muted);
}

.hero-lead strong {
    color: var(--on-night);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 34px 0 0;
    padding: 22px 0 0;
    list-style: none;
    border-top: 1px solid rgba(156, 211, 255, 0.16);
    font-size: 0.93rem;
    color: var(--on-night-muted);
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-facts svg {
    width: 17px;
    height: 17px;
    color: #38bdf8;
    flex-shrink: 0;
}

.hero-scene {
    position: relative;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 1;
    justify-self: center;
    margin-block: -30px;
}

.hero-scene .hs {
    width: 100%;
    height: 100%;
}

.hero-text > * {
    animation: rise 0.8s var(--ease) both;
}

.hero-text > *:nth-child(2) {
    animation-delay: 0.08s;
}

.hero-text > *:nth-child(3) {
    animation-delay: 0.16s;
}

.hero-text > *:nth-child(4) {
    animation-delay: 0.24s;
}

.hero-text > *:nth-child(5) {
    animation-delay: 0.32s;
}

.hero-text > h1 {
    animation-name: rise-y;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
}

@keyframes rise-y {
    from {
        transform: translateY(14px);
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-bottom: 0;
    }

    .hero-scene {
        max-width: 560px;
        margin: -10px auto -40px;
        width: 112%;
        margin-left: -6%;
    }
}

.hs-orbit {
    transform-box: view-box;
    transform-origin: 300px 300px;
    animation: hs-spin 150s linear infinite;
}

.hs-orbit.hs-rev {
    animation-duration: 210s;
    animation-direction: reverse;
}

.hs-orbit.hs-slow {
    animation-duration: 320s;
}

.hs-counter {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-spin 150s linear infinite reverse;
}

.hs-counter.hs-rev {
    animation-duration: 210s;
    animation-direction: normal;
}

.hs-spin {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-spin 60s linear infinite;
}

.hs-flow {
    opacity: 0.75;
    animation: hs-flow 1.8s linear infinite;
}

.hs-ping {
    fill: #10b981;
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-ping 2.6s var(--ease) infinite;
}

.hs-wave {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-wave 2.8s ease-out infinite;
    opacity: 0;
}

.hs-wave2 {
    animation-delay: 1.4s;
}

.hs-core {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-pop 0.8s var(--ease) both;
}

.hs-dev {
    transform-box: fill-box;
    transform-origin: center;
    animation: hs-pop 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--hs-delay, 0s) both;
}

.hs-sl {
    opacity: 0;
    transform: translateY(var(--hs-dy));
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.hs-sl.is-on {
    opacity: 1;
    transform: none;
}

.hs-sl.is-off {
    opacity: 0;
    transform: translateY(calc(var(--hs-dy) * -1));
}

.hs-bar {
    transform-box: fill-box;
    transform-origin: 0 50%;
    transform: scaleX(0.6);
}

.is-on .hs-bar {
    animation: hs-bar 3.6s linear both;
}

.hs-flash {
    opacity: 0;
}

.hs-flash.is-flash {
    animation: hs-flash 1.1s ease-out;
}

@keyframes hs-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes hs-flow {
    to {
        stroke-dashoffset: -36;
    }
}

@keyframes hs-ping {
    from {
        transform: scale(1);
        opacity: 0.5;
    }
    to {
        transform: scale(2.8);
        opacity: 0;
    }
}

@keyframes hs-wave {
    from {
        transform: scale(1);
        opacity: 0.55;
    }
    to {
        transform: scale(2.1);
        opacity: 0;
    }
}

@keyframes hs-pop {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
}

@keyframes hs-bar {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes hs-flash {
    from {
        opacity: 0.9;
    }
    to {
        opacity: 0;
    }
}

.section {
    padding-block: clamp(64px, 9vw, 112px);
}

.section-alt {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.1rem;
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 26px;
    border-top: 2px solid var(--line);
}

.step::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 64px;
    height: 2px;
    background: var(--brand);
}

.step-num {
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--brand);
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
}

.step-visual {
    margin-top: 22px;
    height: 120px;
    border-radius: var(--radius);
    background: var(--night);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.sv-url {
    font: 500 0.95rem/1 var(--body);
    color: var(--on-night);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(156, 211, 255, 0.25);
    padding: 10px 14px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sv-url svg {
    width: 15px;
    height: 15px;
    color: #38bdf8;
}

.sv-code {
    display: flex;
    gap: 6px;
}

.sv-code span {
    width: 30px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #fff;
    font: 700 1.15rem/1 var(--display);
}

.sv-code span:nth-child(4) {
    margin-right: 8px;
}

.sv-play {
    display: flex;
    gap: 8px;
}

.sv-play i {
    display: block;
    width: 64px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #0ea5e9, #4f46e5);
    border: 2px solid rgba(148, 197, 255, 0.5);
    position: relative;
}

.sv-play i:nth-child(2) {
    background: linear-gradient(135deg, #7c3aed, #be185d);
}

.sv-play i:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
}

.sv-play i::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid var(--night);
}

@media (max-width: 860px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.sectors {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.sector {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--night);
    color: #fff;
    grid-column: span 2;
    aspect-ratio: 4 / 3;
}

.sector:nth-child(1),
.sector:nth-child(2) {
    grid-column: span 3;
    aspect-ratio: 16 / 10;
}

.sector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.sector:hover img {
    transform: scale(1.04);
}

.sector::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(4, 17, 29, 0.88) 100%);
}

.sector-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 18px 20px;
}

.sector-text strong {
    display: block;
    font: 700 1.25rem/1.2 var(--display);
    color: #fff;
}

.sector-text span {
    color: #c7dcee;
    font-size: 0.93rem;
}

.sector:hover {
    color: #fff;
}

@media (max-width: 860px) {
    .sectors {
        grid-template-columns: 1fr 1fr;
    }

    .sector,
    .sector:nth-child(1),
    .sector:nth-child(2) {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .sector:nth-child(1) {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 520px) {
    .sectors {
        grid-template-columns: 1fr;
    }

    .sector,
    .sector:nth-child(1) {
        grid-column: span 1;
        aspect-ratio: 16 / 10;
    }
}

.offline {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--night);
    color: var(--on-night);
}

.offline-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
}

.offline h2 {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.offline p {
    margin-top: 18px;
    color: var(--on-night-muted);
    font-size: 1.12rem;
    max-width: 34em;
}

.offline ul {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.offline li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--on-night);
}

.offline li svg {
    width: 20px;
    height: 20px;
    color: #34d399;
    flex-shrink: 0;
    margin-top: 3px;
}

.od {
    position: relative;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.od-tv {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    padding: 10px;
    background: #081523;
    border: 1.5px solid rgba(148, 197, 255, 0.45);
    box-shadow: 0 30px 80px -30px rgba(56, 189, 248, 0.45);
}

.od-screen {
    position: relative;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #0d2033;
}

.od-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    animation: od-slide 12s infinite;
}

.od-slide:nth-child(2) {
    animation-delay: 4s;
}

.od-slide:nth-child(3) {
    animation-delay: 8s;
}

@keyframes od-slide {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }
    5%,
    30% {
        opacity: 1;
        transform: none;
    }
    36%,
    100% {
        opacity: 0;
        transform: translateY(-14px);
    }
}

.od-a {
    background: linear-gradient(135deg, #0ea5e9, #4f46e5);
}

.od-a::before {
    content: '';
    position: absolute;
    right: 12%;
    top: 22%;
    width: 26%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.15);
}

.od-a::after {
    content: '';
    position: absolute;
    left: 9%;
    top: 30%;
    width: 38%;
    height: 9%;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 30px 0 -8px rgba(255, 255, 255, 0.7), 0 64px 0 -2px #f59e0b;
}

.od-b {
    background: #0d2033;
    border-top: 18px solid #f59e0b;
}

.od-b::before {
    content: '';
    position: absolute;
    left: 8%;
    top: 14%;
    width: 15%;
    aspect-ratio: 1;
    border-radius: 22%;
    background: #f97316;
    box-shadow: 0 calc(100% + 40px) 0 #10b981, 0 calc(200% + 80px) 0 #f43f5e;
}

.od-b::after {
    content: '';
    position: absolute;
    left: 30%;
    top: 22%;
    width: 40%;
    height: 7%;
    border-radius: 3px;
    background: #e2e8f0;
    opacity: 0.85;
    box-shadow: 0 54px 0 #e2e8f0, 0 108px 0 #e2e8f0;
}

.od-c {
    background: linear-gradient(135deg, #7c3aed, #be185d);
    display: grid;
    place-items: center;
}

.od-c::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 34px solid #fff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 8px;
}

.od-stand {
    width: 34%;
    height: 14px;
    margin: 0 auto;
    background: #16314b;
    clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
}

.od-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(8, 30, 50, 0.7);
    border: 1px solid rgba(156, 211, 255, 0.2);
    font-size: 0.93rem;
}

.od-net {
    position: relative;
    display: grid;
}

.od-net span {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.od-net svg {
    width: 18px;
    height: 18px;
}

.od-on {
    color: #34d399;
    animation: od-on 12s infinite;
}

.od-off {
    color: #fbbf24;
    opacity: 0;
    animation: od-off 12s infinite;
}

@keyframes od-on {
    0%,
    30% {
        opacity: 1;
    }
    34%,
    82% {
        opacity: 0;
    }
    86%,
    100% {
        opacity: 1;
    }
}

@keyframes od-off {
    0%,
    30% {
        opacity: 0;
    }
    34%,
    82% {
        opacity: 1;
    }
    86%,
    100% {
        opacity: 0;
    }
}

.od-play {
    color: var(--on-night);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 860px) {
    .offline-grid {
        grid-template-columns: 1fr;
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.feature {
    padding: 28px 28px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand);
    margin-bottom: 18px;
}

.feature-icon svg {
    width: 21px;
    height: 21px;
}

.feature h3 {
    margin-bottom: 8px;
}

.feature p {
    color: var(--muted);
    font-size: 0.98rem;
}

.feature.is-key {
    background: var(--brand-soft);
}

.feature.is-key .feature-icon {
    background: var(--brand);
    color: #fff;
}

@media (max-width: 960px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 22px 18px;
    }
}

.device-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.device-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 20px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.device-row .feature-icon {
    margin: 0;
}

.device-row h3 {
    font-size: 1.15rem;
}

.device-row p {
    color: var(--muted);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: var(--bg-2);
    color: var(--ink-2);
    border: 1px solid var(--line);
}

.pill.ok {
    background: var(--live-soft);
    color: var(--live);
    border-color: transparent;
}

.pill.ok::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 720px) {
    .device-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .device-row p {
        grid-column: 2;
    }
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.plan.is-main {
    border: 2px solid var(--brand);
    box-shadow: var(--shadow);
}

.plan-name {
    font: 700 1.15rem/1.2 var(--display);
}

.plan-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font: 600 0.75rem/1.4 var(--body);
    vertical-align: middle;
}

html.dark .plan-tag {
    color: #04192a;
}

.plan-price {
    margin-top: 18px;
    font: 800 2.9rem/1 var(--display);
    letter-spacing: -0.04em;
    color: var(--ink);
}

.plan-price small {
    font: 500 0.98rem/1.3 var(--body);
    color: var(--muted);
    letter-spacing: 0;
    margin-left: 4px;
}

.plan-sub {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
    min-height: 2.9em;
}

.plan ul {
    list-style: none;
    margin: 22px 0 26px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    font-size: 0.97rem;
}

.plan li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.plan li svg {
    width: 18px;
    height: 18px;
    color: var(--live);
    flex-shrink: 0;
    margin-top: 3px;
}

.plan .btn {
    margin-top: auto;
}

@media (max-width: 900px) {
    .plans {
        grid-template-columns: 1fr;
    }
}

.managed {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
    margin-top: 16px;
    padding: clamp(28px, 4vw, 44px);
    border-radius: 18px;
    background: var(--bg-2);
    border: 1px solid var(--line);
}

.managed h3 {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.managed p {
    margin-top: 10px;
    color: var(--muted);
}


.flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.flow li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 500;
}

.flow b {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font: 700 0.85rem/1 var(--display);
    flex-shrink: 0;
}

@media (max-width: 860px) {
    .managed {
        grid-template-columns: 1fr;
    }
}

.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font: 600 1.1rem/1.4 var(--body);
    color: var(--ink);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.25s var(--ease);
}

.faq details[open] summary svg {
    transform: rotate(45deg);
    color: var(--brand);
}

.faq details p {
    padding: 0 0 22px;
    color: var(--muted);
    max-width: 62em;
}

.final {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--night);
    color: var(--on-night);
    text-align: center;
}

.final h2 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 16em;
    margin-inline: auto;
}

.final p {
    margin: 16px auto 0;
    color: var(--on-night-muted);
    max-width: 38em;
    font-size: 1.1rem;
}

.final .hero-actions {
    justify-content: center;
}

.page-hero {
    padding-block: clamp(48px, 7vw, 88px) clamp(36px, 5vw, 56px);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.page-hero p.lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: clamp(1.08rem, 1.6vw, 1.25rem);
    max-width: 40em;
}

.page-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.5rem);
    max-width: 18em;
}

.page-hero .hero-actions {
    margin-top: 26px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 0.88rem;
    color: var(--muted);
}

.crumbs li + li::before {
    content: '/';
    margin-right: 6px;
    color: var(--line-2);
}

.crumbs a {
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--brand);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.media-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--night);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pains {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.pains li {
    display: flex;
    gap: 12px;
    color: var(--ink-2);
}

.pains svg {
    width: 20px;
    height: 20px;
    color: var(--warn);
    flex-shrink: 0;
    margin-top: 3px;
}

.timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}

.timeline li {
    display: grid;
    grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.timeline li:last-child {
    border-bottom: 0;
}

.timeline time {
    font: 600 0.95rem/1.3 var(--display);
    color: var(--brand);
}

@media (max-width: 560px) {
    .timeline li {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.related {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 960px) {
    .related {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .related {
        grid-template-columns: 1fr;
    }
}

.related .sector {
    grid-column: auto;
    aspect-ratio: 4 / 3;
}

.calc {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.calc-input {
    padding: clamp(24px, 4vw, 40px);
}

.calc-out {
    padding: clamp(24px, 4vw, 40px);
    background: var(--night);
    color: var(--on-night);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.calc label {
    display: block;
    font-weight: 600;
    margin-bottom: 14px;
}

.calc-count {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 18px;
}

.calc-count output {
    font: 800 3.2rem/1 var(--display);
    letter-spacing: -0.04em;
    color: var(--ink);
}

.calc-count span {
    color: var(--muted);
}

input[type='range'] {
    width: 100%;
    accent-color: var(--brand);
    height: 28px;
}

.seg {
    display: inline-flex;
    margin-top: 24px;
    padding: 4px;
    border-radius: 11px;
    background: var(--bg-2);
    border: 1px solid var(--line);
}

.seg button {
    border: 0;
    background: transparent;
    padding: 9px 16px;
    border-radius: 8px;
    font: 600 0.93rem/1 var(--body);
    color: var(--muted);
    cursor: pointer;
}

.seg button[aria-pressed='true'] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.calc-total {
    font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display);
    letter-spacing: -0.04em;
    color: #fff;
}

.calc-out .muted {
    color: var(--on-night-muted);
    font-size: 0.95rem;
}

.calc-note {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(156, 211, 255, 0.18);
    color: var(--on-night-muted);
    font-size: 0.93rem;
}

.calc-note a {
    color: #7dd3fc;
}

@media (max-width: 860px) {
    .calc {
        grid-template-columns: 1fr;
    }
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

table.compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 0.97rem;
}

.compare th,
.compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.compare thead th {
    font: 700 1rem/1.3 var(--display);
    background: var(--bg-2);
}

.compare tbody tr:last-child td,
.compare tbody tr:last-child th {
    border-bottom: 0;
}

.compare tbody th {
    font-weight: 500;
    color: var(--ink-2);
}

.yes {
    color: var(--live);
    font-weight: 600;
}

.prose {
    max-width: 720px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--ink-2);
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    font-size: clamp(1.45rem, 2.6vw, 1.85rem);
    margin-top: 2em;
    color: var(--ink);
}

.prose h3 {
    font-size: 1.25rem;
    margin-top: 1.6em;
    color: var(--ink);
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose a {
    color: var(--brand-ink);
    font-weight: 500;
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
}

.prose a:hover {
    border-bottom-color: var(--brand);
}

.prose strong {
    color: var(--ink);
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
    display: block;
    overflow-x: auto;
}

.prose th,
.prose td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}

.prose th {
    background: var(--bg-2);
}

.prose blockquote {
    margin-left: 0;
    padding-left: 18px;
    border-left: 3px solid var(--brand);
    color: var(--muted);
}

.prose code {
    font-size: 0.92em;
    padding: 2px 6px;
    border-radius: 5px;
    background: var(--bg-2);
}

.post-meta {
    margin-top: 16px;
    color: var(--muted);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.post-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.post-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    transition: border-color 0.2s;
}

.post-card:hover {
    color: var(--ink);
    border-color: var(--brand);
}

.post-card h2,
.post-card h3 {
    font-size: 1.3rem;
}

.post-card p {
    color: var(--muted);
    font-size: 0.98rem;
}

.post-card time {
    color: var(--muted);
    font-size: 0.88rem;
}

.post-card .more {
    margin-top: auto;
    color: var(--brand-ink);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 760px) {
    .post-list {
        grid-template-columns: 1fr;
    }
}

.code {
    position: relative;
    border-radius: 14px;
    background: #04111d;
    border: 1px solid #183149;
    color: #d6e7f5;
    overflow: hidden;
}

.code-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid #183149;
    color: #93a9bd;
    font-size: 0.85rem;
}

.code pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
    font: 0.88rem/1.6 ui-monospace, 'Cascadia Code', Consolas, monospace;
}

.code .k {
    color: #7dd3fc;
}

.code .s {
    color: #a7f3d0;
}

.soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: var(--warn);
    font-size: 0.82rem;
    font-weight: 600;
    vertical-align: middle;
}

.endpoints {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.endpoints div {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
    align-items: center;
    font-size: 0.95rem;
}

.endpoints div:last-child {
    border-bottom: 0;
}

.endpoints code {
    font: 0.88rem/1.4 ui-monospace, 'Cascadia Code', Consolas, monospace;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.endpoints span {
    color: var(--muted);
}

.method {
    font: 700 0.75rem/1 ui-monospace, Consolas, monospace;
    padding: 5px 0;
    border-radius: 6px;
    text-align: center;
    background: var(--live-soft);
    color: var(--live);
}

.method.post {
    background: var(--brand-soft);
    color: var(--brand);
}

.method.del {
    background: rgba(244, 63, 94, 0.12);
    color: #e11d48;
}

@media (max-width: 640px) {
    .endpoints div {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .endpoints span {
        grid-column: 2;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.form {
    padding: clamp(22px, 4vw, 36px);
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field.full {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

.field label .req {
    color: #e11d48;
}

.field label .opt {
    color: var(--muted);
    font-weight: 400;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: var(--field);
    color: var(--ink);
    font: 400 1rem/1.4 var(--body);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: color-mix(in srgb, var(--muted) 75%, transparent);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent);
}

.field.has-error input,
.field.has-error textarea {
    border-color: #e11d48;
}

.field-error {
    display: none;
    margin-top: 6px;
    color: #e11d48;
    font-size: 0.88rem;
}

html.dark .field-error {
    color: #fb7185;
}

.field.has-error .field-error {
    display: block;
}

.field-hint {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.85rem;
}

.field label.check,
label.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink-2);
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

.field label.check > span,
label.check > span {
    flex: 1 1 auto;
    min-width: 0;
}

.field .check input[type='checkbox'],
.check input[type='checkbox'] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    min-height: 0;
    margin: 1px 0 0;
    padding: 0;
    border: 1.5px solid var(--line-2);
    border-radius: 7px;
    background: var(--surface, #fff);
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.check input[type='checkbox']::after {
    content: '';
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.check input[type='checkbox']:checked {
    background: var(--brand);
    border-color: var(--brand);
}

.check input[type='checkbox']:checked::after {
    transform: rotate(45deg) scale(1);
}

.check input[type='checkbox']:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.has-error .check input[type='checkbox'] {
    border-color: #dc2626;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert.ok {
    background: var(--live-soft);
    color: var(--live);
}

.alert.err {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
}

a.contact-item:hover {
    color: var(--ink);
    border-color: var(--brand);
}

.contact-item small {
    display: block;
    color: var(--muted);
    font-size: 0.85rem;
}

.contact-item strong {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding-block: 56px 32px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-grid h2 {
    font: 600 0.92rem/1.3 var(--body);
    color: var(--ink);
    letter-spacing: 0;
    margin-bottom: 14px;
}

.footer-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.footer-grid a {
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--brand);
}

.footer-about p {
    margin-top: 14px;
    color: var(--muted);
    max-width: 30em;
}

.footer-legal {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

.stack > * + * {
    margin-top: 16px;
}

.muted {
    color: var(--muted);
}

.mt-l {
    margin-top: clamp(32px, 5vw, 56px);
}

.center {
    text-align: center;
}

.link-more {
    font-weight: 600;
    color: var(--brand-ink);
}

.values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 860px) {
    .values {
        grid-template-columns: 1fr;
    }
}

.values h3 {
    margin-bottom: 8px;
}

.values p {
    color: var(--muted);
}

.company-card {
    padding: 26px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface);
}

.company-card dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 10px 18px;
}

.company-card dt {
    color: var(--muted);
}

.company-card dd {
    margin: 0;
    font-weight: 500;
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .hs-orbit,
    .hs-counter,
    .hs-spin,
    .hs-flow,
    .hs-ping,
    .hs-wave,
    .live-dot::after {
        animation: none !important;
    }

    .od-slide {
        animation: none !important;
    }

    .od-slide:first-child {
        opacity: 1;
    }

    .od-on {
        animation: none !important;
    }

    .od-off {
        animation: none !important;
        opacity: 0;
    }
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.legal-nav a {
    padding: 6px 12px;
    border: 1px solid var(--line, rgba(127, 127, 127, 0.25));
    border-radius: 999px;
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
}

.legal-nav a:hover,
.legal-nav a[aria-current='page'] {
    border-color: currentColor;
    color: var(--brand, #1f7fc1);
}

.answer {
    max-width: 52em;
    padding: clamp(18px, 3vw, 28px) clamp(20px, 3vw, 32px);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    background: var(--surface);
}

.answer h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    margin-bottom: 10px;
}

.answer p {
    color: var(--ink-2);
    font-size: 1.08rem;
    line-height: 1.7;
}

.answer p + p {
    margin-top: 10px;
}

.link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 14px;
}

.link-row a {
    font-weight: 600;
    color: var(--brand-ink);
}

.author-box {
    margin-top: 2.4em;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    font-size: 0.97rem;
    color: var(--ink-2);
    line-height: 1.65;
}

.author-box strong {
    color: var(--ink);
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--live-soft);
    color: #0a7a54;
    border: 1px solid rgba(15, 159, 110, 0.4);
    font: 700 0.95rem/1.25 var(--body);
    letter-spacing: -0.005em;
}

.price-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--live);
    box-shadow: 0 0 0 4px rgba(15, 159, 110, 0.18);
}

html.dark .price-badge,
.on-night .price-badge,
.calc-out .price-badge {
    background: rgba(52, 211, 153, 0.14);
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, 0.42);
}

html.dark .price-badge::before,
.on-night .price-badge::before,
.calc-out .price-badge::before {
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
}

.price-badge[hidden] {
    display: none;
}

.plan .price-badge {
    margin-top: 14px;
    align-self: flex-start;
}

.plan .price-badge + .plan-sub {
    min-height: 0;
}

.page-hero .price-badge {
    margin-top: 18px;
}

.calc-out .price-badge {
    align-self: flex-start;
    margin-top: 10px;
}

.section-head .price-badge {
    margin-top: 14px;
}

.hero-facts .price-badge {
    padding: 3px 10px;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .site-footer {
        padding-block: 36px 24px;
        font-size: 0.9rem;
    }

    .footer-grid {
        gap: 24px 18px;
    }

    .footer-about p {
        margin-top: 10px;
    }

    .footer-grid h2 {
        margin-bottom: 10px;
    }

    .footer-grid ul {
        gap: 7px;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 18px;
    }

    .footer-legal {
        margin-top: 26px;
        padding-top: 16px;
        font-size: 0.82rem;
    }
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: transparent;
    font: 600 0.82rem/1 var(--body);
    letter-spacing: 0.02em;
}

.lang-switch > a,
.lang-switch > .is-current {
    display: inline-grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 7px;
    color: var(--muted);
}

.lang-switch > a:hover {
    color: var(--ink);
    text-decoration: none;
}

.lang-switch > .is-current {
    background: var(--bg-2);
    color: var(--ink);
}

.cur-switch {
    display: inline-flex;
    padding: 3px;
    border-radius: 10px;
    background: var(--bg-2);
    border: 1px solid var(--line);
}

.cur-switch button {
    border: 0;
    background: transparent;
    min-width: 52px;
    padding: 6px 12px;
    border-radius: 7px;
    font: 600 0.82rem/1.2 var(--body);
    color: var(--muted);
    cursor: pointer;
}

.cur-switch button[aria-pressed='true'] {
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.cur-switch button:focus-visible,
.lang-switch a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.section-head .cur-switch {
    margin-top: 14px;
    margin-left: 10px;
    vertical-align: middle;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.price-row .price-badge {
    margin-top: 0;
}

@media (max-width: 520px) {
    .lang-switch {
        height: 36px;
    }

    .lang-switch > a,
    .lang-switch > .is-current {
        min-width: 28px;
        height: 28px;
    }

    .header-actions {
        gap: 6px;
    }

    .section-head .cur-switch {
        margin-left: 0;
    }
}

.hs-gl {
    position: absolute;
    top: -14%;
    left: -14%;
    width: 128%;
    height: 128%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.9s var(--ease);
    -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}

@media (max-width: 900px) {
    .hs-gl {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.hero-scene .hs {
    transition: opacity 0.6s var(--ease);
}

.hero-scene.is-3d .hs-gl {
    opacity: 1;
}

.hero-scene.is-3d .hs {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s var(--ease), visibility 0s 0.6s;
}

.btn {
    transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.25s var(--ease), transform 0.18s var(--ease);
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary {
        position: relative;
        overflow: hidden;
        isolation: isolate;
    }

    .btn-primary::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.34) 50%, transparent 70%);
        transform: translateX(-110%);
        transition: transform 0.65s var(--ease);
        pointer-events: none;
    }

    .btn-primary:hover::after {
        transform: translateX(110%);
    }

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn-primary:hover {
        box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--brand) 85%, transparent);
    }

    .btn:active {
        transform: translateY(0) scale(0.97);
    }
}

.price-badge {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.price-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: badge-shine 5.5s var(--ease) 1.4s infinite;
    pointer-events: none;
}

html.dark .price-badge::after,
.on-night .price-badge::after,
.calc-out .price-badge::after {
    background: linear-gradient(105deg, transparent 35%, rgba(110, 231, 183, 0.3) 50%, transparent 65%);
}

@keyframes badge-shine {
    0% {
        transform: translateX(-120%);
    }
    26%,
    100% {
        transform: translateX(120%);
    }
}

.calc-screens {
    position: relative;
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
    max-width: 300px;
    margin-top: 20px;
}

.calc-screens i {
    aspect-ratio: 16 / 10;
    border-radius: 3px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    opacity: 0.6;
    transform: scale(0.8);
    transition: transform 0.28s var(--ease), opacity 0.28s var(--ease), background-color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.calc-screens i.on {
    background: var(--brand);
    border-color: transparent;
    opacity: 1;
    transform: scale(1);
}

.calc-screens b {
    position: absolute;
    right: -20px;
    bottom: -5px;
    color: var(--brand);
    font: 800 1.1rem/1 var(--display);
    opacity: 0;
    transition: opacity 0.2s;
}

.calc-screens.is-more b {
    opacity: 1;
}

.dev3d {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0 0 28px;
    border-radius: 18px;
    background: radial-gradient(60% 65% at 50% 62%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 72%);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.dev3d.in-split {
    margin: 28px 0 0;
}

.dev3d:not(.in-split) {
    width: min(100%, 880px);
    margin: 0 auto 28px;
}

.dev3d canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    transition: opacity 0.8s var(--ease);
}

.dev3d.is-ready canvas {
    opacity: 1;
}

.dev3d-cap {
    position: absolute;
    left: 50%;
    bottom: 8px;
    display: grid;
    justify-items: center;
    gap: 2px;
    width: max-content;
    max-width: calc(100% - 24px);
    padding: 8px 16px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    text-align: center;
    transform: translateX(-50%);
    opacity: 0;
}

.dev3d.is-ready .dev3d-cap {
    opacity: 1;
}

.dev3d-cap b {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
}

.dev3d-cap span {
    color: var(--live);
    font-size: 0.8rem;
    font-weight: 600;
}

.dev3d.is-ready .dev3d-cap.is-in {
    animation: dev-cap 0.45s var(--ease) both;
}

@keyframes dev-cap {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
}

.device-row .feature-icon,
.device-row h2,
.device-row h3 {
    transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.device-row.is-active .feature-icon {
    background: var(--brand);
    color: #fff;
}

.device-row.is-active h2,
.device-row.is-active h3 {
    color: var(--brand-ink);
}

.story-stage {
    display: none;
}

@media (min-width: 961px) {
    .features.is-story {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        column-gap: clamp(40px, 5vw, 80px);
        border: 0;
    }

    .features.is-story > .feature,
    .features.is-story > .feature.is-key {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: min(34vh, 300px);
        padding: 24px 0 24px 28px;
        border: 0;
        border-left: 2px solid var(--line);
        background: none;
        opacity: 0.5;
        transition: opacity 0.45s var(--ease), border-color 0.45s var(--ease);
    }

    .features.is-story > .feature.is-active {
        opacity: 1;
        border-left-color: var(--brand);
    }

    .features.is-story > .feature .feature-icon {
        transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
    }

    .features.is-story > .feature.is-active .feature-icon {
        background: var(--brand);
        color: #fff;
    }

    .story-stage {
        display: block;
        grid-column: 1;
        position: sticky;
        top: max(92px, calc(50vh - 230px));
        align-self: start;
        padding-block: 24px;
    }
}

.mk {
    position: relative;
    aspect-ratio: 16 / 10;
    padding: 12px;
    border-radius: 20px;
    background: linear-gradient(160deg, #12375a, #06182a 70%);
    box-shadow: 0 40px 70px -40px rgba(6, 23, 39, 0.75), inset 0 0 0 1px rgba(125, 211, 252, 0.2);
    color: #eaf5ff;
}

.mk-foot {
    width: 28%;
    height: 12px;
    margin: 0 auto;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(#0d2a44, #071827);
}

.mk-top {
    position: absolute;
    top: 22px;
    left: 24px;
    right: 24px;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.mk-live i {
    position: relative;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
}

.mk-live i::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #10b981;
    animation: live 2.4s var(--ease) infinite;
}

.mk-net {
    position: relative;
    width: 22px;
    height: 22px;
}

.mk-net span {
    position: absolute;
    inset: 0;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.mk-net svg {
    width: 22px;
    height: 22px;
}

.mk-on {
    color: #7dd3fc;
}

.mk-off {
    color: #f87171;
    opacity: 0;
    transform: scale(0.7);
}

.mk.is-off .mk-on {
    opacity: 0;
    transform: scale(0.7);
}

.mk.is-off .mk-off {
    opacity: 1;
    transform: scale(1);
}

.mk-screen {
    position: relative;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: radial-gradient(80% 90% at 50% 40%, #0d3456, #04111d);
}

.mk-s {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 46px 30px 28px;
}

.c0 {
    background: linear-gradient(135deg, #1f7fc1, #0f3b6e);
}

.c1 {
    background: linear-gradient(135deg, #2ba9e1, #1f7fc1);
}

.c2 {
    background: linear-gradient(135deg, #10b981, #0f766e);
}

.c3 {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.c4 {
    background: linear-gradient(135deg, #7c3aed, #be185d);
}

.c5 {
    background: linear-gradient(135deg, #38bdf8, #4f46e5);
}

.mk-sl {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 12% 14%;
    border-radius: inherit;
}

.mk-sl.a {
    background: linear-gradient(135deg, #1f7fc1, #0f3b6e);
}

.mk-sl.b {
    background: linear-gradient(135deg, #f59e0b, #be185d);
}

.mk-sl.c {
    background: linear-gradient(135deg, #10b981, #1f7fc1);
}

.mk-sl i,
.sc-sl i,
.dl-meta > i:first-child,
.lv-r span i {
    display: block;
    height: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
}

.mk-sl i:nth-child(1) {
    width: 62%;
    height: 16px;
}

.mk-sl i:nth-child(2) {
    width: 46%;
    opacity: 0.7;
}

.mk-sl i:nth-child(3) {
    width: 54%;
    opacity: 0.5;
}

.mk-s[data-k='schedule'] {
    grid-template-rows: auto 1fr auto;
    place-items: stretch;
    gap: 14px;
}

.sc-clock {
    overflow: hidden;
}

.sc-clock b {
    display: inline-block;
    font: 800 clamp(1.8rem, 3vw, 2.6rem)/1 var(--display);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.sc-slides {
    position: relative;
}

.sc-sl {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 12px;
}

.sc-sl span svg {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
}

.sc-sl i:nth-of-type(1) {
    width: 66%;
}

.sc-sl i:nth-of-type(2) {
    width: 48%;
}

.sc-sl i:nth-of-type(3) {
    width: 58%;
}

.sc-sl.s1 {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.sc-sl.s2 {
    background: linear-gradient(135deg, #10b981, #1f7fc1);
}

.sc-sl.s3 {
    background: linear-gradient(135deg, #4f46e5, #0f3b6e);
}

.sc-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.sc-track i {
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.16);
    transition: background-color 0.4s var(--ease);
}

.sc-track i.on {
    background: #2ba9e1;
}

.gr {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.gr-src {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34%;
    aspect-ratio: 16 / 10;
    margin: -10.6% 0 0 -17%;
    border-radius: 8px;
    box-shadow: 0 0 0 2px #7dd3fc, 0 0 30px rgba(43, 169, 225, 0.5);
    z-index: 2;
}

.gr-grid,
.bk {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 88%;
}

.gr-t,
.bk-t,
.dl-l,
.lv-th {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
}

.bk-t {
    position: relative;
    transition: background 0.3s;
}

.gr-src > i,
.gr-t > i,
.bk-t.is-new::after {
    content: '';
    position: absolute;
    left: 14%;
    right: 40%;
    top: 40%;
    height: 14%;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.85);
}

.bk-c {
    position: absolute;
    top: 6px;
    right: 6px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
}

.bk-c svg {
    width: 12px;
    height: 12px;
}

.dl {
    width: 86%;
}

.dl-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(125, 211, 252, 0.2);
}

.dl-ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #1f7fc1;
}

.dl-ic svg,
.dl-ok svg {
    width: 18px;
    height: 18px;
}

.dl-meta {
    flex: 1;
    display: grid;
    gap: 9px;
}

.dl-meta > i:first-child {
    width: 60%;
}

.dl-bar {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.dl-bar b {
    display: block;
    height: 100%;
    background: #2ba9e1;
}

.dl-ok {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #10b981;
}

.dl-loops {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.rm {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    width: 90%;
}

.rm-pad {
    display: grid;
    gap: 10px;
}

.rm-pad span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(125, 211, 252, 0.22);
    color: #cfe9ff;
}

.rm-pad svg {
    width: 20px;
    height: 20px;
}

.rm-tv {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
    overflow: hidden;
}

.rm-dim {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
}

.rm-id {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #0f3b6e;
    font: 800 1.8rem/1 var(--display);
    opacity: 0;
}

.rm-ping {
    position: absolute;
    top: 50%;
    left: 40px;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 14px 4px rgba(43, 169, 225, 0.6);
    opacity: 0;
}

.lv {
    display: grid;
    gap: 9px;
    width: 88%;
}

.lv-r {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.lv-th {
    width: 58px;
    flex-shrink: 0;
    border-radius: 5px;
    transition: background 0.4s;
}

.lv-r span {
    flex: 1;
    display: grid;
    gap: 6px;
}

.lv-r span i:first-child {
    width: 56%;
    height: 8px;
}

.lv-r span i:last-child {
    width: 34%;
    height: 6px;
    opacity: 0.45;
}

.lv-d {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    transition: background-color 0.3s;
}

.lv-d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: live 2.4s var(--ease) infinite;
}

.lv-d.is-off {
    background: #52657a;
}

.lv-d.is-off::after {
    animation: none;
}

.rp {
    display: grid;
    width: 84%;
    height: 78%;
}

.rp-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100%;
}

.rp-bars span {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: var(--h);
}

.rp-bars b {
    margin-bottom: 6px;
    color: #cfe9ff;
    font: 700 0.78rem/1 var(--body);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.rp-bars i {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(#2ba9e1, #1f7fc1);
}

.rp-bars span:nth-child(5) i {
    background: linear-gradient(#6ee7b7, #10b981);
}

.rp-axis {
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.vd {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin-top: -40px;
}

.vd-chip {
    padding: 11px 16px;
    border-radius: 10px;
    font: 700 0.95rem/1 var(--body);
    white-space: nowrap;
}

.vd-in {
    background: rgba(255, 255, 255, 0.1);
    color: #cfe9ff;
}

.vd-out {
    background: #10b981;
    color: #03261a;
}

.vd-arrow {
    width: 70px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.vd-arrow i {
    display: block;
    height: 100%;
    background: #2ba9e1;
}

.vd-play {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-left: -27px;
    border-radius: 50%;
    background: #fff;
    color: #1f7fc1;
}

.vd-play svg {
    width: 22px;
    height: 22px;
    margin-left: 3px;
}

.tr {
    position: relative;
    width: 86%;
    aspect-ratio: 16 / 10;
}

.tr .mk-sl {
    border-radius: 10px;
}

.dv {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 2.4vw, 28px);
}

.dv-i {
    width: clamp(44px, 5vw, 64px);
    height: clamp(44px, 5vw, 64px);
    color: rgba(207, 233, 255, 0.4);
    transition: color 0.35s var(--ease), filter 0.35s var(--ease);
}

.dv-i svg {
    width: 100%;
    height: 100%;
}

.dv-i.on {
    color: #2ba9e1;
    filter: drop-shadow(0 0 10px rgba(43, 169, 225, 0.6));
}

.mv {
    position: relative;
    width: 78%;
    aspect-ratio: 3 / 2;
}

.mv-l {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.mv-l path {
    fill: none;
    stroke: #2ba9e1;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    vector-effect: non-scaling-stroke;
}

.mv-n {
    position: absolute;
    top: calc(26% - 52px);
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: #93a9bd;
    transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.mv-n svg {
    width: 26px;
    height: 26px;
}

.mv-a {
    left: calc(23.3% - 26px);
}

.mv-b {
    left: calc(76.7% - 26px);
}

.mv-n.on {
    color: #7dd3fc;
    background: rgba(43, 169, 225, 0.16);
    box-shadow: 0 0 0 1px #2ba9e1, 0 0 24px rgba(43, 169, 225, 0.35);
}

.mv-tv {
    position: absolute;
    top: 80%;
    left: calc(50% - 30px);
    width: 60px;
    color: #eaf5ff;
}

.mv-tv svg {
    width: 60px;
    height: 60px;
}

@media (prefers-reduced-motion: reduce) {
    .price-badge::after,
    .btn-primary::after {
        display: none;
    }
}

@media (max-width: 1080px) {
    .nav-open .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: var(--surface);
        z-index: 1000;
    }

    .nav-open .mobile-nav {
        top: 68px;
        right: 0;
        bottom: auto;
        left: 0;
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
        z-index: 1000;
        overscroll-behavior: contain;
    }
}

.endpoints span.method {
    color: var(--live);
    grid-column: auto;
}

.endpoints span.method.post {
    color: var(--brand);
}

.endpoints span.method.del {
    color: #e11d48;
}

.endpoints code {
    overflow-wrap: anywhere;
    word-break: normal;
}

@media (max-width: 640px) {
    .endpoints div {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 6px 12px;
        padding: 12px 14px;
    }

    .endpoints span.method {
        grid-column: 1;
        align-self: start;
    }

    .endpoints code {
        grid-column: 2;
        align-self: center;
        font-size: 0.85rem;
    }

    .endpoints span.desc {
        grid-column: 2;
        font-size: 0.88rem;
    }

    .code pre {
        font-size: 0.78rem;
    }
}

.strip-dots {
    display: none;
}

@media (max-width: 760px) {
    .features,
    .steps,
    .plans {
        position: relative;
        display: grid;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 12px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 40px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
        border: 0;
        -webkit-overflow-scrolling: touch;
    }

    .features::-webkit-scrollbar,
    .steps::-webkit-scrollbar,
    .plans::-webkit-scrollbar {
        display: none;
    }

    .is-strip:focus-visible {
        outline: 2px solid var(--brand);
        outline-offset: -2px;
    }

    :is(.features, .steps, .plans) > * {
        scroll-snap-align: start;
        min-width: 0;
    }

    .plans {
        grid-auto-columns: 86%;
    }

    .features > .feature,
    .features > .feature.is-key {
        padding: 18px 18px 20px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
        transition: border-color 0.3s var(--ease);
        cursor: pointer;
    }

    .features > .feature.is-active {
        border-color: var(--brand);
    }

    .features > .feature .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 12px;
        transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
    }

    .features > .feature.is-active .feature-icon {
        background: var(--brand);
        color: #fff;
    }

    .features > .feature p {
        font-size: 0.93rem;
    }

    .steps > .step {
        padding: 22px 18px 20px;
        border: 1px solid var(--line);
        border-top: 2px solid var(--brand);
        border-radius: 14px;
        background: var(--surface);
    }

    .strip-dots {
        position: relative;
        display: flex;
        justify-content: center;
        gap: 4px;
        height: 24px;
        margin-top: -32px;
        margin-bottom: 8px;
    }

    .fxjs .features {
        margin-top: calc(min(100vw - 2 * var(--gutter), 440px) * 0.625 + 22px);
    }

    .fxjs .story-stage.is-mini + .features {
        margin-top: 0;
    }

    .strip-dots button {
        position: relative;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .strip-dots button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 7px;
        height: 7px;
        margin: -3.5px 0 0 -3.5px;
        border-radius: 4px;
        background: var(--line-2);
        transition: width 0.3s var(--ease), margin 0.3s var(--ease), background-color 0.3s var(--ease);
    }

    .strip-dots button.on::before {
        width: 18px;
        margin-left: -9px;
        background: var(--brand);
    }

    .sectors {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .sector,
    .sector:nth-child(1),
    .sector:nth-child(2) {
        grid-column: span 1;
        aspect-ratio: 1;
    }

    .sector:nth-child(1) {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }

    .sector-text {
        padding: 12px 12px 11px;
    }

    .sector-text strong {
        font-size: 1rem;
    }

    .sector-text span {
        display: block;
        font-size: 0.8rem;
        line-height: 1.35;
    }
}

.story-stage.is-mini {
    display: block;
    position: relative;
    top: auto;
    max-width: 440px;
    margin: 0 auto 14px;
    padding: 0;
}

.is-mini .mk {
    padding: 8px;
    border-radius: 14px;
}

.is-mini .mk-screen {
    border-radius: 8px;
}

.is-mini .mk-foot {
    height: 8px;
}

.is-mini .mk-top {
    top: 15px;
    left: 17px;
    right: 17px;
}

.is-mini .mk-net,
.is-mini .mk-net svg {
    width: 17px;
    height: 17px;
}

.is-mini .mk-live i {
    width: 8px;
    height: 8px;
}

.is-mini .mk-s {
    padding: 30px 14px 12px;
}

.is-mini .mk-s[data-k='schedule'] {
    gap: 8px;
}

.is-mini .sc-clock b {
    font-size: 1.35rem;
}

.is-mini .sc-sl {
    gap: 6px;
    padding: 0 14px;
    border-radius: 8px;
}

.is-mini .sc-sl span svg {
    width: 20px;
    height: 20px;
    margin: 0;
}

.is-mini .mk-sl i,
.is-mini .sc-sl i,
.is-mini .dl-meta > i:first-child,
.is-mini .lv-r span i {
    height: 7px;
}

.is-mini .mk-sl i:nth-child(1) {
    height: 11px;
}

.is-mini .mk-sl {
    gap: 7px;
}

.is-mini .gr-grid,
.is-mini .bk {
    gap: 6px;
    width: 84%;
}

.is-mini .gr-t,
.is-mini .bk-t,
.is-mini .dl-l {
    border-radius: 5px;
}

.is-mini .bk-c {
    top: 4px;
    right: 4px;
    width: 15px;
    height: 15px;
}

.is-mini .bk-c svg {
    width: 9px;
    height: 9px;
}

.is-mini .dl-file {
    gap: 10px;
    padding: 9px;
}

.is-mini .dl-ic {
    width: 28px;
    height: 28px;
    border-radius: 7px;
}

.is-mini .dl-ok {
    width: 24px;
    height: 24px;
}

.is-mini .dl-ic svg,
.is-mini .dl-ok svg {
    width: 14px;
    height: 14px;
}

.is-mini .dl-loops {
    gap: 6px;
    margin-top: 9px;
}

.is-mini .rm {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
}

.is-mini .rm-pad {
    gap: 6px;
}

.is-mini .rm-pad span {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.is-mini .rm-pad svg {
    width: 15px;
    height: 15px;
}

.is-mini .rm-id {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    font-size: 1.15rem;
}

.is-mini .rm-ping {
    left: 26px;
}

.is-mini .lv {
    gap: 5px;
}

.is-mini .lv-r {
    gap: 9px;
    padding: 5px 8px;
    border-radius: 7px;
}

.is-mini .lv-th {
    width: 40px;
}

.is-mini .rp-bars {
    gap: 7px;
}

.is-mini .rp-bars b {
    font-size: 0.62rem;
    margin-bottom: 4px;
}

.is-mini .vd {
    gap: 8px;
    margin-top: -26px;
}

.is-mini .vd-chip {
    padding: 7px 9px;
    font-size: 0.78rem;
    border-radius: 7px;
}

.is-mini .vd-arrow {
    width: 34px;
}

.is-mini .vd-play {
    top: calc(100% + 12px);
    width: 38px;
    height: 38px;
    margin-left: -19px;
}

.is-mini .vd-play svg {
    width: 16px;
    height: 16px;
}

.is-mini .dv-i {
    width: 40px;
    height: 40px;
}

.is-mini .mv-n {
    top: calc(26% - 36px);
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.is-mini .mv-n svg {
    width: 19px;
    height: 19px;
}

.is-mini .mv-a {
    left: calc(23.3% - 18px);
}

.is-mini .mv-b {
    left: calc(76.7% - 18px);
}

.is-mini .mv-tv {
    left: calc(50% - 20px);
    width: 40px;
}

.is-mini .mv-tv svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
    .fxjs .features {
        margin-top: 0;
    }
}

.ladder-intro {
    max-width: 62ch;
    margin: 0 0 18px;
    color: var(--muted);
}

.ladder-wrap {
    position: relative;
}

.ladder-rail {
    display: none;
}

.plans.ladder {
    margin-block: 0;
    list-style: none;
}

@media (min-width: 761px) {
    .plans.ladder {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin: 0;
        padding: 0;
    }
}

.ladder > .plan {
    display: flex;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.pkg-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 24px 22px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.pkg-4 .pkg-card {
    border: 2px solid var(--brand);
    padding: 23px 21px;
}

.pkg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.pkg-head .plan-tag {
    margin-left: 0;
}

.pkg-meter {
    display: inline-flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    flex-shrink: 0;
}

.pkg-meter i {
    width: 5px;
    border-radius: 2px;
    background: var(--line-2);
    transform-origin: 50% 100%;
}

.pkg-meter i:nth-child(1) {
    height: 25%;
}

.pkg-meter i:nth-child(2) {
    height: 50%;
}

.pkg-meter i:nth-child(3) {
    height: 75%;
}

.pkg-meter i:nth-child(4) {
    height: 100%;
}

.pkg-meter i.on {
    background: var(--brand);
}

.pkg-who {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 0.93rem;
}

.pkg-who div {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 10px;
    align-items: baseline;
}

.pkg-who dt {
    justify-self: start;
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--bg-2);
    color: var(--ink-2);
    font: 700 0.75rem/1.5 var(--body);
}

.pkg-who div + div dt {
    background: var(--brand-soft);
    color: var(--brand-ink);
}

.pkg-who dd {
    margin: 0;
    color: var(--ink-2);
}

.pkg-price {
    margin-top: 20px;
}

.ladder .plan-price {
    margin-top: 0;
    font-size: clamp(2rem, 2.5vw, 2.45rem);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pkg-unit {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.ladder .price-badge {
    margin-top: 12px;
    align-self: flex-start;
    font-size: 0.88rem;
}

.price-badge.is-once {
    background: var(--brand-soft);
    color: var(--brand-ink);
    border-color: color-mix(in srgb, var(--brand) 40%, transparent);
}

.price-badge.is-once::before {
    background: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent);
}

html.dark .price-badge.is-once {
    background: var(--brand-soft);
    color: var(--brand-ink);
    border-color: color-mix(in srgb, var(--brand) 45%, transparent);
}

html.dark .price-badge.is-once::before {
    background: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}

.pkg-split,
.pkg-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
}

.pkg-split + .pkg-note {
    margin-top: 4px;
}

.ladder .plan ul {
    margin: 18px 0 22px;
    padding-top: 16px;
    gap: 8px;
    font-size: 0.93rem;
}

.plans-foot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.plans-foot > div {
    min-width: 0;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px dashed var(--line-2);
}

.plans-foot h3 {
    font-size: 1.05rem;
}

.plans-foot p {
    margin: 6px 0 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (min-width: 1081px) {
    .ladder-wrap {
        padding-top: 30px;
    }

    .ladder-rail {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        overflow: visible;
        pointer-events: none;
    }

    .ladder-rail path {
        fill: none;
        stroke-width: 2;
        stroke-linejoin: round;
        vector-effect: non-scaling-stroke;
    }

    .ladder-rail-bg {
        stroke: var(--line-2);
        stroke-dasharray: 0.006 0.008;
    }

    .ladder-rail-fg {
        stroke: var(--brand);
    }

    .plans.ladder {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-items: stretch;
    }

    .ladder > .pkg-1 {
        margin-top: 84px;
    }

    .ladder > .pkg-2 {
        margin-top: 56px;
    }

    .ladder > .pkg-3 {
        margin-top: 28px;
    }
}

@media (max-width: 760px) {
    .ladder-intro {
        margin-bottom: 12px;
        font-size: 0.95rem;
    }

    .pkg-card,
    .pkg-4 .pkg-card {
        padding: 20px 18px;
    }

    .pkg-4 .pkg-card {
        padding: 19px 17px;
    }

    .pkg-who {
        margin-top: 12px;
        font-size: 0.9rem;
    }

    .pkg-price {
        margin-top: 14px;
    }

    .ladder .plan ul {
        margin: 14px 0 18px;
        padding-top: 12px;
        gap: 6px;
        font-size: 0.9rem;
    }

    .plans-foot {
        gap: 10px;
        margin-top: 4px;
    }

    .plans-foot > div {
        padding: 14px;
    }

    .plans-foot h3 {
        font-size: 0.98rem;
    }

    .plans-foot p {
        font-size: 0.85rem;
    }
}

@media (max-width: 760px) {
    .section:has(> .wrap > .ladder-wrap) {
        padding-block: 44px;
    }

    .ladder-intro,
    .pkg-note,
    .pkg-split,
    .plans-foot p,
    .ladder .plan li:nth-child(4) {
        display: none;
    }

    .pkg-who {
        gap: 6px;
        font-size: 0.86rem;
    }

    .pkg-price {
        margin-top: 12px;
    }

    .ladder .plan-price {
        font-size: 1.85rem;
    }

    .ladder .price-badge {
        margin-top: 10px;
    }

    .ladder .plan ul {
        margin: 12px 0 14px;
        padding-top: 10px;
    }

    .plans-foot h3 {
        font-size: 0.95rem;
    }

    .plans-foot .link-more {
        display: inline-block;
        margin-top: 4px;
        font-size: 0.88rem;
    }
}

@media (max-width: 760px) {
    .pkg-card {
        padding: 17px 16px;
    }

    .pkg-4 .pkg-card {
        padding: 16px 15px;
    }

    .ladder .plan ul {
        gap: 5px;
    }
}

.cap-toggle,
.cap-more {
    display: none;
}

@media (max-width: 760px) {
    .section {
        padding-block: 48px;
    }

    .answer {
        padding: 16px 18px;
    }

    .answer p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .answer p.is-clamped {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 6;
        overflow: hidden;
    }

    .cap-more {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        margin-top: 4px;
        padding: 0;
        border: 0;
        background: none;
        color: var(--brand-ink);
        font: 600 0.95rem/1.4 var(--body);
        cursor: pointer;
    }

    .cap-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .is-capped:not(.is-open) > .cap-extra {
        display: none;
    }

    .faq summary {
        gap: 14px;
        padding: 14px 0;
        font-size: 1rem;
    }

    .faq details p {
        padding-bottom: 16px;
    }

    .table-wrap {
        margin-top: 20px !important;
    }

    table.compare {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .compare th,
    .compare td {
        padding: 10px 12px;
    }

    .compare thead th {
        font-size: 0.92rem;
    }

    .compare caption {
        padding: 12px 12px !important;
        font-size: 0.95rem;
    }

    .device-list.is-strip,
    .post-list.is-strip {
        position: relative;
        display: grid;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        gap: 12px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 40px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
        border: 0;
        -webkit-overflow-scrolling: touch;
    }

    .device-list.is-strip::-webkit-scrollbar,
    .post-list.is-strip::-webkit-scrollbar {
        display: none;
    }

    .device-list.is-strip > *,
    .post-list.is-strip > * {
        scroll-snap-align: start;
        min-width: 0;
    }

    .device-list.is-strip .device-row {
        grid-template-columns: 42px minmax(0, 1fr);
        align-content: start;
        gap: 12px 14px;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: var(--surface);
        transition: border-color 0.3s var(--ease);
    }

    .device-list.is-strip .device-row.is-active {
        border-color: var(--brand);
    }

    .device-list.is-strip .device-row p {
        grid-column: 1 / -1;
        font-size: 0.93rem;
    }

    .post-list.is-strip .post-card {
        padding: 20px 18px;
    }

    .post-list.is-strip .post-card h2,
    .post-list.is-strip .post-card h3 {
        font-size: 1.15rem;
    }

    .post-list.is-strip .post-card p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    .form {
        padding: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px 14px;
    }

    .form-grid > .field {
        grid-column: 1 / -1;
    }

    .form-grid > .field:nth-child(4),
    .form-grid > .field:nth-child(5) {
        grid-column: auto;
    }

    .form-grid > .field:nth-child(4) label .opt,
    .form-grid > .field:nth-child(5) label .opt {
        display: block;
    }

    .field textarea {
        min-height: 96px;
    }

    .contact-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .contact-item {
        gap: 10px;
        padding: 12px 14px;
        font-size: 0.93rem;
    }

    .contact-item:nth-child(3) {
        grid-column: 1 / -1;
    }

    .contact-item:not(:nth-child(3)) .feature-icon {
        display: none;
    }

    .contact-item .feature-icon {
        width: 36px;
        height: 36px;
        flex: none;
    }

    .page-hero + .section {
        padding-top: 32px;
    }

    .field input {
        min-height: 44px;
    }
}

.ps-img.is-dark {
    display: none;
}

html.dark .ps-img.is-dark {
    display: block;
}

html.dark .ps-img.is-light {
    display: none;
}

.pframe {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 2px 4px rgba(11, 29, 46, 0.05), 0 30px 60px -30px rgba(11, 29, 46, 0.35);
}

html.dark .pframe {
    background: #0b0b0c;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 34px 70px -34px rgba(0, 0, 0, 0.85);
}

.pframe-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

html.dark .pframe-bar {
    border-bottom-color: #1d1d20;
    background: #141416;
}

.pframe-bar i {
    flex: none;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line-2);
}

html.dark .pframe-bar i {
    background: #2c2c31;
}

.pframe-url {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0 auto;
    padding: 2px 14px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font: 500 0.78rem/1.5 var(--body);
    white-space: nowrap;
    text-overflow: ellipsis;
}

html.dark .pframe-url {
    background: #1d1d20;
    color: #a1a1aa;
}

.pframe > figure,
.pframe .ps-img {
    margin: 0;
}

.pframe .ps-img {
    width: 100%;
    height: auto;
}

.pfig {
    margin: 0;
}

.pfig figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.split-shot .ps-img,
.fshot-img .ps-img {
    object-position: var(--pos, 0 0);
}

.split-sub {
    margin-top: 40px;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.fshots {
    display: grid;
    gap: clamp(48px, 7vw, 96px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fshot {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(28px, 4.5vw, 64px);
    align-items: center;
}

.fshot:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

.fshot:nth-child(even) .fshot-img {
    order: 2;
}

.fshot-img .ps-img {
    aspect-ratio: var(--ar, 16 / 10);
    object-fit: cover;
}

.fshot-text {
    max-width: 30rem;
}

.fshot-text h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    letter-spacing: -0.02em;
}

.fshot-text p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1.05rem;
}

@media (max-width: 960px) {
    .fshot,
    .fshot:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .fshot:nth-child(even) .fshot-img {
        order: 0;
    }

    .split-shot {
        margin-top: 8px;
    }
}

@media (max-width: 760px) {
    .fshots {
        grid-auto-flow: column;
        grid-auto-columns: 84%;
        gap: 12px;
        margin-inline: calc(var(--gutter) * -1);
        padding: 4px var(--gutter) 40px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }

    .fshots::-webkit-scrollbar {
        display: none;
    }

    .fshot {
        align-content: start;
        gap: 14px;
        scroll-snap-align: start;
    }

    .fshot-img .pframe-bar {
        height: 26px;
    }

    .fshot-img .pframe-url {
        font-size: 0.7rem;
    }

    .fshot-text h3 {
        font-size: 1.12rem;
    }

    .fshot-text p {
        margin-top: 6px;
        font-size: 0.95rem;
    }
}

.key-steps {
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: key;
}

.key-steps li {
    position: relative;
    padding-left: 44px;
    color: var(--ink-2);
    font-size: 1.05rem;
    counter-increment: key;
}

.key-steps li::before {
    content: counter(key);
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font: 700 0.9rem/1 var(--display);
}

.key-steps strong {
    color: var(--ink);
    font-weight: 600;
}

.pframe.is-crop .ps-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 100% 0;
}

.ep-groups summary small {
    display: block;
    margin-top: 2px;
    font: 400 0.9rem/1.45 var(--body);
    color: var(--muted);
}

.ep-groups .ep-list {
    margin-bottom: 22px;
}

@media (max-width: 640px) {
    .ep-groups summary small {
        font-size: 0.85rem;
    }

    .ep-groups .ep-list {
        margin-bottom: 16px;
    }
}

.fact-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
}

.fact-list li {
    display: grid;
    grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: 0.96rem;
    line-height: 1.45;
}

.fact-list b {
    color: var(--ink);
    font-weight: 600;
}

.fact-list span {
    color: var(--ink-2);
    min-width: 0;
}

.city-text p {
    color: var(--ink-2);
    font-size: 1.06rem;
    line-height: 1.75;
    max-width: 46em;
}

.city-text p + p {
    margin-top: 1em;
}

.footer-cities {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 26px;
}

.footer-cities h2 {
    font: 600 0.92rem/1.3 var(--body);
    letter-spacing: 0;
    margin: 0;
}

.footer-cities h2 a {
    color: var(--ink);
}

.footer-cities ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-cities ul a {
    color: var(--muted);
}

.footer-cities a:hover {
    color: var(--brand);
}

@media (min-width: 961px) {
    .related {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

    .related.city-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .related .sector,
    .related .sector:nth-child(1),
    .related .sector:nth-child(2) {
        grid-column: auto;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 760px) {
    .fact-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
        margin-top: 14px;
    }

    .fact-list li {
        display: block;
        padding: 7px 0;
        font-size: 0.8rem;
        line-height: 1.35;
    }

    .fact-list b {
        display: block;
        font-size: 0.74rem;
        color: var(--muted);
        margin-bottom: 1px;
    }

    .footer-cities {
        margin-top: 24px;
        padding-top: 16px;
    }
}

@media (max-width: 520px) {
    .related {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .related .sector,
    .related .sector:nth-child(1),
    .related .sector:nth-child(2) {
        grid-column: auto;
        aspect-ratio: 1 / 1;
    }

    .related .sector-text {
        padding: 12px;
    }

    .related .sector-text strong {
        font-size: 1rem;
    }

    .related .sector-text span {
        font-size: 0.8rem;
        line-height: 1.3;
        display: block;
    }
}
