/* 渡舟门户 · 深色，照 Linear 的路子：近黑底、细边、柔光、产品界面当主角。 */
:root {
  --bg: #08090a;
  --bg-2: #0b0c0e;
  --card: #0f1012;
  --card-2: #141518;
  --card-3: #1b1c20;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .11);
  --line-3: rgba(255, 255, 255, .2);
  --text: #f7f8f8;
  --text-2: #a9adb6;
  --text-3: #7a7f88;
  --accent: #7aa7ff;
  --accent-strong: #4f86ff;
  --ok: #4cd18a;
  --warn: #f5b84d;
  --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss03"; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(122, 167, 255, .35); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h1 { font-size: clamp(2.75rem, 1.2rem + 5.6vw, 5.5rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.04em; }
.h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em; }
.h1, .h2 { background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .62)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.65; color: var(--text-2); max-width: 36em; margin-top: 20px; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.section { padding-top: clamp(96px, 12vw, 168px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 20px; border-radius: var(--r); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; border: 0;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 14px; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .arrow, .live-chip:hover .chip-go::after { transform: translateX(2px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; transition: background-color .3s ease, box-shadow .3s ease; }
.nav.solid { background: rgba(8, 9, 10, .72); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand .logo { height: 30px; color: var(--text); }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a, .nav-login { font-size: 14px; color: var(--text-2); transition: color .2s ease; }
.nav-links a:hover, .nav-login:hover { color: var(--text); }
.nav-act { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-menu { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; margin-right: -8px; }
.nav-menu span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-menu span:first-child { top: 16px; }
.nav-menu span:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.sheet { background: rgba(8, 9, 10, .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.sheet nav { display: grid; padding-top: 8px; padding-bottom: 20px; }
.sheet a { padding: 14px 0; font-size: 17px; box-shadow: 0 1px 0 var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(112px, 12vw, 148px); overflow: clip; }
.hero-light { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(122, 167, 255, .16), transparent 70%), radial-gradient(40% 30% at 70% 10%, rgba(76, 209, 138, .06), transparent 70%); }
.hero-copy { position: relative; }
.live-chip { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 13px; color: var(--text-2);
  background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s ease; }
.live-chip:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.chip-go { color: var(--text); display: inline-flex; align-items: center; gap: 4px; padding-left: 10px; box-shadow: -1px 0 0 var(--line-2); }
.chip-go::after { content: "→"; transition: transform .2s var(--ease); }
.hero .h1 { margin-top: 28px; }
.hero-sub { margin-top: 24px; font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); line-height: 1.6; color: var(--text-2); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* the product window */
.stage { position: relative; margin: clamp(48px, 5.4vw, 72px) auto 0; width: min(1280px, calc(100% - var(--pad) * 2)); perspective: 2400px; }
.stage::before { content: ""; position: absolute; left: 8%; right: 8%; top: -10%; height: 70%; background: radial-gradient(50% 50% at 50% 50%, rgba(122, 167, 255, .22), transparent 70%); filter: blur(40px); pointer-events: none; }
/* 窗口定高：节点列表比窗口长，超出部分被裁掉、随底部渐隐淡出，看得出下面还有更多节点 */
.console { position: relative; display: grid; grid-template-columns: 200px 1fr 290px; grid-template-rows: minmax(0, 1fr); height: 600px; border-radius: 14px; background: linear-gradient(180deg, #121316, #0c0d0f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, .8);
  transform-origin: 50% 0; transform: rotateX(22deg) scale(.94); opacity: 0; animation: tilt-in 1.8s .35s var(--ease) forwards;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 98%); mask-image: linear-gradient(180deg, #000 62%, transparent 98%); font-size: 13px; overflow: hidden; }
@keyframes tilt-in { to { transform: none; opacity: 1; } }
.console { --text-3: #868a93; }
.c-side { padding: 18px 12px; box-shadow: 1px 0 0 var(--line); display: flex; flex-direction: column; gap: 18px; }
.c-side .logo { height: 22px; color: var(--text); margin: 2px 8px 6px; }
.c-side li { padding: 7px 10px; border-radius: 7px; color: var(--text-2); }
.c-side li.on { background: rgba(255, 255, 255, .06); color: var(--text); }
.c-plan { margin-top: auto; padding: 12px 10px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.c-plan span { font-weight: 500; }
.c-plan small { color: var(--text-3); font-size: 11.5px; }
.c-bar { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.c-bar b { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.c-main { padding: 18px 20px; min-width: 0; min-height: 0; overflow: hidden; }
.c-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.c-head b { font-size: 15px; font-weight: 600; }
.c-tabs { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.c-tabs span { padding: 3px 10px; border-radius: 6px; color: var(--text-3); }
.c-tabs .on { background: rgba(255, 255, 255, .08); color: var(--text); }
.c-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.c-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 209, 138, .18); }
.c-row { display: grid; grid-template-columns: 1.6fr .6fr 1fr .8fr; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.c-row + .c-row { box-shadow: 0 -1px 0 var(--line); }
.c-th { color: var(--text-3); font-size: 12px; padding-top: 4px; padding-bottom: 8px; }
.c-row .n { display: flex; align-items: center; gap: 8px; font-weight: 500; min-width: 0; }
.c-row .n em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 中性色圆点：门户没有实时状态，不用绿色暗示在线 */
.c-row .n i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.c-row .k { color: var(--text-2); }
.c-row .ms { color: var(--text); transition: color .4s ease; }
.c-row .ms.blip { color: var(--accent); }
.c-row .ld { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 12px; }
.c-row .ld em { font-style: normal; min-width: 2.6em; text-align: right; }
.c-row .ld i { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.c-row .ld b { display: block; height: 100%; border-radius: inherit; background: rgba(255, 255, 255, .55); transition: width 1.2s var(--ease); }
.c-row.hl { background: rgba(255, 255, 255, .035); }
.c-aside { padding: 18px 16px; box-shadow: -1px 0 0 var(--line); display: grid; align-content: start; gap: 14px; }
.c-card { padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 8px; }
.c-k { color: var(--text-3); font-size: 12px; }
.c-big { font-size: 13px; color: var(--text-2); }
.c-big b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 64px; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.spark-area { fill: rgba(122, 167, 255, .12); }
.c-app { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); font-weight: 500; }
.c-app i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, #3a3d45, #22242a); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- clients ---------- */
.clients { padding-top: 24px; text-align: center; }
.clients-h { font-size: 14px; font-weight: 400; color: var(--text-3); }
.client-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin-top: 22px; }
.client-names li { font-size: clamp(1rem, .9rem + .4vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; color: #8b9099; transition: color .2s ease; }
.client-names li:hover { color: var(--text); }

/* ---------- statement + stats ---------- */
.statement { padding-top: clamp(96px, 12vw, 168px); }
.big-p { font-size: clamp(1.625rem, 1rem + 2.3vw, 2.75rem); font-weight: 600; line-height: 1.32; letter-spacing: -0.03em; color: var(--text-3); max-width: 22em; }
.big-p span { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(56px, 7vw, 88px); box-shadow: 0 -1px 0 var(--line); }
.stats > div { padding: 28px 24px 0 0; }
.stats > div + div { padding-left: 24px; box-shadow: -1px 0 0 var(--line); }
.stats dt { color: var(--text-3); font-size: 14px; }
.stats dd { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; color: var(--text-2); font-size: 15px; }
.stats dd b { font-size: clamp(2rem, 1.2rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }

/* ---------- cards + bento ---------- */
.card { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, #111215, #0d0e10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(122, 167, 255, .09), transparent 45%); }
.card:hover::before { opacity: 1; }
.card-copy p, .use p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 34em; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.bento .card { padding: 28px; display: flex; flex-direction: column; gap: 24px; min-height: 300px; }
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }

.uptime { margin-top: auto; display: grid; grid-template-columns: repeat(90, 1fr); gap: 3px; height: 56px; }
.uptime i { border-radius: 2px; background: var(--ok); opacity: .85; transform-origin: bottom; }
.uptime i.part { background: var(--warn); }
.js .uptime i { transform: scaleY(0); }
.in .uptime i { transform: none; transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 6ms); }
.uptime-meta { display: flex; justify-content: space-between; color: var(--text-3); font-size: 12px; margin-top: -12px; }
.uptime-meta b { color: var(--text); font-weight: 500; }

.lat { margin-top: auto; display: grid; gap: 12px; }
.lat li { display: grid; grid-template-columns: 4.2em 1fr 4.8em; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.lat li b { font-weight: 500; color: var(--text); text-align: right; }
.lat i { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.lat i s { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent-strong), var(--accent)); width: 0; transition: width 1s var(--ease); }

.speed { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.speed b { font-size: 64px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.speed span { color: var(--text-2); }
.meter { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; margin-top: -8px; }
.meter b { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent-strong), var(--ok)); transition: width 1.6s var(--ease); }
.in .meter b { width: 88%; }

.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }

.pay { margin-top: auto; display: flex; align-items: center; gap: 18px; }
.pay canvas { width: 84px; height: 84px; border-radius: 8px; background: #fff; padding: 6px; image-rendering: pixelated; }
.paid { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.paid i { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); position: relative; }
.paid i::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #08090a; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.f-devices { min-height: 0 !important; }
.devices { display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 0 -1px 0 var(--line); }
.devices li { padding: 20px 20px 2px 0; display: grid; gap: 4px; }
.devices li + li { padding-left: 20px; box-shadow: -1px 0 0 var(--line); }
.devices b { font-size: 15px; font-weight: 600; }
.devices span { color: var(--text-2); font-size: 14px; }
.devices em { margin-top: 10px; font-style: normal; font-size: 12px; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; }
.devices em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- network map ---------- */
.network { overflow: clip; }
.map-scroll { width: min(1320px, calc(100% - var(--pad) * 2)); margin: clamp(40px, 5vw, 64px) auto 0; }
.map { position: relative; width: 100%; aspect-ratio: 180 / 67; }
.map.pointing { cursor: pointer; }
.map canvas, .map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc { fill: none; stroke: url(#arc-grad); stroke-width: 1.2; stroke-linecap: round; opacity: .55; transition: opacity .3s ease, stroke-width .3s ease; }
.arc.on { opacity: 1; stroke-width: 2; }
.packet { fill: #fff; }
.map-pin, .map-origin { font-style: normal; position: absolute; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(122, 167, 255, .18); transition: transform .3s var(--ease), background-color .3s ease, box-shadow .3s ease; }
.map-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: ping 2.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
.map-pin.near { box-shadow: 0 0 0 5px rgba(122, 167, 255, .28); }
.map-pin.on { transform: scale(1.5); background: #fff; box-shadow: 0 0 0 3px rgba(122, 167, 255, .35); }
.map-origin { width: 12px; height: 12px; margin: -6px 0 0 -6px; background: var(--text); box-shadow: 0 0 0 5px rgba(255, 255, 255, .12), 0 0 24px 4px rgba(255, 255, 255, .25); }
.map-origin span, .map-tip { position: absolute; white-space: nowrap; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: rgba(15, 16, 18, .92); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); }
/* the origin's label sits to its left: the pins of Hong Kong and Taiwan are just below it */
.map-origin span { right: calc(100% + 9px); top: 50%; transform: translateY(-50%); color: var(--text-2); }
.map-tip { left: 0; top: 0; display: flex; align-items: baseline; gap: 8px; padding: 5px 11px; transition: transform .45s var(--ease), opacity .2s ease; pointer-events: none; }
.map-tip b { font-weight: 600; }
.map-tip span { color: var(--text-2); font-variant-numeric: tabular-nums; }
.regions { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 40px; }
.regions li { display: flex; background: var(--bg); box-shadow: 0 0 0 1px var(--line); transition: background-color .2s ease; }
.regions li:hover, .regions li.on { background: var(--card-2); }
.regions button { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 14px 16px; border: 0; background: none; font-size: 14px; text-align: left; cursor: pointer; }
.regions button:focus-visible { outline-offset: -2px; border-radius: 0; }
.regions b { font-weight: 500; }
.regions span { color: var(--text-3); font-variant-numeric: tabular-nums; font-size: 13px; }

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.split-copy .btn { margin-top: 28px; }
.mini-facts { margin-top: 36px; display: grid; gap: 0; }
.mini-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; box-shadow: 0 -1px 0 var(--line); }
.mini-facts dt { color: var(--text-2); }
.mini-facts dd { font-weight: 500; }
.chart { padding: 24px 24px 18px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart figcaption { margin-top: 10px; font-size: 13px; color: var(--text-3); }
.grid-line { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.axis { fill: var(--text-3); font: 400 11px var(--font); font-variant-numeric: tabular-nums; }
.peak-band { fill: rgba(122, 167, 255, .07); }
.peak-label { fill: var(--accent); font: 500 11px var(--font); }
.speed-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.speed-area { fill: url(#area-grad); }
.lat-line { fill: none; stroke: var(--ok); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .8; }
.legend { font: 400 11px var(--font); fill: var(--text-2); }

/* ---------- uses ---------- */
.uses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.use { padding: 26px 24px; display: flex; flex-direction: column; min-height: 260px; }
.tags { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 6px; font-size: 12px; color: var(--text-2); background: rgba(255, 255, 255, .05); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 72px); }
.platform { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 6px; min-height: 280px; }
.platform .os { font-size: 14px; color: var(--text-3); }
.platform .rec { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; }
.platform .note { color: var(--text-2); font-size: 14px; }
.platform .also { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--text-3); }
.platform .acts { display: flex; gap: 8px; margin-top: 14px; }
.platform .acts .btn { flex: 1; height: 38px; font-size: 14px; padding: 0 12px; }

/* ---------- pricing ---------- */
.tabs { position: relative; display: inline-flex; margin-top: 40px; padding: 4px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 18px; border-radius: 8px; font-size: 14px; color: var(--text-2); cursor: pointer; transition: color .25s ease; }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs .ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 8px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .45s var(--ease), width .45s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (min-width: 1081px) { .plans[data-count="4"], .plans[data-count="7"] { grid-template-columns: repeat(4, 1fr); } }
.plan { padding: 28px; display: flex; flex-direction: column; min-height: 400px; }
.plan.hot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(122, 167, 255, .45), 0 20px 60px -30px rgba(122, 167, 255, .5); }
.plan .p-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .p-name { font-size: 15px; font-weight: 500; color: var(--text-2); }
.plan .p-hot { font-size: 12px; color: var(--accent); padding: 3px 9px; border-radius: 999px; background: rgba(122, 167, 255, .1); }
.plan .p-traffic { margin-top: 18px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.plan .p-price { margin-top: 6px; display: flex; align-items: baseline; gap: 4px; color: var(--text-2); }
.plan .p-price b { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.plan ul { margin-top: 26px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.plan li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle, var(--ok) 0 2.5px, rgba(76, 209, 138, .16) 3px); }
.plan .btn { margin-top: auto; }
.plan ul { margin-bottom: 32px; }
.plans.swap .plan { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
.fine { margin-top: 20px; font-size: 13px; color: var(--text-3); }

/* ---------- status board ---------- */
.board { padding: 8px 8px 10px; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 12px; }
.board-head b { font-weight: 600; }
.board-rows { display: grid; }
.b-row { display: grid; grid-template-columns: 1.3fr 1fr .9fr .7fr; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.b-row + .b-row { box-shadow: 0 -1px 0 var(--line); }
.b-row .n { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.b-row .n i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(76, 209, 138, .14); }
.b-row .bars { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 18px; }
.b-row .bars i { border-radius: 1.5px; background: rgba(76, 209, 138, .7); }
.b-row .ms { text-align: right; }
.b-row .rt { text-align: right; color: var(--text-3); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { box-shadow: 0 -1px 0 var(--line); }
.q { box-shadow: 0 1px 0 var(--line); }
.q button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; background: none; text-align: left; font-size: 17px; font-weight: 500; cursor: pointer; }
.q button:hover { color: #fff; }
.q .plus { flex: none; width: 14px; height: 14px; position: relative; }
.q .plus::before, .q .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 6.25px; height: 1.5px; background: var(--text-2); border-radius: 2px; transition: transform .35s var(--ease); }
.q .plus::after { transform: rotate(90deg); }
.q button[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.q .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.q .a > div { overflow: hidden; }
.q .a p { padding: 0 0 24px; color: var(--text-2); max-width: 42em; }
.q.open .a { grid-template-rows: 1fr; }

/* ---------- final ---------- */
.final { position: relative; text-align: center; padding: clamp(120px, 16vw, 220px) var(--pad) clamp(120px, 14vw, 200px); overflow: clip; }
.final-light { position: absolute; left: 50%; bottom: -40%; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(122, 167, 255, .16), transparent 70%); filter: blur(20px); }
.h2-xl { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5rem); }
.final .lead { margin-inline: auto; }
.final .cta { justify-content: center; }

/* ---------- footer ---------- */
.foot { box-shadow: 0 -1px 0 var(--line); padding: 56px 0 40px; }
.foot-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-brand .logo { height: 32px; color: var(--text); }
.foot-brand p { margin-top: 14px; color: var(--text-3); font-size: 14px; }
.foot-cols { display: flex; gap: clamp(40px, 8vw, 96px); }
.foot-cols div { display: grid; gap: 10px; align-content: start; }
.foot-cols h3 { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.foot-cols a { font-size: 14px; color: var(--text-3); transition: color .2s ease; }
.foot-cols a:hover { color: var(--text); }
.foot-legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--text-3); font-size: 13px; }

/* ---------- demo badge ---------- */
.demo-badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; margin: 0; padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--warn); background: rgba(20, 18, 12, .86); box-shadow: inset 0 0 0 1px rgba(245, 184, 77, .35); }
.demo-only { display: none; }
.is-demo .demo-only { display: inline; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .console { grid-template-columns: 180px 1fr; }
  .c-aside { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-4 { grid-column: span 1; }
  .f-stable { grid-column: span 2 !important; }
  .span-6 { grid-column: span 2; }
  .uses, .platforms { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .stats > div:nth-child(4) { box-shadow: none; padding-left: 0; }
  .split, .faq-wrap { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links, .nav-login { display: none; }
  .nav-menu { display: block; }
  .nav-act { gap: 12px; }
  .hero .h1 { margin-top: 22px; }
  .cta .btn { flex: 1; }
  .stage { width: calc(100% - 24px); margin-top: 48px; }
  .console { grid-template-columns: 1fr; height: 460px; transform: rotateX(16deg) scale(.96); }
  .c-side { display: none; }
  .c-main { padding: 14px 12px; }
  .c-row { grid-template-columns: 1.7fr .6fr .8fr; }
  .c-row > :nth-child(3) { display: none; }
  .c-tabs { display: none; }
  .bento, .uses, .platforms, .plans, .devices { grid-template-columns: 1fr; }
  .f-stable, .span-6 { grid-column: span 1 !important; }
  .bento .card { min-height: 0; padding: 24px 22px; }
  .devices { box-shadow: none; }
  .devices li, .devices li + li { padding: 16px 0; box-shadow: 0 -1px 0 var(--line); }
  .uptime { grid-template-columns: repeat(45, 1fr); }
  .uptime i:nth-child(-n+45) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 12px 0 0 !important; box-shadow: none !important; }
  .regions { grid-template-columns: repeat(2, 1fr); }
  /* on a phone the map is a strip you can swipe sideways, wide enough to tap a single pin */
  .map-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
  .map-scroll::-webkit-scrollbar { display: none; }
  .map { width: 860px; }
  .b-row { grid-template-columns: 1.2fr 1fr .8fr; }
  .b-row .rt { display: none; }
  .use, .platform, .plan { min-height: 0; }
  .foot-cols { gap: 36px; flex-wrap: wrap; }
  .foot-legal { flex-direction: column; }
  .demo-badge { left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .console { transform: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
}
