@font-face { font-family: 'Bric'; src: url(fonts/bricolage-latin.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bric'; src: url(fonts/bricolage-latin-ext.woff2) format('woff2'); font-weight: 200 800; font-stretch: 75% 100%; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mono'; src: url(fonts/martian-latin.woff2) format('woff2'); font-weight: 100 800; font-stretch: 75% 112.5%; }

:root {
  --bg: #0c0e12; --bg2: #11141a; --s1: #151920; --s2: #1b2029; --s3: #262c37;
  --ink: #eef0f4; --ink2: #a9b0bd; --ink3: #6d7584;
  --send: #6f86ff; --recv: #2fd3ad;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.8);
  --spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #eef0ec; --bg2: #e4e7e1; --s1: #ffffff; --s2: #f6f7f4; --s3: #e3e6e0; --ink: #12151a; --ink2: #474e5b; --ink3: #848b97; --send: #3553ff; --recv: #009b7d; --shadow: 0 1px 0 #fff inset, 0 30px 60px -32px rgba(20,24,30,.35); color-scheme: light; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Bric, system-ui, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
#lanes { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .55; }
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; }
code { font-family: Mono, monospace; font-size: .82em; background: var(--s2); padding: 2px 6px; border-radius: 6px; }

.nav { position: sticky; top: 0; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 72%, transparent); z-index: 10; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 760; font-size: 18px; text-decoration: none; letter-spacing: -.02em; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--ink2); font-size: 15px; transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
.nav-tools { display: flex; gap: 10px; align-items: center; }
.lang { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 9px; border: 0; background: var(--s2); color: var(--ink); cursor: pointer; }
.gh { display: grid; place-items: center; color: var(--ink2); }
@media (max-width: 760px) { .nav nav { display: none; } .nav-tools { margin-left: auto; } }

section { padding: clamp(56px, 9vw, 120px) clamp(16px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; margin: 14px 0 22px; font-weight: 780; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 20px; font-weight: 760; }
.send { color: var(--send); }
.kicker { color: var(--ink3); font-size: 15px; margin: 0; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink2); max-width: 36em; margin: 0 0 30px; }
.sub { color: var(--ink2); max-width: 54em; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding-top: clamp(40px, 6vw, 90px); }
@media (max-width: 1040px) { .hero { grid-template-columns: 1fr; } }
.hero-copy > * { animation: rise .9s var(--spring) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; } .hero-copy > *:nth-child(3) { animation-delay: .12s; } .hero-copy > *:nth-child(4) { animation-delay: .18s; } .hero-copy > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.btn { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border-radius: 13px; background: var(--s2); text-decoration: none; font-weight: 640; transition: transform .5s var(--spring), background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--s3); }
.btn.primary { background: var(--send); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #0b0f2a; } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts b { font-family: Mono, monospace; font-weight: 450; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -.03em; font-stretch: 87.5%; }
.facts span { color: var(--ink3); font-size: 13.5px; line-height: 1.35; }

.hero-stage { position: relative; min-height: 560px; }
.window { position: relative; border-radius: 18px; overflow: hidden; background: var(--s1); box-shadow: var(--shadow); aspect-ratio: 16 / 10.6; width: 100%; animation: rise 1s .15s var(--spring) both; }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--s2); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--s3); }
.window-bar em { margin-left: 10px; font-style: normal; font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window iframe { border: 0; width: 100%; height: calc(100% - 34px); display: block; }
.phone { position: absolute; right: -14px; bottom: -40px; width: 230px; aspect-ratio: 390 / 844; border-radius: 38px; padding: 10px; background: #050608; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1.5px rgba(255,255,255,.08) inset; animation: rise 1s .3s var(--spring) both; }
.phone iframe { border: 0; width: 390px; height: 844px; transform: scale(calc(210 / 390)); transform-origin: 0 0; border-radius: 52px; display: block; }
.phone .notch { position: absolute; top: 16px; left: 50%; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #050608; z-index: 2; }
@media (max-width: 760px) { .phone { display: none; } .hero-stage { min-height: 0; } }

.band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding-top: 40px; padding-bottom: 40px; }
.band-item { background: var(--s1); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); }
.band-item b { font-size: 18px; letter-spacing: -.01em; }
.band-item span { color: var(--ink2); font-size: 15px; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .band { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.split p { color: var(--ink2); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.diagram img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: var(--shadow); }
.list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list li { color: var(--ink2); padding-left: 22px; position: relative; }
.list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--recv); }

.videos { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.videos figure { margin: 0; }
.videos video { width: 100%; border-radius: 18px; display: block; background: var(--s1); box-shadow: var(--shadow); }
.videos .tall video { max-height: 640px; object-fit: cover; }
.videos figcaption { color: var(--ink3); font-size: 14.5px; margin-top: 10px; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } }

.bench { display: flex; flex-direction: column; gap: 26px; margin: 34px 0 20px; }
.bench .case { background: var(--s1); border-radius: 20px; padding: 22px 24px; box-shadow: var(--shadow); }
.bench .case h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.01em; }
.bench .case .what { color: var(--ink3); font-size: 14px; margin-bottom: 16px; }
.bench .row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 150px; gap: 14px; align-items: center; margin: 8px 0; font-size: 14.5px; }
.bench .bar { height: 14px; border-radius: 7px; background: var(--s3); overflow: hidden; }
.bench .bar i { display: block; height: 100%; border-radius: 7px; width: 0; transition: width 1.4s var(--spring); }
.bench .row.sx i { background: var(--send); } .bench .row.ls i { background: var(--ink3); }
.bench .row.rx i { background: var(--recv); }
.bench.phone { margin-top: 0; }
.bench.phone .ratio { color: var(--ink3); font-family: inherit; font-size: 13.5px; margin-top: 12px; }
.bench .val { font-family: Mono, monospace; font-size: 13px; text-align: right; font-stretch: 87.5%; }
.bench .ratio { font-family: Mono, monospace; color: var(--recv); font-size: 13px; margin-top: 6px; }
@media (max-width: 680px) { .bench .row { grid-template-columns: 1fr; gap: 4px; } .bench .val { text-align: left; } }
.note { color: var(--ink3); }

.get .cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--s1); border-radius: 20px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); transition: transform .6s var(--spring); }
.card:hover { transform: translateY(-4px); }
.card b { font-size: 22px; letter-spacing: -.02em; }
.card span { color: var(--ink2); font-size: 15px; }
@media (max-width: 860px) { .get .cards { grid-template-columns: 1fr; } }

.faq details { background: var(--s1); border-radius: 16px; padding: 4px 20px; margin: 10px 0; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 640; font-size: 18px; list-style: none; }
.faq summary::after { content: '+'; float: right; color: var(--ink3); transition: transform .4s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); margin: 0 0 16px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 30px clamp(16px, 5vw, 64px) 50px; color: var(--ink3); font-size: 14px; max-width: 1320px; margin: 0 auto; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform 1.1s var(--spring); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }
