/* ==========================================================================
   Clash Download Center — original design
   Fonts: Manrope (latin) + system Chinese stack
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #f6f8fc;
  --bg-soft: #f2f6fe;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --ink: #0a1122;
  --ink-soft: #1a243c;
  --muted: #59637a;
  --muted-light: #7b8498;
  --line: rgba(13, 31, 68, 0.09);
  --line-strong: rgba(13, 31, 68, 0.14);
  --blue: #265bff;
  --blue-dark: #1746dc;
  --blue-soft: #eef3ff;
  --cyan: #18bfdc;
  --green: #11a978;
  --green-soft: #e9fbf4;
  --orange: #e38a2d;
  --orange-soft: #fff5e8;
  --violet: #7254e8;
  --violet-soft: #f2efff;
  --navy: #060f24;
  --navy-2: #0a1a38;
  --white: #ffffff;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 8px 24px -16px rgba(10, 30, 80, 0.28);
  --shadow-md: 0 24px 60px -32px rgba(10, 30, 80, 0.35);
  --shadow-lg: 0 42px 100px -38px rgba(8, 27, 75, 0.45);
  --container: 1180px;
  --header-h: 76px;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono",
    Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.72, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #b9c6de #f0f3fa;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(38, 91, 255, 0.2);
  color: var(--ink);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

code,
pre {
  font-family: var(--font-mono);
}

:focus-visible {
  outline: 3px solid rgba(38, 91, 255, 0.42);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Reveal animation ---------- */
/* Content stays fully visible for crawlers and no-IO environments.
   Only the transform is animated, so nothing is hidden from Bingbot. */
.js .reveal {
  transform: translateY(22px);
  transition: transform 0.8s var(--ease) var(--delay, 0ms);
}

.js .reveal.is-visible {
  transform: translateY(0);
}

@media (scripting: none) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Shared type ---------- */
.text-gradient {
  background: linear-gradient(100deg, #1e4ee2 0%, #2f76ff 46%, #0fb9d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gradient--light {
  background: linear-gradient(100deg, #8eb2ff 0%, #6fe1f4 52%, #b2fff0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: 52px;
}

.section-head h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4.2vw, 50px);
  line-height: 1.14;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}

.section-head__lead {
  max-width: 430px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}

.section-eyebrow,
.card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-eyebrow i {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.section-eyebrow--light {
  color: #8eb2ff;
}

.section-head--light h2 {
  color: #fff;
}

.section-head--light .section-head__lead {
  color: rgba(224, 233, 252, 0.62);
}

.section-head--center {
  display: block;
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-head--center h2 {
  margin-inline: auto;
}

.section-head--center .section-head__lead {
  max-width: 610px;
  margin: 16px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease),
    background-color 0.28s var(--ease),
    color 0.28s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, #326cff 0%, #2457ed 52%, #1c49d6 100%);
  color: #fff;
  box-shadow:
    0 14px 28px -12px rgba(31, 78, 224, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.22) 44%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.btn--primary:hover::after {
  transform: translateX(130%);
}

.btn--primary:hover {
  box-shadow:
    0 20px 36px -14px rgba(31, 78, 224, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn--soft {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: 0 8px 24px -18px rgba(10, 30, 80, 0.3);
}

.btn--soft:hover {
  border-color: rgba(38, 91, 255, 0.28);
  background: #fff;
  box-shadow: 0 16px 32px -22px rgba(10, 30, 80, 0.38);
}

.btn--sm {
  min-height: 40px;
  padding-inline: 16px;
  border-radius: 11px;
  font-size: 13px;
}

.btn--lg {
  min-height: 56px;
  padding-inline: 26px;
  border-radius: 15px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn--light {
  background: #fff;
  color: #0b1a36;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.55);
}

.btn--light:hover {
  background: #f4f7ff;
}

.btn--ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.text-link:hover {
  gap: 11px;
  color: var(--blue-dark);
}

.text-link .icon {
  width: 15px;
  height: 15px;
}

.text-link--button {
  width: fit-content;
  padding: 0;
  cursor: pointer;
}

/* ---------- Top bar ---------- */
.topbar {
  position: relative;
  z-index: 90;
  background:
    radial-gradient(900px 80px at 50% 130%, rgba(38, 91, 255, 0.42), transparent 70%),
    #050d1e;
  color: #9daac5;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 37px;
}

.topbar__note {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.topbar__note strong {
  color: #eaf0ff;
  font-weight: 750;
}

.topbar__sep {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.18);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c3d2f3;
  font-weight: 650;
  transition: color 0.2s;
}

.topbar__link:hover {
  color: #fff;
}

.topbar__link .icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}

.topbar__link:hover .icon {
  transform: translateX(2px);
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ee2a4;
  box-shadow: 0 0 0 3px rgba(62, 226, 164, 0.13);
  flex: 0 0 auto;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(62, 226, 164, 0.45);
  animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.55); opacity: 0.9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 249, 253, 0.72);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -30px rgba(8, 25, 65, 0.5);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-5deg) scale(1.04);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.brand__text small {
  color: var(--muted-light);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.35;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 22px;
}

.desktop-nav a {
  position: relative;
  color: #46516a;
  font-size: 13.5px;
  font-weight: 650;
  line-height: var(--header-h);
  transition: color 0.2s;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header__github {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 11px;
  border-radius: 10px;
  color: #4f5a71;
  font-size: 12.5px;
  font-weight: 650;
  transition: color 0.2s, background-color 0.2s;
}

.header__github .icon {
  width: 17px;
  height: 17px;
}

.header__github:hover {
  color: var(--ink);
  background: rgba(10, 22, 50, 0.05);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  padding: 14px 24px 24px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -30px rgba(8, 25, 65, 0.4);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.mobile-nav.is-open {
  display: block;
  animation: nav-in 0.28s var(--ease);
}

@keyframes nav-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 650;
}

.mobile-nav nav a .icon {
  width: 15px;
  height: 15px;
  color: var(--muted-light);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.mobile-nav__github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}

.mobile-nav__github .icon {
  width: 16px;
  height: 16px;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: 64px 0 0;
  background:
    radial-gradient(1000px 600px at 82% 18%, rgba(201, 227, 255, 0.6), transparent 62%),
    linear-gradient(180deg, #fbfcff 0%, #f5f8fe 65%, var(--bg) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 57, 117, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 57, 117, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(85% 72% at 58% 35%, #000 0%, transparent 76%);
  mask-image: radial-gradient(85% 72% at 58% 35%, #000 0%, transparent 76%);
}

.hero__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.52;
  will-change: transform;
}

.hero__aurora--blue {
  top: -180px;
  left: -180px;
  width: 640px;
  height: 640px;
  background: rgba(71, 130, 255, 0.33);
  animation: aurora-a 18s ease-in-out infinite alternate;
}

.hero__aurora--cyan {
  top: -100px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: rgba(71, 219, 236, 0.24);
  animation: aurora-b 22s ease-in-out infinite alternate;
}

.hero__aurora--violet {
  left: 36%;
  bottom: -340px;
  width: 620px;
  height: 520px;
  background: rgba(130, 106, 255, 0.15);
}

@keyframes aurora-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(55px, 30px, 0) scale(1.08); }
}

@keyframes aurora-b {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(-40px, 50px, 0) scale(1); }
}

.hero__spotlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mx, 68%) var(--my, 14%),
    rgba(54, 112, 255, 0.11),
    transparent 68%
  );
  transition: background 0.18s linear;
}

.hero__wordmark {
  position: absolute;
  right: -10px;
  bottom: 8px;
  color: transparent;
  font-size: clamp(160px, 18vw, 260px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.72;
  -webkit-text-stroke: 1px rgba(32, 68, 142, 0.07);
  user-select: none;
}

.hero__grid-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  padding-bottom: 52px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding-top: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(15, 36, 80, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 30px -24px rgba(11, 30, 70, 0.55);
  color: #56617a;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.eyebrow__live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #25314d;
  font-weight: 750;
}

.eyebrow__sep {
  width: 1px;
  height: 11px;
  background: rgba(15, 36, 80, 0.14);
}

.hero h1 {
  margin: 22px 0 22px;
  color: var(--ink);
  font-size: clamp(48px, 5.05vw, 71px);
  font-weight: 800;
  letter-spacing: -0.062em;
  line-height: 1.07;
  text-wrap: balance;
}

.hero__lead {
  max-width: 545px;
  color: #505b73;
  font-size: 16.5px;
  line-height: 1.8;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 31px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 26px;
  color: #758097;
  font-size: 11.5px;
  font-weight: 600;
  list-style: none;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero__meta .icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid rgba(13, 31, 68, 0.09);
}

.hero__trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero__trust-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #66718a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__trust-badges .icon {
  width: 13px;
  height: 13px;
  color: var(--green);
}

.hero__trust p {
  color: #8992a7;
  font-size: 10.5px;
}

/* ---------- Hero visual / app mockup ---------- */
.hero__visual {
  position: relative;
  z-index: 1;
  padding: 16px 0 28px;
  perspective: 1600px;
}

.hero__halo {
  position: absolute;
  inset: 12% -9% -6% -5%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 54% 48%, rgba(63, 120, 255, 0.26), transparent 56%),
    radial-gradient(circle at 72% 22%, rgba(22, 198, 225, 0.18), transparent 50%);
  filter: blur(56px);
}

.mockup {
  position: relative;
  z-index: 2;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82));
  box-shadow:
    0 50px 110px -38px rgba(9, 29, 82, 0.48),
    0 18px 40px -30px rgba(9, 29, 82, 0.34),
    0 0 0 1px rgba(14, 38, 88, 0.06);
  transform: rotateY(-4deg) rotateX(1.4deg) rotateZ(-0.35deg);
  transform-style: preserve-3d;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.7s var(--ease);
}

.hero__visual:hover .mockup {
  transform: rotateY(-1.5deg) rotateX(0.4deg) rotateZ(0) translateY(-3px);
}

.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 37px;
  padding: 0 10px;
  border: 1px solid rgba(15, 35, 75, 0.07);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: rgba(255, 255, 255, 0.9);
}

.traffic {
  display: flex;
  gap: 5px;
}

.traffic i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b61;
}

.traffic i:nth-child(2) { background: #ffc04a; }
.traffic i:nth-child(3) { background: #36c95c; }

.mockup__title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.mockup__title img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.mockup__version {
  padding: 1px 5px;
  border-radius: 4px;
  background: #eef3ff;
  color: #6f7d99;
  font-size: 7.5px;
  font-weight: 700;
}

.mockup__chrome-actions {
  display: flex;
  gap: 8px;
  color: #9aa4b8;
}

.mockup__chrome-actions .icon {
  width: 12px;
  height: 12px;
}

.mockup__app {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(15, 35, 75, 0.08);
  border-radius: 0 0 15px 15px;
  background: #fbfcff;
}

.mockup__side {
  display: flex;
  flex-direction: column;
  padding: 12px 7px 9px;
  border-right: 1px solid rgba(15, 35, 75, 0.07);
  background: #f5f8ff;
}

.side__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.side__brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.mockup__side nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 16px;
}

.side__item {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 29px;
  padding: 0 7px;
  border-radius: 7px;
  color: #6a7690;
  font-size: 8.5px;
  font-weight: 650;
}

.side__item .icon {
  width: 12px;
  height: 12px;
  stroke-width: 1.9;
}

.side__item.is-active {
  background: #e8efff;
  color: #2759e9;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(52, 104, 255, 0.1);
}

.side__profile {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 5px 2px;
  border-top: 1px solid rgba(15, 35, 75, 0.07);
}

.side__avatar {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2d65ff, #16b6d4);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}

.side__profile > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.side__profile strong {
  font-size: 7.5px;
  font-weight: 750;
  white-space: nowrap;
}

.side__profile small {
  color: #8993a7;
  font-size: 6.5px;
  white-space: nowrap;
}

.mockup__main {
  min-width: 0;
  padding: 14px 14px 12px;
  background:
    radial-gradient(340px 180px at 100% 0%, rgba(115, 162, 255, 0.11), transparent 70%),
    #fbfcff;
}

.mockup__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mockup__kicker {
  color: #99a3b7;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.mockup__heading {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 8px;
  border: 1px solid rgba(18, 171, 121, 0.16);
  border-radius: 999px;
  background: #e9fbf4;
  color: #0d986b;
  font-size: 7.5px;
  font-weight: 750;
  white-space: nowrap;
}

.status-pill i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #12b782;
  box-shadow: 0 0 0 2px rgba(18, 183, 130, 0.16);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.quick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  height: 35px;
  padding: 0 8px;
  border: 1px solid rgba(15, 35, 75, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #60708c;
  font-size: 7.5px;
  font-weight: 650;
  white-space: nowrap;
}

.quick em {
  padding: 1px 4px;
  border-radius: 3px;
  background: #eef3ff;
  color: #3f68d8;
  font-size: 6.5px;
  font-style: normal;
  font-weight: 800;
}

.switch {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 12px;
  border-radius: 999px;
  background: #d7deea;
  flex: 0 0 auto;
}

.switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 50, 0.22);
  transition: left 0.25s var(--ease);
}

.switch.is-on {
  background: linear-gradient(90deg, #2c65ff, #17bcdb);
}

.switch.is-on i {
  left: 12px;
}

.traffic-card {
  margin-top: 8px;
  padding: 9px 9px 6px;
  border: 1px solid rgba(15, 35, 75, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
}

.traffic__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.traffic__head > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.traffic__head span {
  color: #8a95aa;
  font-size: 7px;
  font-weight: 650;
}

.traffic__head strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.traffic__head strong small {
  color: #8590a5;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0;
}

.traffic__delta {
  padding: 2px 5px;
  border-radius: 4px;
  background: #e9fbf4;
  color: #0f9a6c !important;
  font-size: 6.5px !important;
  font-weight: 800 !important;
}

.traffic__chart {
  width: 100%;
  height: 76px;
  margin-top: 3px;
  overflow: visible;
}

.chart-grid line {
  stroke: rgba(30, 58, 110, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: draw-line 1.9s var(--ease) 0.5s forwards;
}

.chart-area {
  opacity: 0;
  animation: fade-in 1s ease 1.4s forwards;
}

.chart-dot {
  opacity: 0;
  animation: fade-in 0.6s ease 1.9s forwards, dot-pulse 2.6s ease-in-out 2.4s infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.7); }
}

.traffic__axis {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  color: #a2aabc;
  font-size: 5.5px;
  font-weight: 600;
}

.nodes-card {
  margin-top: 8px;
  padding: 8px 9px 5px;
  border: 1px solid rgba(15, 35, 75, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
}

.nodes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 4px;
  color: #35425d;
  font-size: 7.5px;
  font-weight: 800;
}

.nodes__auto {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #71809a;
  font-size: 6.5px;
  font-weight: 650;
}

.nodes__auto .icon {
  width: 8px;
  height: 8px;
}

.node {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  border-top: 1px solid rgba(15, 35, 75, 0.055);
}

.node__flag {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--flag) 13%, white);
  color: var(--flag);
  font-size: 6px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.node__name {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.node__name strong {
  overflow: hidden;
  color: #2e3a52;
  font-size: 7.5px;
  font-weight: 750;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.node__name small {
  color: #9aa4b6;
  font-size: 6px;
  line-height: 1.3;
}

.node__latency {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.node__latency i {
  position: relative;
  width: 28px;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: #edf1f8;
}

.node__latency i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #2c66ff, #16c4df);
}

.node__latency i.is-slow::after {
  background: #e4a04b;
}

.node__latency b {
  width: 29px;
  color: #53617a;
  font-size: 6.5px;
  font-weight: 750;
  text-align: right;
}

.mockup__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 27px;
  padding: 0 12px;
  color: #8893a7;
  font-size: 6.5px;
  font-weight: 650;
}

.mockup__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mockup__foot .icon {
  width: 9px;
  height: 9px;
  color: #12a978;
}

.mockup__foot i {
  display: inline-block;
  width: 2px;
  height: 2px;
  margin: 0 4px;
  border-radius: 50%;
  background: #b5bdcc;
}

/* floating cards */
.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    0 24px 50px -24px rgba(9, 29, 82, 0.48),
    0 0 0 1px rgba(14, 38, 88, 0.04);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.float-card--speed {
  top: -7px;
  right: -9px;
  transform: rotate(2deg);
  animation: float-a 7s ease-in-out infinite;
}

.float-card--tun {
  left: -27px;
  bottom: 11px;
  transform: rotate(-1.5deg);
  animation: float-b 8s ease-in-out 0.8s infinite;
}

@keyframes float-a {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-8px); }
}

@keyframes float-b {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(7px); }
}

.float-card__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
}

.float-card__icon .icon {
  width: 15px;
  height: 15px;
}

.float-card__icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.float-card small {
  display: block;
  color: #8490a6;
  font-size: 7.5px;
  font-weight: 650;
  line-height: 1.3;
}

.float-card strong {
  display: block;
  color: #1a2742;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.float-card strong span {
  margin-left: 1px;
  color: #7e8aa0;
  font-size: 8px;
  font-weight: 700;
}

.float-card__badge {
  display: grid;
  place-items: center;
  width: 25px;
  height: 17px;
  border-radius: 5px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 6.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.spark i {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #52d8e9, #2a63ff);
  animation: spark 1.4s ease-in-out infinite alternate;
}

.spark i:nth-child(1) { height: 35%; animation-delay: 0s; }
.spark i:nth-child(2) { height: 62%; animation-delay: 0.12s; }
.spark i:nth-child(3) { height: 46%; animation-delay: 0.24s; }
.spark i:nth-child(4) { height: 86%; animation-delay: 0.36s; }
.spark i:nth-child(5) { height: 55%; animation-delay: 0.48s; }
.spark i:nth-child(6) { height: 76%; animation-delay: 0.6s; }

@keyframes spark {
  from { transform: scaleY(0.72); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

/* platform strip */
.platform-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 19px 0 27px;
  border-top: 1px solid rgba(13, 31, 68, 0.09);
}

.platform-strip p {
  color: #8993a8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.platform-strip ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  list-style: none;
}

.platform-strip li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d6983;
  font-size: 11px;
  font-weight: 650;
}

.platform-strip li .icon {
  width: 14px;
  height: 14px;
  opacity: 0.72;
}

.platform-strip__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #74829a;
  font-size: 9.5px;
  font-weight: 650;
  white-space: nowrap;
}

.platform-strip__status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #19b981;
  box-shadow: 0 0 0 3px rgba(25, 185, 129, 0.12);
}

/* ---------- Metrics ---------- */
.metrics {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 33px 0;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 30px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 4px;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  color: var(--ink);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.metric sup {
  margin-left: 2px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0;
  vertical-align: super;
}

.metric > span {
  color: #7a8499;
  font-size: 11.5px;
  font-weight: 600;
}

/* ---------- Features / bento ---------- */
.features {
  background: #fff;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento__card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition:
    transform 0.38s var(--ease),
    box-shadow 0.38s var(--ease),
    border-color 0.38s var(--ease);
}

.bento__card:hover {
  transform: translateY(-4px);
  border-color: rgba(38, 91, 255, 0.16);
  box-shadow: 0 30px 60px -40px rgba(10, 32, 85, 0.4);
}

.bento__rules {
  grid-column: span 7;
  min-height: 440px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(520px 280px at 84% 4%, rgba(53, 112, 255, 0.4), transparent 64%),
    radial-gradient(380px 280px at 10% 100%, rgba(18, 184, 218, 0.2), transparent 66%),
    linear-gradient(145deg, #07142d 0%, #0a1e42 55%, #0b2b61 100%);
}

.bento__rules::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(70% 80% at 78% 20%, #000, transparent 76%);
  mask-image: radial-gradient(70% 80% at 78% 20%, #000, transparent 76%);
}

.bento__rules .bento__top,
.bento__rules h3,
.bento__rules p,
.bento__rules .rule-demo {
  position: relative;
  z-index: 1;
}

.bento__speed {
  grid-column: span 5;
  min-height: 440px;
}

.bento__privacy,
.bento__tun,
.bento__platform {
  grid-column: span 4;
  min-height: 318px;
}

.bento__profiles {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 40px;
  min-height: 300px;
  padding: 38px 42px;
  background:
    radial-gradient(600px 240px at 100% 50%, rgba(77, 132, 255, 0.12), transparent 65%),
    linear-gradient(120deg, #f8faff 0%, #eef4ff 100%);
  border-color: rgba(38, 91, 255, 0.1);
}

.bento__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bento__rules .card-eyebrow {
  color: #7fa5ff;
}

.card-index {
  color: rgba(31, 55, 98, 0.24);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.bento__rules .card-index {
  color: rgba(255, 255, 255, 0.28);
}

.bento__card h3 {
  margin-top: 17px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.bento__rules h3 {
  color: #fff;
  font-size: 32px;
}

.bento__card p {
  margin-top: 12px;
  color: #69738a;
  font-size: 13.5px;
  line-height: 1.75;
}

.bento__rules p {
  max-width: 94%;
  color: rgba(218, 230, 252, 0.66);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.card-icon .icon {
  width: 19px;
  height: 19px;
}

.card-icon--blue { background: var(--blue-soft); color: var(--blue); }
.card-icon--green { background: var(--green-soft); color: var(--green); }
.card-icon--violet { background: var(--violet-soft); color: var(--violet); }
.card-icon--orange { background: var(--orange-soft); color: var(--orange); }

.rule-demo {
  margin-top: auto;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(3, 12, 31, 0.44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rule-demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(205, 221, 251, 0.52);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.rule-demo__head span:last-child {
  color: #63e0c1;
}

.rule-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 55px;
  align-items: center;
  gap: 10px;
  min-height: 31px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.rule-row:last-child {
  border-bottom: 0;
}

.rule-type {
  color: rgba(139, 174, 255, 0.76);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.rule-row code {
  overflow: hidden;
  color: rgba(232, 240, 255, 0.84);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 40px;
  height: 18px;
  padding: 0 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tag--direct { background: rgba(56, 211, 166, 0.13); color: #5ce3b8; }
.tag--proxy { background: rgba(95, 145, 255, 0.16); color: #93b4ff; }
.tag--ai { background: rgba(255, 193, 94, 0.14); color: #ffcf7e; }

.rules-orbit {
  position: absolute;
  top: -110px;
  right: -80px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(129, 167, 255, 0.16);
  border-radius: 50%;
}

.rules-orbit::before,
.rules-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(129, 167, 255, 0.1);
  border-radius: 50%;
}

.rules-orbit::before { inset: 54px; }
.rules-orbit::after { inset: 108px; }

.rules-orbit span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #61d8ef;
  box-shadow: 0 0 18px 4px rgba(97, 216, 239, 0.5);
}

.rules-orbit span:nth-child(1) { top: 28px; left: 118px; }
.rules-orbit span:nth-child(2) { right: 48px; bottom: 92px; background: #7fa5ff; box-shadow: 0 0 18px 4px rgba(127, 165, 255, 0.5); }
.rules-orbit span:nth-child(3) { left: 70px; bottom: 60px; background: #b18dff; box-shadow: 0 0 18px 4px rgba(177, 141, 255, 0.4); }

.latency-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.latency-row {
  display: grid;
  grid-template-columns: 24px 78px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 9px;
  color: #69758d;
  font-size: 10px;
  font-weight: 650;
}

.latency-flag {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--flag) 12%, white);
  color: var(--flag);
  font-size: 6.5px;
  font-weight: 850;
}

.latency-row i {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f8;
}

.latency-row i b {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2b65ff, #19c2dc);
}

.latency-row strong {
  color: #3c4a64;
  font-size: 9.5px;
  font-weight: 750;
  text-align: right;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: #8993a8;
  font-size: 9.5px;
  font-weight: 600;
}

.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(17, 169, 120, 0.1);
}

.mini-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
  list-style: none;
}

.mini-checks li {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border: 1px solid rgba(17, 169, 120, 0.12);
  border-radius: 999px;
  background: #f4fdf9;
  color: #2f7b65;
  font-size: 8.5px;
  font-weight: 700;
}

.mini-checks .icon {
  width: 10px;
  height: 10px;
  color: var(--green);
}

.tun-demo {
  position: relative;
  width: 170px;
  height: 136px;
  margin: auto auto 0;
}

.tun-demo__ring {
  position: absolute;
  inset: 17px 34px;
  border: 1px dashed rgba(114, 84, 232, 0.28);
  border-radius: 50%;
  animation: spin 22s linear infinite;
}

.tun-demo__ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8d74ff;
  box-shadow: 0 0 0 4px rgba(141, 116, 255, 0.12);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tun-demo__core {
  position: absolute;
  top: 41px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(114, 84, 232, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #f5f2ff, #e8e2ff);
  color: #6245dd;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 28px -18px rgba(89, 60, 210, 0.5);
  transform: translateX(-50%);
}

.tun-demo__chip {
  position: absolute;
  padding: 3px 6px;
  border: 1px solid rgba(114, 84, 232, 0.13);
  border-radius: 5px;
  background: #faf9ff;
  color: #7d6bc4;
  font-family: var(--font-mono);
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.tun-demo__chip--1 { top: 14px; left: 18px; }
.tun-demo__chip--2 { top: 12px; right: 16px; }
.tun-demo__chip--3 { bottom: 8px; right: 25px; }

.platform-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.platform-chips span {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 31px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  color: #5f6c84;
  font-size: 8.5px;
  font-weight: 650;
}

.platform-chips .icon {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.profiles__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profiles__copy h3 {
  margin-top: 13px;
  font-size: 30px;
}

.profiles__copy p {
  max-width: 420px;
}

.profiles__copy .text-link {
  margin-top: 18px;
}

.profiles__visual {
  position: relative;
  min-height: 222px;
}

.profiles__visual::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 13%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38, 91, 255, 0.22), transparent);
}

.profile-card {
  position: absolute;
  left: 4%;
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(330px, 82%);
  padding: 12px 13px;
  border: 1px solid rgba(38, 91, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px -30px rgba(17, 48, 118, 0.5);
}

.profile-card--1 { top: 20px; left: 13%; z-index: 3; }
.profile-card--2 { top: 82px; left: 24%; z-index: 2; opacity: 0.92; }
.profile-card--3 { top: 144px; left: 8%; z-index: 1; opacity: 0.82; }

.profile-card__icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
}

.profile-card__icon .icon {
  width: 15px;
  height: 15px;
}

.profile-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.profile-card strong {
  font-size: 10px;
  font-weight: 750;
}

.profile-card small {
  color: #8d97aa;
  font-size: 8px;
}

.profile-card__ok {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.profile-card__ok .icon {
  width: 10px;
  height: 10px;
}

.profile-sync {
  position: absolute;
  right: 3%;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(17, 169, 120, 0.12);
  border-radius: 999px;
  background: #f2fdf9;
  color: #27866c;
  font-size: 8px;
  font-weight: 700;
}

.profile-sync .icon {
  width: 10px;
  height: 10px;
}

/* ---------- Download ---------- */
.platforms-section {
  background:
    radial-gradient(720px 400px at 8% 12%, rgba(74, 130, 255, 0.09), transparent 64%),
    linear-gradient(180deg, #f5f8fd 0%, #f8faff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head--platforms {
  align-items: flex-end;
}

.platforms-intro {
  max-width: 410px;
  padding-bottom: 4px;
}

.platforms-intro p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.platforms-intro .text-link {
  margin-top: 12px;
}

.platforms-intro__note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 9px;
  border: 1px solid rgba(38, 91, 255, 0.1);
  border-radius: 999px;
  background: #f7f9ff;
  color: #60708c;
  font-size: 9.5px;
  font-weight: 650;
}

.platforms-intro__note .icon {
  width: 12px;
  height: 12px;
  color: var(--blue);
}

.local-download {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 22px;
  padding: 30px 32px;
  border: 1px solid rgba(38, 91, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(420px 240px at 92% 0%, rgba(82, 137, 255, 0.15), transparent 68%),
    linear-gradient(120deg, #f8fbff 0%, #edf4ff 100%);
  box-shadow: 0 24px 54px -48px rgba(10, 32, 85, 0.45);
}

.local-download__copy h3 {
  margin-top: 11px;
  color: var(--ink);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.local-download__copy > p {
  max-width: 560px;
  margin-top: 10px;
  color: #69758b;
  font-size: 12.5px;
  line-height: 1.75;
}

.local-download__files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.local-download__files > div {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1px 8px;
  padding: 8px 10px;
  border: 1px solid rgba(38, 91, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.local-download__files span {
  grid-row: span 2;
  align-self: center;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.local-download__files strong {
  color: #3b4a64;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
}

.local-download__files small {
  color: #929caf;
  font-size: 7.5px;
  line-height: 1.3;
}

.local-download__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn--download-local {
  justify-content: flex-start;
  min-height: 57px;
  padding: 0 16px;
  border-radius: 11px;
  text-align: left;
  white-space: normal;
}

.btn--download-local > .icon {
  width: 19px;
  height: 19px;
}

.btn--download-local > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.btn--download-local strong {
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
}

.btn--download-local small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.35;
}

.btn--soft.btn--download-local small {
  color: #8a95a9;
}

.local-download__details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0 11px;
}

.local-download__details summary {
  padding: 9px 0;
  color: #68758d;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.local-download__details > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 7px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.local-download__details span {
  color: #9aa4b6;
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 600;
}

.local-download__details code {
  color: #536381;
  font-size: 7.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.local-download__details p {
  padding: 0 0 8px;
  color: #929caf;
  font-size: 8px;
  line-height: 1.5;
}

.platforms-shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(13, 31, 68, 0.1);
  border-radius: 26px;
  background: #fff;
  box-shadow:
    0 40px 80px -60px rgba(10, 32, 85, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.platform-tabs {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(300px 200px at 0% 0%, rgba(70, 126, 255, 0.09), transparent 70%),
    #f7f9fe;
}

.platform-tab {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 50px;
  margin-bottom: 2px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #68748c;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    color 0.25s var(--ease);
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
}

.platform-tab.is-active {
  border-color: rgba(38, 91, 255, 0.1);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 26px -22px rgba(10, 32, 85, 0.45);
}

.platform-tab__icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #eef3fc;
  color: #6d7b94;
  flex: 0 0 auto;
  transition: background-color 0.25s, color 0.25s;
}

.platform-tab__icon .icon {
  width: 17px;
  height: 17px;
}

.platform-tab.is-active .platform-tab__icon {
  background: var(--blue-soft);
  color: var(--blue);
}

.platform-tab__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.platform-tab__text strong {
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.35;
}

.platform-tab__text small {
  overflow: hidden;
  color: #909aad;
  font-size: 8.5px;
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-tab__recommend {
  padding: 2px 5px;
  border-radius: 4px;
  background: #edf3ff;
  color: #3f68d8;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.platform-tab__arrow {
  width: 13px;
  height: 13px;
  color: #b0b9ca;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.25s, transform 0.25s;
}

.platform-tab.is-active .platform-tab__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--blue);
}

.platform-tabs__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 12px 8px 2px;
  border-top: 1px solid var(--line);
  color: #7c879d;
  font-size: 8.5px;
  line-height: 1.5;
}

.platform-tabs__foot .icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.platform-tabs__foot small {
  color: #a0a9bb;
  font-size: 7.5px;
}

.platform-stage {
  min-width: 0;
}

.platform-panel {
  display: none;
  flex-direction: column;
  min-height: 360px;
  padding: 30px 38px 26px;
}

.platform-panel.is-active {
  display: flex;
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.panel__identity {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-width: 0;
}

.panel__app-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(38, 91, 255, 0.1);
  border-radius: 14px;
  background:
    radial-gradient(40px 40px at 30% 20%, #ffffff, transparent),
    linear-gradient(145deg, #eef4ff, #e2ebff);
  color: var(--blue);
  flex: 0 0 auto;
  box-shadow: 0 10px 22px -16px rgba(38, 91, 255, 0.5);
}

.panel__app-icon .icon {
  width: 25px;
  height: 25px;
}

.panel__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.panel__title h3 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge--blue { background: #edf3ff; color: #3864d9; }
.badge--green { background: #eafaf3; color: #12855f; }
.badge--orange { background: #fff4e5; color: #b56d13; }
.badge--violet { background: #f2efff; color: #6649d5; }

.panel__identity p {
  max-width: 510px;
  margin-top: 5px;
  color: #707b91;
  font-size: 12.5px;
  line-height: 1.7;
}

.panel__ver {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafbfe;
  color: #65718a;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.panel__meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 23px 0 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel__meta dt {
  color: #96a0b2;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.panel__meta dd {
  margin-top: 3px;
  color: #31405b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}

.panel__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.panel__features span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcff;
  color: #65728a;
  font-size: 8.5px;
  font-weight: 650;
}

.panel__features span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #6d91ea;
}

.panel__guidance {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfcff;
}

.panel__guidance-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 auto;
}

.panel__guidance-icon .icon {
  width: 13px;
  height: 13px;
}

.panel__guidance strong {
  display: block;
  color: #43516a;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.35;
}

.panel__guidance p {
  margin-top: 2px;
  color: #818ca1;
  font-size: 9px;
  line-height: 1.6;
}

.panel__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(38, 91, 255, 0.08);
  border-radius: 9px;
  background: #f7f9ff;
  color: #7c879c;
  font-size: 9.5px;
  line-height: 1.65;
}

.panel__note .icon {
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: #587bd8;
}

.panel__note code {
  padding: 1px 4px;
  border-radius: 3px;
  background: #eaf0ff;
  color: #3f63c4;
  font-size: 8.5px;
}

.compat-matrix {
  margin-top: 22px;
  padding: 22px 24px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 50px -50px rgba(10, 32, 85, 0.45);
}

.compat-matrix__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
}

.compat-matrix__head h3 {
  font-size: 14.5px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.compat-matrix__head span {
  color: #929caf;
  font-size: 9px;
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
}

.compat-matrix table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}

.compat-matrix thead th {
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #98a2b4;
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.compat-matrix tbody td {
  padding: 12px 13px;
  border-bottom: 1px solid rgba(13, 31, 68, 0.055);
  color: #637089;
  font-size: 10.5px;
  font-weight: 600;
}

.compat-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.table-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #3d4b65;
  font-weight: 700;
}

.table-platform .icon {
  width: 14px;
  height: 14px;
  color: #7b879d;
}

.compat-matrix code {
  color: #536381;
  font-size: 9.5px;
}

.table-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.table-link .icon {
  width: 11px;
  height: 11px;
  transition: transform 0.2s;
}

.table-link:hover .icon {
  transform: translateX(2px);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.safety-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.safety-card__icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 auto;
}

.safety-card__icon .icon {
  width: 16px;
  height: 16px;
}

.safety-card h3 {
  color: #2f3d56;
  font-size: 11.5px;
  font-weight: 750;
  line-height: 1.4;
}

.safety-card p {
  margin-top: 4px;
  color: #8490a4;
  font-size: 9px;
  line-height: 1.6;
}

/* ---------- Quick start ---------- */
.quickstart {
  overflow: hidden;
  background:
    radial-gradient(760px 430px at 82% 8%, rgba(43, 100, 255, 0.27), transparent 62%),
    radial-gradient(600px 400px at 4% 100%, rgba(18, 185, 212, 0.14), transparent 64%),
    #060f24;
  color: #fff;
}

.quickstart__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(80% 88% at 50% 50%, #000, transparent 88%);
  mask-image: radial-gradient(80% 88% at 50% 50%, #000, transparent 88%);
}

.quickstart__bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.quickstart__bg span:first-child {
  top: 20%;
  left: -140px;
  width: 300px;
  height: 300px;
  background: rgba(50, 111, 255, 0.12);
}

.quickstart__bg span:last-child {
  right: -120px;
  bottom: 0;
  width: 340px;
  height: 340px;
  background: rgba(20, 195, 219, 0.09);
}

.quickstart .container {
  position: relative;
  z-index: 1;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 165, 255, 0.28);
  background: rgba(255, 255, 255, 0.055);
}

.step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.step__num {
  color: rgba(151, 177, 233, 0.58);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.step__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(125, 165, 255, 0.16);
  border-radius: 10px;
  background: rgba(73, 126, 255, 0.11);
  color: #8db2ff;
}

.step__icon .icon {
  width: 18px;
  height: 18px;
}

.step h3 {
  margin-top: 22px;
  color: #fff;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.step p {
  margin-top: 9px;
  color: rgba(208, 221, 246, 0.58);
  font-size: 12.5px;
  line-height: 1.8;
}

.step__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: #8fb4ff;
  font-size: 11px;
  font-weight: 700;
}

.step__link .icon {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}

.step__link:hover .icon {
  transform: translateX(3px);
}

.copy-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 7px 7px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(2, 9, 24, 0.48);
}

.copy-field code {
  overflow: hidden;
  color: #8fb1f6;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #b5c8ed;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 0.2s, color 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.copy-btn .icon {
  width: 12px;
  height: 12px;
}

.step__switch-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  color: rgba(221, 231, 250, 0.66);
  font-size: 10.5px;
}

.step__switch-row .switch {
  width: 28px;
  height: 15px;
}

.step__switch-row .switch i {
  width: 11px;
  height: 11px;
}

.step__switch-row .switch.is-on i {
  left: 14px;
}

.step__switch-row b {
  color: #44d6a6;
  font-size: 9px;
  font-weight: 700;
}

.quickstart__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(199, 214, 243, 0.6);
  font-size: 10px;
  line-height: 1.65;
}

.quickstart__note-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(81, 131, 255, 0.12);
  color: #84a9ff;
  flex: 0 0 auto;
}

.quickstart__note-icon .icon {
  width: 15px;
  height: 15px;
}

.quickstart__note p {
  flex: 1;
}

.quickstart__note strong {
  color: rgba(232, 240, 255, 0.86);
  font-weight: 700;
}

.quickstart__note a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8fb4ff;
  font-weight: 700;
  white-space: nowrap;
}

.quickstart__note a .icon {
  width: 11px;
  height: 11px;
}

/* ---------- Advanced ---------- */
.advanced {
  background: #fff;
}

.advanced-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(600px 240px at 92% 0%, rgba(77, 132, 255, 0.06), transparent 70%),
    #fff;
  box-shadow: 0 36px 80px -64px rgba(10, 32, 85, 0.5);
}

.advanced-tabs {
  display: flex;
  gap: 5px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: #f8faff;
  overflow-x: auto;
  scrollbar-width: none;
}

.advanced-tabs::-webkit-scrollbar {
  display: none;
}

.advanced-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #707c93;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.advanced-tab .icon {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.advanced-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.advanced-tab.is-active {
  border-color: rgba(38, 91, 255, 0.1);
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 20px -16px rgba(10, 32, 85, 0.5);
}

.advanced-panel {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  padding: 38px 42px;
}

.advanced-panel.is-active {
  display: grid;
  animation: panel-in 0.45s var(--ease);
}

.advanced-copy h3 {
  margin-top: 15px;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.23;
}

.advanced-copy p {
  margin-top: 13px;
  color: #6c778d;
  font-size: 13px;
  line-height: 1.8;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #5d6a82;
  font-size: 10.5px;
  line-height: 1.55;
}

.check-list .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--green);
}

.advanced-copy .text-link {
  margin-top: 22px;
}

.code-window {
  align-self: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: #071126;
  box-shadow:
    0 30px 60px -40px rgba(4, 15, 38, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 37px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.code-window__bar > span {
  display: flex;
  gap: 4px;
}

.code-window__bar > span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff6b61;
}

.code-window__bar > span i:nth-child(2) { background: #ffc04a; }
.code-window__bar > span i:nth-child(3) { background: #36c95c; }

.code-window__bar b {
  color: rgba(207, 222, 251, 0.56);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.code-window__bar .copy-btn {
  width: 25px;
  height: 25px;
  margin-left: auto;
  border-color: rgba(255, 255, 255, 0.08);
}

.code-window__body {
  display: flex;
  min-height: 240px;
}

.code-gutter {
  padding: 16px 9px 16px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.045);
  color: rgba(102, 125, 170, 0.45);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.95;
  text-align: right;
  user-select: none;
}

.code-window pre {
  flex: 1;
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  color: #c8d6f4;
  font-size: 10px;
  line-height: 1.95;
  tab-size: 2;
}

.code-window pre code {
  font-family: var(--font-mono);
}

.c-key { color: #8fb1ff; }
.c-str { color: #78e3cc; }
.c-val { color: #d8b0ff; }
.c-tag { color: #ffd17a; }
.c-num { color: #ffa6c5; }

/* ---------- Compare ---------- */
.compare {
  background:
    radial-gradient(640px 340px at 10% 10%, rgba(72, 127, 255, 0.07), transparent 64%),
    #f6f8fc;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-wrap {
  max-width: 940px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(13, 31, 68, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px -60px rgba(10, 32, 85, 0.5);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table thead th {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  color: #8b95a9;
  font-size: 10px;
  font-weight: 750;
  text-align: left;
}

.compare-table thead th:first-child {
  width: 26%;
}

.compare-table thead th.is-clash {
  border-left: 1px solid rgba(38, 91, 255, 0.08);
  border-right: 1px solid rgba(38, 91, 255, 0.08);
  background: #f5f8ff;
  color: #2b54b8;
}

.compare-table thead th.is-clash span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #203a75;
  font-size: 12px;
  font-weight: 800;
}

.compare-table thead th.is-clash img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(13, 31, 68, 0.055);
  font-size: 11.5px;
  text-align: left;
}

.compare-table tbody th {
  color: #34425d;
  font-weight: 750;
}

.compare-table tbody td {
  color: #8590a4;
}

.compare-table tbody td.is-clash {
  border-left: 1px solid rgba(38, 91, 255, 0.08);
  border-right: 1px solid rgba(38, 91, 255, 0.08);
  background: #f8faff;
  color: #425577;
  font-weight: 600;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table td .icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -2px;
}

.icon--yes { color: var(--green); }
.icon--no { color: #c3cad8; }

/* ---------- FAQ ---------- */
.faq {
  background: #fff;
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: start;
}

.faq__intro {
  position: sticky;
  top: calc(var(--header-h) + 38px);
}

.faq__intro h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.14;
}

.faq__intro > p {
  max-width: 370px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.faq__help {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 390px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(38, 91, 255, 0.1);
  border-radius: 15px;
  background:
    radial-gradient(200px 150px at 100% 0%, rgba(76, 133, 255, 0.12), transparent 70%),
    #f8faff;
}

.faq__help-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
  flex: 0 0 auto;
}

.faq__help-icon .icon {
  width: 17px;
  height: 17px;
}

.faq__help strong {
  display: block;
  color: #283751;
  font-size: 12px;
  font-weight: 750;
}

.faq__help p {
  margin-top: 4px;
  color: #7c879b;
  font-size: 10px;
  line-height: 1.6;
}

.faq__help a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  color: var(--blue);
  font-size: 9.5px;
  font-weight: 700;
}

.faq__help a .icon {
  width: 10px;
  height: 10px;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 2px;
  color: #263550;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue);
}

.faq-item__icon {
  position: relative;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  background: #63708a;
  transform: translate(-50%, -50%);
  transition: transform 0.25s, background-color 0.25s;
}

.faq-item__icon::before {
  width: 9px;
  height: 1.5px;
}

.faq-item__icon::after {
  width: 1.5px;
  height: 9px;
}

.faq-item[open] .faq-item__icon {
  border-color: rgba(38, 91, 255, 0.2);
  background: var(--blue-soft);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
  background: var(--blue);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-item__answer {
  padding: 0 36px 20px 2px;
}

.faq-item__answer p {
  color: #6f7a90;
  font-size: 12.5px;
  line-height: 1.85;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 0 0 112px;
  background: #fff;
}

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 62px 64px;
  border-radius: 30px;
  background:
    radial-gradient(720px 360px at 84% 18%, rgba(65, 126, 255, 0.46), transparent 62%),
    radial-gradient(500px 300px at 5% 100%, rgba(18, 184, 218, 0.24), transparent 66%),
    linear-gradient(135deg, #07142d 0%, #0a1e43 54%, #0c2d68 100%);
  box-shadow: 0 44px 100px -52px rgba(8, 27, 75, 0.8);
}

.cta__glow {
  position: absolute;
  top: -30%;
  right: 10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(58, 118, 255, 0.18);
  filter: blur(60px);
}

.cta__copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.cta__eyebrow {
  color: #8fb4ff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.cta h2 {
  margin-top: 15px;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 51px);
  font-weight: 800;
  letter-spacing: -0.052em;
  line-height: 1.14;
}

.cta p {
  max-width: 470px;
  margin-top: 16px;
  color: rgba(210, 223, 248, 0.66);
  font-size: 14px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cta__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 24px;
  color: rgba(184, 204, 240, 0.52);
  font-size: 9.5px;
  font-weight: 600;
}

.cta__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cta__meta .icon {
  width: 11px;
  height: 11px;
  color: #46d9ab;
}

.cta__visual {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 330px;
  height: 330px;
  transform: translateY(-50%);
}

.cta__cat {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 25%, #ffffff 0%, #f3f7ff 68%, #e8efff 100%);
  box-shadow:
    0 28px 60px -24px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(90, 142, 255, 0.22);
  transform: translate(-50%, -50%);
}

.cta__cat img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.cta__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(134, 173, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta__ring--1 {
  width: 256px;
  height: 256px;
  animation: spin 30s linear infinite;
}

.cta__ring--1::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fdff2;
  box-shadow: 0 0 16px 4px rgba(111, 223, 242, 0.5);
}

.cta__ring--2 {
  width: 326px;
  height: 326px;
  border-style: dashed;
  border-color: rgba(134, 173, 255, 0.11);
  animation: spin 46s linear infinite reverse;
}

.cta__chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(9, 26, 56, 0.7);
  color: rgba(219, 232, 255, 0.8);
  font-size: 8px;
  font-weight: 650;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cta__chip .icon {
  width: 11px;
  height: 11px;
  color: #65e4be;
}

.cta__chip--1 {
  top: 34px;
  left: 0;
}

.cta__chip--2 {
  right: 0;
  bottom: 44px;
}

.cta__chip--2 .icon {
  color: #83b4ff;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 66px 0 26px;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(34, 82, 182, 0.16), transparent 66%),
    #050b18;
  color: rgba(186, 201, 229, 0.62);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, minmax(0, 0.72fr));
  gap: 36px;
  padding-bottom: 42px;
}

.footer__brand .brand--footer .brand__mark {
  width: 40px;
  height: 40px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}

.footer__brand .brand__text strong {
  color: #fff;
}

.footer__brand .brand__text small {
  color: rgba(158, 177, 211, 0.55);
}

.footer__brand p {
  max-width: 275px;
  margin-top: 17px;
  color: rgba(170, 188, 221, 0.55);
  font-size: 11.5px;
  line-height: 1.8;
}

.footer__github {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: rgba(195, 212, 243, 0.7);
  font-size: 9px;
  font-weight: 650;
  transition: color 0.2s, border-color 0.2s;
}

.footer__github:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.footer__github .icon {
  width: 11px;
  height: 11px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h3 {
  margin-bottom: 4px;
  color: #edf3ff;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.footer__col a {
  color: rgba(170, 188, 221, 0.58);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__bottom p {
  max-width: 720px;
  color: rgba(146, 165, 198, 0.44);
  font-size: 9.5px;
  line-height: 1.7;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(159, 178, 210, 0.48);
  font-size: 9px;
  white-space: nowrap;
}

.footer__bottom-links span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer__bottom-links span:first-child i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #28c592;
  box-shadow: 0 0 0 3px rgba(40, 197, 146, 0.1);
}

.footer__bottom-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.footer__bottom-links a:hover {
  color: #fff;
}

.footer__bottom-links .icon {
  width: 10px;
  height: 10px;
}

/* ---------- Back to top / toast ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(13, 31, 68, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #45536d;
  box-shadow: 0 16px 36px -20px rgba(8, 25, 65, 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, color 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  color: var(--blue);
}

.back-to-top .icon {
  width: 17px;
  height: 17px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(8, 18, 38, 0.94);
  color: #e8f0ff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .desktop-nav {
    gap: 21px;
    margin-left: 10px;
  }

  .header__github span {
    display: none;
  }

  .header__github {
    width: 38px;
    justify-content: center;
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(48px, 5.4vw, 66px);
  }

  .float-card--tun {
    left: -15px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .header__actions {
    gap: 8px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero__grid-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 40px;
  }

  .hero__copy {
    max-width: 730px;
  }

  .hero h1 {
    font-size: clamp(48px, 7.5vw, 70px);
  }

  .hero__lead {
    max-width: 620px;
  }

  .hero__visual {
    width: min(100%, 720px);
    margin: 14px auto 0;
    padding-inline: 4px;
  }

  .mockup {
    transform: none;
  }

  .hero__visual:hover .mockup {
    transform: translateY(-2px);
  }

  .platform-strip {
    gap: 18px;
  }

  .platform-strip p {
    display: none;
  }

  .bento__rules {
    grid-column: span 12;
  }

  .bento__speed {
    grid-column: span 12;
    min-height: 360px;
  }

  .bento__privacy,
  .bento__tun,
  .bento__platform {
    grid-column: span 4;
  }

  .bento__profiles {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .platforms-shell {
    grid-template-columns: 244px minmax(0, 1fr);
  }

  .platform-panel {
    padding: 30px 28px 26px;
  }

  .advanced-panel {
    gap: 30px;
    padding: 32px 30px;
  }

  .advanced-copy h3 {
    font-size: 27px;
  }

  .faq__layout {
    gap: 50px;
  }

  .footer__top {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 0.7fr));
    gap: 22px;
  }

  .cta__visual {
    right: 1%;
    transform: translateY(-50%) scale(0.88);
  }
}

@media (max-width: 880px) {
  .section {
    padding: 88px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 40px;
  }

  .section-head__lead {
    max-width: 620px;
    margin-top: 17px;
    padding-bottom: 0;
  }

  .section-head--center {
    display: block;
  }

  .section-head--center .section-head__lead {
    margin-top: 15px;
  }

  .platforms-intro {
    max-width: 620px;
    margin-top: 17px;
  }

  .metrics__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
    padding: 26px 0;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(3) {
    padding-left: 4px;
  }

  .metric:first-child,
  .metric:nth-child(3) {
    padding-left: 4px;
  }

  .bento__privacy,
  .bento__tun {
    grid-column: span 6;
  }

  .bento__platform {
    grid-column: span 12;
    min-height: 260px;
  }

  .platform-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bento__profiles {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .profiles__visual {
    min-height: 240px;
  }

  .profile-card {
    left: 8%;
  }

  .profile-card--1 { left: 8%; }
  .profile-card--2 { left: 21%; }
  .profile-card--3 { left: 12%; }

  .local-download {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 24px;
  }

  .platforms-shell {
    grid-template-columns: 1fr;
  }

  .platform-tabs {
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .platform-tabs::-webkit-scrollbar {
    display: none;
  }

  .platform-tab {
    width: auto;
    min-width: 152px;
    min-height: 54px;
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .platform-tab__recommend {
    display: none;
  }

  .platform-tab__arrow {
    display: none;
  }

  .platform-tabs__foot {
    display: none;
  }

  .platform-panel {
    min-height: 0;
    padding: 28px;
  }

  .panel__note {
    margin-top: 18px;
  }

  .compat-matrix {
    padding-inline: 18px;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .step p {
    max-width: 520px;
  }

  .copy-field,
  .step__switch-row {
    margin-top: 20px;
  }

  .step__link {
    margin-top: 20px;
    padding-top: 0;
  }

  .advanced-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .advanced-copy h3 {
    font-size: 29px;
  }

  .code-window pre {
    font-size: 10.5px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq__intro {
    position: static;
  }

  .faq__intro > p,
  .faq__help {
    max-width: 620px;
  }

  .cta {
    padding: 48px 38px;
  }

  .cta__visual {
    right: -95px;
    opacity: 0.4;
  }

  .cta__copy {
    max-width: 540px;
  }

  .cta__chip {
    display: none;
  }

  .footer__top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand p {
    max-width: 440px;
  }

  .footer__bottom {
    display: block;
  }

  .footer__bottom-links {
    margin-top: 14px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }

  .local-download {
    padding: 22px 18px;
  }

  .local-download__copy h3 {
    font-size: 24px;
  }

  .topbar__hide,
  .topbar__sep {
    display: none;
  }

  .header__github {
    display: none;
  }

  .header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .brand__text small {
    font-size: 6.5px;
  }

  .header__cta span {
    display: none;
  }

  .header__cta {
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .hero {
    padding-top: 39px;
  }

  .eyebrow {
    gap: 7px;
    min-height: 31px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 19px;
    font-size: clamp(40px, 11vw, 58px);
    letter-spacing: -0.055em;
  }

  .hero__lead {
    margin-top: 0;
    font-size: 14.5px;
    line-height: 1.78;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__actions .btn {
    flex: 1;
    min-width: 145px;
    padding-inline: 16px;
    font-size: 13.5px;
  }

  .hero__meta {
    gap: 12px;
    margin-top: 20px;
    font-size: 10px;
  }

  .hero__meta li:nth-child(5) {
    display: none;
  }

  .hero__trust {
    display: block;
    margin-top: 20px;
    padding-top: 16px;
  }

  .hero__trust p {
    margin-top: 8px;
  }

  .hero__visual {
    margin-top: 22px;
  }

  .mockup__app {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 380px;
  }

  .mockup__side {
    padding-inline: 5px;
  }

  .mockup__main {
    padding: 12px 10px 9px;
  }

  .side__item {
    padding-inline: 5px;
    gap: 5px;
    font-size: 7.5px;
  }

  .side__item .icon {
    width: 10px;
    height: 10px;
  }

  .side__brand {
    font-size: 8px;
  }

  .quick {
    font-size: 6.5px;
    padding-inline: 5px;
  }

  .quick em {
    display: none;
  }

  .node {
    grid-template-columns: 18px minmax(0, 1fr) 52px;
  }

  .node__latency i {
    width: 20px;
  }

  .node__latency b {
    font-size: 6px;
  }

  .float-card--speed {
    top: -10px;
    right: -5px;
  }

  .float-card--tun {
    left: -5px;
    bottom: 2px;
  }

  .platform-strip {
    display: block;
    padding: 17px 0 22px;
  }

  .platform-strip ul {
    gap: 11px 17px;
    margin-top: 10px;
  }

  .platform-strip__status {
    display: none;
  }

  .section {
    padding: 74px 0;
  }

  .section-head h2,
  .faq__intro h2,
  .cta h2 {
    font-size: clamp(34px, 9vw, 45px);
  }

  .section-head__lead {
    font-size: 14px;
  }

  .metrics__grid {
    gap: 18px 0;
  }

  .metric {
    padding: 0 14px;
  }

  .metric strong {
    font-size: 30px;
  }

  .metric > span {
    font-size: 10px;
  }

  .bento {
    gap: 12px;
  }

  .bento__card {
    padding: 23px;
    border-radius: 20px;
  }

  .bento__rules,
  .bento__speed,
  .bento__privacy,
  .bento__tun,
  .bento__platform,
  .bento__profiles {
    grid-column: span 12;
  }

  .bento__rules {
    min-height: 420px;
  }

  .bento__speed {
    min-height: 330px;
  }

  .bento__rules h3 {
    font-size: 27px;
  }

  .bento__card h3,
  .profiles__copy h3 {
    font-size: 24px;
  }

  .rule-row {
    grid-template-columns: 84px minmax(0, 1fr) 48px;
    gap: 7px;
  }

  .rule-type {
    font-size: 6.5px;
  }

  .rule-row code {
    font-size: 8.5px;
  }

  .latency-row {
    grid-template-columns: 23px 65px minmax(0, 1fr) 38px;
  }

  .bento__profiles {
    padding: 28px 23px;
  }

  .profiles__visual {
    min-height: 230px;
  }

  .profile-card {
    width: 88%;
  }

  .profile-card--1 { left: 2%; }
  .profile-card--2 { left: 9%; }
  .profile-card--3 { left: 4%; }

  .platforms-shell {
    border-radius: 20px;
  }

  .platform-panel {
    padding: 24px 19px 22px;
  }

  .panel__head {
    gap: 10px;
  }

  .panel__app-icon {
    width: 46px;
    height: 46px;
  }

  .panel__title h3 {
    font-size: 21px;
  }

  .panel__ver {
    display: none;
  }

  .panel__identity p {
    font-size: 11.5px;
  }

  .panel__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 14px;
  }

  .compat-matrix {
    padding: 18px 14px 8px;
    border-radius: 16px;
  }

  .compat-matrix__head {
    align-items: flex-start;
  }

  .compat-matrix__head span {
    text-align: right;
  }

  .compat-matrix table {
    min-width: 0;
    width: 100%;
    display: block;
  }

  .compat-matrix thead {
    display: none;
  }

  .compat-matrix tbody {
    display: grid;
    gap: 8px;
  }

  .compat-matrix tbody tr {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
  }

  .compat-matrix tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
    border: 0;
    white-space: normal;
  }

  .compat-matrix tbody td::before {
    content: attr(data-label);
    color: #98a2b4;
    font-size: 9px;
    font-weight: 700;
  }

  .compat-matrix tbody td:first-child {
    display: block;
    padding: 0 0 7px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .compat-matrix tbody td:first-child::before {
    display: none;
  }

  .advanced-tabs {
    padding: 8px;
  }

  .advanced-tab {
    height: 35px;
    padding-inline: 11px;
    font-size: 10px;
  }

  .advanced-panel {
    padding: 24px 19px;
  }

  .advanced-copy h3 {
    font-size: 26px;
  }

  .code-window pre {
    padding: 14px;
    font-size: 9.5px;
  }

  .code-gutter {
    padding: 14px 6px 14px 9px;
    font-size: 8.5px;
  }

  .compare-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .compare-table {
    min-width: 0;
    display: block;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tbody {
    display: grid;
    gap: 10px;
  }

  .compare-table tbody tr {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(13, 31, 68, 0.1);
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 16px 34px -34px rgba(10, 32, 85, 0.45);
  }

  .compare-table tbody th {
    display: block;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: #f8faff;
    font-size: 12.5px;
  }

  .compare-table tbody td {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 9px 14px;
    border: 0;
    border-bottom: 1px solid rgba(13, 31, 68, 0.055);
    border-left: 0;
    border-right: 0;
    background: #fff !important;
    font-size: 11px;
    line-height: 1.55;
  }

  .compare-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 68px;
    padding-top: 1px;
    color: #97a1b4;
    font-size: 8.5px;
    font-weight: 750;
    letter-spacing: 0.02em;
  }

  .compare-table tbody td.is-clash::before {
    content: "Clash";
    color: #315cc1;
  }

  .compare-table tbody td:not(.is-clash)::before {
    content: "传统代理";
  }

  .compare-table tbody td:last-child {
    border-bottom: 0;
  }

  .compare-table tbody td .icon {
    margin-top: 2px;
  }

  .faq-item summary {
    padding: 18px 0;
    font-size: 13.5px;
  }

  .faq-item__answer {
    padding-right: 20px;
  }

  .faq-item__answer p {
    font-size: 12px;
  }

  .cta-section {
    padding-bottom: 74px;
  }

  .cta {
    min-height: 0;
    padding: 40px 26px;
    border-radius: 24px;
  }

  .cta__visual {
    right: -135px;
    transform: translateY(-50%) scale(0.78);
    opacity: 0.3;
  }

  .cta p {
    font-size: 13px;
  }

  .cta__actions .btn {
    flex: 1;
    min-width: 155px;
  }

  .cta__meta {
    gap: 10px;
  }

  .site-footer {
    padding-top: 50px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom-links {
    flex-wrap: wrap;
    gap: 10px 14px;
    white-space: normal;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .toast {
    bottom: 66px;
  }
}

@media (max-width: 480px) {
  .topbar {
    font-size: 10.5px;
  }

  .topbar__inner {
    height: 34px;
  }

  .mockup__app {
    grid-template-columns: 1fr;
  }

  .mockup__side {
    display: none;
  }

  .mockup__main {
    padding: 13px 11px 10px;
  }

  .mockup__heading {
    font-size: 15px;
  }

  .float-card--speed {
    padding: 8px 10px;
    gap: 7px;
  }

  .float-card--speed .spark {
    display: none;
  }

  .float-card--tun {
    padding: 8px 10px;
  }

  .float-card__icon {
    width: 27px;
    height: 27px;
  }

  .float-card strong {
    font-size: 13px;
  }

  .mockup__foot {
    font-size: 5.5px;
  }

  .hero__actions .btn {
    min-width: 100%;
  }

  .hero__trust-badges {
    gap: 10px;
  }

  .platform-strip li {
    font-size: 9.5px;
  }

  .bento__rules {
    min-height: 450px;
  }

  .rules-orbit {
    right: -150px;
  }

  .tun-demo {
    transform: scale(0.92);
  }

  .platform-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-card {
    width: 94%;
  }

  .profile-card--1 { left: 0; }
  .profile-card--2 { left: 4%; }
  .profile-card--3 { left: 1%; }

  .panel__identity {
    gap: 10px;
  }

  .panel__title h3 {
    font-size: 19px;
  }

  .badge {
    height: 17px;
    font-size: 6.5px;
  }

  .safety-card {
    padding: 15px;
  }

  .quickstart__note {
    display: block;
  }

  .quickstart__note-icon {
    margin-bottom: 10px;
  }

  .quickstart__note a {
    margin-top: 9px;
  }

  .advanced-tabs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .advanced-tab {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
    height: 34px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .advanced-tab .icon {
    width: 12px;
    height: 12px;
  }

  .cta__visual {
    display: none;
  }

  .cta__actions .btn {
    flex: 1 1 100%;
  }

  .footer__bottom-links span:nth-child(2) {
    display: none;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .chart-line {
    stroke-dashoffset: 0;
  }

  .chart-area,
  .chart-dot {
    opacity: 1;
  }
}
