﻿:root {
  --ink: #101214;
  --ink-2: #2e3338;
  --muted: #68717b;
  --line: rgba(16, 18, 20, 0.1);
  --paper: #f6f7f4;
  --surface: rgba(255, 255, 255, 0.86);
  --white: #fff;
  --blue: #0b6dff;
  --blue-2: #0050c8;
  --green: #18a76f;
  --gold: #c9902e;
  --red: #dc3d3d;
  --shadow: 0 18px 44px rgba(16, 18, 20, 0.12);
  --shadow-soft: 0 8px 24px rgba(16, 18, 20, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }

.site-shell {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(246,247,244,0.98) 760px),
    radial-gradient(circle at 15% 8%, rgba(24,167,111,0.1), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(11,109,255,0.11), transparent 30%),
    var(--paper);
}
.ai-shell {
  color: #eef7ff;
  background:
    linear-gradient(180deg, #06080c 0%, #0a0f17 46%, #06080c 100%);
}
.ai-nav {
  background: rgba(6, 8, 12, 0.72);
  border-color: rgba(132, 214, 255, 0.12);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  background: rgba(16, 18, 20, 0.44);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--white);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(16,18,20,0.06);
}
.nav.nav-light {
  background: rgba(255,255,255,0.94);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(16,18,20,0.06);
}
.nav-inner {
  max-width: var(--max);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.16rem;
  font-weight: 850;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 20px rgba(11,109,255,.28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .94rem;
  font-weight: 650;
}
.nav-links a { opacity: .84; }
.nav-links a:hover { opacity: 1; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 760;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 24px rgba(11,109,255,.22);
}
.btn-dark {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}
.btn-ghost {
  color: inherit;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.nav.is-scrolled .btn-ghost {
  background: rgba(16,18,20,.04);
  border-color: var(--line);
}
.nav.nav-light .btn-ghost {
  background: rgba(16,18,20,.04);
  border-color: var(--line);
}
.btn-line {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-green {
  color: white;
  background: linear-gradient(135deg, var(--green), #0d8053);
}

.hero {
  position: relative;
  min-height: 92vh;
  color: white;
  display: grid;
  align-items: end;
  padding: 128px 24px 76px;
  background:
    linear-gradient(90deg, rgba(8,10,12,.86) 0%, rgba(8,10,12,.64) 46%, rgba(8,10,12,.26) 100%),
    linear-gradient(180deg, rgba(8,10,12,.20) 0%, rgba(8,10,12,.88) 100%),
    url("../images/bjt.webp") center/cover no-repeat;
}
.ai-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 124px 24px 72px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(6,8,12,0.96) 0%, rgba(8,14,24,0.92) 48%, rgba(4,8,14,0.98) 100%);
}
.ai-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .74;
  background:
    linear-gradient(rgba(95, 219, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 219, 255, .08) 1px, transparent 1px),
    linear-gradient(120deg, transparent 0 38%, rgba(0, 102, 255, .12) 38.2%, transparent 39% 100%);
  background-size: 58px 58px, 58px 58px, 100% 100%;
  mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
}
.ai-hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 208, 255, .9), transparent);
}
.ai-hero::after {
  content: "";
  position: absolute;
  right: 6vw;
  top: 18vh;
  width: min(46vw, 620px);
  height: min(46vw, 620px);
  border: 1px solid rgba(103, 232, 249, .14);
  background:
    linear-gradient(90deg, transparent 49%, rgba(103,232,249,.16) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(103,232,249,.16) 50%, transparent 51%);
  transform: perspective(900px) rotateX(58deg) rotateZ(-28deg);
}
.ai-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: center;
}
.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7dd3fc;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.ai-hero h1 {
  max-width: 760px;
  margin: 22px 0 22px;
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  line-height: .92;
  letter-spacing: 0;
}
.ai-hero p {
  max-width: 700px;
  margin: 0 0 32px;
  color: rgba(238,247,255,.72);
  font-size: 1.12rem;
}
.ai-console {
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12,20,30,.88), rgba(7,11,17,.96));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
}
.console-head {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(125, 211, 252, .14);
  color: rgba(238,247,255,.72);
  font-size: .78rem;
  letter-spacing: .12em;
}
.console-head span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7dd3fc;
}
.console-head span:nth-child(2) { background: #22c55e; }
.console-head span:nth-child(3) { background: #f59e0b; }
.console-head strong { margin-left: auto; }
.console-body { padding: 24px; }
.signal-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(125, 211, 252, .1);
  color: rgba(238,247,255,.56);
  font-size: .82rem;
}
.signal-row strong { color: #e0f2fe; }
.signal-bars {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 10px;
  margin: 24px 0;
}
.signal-bars i {
  flex: 1;
  display: block;
  min-height: 26px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #67e8f9, #0b6dff);
  box-shadow: 0 0 24px rgba(103,232,249,.18);
}
.node-map {
  position: relative;
  height: 150px;
  border: 1px solid rgba(125, 211, 252, .12);
  background:
    linear-gradient(90deg, rgba(125,211,252,.07) 1px, transparent 1px),
    linear-gradient(rgba(125,211,252,.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.node-map::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(103,232,249,.2), rgba(34,197,94,.9), rgba(103,232,249,.2));
}
.node-map span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67e8f9;
  box-shadow: 0 0 18px rgba(103,232,249,.8);
}
.ai-band {
  padding: 54px 24px;
  background: #071019;
  border-block: 1px solid rgba(125, 211, 252, .12);
}
.ai-band-inner,
.ai-download-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}
.ai-band h2,
.ai-download-inner h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}
.ai-use-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ai-use-list div,
.ai-feature-grid article {
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 18px;
}
.ai-use-list i {
  color: #67e8f9;
  font-size: 1.25rem;
}
.ai-use-list strong,
.ai-use-list span {
  display: block;
}
.ai-use-list strong { margin-top: 16px; }
.ai-use-list span {
  color: rgba(238,247,255,.56);
  font-size: .9rem;
  margin-top: 3px;
}
.ai-section {
  background: #06080c;
}
.ai-section .section-title,
.ai-section .section-copy {
  color: #eef7ff;
}
.ai-section .section-copy { color: rgba(238,247,255,.62); }
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.ai-feature-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
}
.ai-feature-grid span {
  color: #67e8f9;
  font-size: .86rem;
  font-weight: 850;
}
.ai-feature-grid h3 {
  margin: auto 0 10px;
  font-size: 1.35rem;
}
.ai-feature-grid p {
  margin: 0;
  color: rgba(238,247,255,.62);
}
.ai-download-strip {
  padding: 72px 24px;
  background:
    linear-gradient(90deg, rgba(11,109,255,.16), transparent 36%),
    #0c1117;
  border-block: 1px solid rgba(125, 211, 252, .12);
}
.ai-download-inner p {
  margin: 10px 0 0;
  color: rgba(238,247,255,.62);
}
.ai-footer {
  background: #06080c;
  border-color: rgba(125,211,252,.1);
}
.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(12px);
  font-size: .88rem;
  font-weight: 720;
}
.hero h1 {
  max-width: 760px;
  margin: 24px 0 18px;
  font-size: clamp(2.55rem, 6vw, 5.8rem);
  line-height: .98;
  letter-spacing: 0;
}
.hero-lead {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.82);
  font-size: 1.16rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 58px;
}
.proof-item {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
}
.proof-value {
  display: block;
  font-size: 1.45rem;
  font-weight: 850;
}
.proof-label {
  display: block;
  color: rgba(255,255,255,.68);
  font-size: .88rem;
  margin-top: 4px;
}

.section {
  padding: 92px 24px;
}
.section.compact { padding: 64px 24px; }
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.section-kicker {
  color: var(--blue);
  font-size: .86rem;
  font-weight: 850;
}
.section-title {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.section-copy {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.logo-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  min-height: 86px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.logo-tile img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}
.card.dark {
  color: white;
  background: #141719;
  border-color: rgba(255,255,255,.08);
}
.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  margin-bottom: 18px;
}
.card h3, .card h2 { margin: 0 0 10px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); }
.card.dark p { color: rgba(255,255,255,.68); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}
.panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}
.panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.steps {
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.step-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-weight: 850;
}

.cta-band {
  color: white;
  background: #111416;
  border-block: 1px solid rgba(255,255,255,.08);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-inner h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-inner p { margin: 0; color: rgba(255,255,255,.68); }

.faq-list {
  display: grid;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 780;
  color: var(--ink);
  text-align: left;
}
.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.page-hero {
  padding: 132px 24px 48px;
}
.page-hero .container {
  display: grid;
  gap: 16px;
}
.page-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}
.page-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.speed-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 18px;
  align-items: start;
}
.status-panel {
  position: sticky;
  top: 92px;
  color: white;
  border-radius: var(--radius);
  padding: 26px;
  background: #111416;
  box-shadow: var(--shadow);
}
.status-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-size: 1.7rem;
}
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  margin: 22px 0 10px;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), #fff);
  transition: width .25s ease;
}
.status-meta, .stats-row {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.66);
  font-size: .9rem;
}
.stats-row {
  gap: 10px;
  margin-top: 22px;
}
.stat-box {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.stat-box strong { display: block; color: white; font-size: 1.25rem; }
.line-list {
  display: grid;
  gap: 12px;
}
.line-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.line-top, .line-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.line-url { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; word-break: break-all; }
.line-tag {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .75rem;
  color: white;
  background: var(--blue);
}
.line-card.success { border-color: rgba(24,167,111,.34); }
.line-card.failed { border-color: rgba(220,61,61,.28); }
.line-card.best { box-shadow: 0 0 0 3px rgba(24,167,111,.16), var(--shadow-soft); }
.line-latency.fast { color: var(--green); }
.line-latency.medium { color: var(--gold); }
.line-latency.slow { color: var(--red); }

.download-grid, .device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.device-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 24px;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.device-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11,109,255,.32);
  box-shadow: var(--shadow);
}
.device-card.detected { border-color: rgba(24,167,111,.48); }
.device-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--ink);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.smart-recommend {
  display: none;
  border: 1px solid rgba(24,167,111,.24);
  border-radius: var(--radius);
  background: rgba(24,167,111,.08);
  padding: 18px;
  margin: 22px 0 0;
}
.smart-recommend.show { display: block; }
.smart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(16,18,20,.66);
  backdrop-filter: blur(10px);
}
.modal.active { display: flex; }
.modal-content {
  width: min(720px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  border-radius: var(--radius);
  background: #111416;
  color: white;
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}
.modal-head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  background: rgba(17,20,22,.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.modal-body { padding: 20px; }
.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  color: white;
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.download-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 16px 0;
}
.download-item:last-child { border-bottom: 0; }
.download-name { font-weight: 780; }
.download-desc { color: rgba(255,255,255,.62); font-size: .88rem; margin-top: 3px; }
.download-actions { display: flex; gap: 8px; }
.legacy-toggle {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: white;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.legacy-section { display: none; }
.legacy-section.open { display: block; }

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.guide-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.guide-card h2 {
  margin: 0 0 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.guide-card ul { margin: 10px 0 0 20px; color: var(--muted); }
.notice {
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(11,109,255,.08);
  border: 1px solid rgba(11,109,255,.18);
  margin: 16px 0;
}
.notice.warning {
  background: rgba(220,61,61,.08);
  border-color: rgba(220,61,61,.22);
}
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tutorial-grid figure { margin: 0; }
.tutorial-grid figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.instruction-image, .tutorial-image {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: white;
  cursor: zoom-in;
}
.image-viewer img {
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  border-radius: var(--radius);
}

.footer {
  padding: 34px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  color: white;
  background: rgba(16,18,20,.92);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .nav-actions .btn-ghost { display: none; }
  .hero { min-height: 86vh; padding-top: 112px; }
  .hero-proof, .grid-3, .grid-2, .split, .speed-layout, .download-grid, .device-grid {
    grid-template-columns: 1fr;
  }
  .status-panel { position: static; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .logo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-hero-inner,
  .ai-band-inner,
  .ai-download-inner,
  .ai-feature-grid,
  .ai-use-list {
    grid-template-columns: 1fr;
  }
  .ai-console { max-width: 520px; }
}

@media (max-width: 560px) {
  .nav-inner { padding: 0 16px; min-height: 66px; }
  .brand span { font-size: 1rem; }
  .section, .page-hero { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 104px 16px 44px; }
  .hero-actions .btn, .download-actions .btn { width: 100%; }
  .hero-proof { margin-top: 34px; }
  .proof-item, .card, .guide-card, .device-card { padding: 18px; }
  .line-top, .line-bottom, .download-item { display: grid; grid-template-columns: 1fr; }
  .download-actions { display: grid; grid-template-columns: 1fr; }
  .tutorial-grid { grid-template-columns: 1fr; }
  .ai-hero { padding: 104px 16px 46px; }
  .ai-console { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* VELN brand landing */
.veln-home {
  min-height: 100vh;
  color: #f8fbff;
  background: #101058;
}
.veln-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.veln-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: white;
  background: rgba(16, 16, 88, .68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.veln-nav-inner {
  max-width: 1180px;
  min-height: 78px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.veln-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: .03em;
}
.veln-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2ef2ff, #0b6dff 55%, #7357ff);
  box-shadow: 0 14px 34px rgba(46, 242, 255, .25);
}
.veln-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}
.veln-nav-links a:hover { color: white; }
.veln-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.veln-primary-btn,
.veln-secondary-btn,
.veln-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.veln-primary-btn {
  color: white;
  background: linear-gradient(135deg, #e33d69, #c92157);
  box-shadow: 0 16px 36px rgba(227, 61, 105, .28);
}
.veln-primary-btn:hover,
.veln-secondary-btn:hover,
.veln-link-btn:hover { transform: translateY(-1px); }
.veln-secondary-btn,
.veln-link-btn {
  color: white;
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}
.veln-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  color: white;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}
.veln-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 136px 0 118px;
  background:
    radial-gradient(circle at 78% 18%, rgba(74, 82, 255, .45), transparent 32%),
    linear-gradient(135deg, #19166d 0%, #14145f 44%, #0a0b2d 100%);
}
.veln-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}
.veln-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(390px, .72fr);
  gap: 48px;
  align-items: center;
}
.veln-hero-label {
  margin: 0 0 22px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}
.veln-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(5rem, 12vw, 9.6rem);
  line-height: .82;
  letter-spacing: .03em;
  color: rgba(255,255,255,.84);
}
.veln-hero-lead {
  max-width: 680px;
  margin: 0 0 36px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.75;
}
.veln-hero-actions,
.veln-client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.veln-visual {
  position: relative;
  min-height: 520px;
}
.veln-orbit {
  position: relative;
  width: min(42vw, 500px);
  height: min(42vw, 500px);
  min-width: 360px;
  min-height: 360px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle, rgba(46,242,255,.2), transparent 26%),
    repeating-radial-gradient(circle, rgba(255,255,255,.12) 0 1px, transparent 1px 64px);
  box-shadow: inset 0 0 80px rgba(46,242,255,.1), 0 30px 80px rgba(0,0,0,.25);
}
.veln-orbit::before,
.veln-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(-18deg);
}
.veln-orbit::after {
  inset: 24%;
  transform: rotateX(62deg) rotateZ(32deg);
}
.veln-orbit .core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112px;
  height: 112px;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #2ef2ff, #0b6dff 54%, #e33d69);
  box-shadow: 0 0 70px rgba(46,242,255,.32);
}
.veln-orbit .core i { font-size: 1.7rem; }
.veln-orbit .core strong { font-size: 1.1rem; }
.veln-orbit .node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2ef2ff;
  box-shadow: 0 0 26px rgba(46,242,255,.9);
}
.veln-orbit .n1 { left: 12%; top: 44%; }
.veln-orbit .n2 { left: 33%; top: 12%; }
.veln-orbit .n3 { right: 14%; top: 32%; }
.veln-orbit .n4 { right: 28%; bottom: 12%; }
.veln-orbit .n5 { left: 26%; bottom: 22%; }
.veln-metrics {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin-left: auto;
}
.veln-metrics div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 4px;
  background: rgba(7, 9, 38, .72);
  backdrop-filter: blur(14px);
}
.veln-metrics span {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  font-weight: 800;
}
.veln-metrics strong {
  color: white;
  font-size: .82rem;
}
.hero-cut {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 104px;
  background: #f5f7fb;
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}
.veln-section {
  padding: 98px 0;
  color: #111827;
  background: #f5f7fb;
}
.veln-section-head {
  max-width: 760px;
  margin-bottom: 36px;
}
.veln-section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.veln-kicker {
  margin: 0 0 10px;
  color: #0b6dff;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.veln-section h2,
.client-layout h2,
.network-layout h2 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}
.veln-section p {
  color: #586272;
  font-size: 1.05rem;
}
.veln-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.veln-advantage-grid article {
  min-height: 245px;
  padding: 30px;
  border-radius: 4px;
  background: white;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 18px 48px rgba(17,24,39,.08);
}
.veln-advantage-grid i {
  color: #0b6dff;
  font-size: 2rem;
  margin-bottom: 34px;
}
.veln-advantage-grid h3 { margin: 0 0 10px; font-size: 1.35rem; }
.client-section {
  color: white;
  background: #111258;
}
.client-section p { color: rgba(255,255,255,.72); }
.client-layout {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 54px;
  align-items: center;
}
.client-terminal {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 6px;
  background: rgba(6,8,28,.72);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}
.client-terminal div {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.client-terminal i { color: #2ef2ff; font-size: 1.2rem; }
.client-terminal strong {
  color: rgba(255,255,255,.58);
  font-size: .82rem;
}
.network-section {
  background: #f5f7fb;
}
.network-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
}
.network-plate {
  position: relative;
  min-height: 430px;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(11,109,255,.1) 1px, transparent 1px),
    linear-gradient(rgba(11,109,255,.1) 1px, transparent 1px),
    linear-gradient(135deg, #151769, #0b0d37);
  background-size: 54px 54px, 54px 54px, 100% 100%;
  transform: skewY(-6deg);
  box-shadow: 0 34px 80px rgba(17,24,39,.18);
  overflow: hidden;
}
.network-plate::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2ef2ff, #e33d69, transparent);
}
.network-plate span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2ef2ff;
  box-shadow: 0 0 32px rgba(46,242,255,.75);
}
.network-plate span:nth-child(1) { left: 15%; top: 34%; }
.network-plate span:nth-child(2) { left: 38%; top: 58%; background: #e33d69; }
.network-plate span:nth-child(3) { right: 25%; top: 28%; }
.network-plate span:nth-child(4) { right: 13%; bottom: 26%; background: #e33d69; }
.network-points {
  display: grid;
  gap: 18px;
  margin: 26px 0 28px;
}
.network-points div {
  padding-left: 18px;
  border-left: 3px solid #0b6dff;
}
.network-points strong { font-size: 1.12rem; }
.network-points p { margin: 6px 0 0; }
.veln-footer {
  padding: 34px 0;
  color: rgba(255,255,255,.62);
  background: #0a0b2d;
}
.veln-footer .veln-container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .veln-nav-links { display: none; }
  .veln-menu-btn { display: inline-grid; place-items: center; }
  .veln-nav.open .veln-nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(16,16,88,.96);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 24px 60px rgba(0,0,0,.32);
  }
  .veln-nav.open .veln-nav-links a { padding: 13px; }
  .veln-hero-inner,
  .client-layout,
  .network-layout,
  .veln-advantage-grid {
    grid-template-columns: 1fr;
  }
  .veln-visual { min-height: 460px; }
  .veln-orbit { margin: 0 auto; }
  .network-plate { min-height: 320px; }
}
@media (max-width: 560px) {
  .veln-nav-actions .veln-link-btn { display: none; }
  .veln-nav-inner { padding: 0 16px; min-height: 72px; }
  .veln-hero { padding: 116px 0 96px; }
  .veln-hero-inner,
  .veln-container { padding-left: 18px; padding-right: 18px; }
  .veln-hero h1 { font-size: 4.8rem; }
  .veln-visual { display: none; }
  .veln-primary-btn,
  .veln-secondary-btn { width: 100%; }
  .veln-section { padding: 72px 0; }
  .client-terminal div { grid-template-columns: 30px 1fr; }
  .client-terminal strong { grid-column: 2; }
}

/* Clean VELN premium landing */
.veln-premium {
  min-height: 100vh;
  color: #eef3f8;
  background: #0b1118;
}
.premium-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.premium-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  background: rgba(9, 15, 22, .78);
  color: #eef3f8;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.premium-nav-inner {
  max-width: 1160px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.premium-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 1.24rem;
  font-weight: 900;
}
.premium-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #0b6dff, #13b981);
}
.premium-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(238,243,248,.72);
  font-size: .95rem;
  font-weight: 700;
}
.premium-links a:hover { color: white; }
.premium-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 820;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.premium-btn:hover { transform: translateY(-1px); }
.premium-btn.primary {
  color: white;
  background: linear-gradient(135deg, #0b6dff, #0050c8);
  box-shadow: 0 14px 28px rgba(11,109,255,.24);
}
.premium-btn.subtle {
  color: #eef3f8;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
}
.premium-menu {
  display: none;
  width: 42px;
  height: 42px;
  color: white;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}
.premium-hero {
  position: relative;
  overflow: hidden;
  min-height: 96vh;
  padding: 132px 0 86px;
  background:
    radial-gradient(circle at 72% 22%, rgba(11,109,255,.26), transparent 30%),
    linear-gradient(135deg, #0c1520 0%, #101b28 48%, #070b10 100%);
}
.premium-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, #000 56%, transparent 100%);
}
.premium-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 110px;
  background: #f4f7fa;
  clip-path: polygon(0 56%, 100% 0, 100% 100%, 0 100%);
}
.premium-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
}
.premium-label,
.premium-kicker {
  margin: 0 0 14px;
  color: #6dd8ff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.premium-copy h1 {
  max-width: 780px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: .95;
  letter-spacing: 0;
}
.premium-lead {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(238,243,248,.72);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.8;
}
.premium-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.premium-board {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.board-top {
  height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: rgba(238,243,248,.68);
  font-size: .8rem;
  letter-spacing: .12em;
  font-weight: 850;
}
.board-top strong { color: #22c55e; }
.board-route {
  height: 230px;
  display: flex;
  align-items: end;
  gap: 18px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
}
.board-route i {
  flex: 1;
  display: block;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #6dd8ff, #0b6dff);
  box-shadow: 0 0 22px rgba(109,216,255,.16);
}
.board-route i:nth-child(1) { height: 42%; }
.board-route i:nth-child(2) { height: 72%; }
.board-route i:nth-child(3) { height: 58%; }
.board-route i:nth-child(4) { height: 88%; }
.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.board-metrics div {
  padding: 18px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.board-metrics div:last-child { border-right: 0; }
.board-metrics span {
  display: block;
  color: rgba(238,243,248,.48);
  font-size: .72rem;
  font-weight: 850;
}
.board-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: .9rem;
}
.premium-section {
  padding: 94px 0;
}
.premium-section.service,
.premium-section.network {
  color: #101820;
  background: #f4f7fa;
}
.premium-head {
  max-width: 760px;
  margin-bottom: 34px;
}
.premium-head p {
  margin: 0 0 10px;
  color: #0b6dff;
  font-weight: 900;
  letter-spacing: .08em;
}
.premium-head h2,
.clients-inner h2,
.network-inner h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-grid article {
  min-height: 248px;
  padding: 28px;
  border: 1px solid rgba(16,24,32,.08);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 46px rgba(16,24,32,.08);
}
.service-grid span {
  color: #0b6dff;
  font-weight: 900;
}
.service-grid h3 {
  margin: 76px 0 10px;
  font-size: 1.35rem;
}
.service-grid p,
.clients-inner p,
.network-points p {
  color: #5e6875;
  line-height: 1.72;
}
.premium-section.clients {
  background: #111a24;
}
.clients-inner {
  display: grid;
  grid-template-columns: .88fr 1fr;
  gap: 54px;
  align-items: center;
}
.clients-inner p { color: rgba(238,243,248,.68); }
.client-list {
  display: grid;
  gap: 12px;
}
.client-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.055);
}
.client-list i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #6dd8ff;
  border-radius: 6px;
  background: rgba(109,216,255,.1);
}
.client-list span { font-weight: 820; }
.network-inner {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 58px;
  align-items: center;
}
.network-card {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(109,216,255,.12) 1px, transparent 1px),
    linear-gradient(rgba(109,216,255,.12) 1px, transparent 1px),
    linear-gradient(135deg, #101b28, #071019);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  box-shadow: 0 24px 70px rgba(16,24,32,.18);
}
.network-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 52%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6dd8ff, #22c55e, transparent);
}
.network-card span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6dd8ff;
  box-shadow: 0 0 28px rgba(109,216,255,.8);
}
.network-points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
.network-points div {
  padding-left: 18px;
  border-left: 3px solid #0b6dff;
}
.network-points strong { color: #101820; }
.premium-footer {
  padding: 32px 0;
  color: rgba(238,243,248,.58);
  background: #0b1118;
}
.premium-footer .premium-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 940px) {
  .premium-links { display: none; }
  .premium-menu { display: inline-grid; place-items: center; }
  .premium-nav.open .premium-links {
    position: fixed;
    top: 82px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    border-radius: 8px;
    background: rgba(9,15,22,.96);
    border: 1px solid rgba(255,255,255,.1);
  }
  .premium-nav.open .premium-links a { padding: 13px; }
  .premium-hero-inner,
  .clients-inner,
  .network-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .premium-actions .subtle { display: none; }
  .premium-nav-inner,
  .premium-container,
  .premium-hero-inner { padding-left: 18px; padding-right: 18px; }
  .premium-hero { padding-top: 112px; }
  .premium-board { display: none; }
  .premium-btn { width: 100%; }
  .premium-section { padding: 72px 0; }
  .board-metrics { grid-template-columns: 1fr; }
}

/* Single-screen VELN landing */
.onepage {
  min-height: 100vh;
  color: #161b22;
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 92, 230, .06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 70%, #ffffff 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
.onepage-nav {
  height: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.onepage-menu,
.onepage-lang {
  width: fit-content;
  color: #1f2937;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
}
.onepage-lang {
  justify-self: end;
  padding: 8px 12px;
  border-radius: 999px;
}
.onepage-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-weight: 950;
  letter-spacing: .04em;
}
.veln-signature-mark,
.veln-signature-mark svg {
  width: 42px;
  height: 42px;
  display: block;
}
.veln-signature-mark {
  filter: drop-shadow(0 12px 20px rgba(11,109,255,.22));
}
.onepage-logo-text {
  font-size: 1.74rem;
  font-weight: 950;
  font-style: italic;
  letter-spacing: .035em;
}
.onepage-logo-text span {
  display: inline-block;
  transform: skewX(-7deg);
}
.onepage-hero {
  max-width: 1040px;
  min-height: auto;
  margin: 0 auto;
  padding: 34px 24px 18px;
  text-align: center;
  display: grid;
  justify-items: center;
}
.onepage-label {
  margin: 0 0 12px;
  color: #456176;
  font-size: 1rem;
  font-weight: 700;
}
.onepage h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 4.85rem);
  line-height: 1.06;
  letter-spacing: 0;
  color: #101820;
}
.onepage-lead {
  max-width: 880px;
  margin: 18px auto 22px;
  color: #4b5563;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.9;
}
.onepage-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
}
.onepage-btn {
  min-width: 162px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 780;
  border: 1px solid #d7dde7;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.onepage-btn:hover { transform: translateY(-1px); }
.onepage-btn.primary {
  color: white;
  background: linear-gradient(180deg, #1269d8, #06499f);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(6,73,159,.28);
}
.onepage-btn.ghost {
  color: #253041;
  background: white;
}
.onepage-art {
  position: relative;
  width: min(760px, 94vw);
  height: 300px;
  margin-top: 0;
}
.network-illustration {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.onepage-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px 18px;
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr 1.05fr;
  gap: 46px;
  align-items: start;
}
.onepage-footer h2 {
  margin: 0 0 18px;
  font-size: 1.08rem;
  color: #111827;
}
.onepage-footer p {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
  font-size: .95rem;
}
.onepage-footer a:not(.onepage-logo):not(.mail-pill) {
  display: block;
  color: #4b5563;
  margin: 0 0 12px;
}
.footer-logo {
  margin-bottom: 18px;
}
.mail-pill {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  border-radius: 8px;
  background: #f1f4f8;
  color: #253041;
  padding: 8px 8px 8px 14px;
  font-size: .92rem;
}
.mail-pill i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 8px;
  background: #06499f;
}
.onepage-copyright {
  padding: 0 24px 20px;
  text-align: center;
  color: #111827;
  font-size: .9rem;
}
@media (max-width: 860px) {
  .onepage-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .onepage-nav {
    height: 64px;
    padding: 0 16px;
  }
  .onepage-logo-text { font-size: 1.3rem; }
  .onepage-hero {
    min-height: auto;
    padding: 34px 18px 20px;
  }
  .onepage-actions {
    width: 100%;
    gap: 12px;
  }
  .onepage-btn {
    min-width: 0;
    flex: 1;
  }
  .onepage-art {
    height: 220px;
  }
  .onepage-footer {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    text-align: center;
  }
  .footer-logo,
  .mail-pill {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* VELN brand landing */
.brand-home {
  --veln-ink: #f8fbff;
  --veln-muted: rgba(226, 232, 240, .68);
  --veln-blue: #075bff;
  --veln-blue-2: #2f7bff;
  --veln-sky: #59d8ff;
  --veln-violet: #6d5ef6;
  --veln-line: rgba(255, 255, 255, .10);
  min-height: 100vh;
  color: var(--veln-ink);
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% -12%, rgba(7,91,255,.32), transparent 22%),
    radial-gradient(circle at 82% 18%, rgba(89,216,255,.13), transparent 24%),
    radial-gradient(circle at 18% 58%, rgba(109,94,246,.10), transparent 24%),
    linear-gradient(180deg, #090a10 0%, #0d0f18 48%, #08090f 100%);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.brand-home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .46;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 190px 190px, 92px 92px, 92px 92px;
  background-position: 32px 40px, 0 0, 0 0;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.82) 58%, transparent 100%);
}

.brand-home::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(89,216,255,.62), transparent);
}

.brand-home a {
  text-decoration: none;
}

.brand-nav {
  position: relative;
  z-index: 5;
  height: 70px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 1.34rem;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  letter-spacing: .08em;
}

.brand-logo svg {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(7, 91, 255, .22));
}

.brand-logo span {
  transform: skewX(-6deg);
}

.brand-login {
  color: rgba(248,251,255,.82);
  border: 0;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
}

.brand-login {
  padding: 10px 12px;
  border-radius: 999px;
}

.brand-login:hover {
  background: rgba(255,255,255,.08);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.nav-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,.11), 0 0 18px rgba(34,197,94,.55);
}

.brand-hero {
  max-width: 1360px;
  margin: 0 auto;
  padding: 72px 36px 0;
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(440px, 560px);
  gap: clamp(72px, 8vw, 132px);
  align-items: start;
  text-align: left;
  position: relative;
  z-index: 1;
}

.brand-copy {
  max-width: 720px;
  display: grid;
  justify-items: start;
}

.brand-eyebrow {
  margin: 0 0 20px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(248,251,255,.74);
  font-size: .88rem;
  font-weight: 760;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.brand-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--veln-sky);
  box-shadow: 0 0 18px rgba(89,216,255,.58);
}

.brand-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 4.35vw, 5rem);
  font-weight: 880;
  line-height: 1.02;
  letter-spacing: 0;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 18px 42px rgba(0,0,0,.42);
}

.brand-lead {
  width: min(680px, 100%);
  margin: 24px 0 30px;
  color: rgba(226,232,240,.72);
  font-size: clamp(.95rem, 1.18vw, 1.05rem);
  font-weight: 520;
  line-height: 1.85;
}

.brand-actions {
  display: flex;
  justify-content: flex-start;
  gap: 22px;
  margin-bottom: 0;
}

.brand-button {
  min-width: 162px;
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 780;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.brand-button.primary {
  color: #f8fbff;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 10px 26px rgba(0,0,0,.14);
  backdrop-filter: blur(14px);
}

.brand-button.download-cta {
  min-width: 178px;
}

.brand-button.secondary {
  color: #f8fbff;
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 10px 26px rgba(0,0,0,.14);
  backdrop-filter: blur(14px);
}

.brand-visual {
  width: 100%;
  height: auto;
  margin-top: 0;
  display: grid;
  overflow: hidden;
}

.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
  margin-top: 26px;
}

.platform-grid article {
  min-height: 148px;
  padding: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: #f8fbff;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: none;
}

.platform-grid article i {
  width: auto;
  height: auto;
  display: block;
  color: rgba(248,251,255,.86);
  border-radius: 0;
  background: transparent;
  font-size: 2.45rem;
  line-height: 1;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.24));
}

.platform-grid article span {
  font-size: .9rem;
  font-weight: 760;
}

.platform-grid article:nth-child(1) i { color: #8fd8ff; }
.platform-grid article:nth-child(2) i { color: #55e28f; }
.platform-grid article:nth-child(3) i { color: #36a8ff; }
.platform-grid article:nth-child(4) i { color: #c6b7ff; }
.platform-grid article:nth-child(5) i { color: #f3d46b; }
.platform-grid article:nth-child(6) i { color: #7dd3fc; }

.brand-edge {
  width: min(760px, calc(100% - 56px));
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 18px 52px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.brand-edge article {
  min-height: 58px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: 22px;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand-edge article + article {
  border-top: 1px solid rgba(255,255,255,.10);
}

.brand-edge strong {
  width: auto;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand-edge span {
  max-width: none;
  color: rgba(226,232,240,.64);
  font-size: .93rem;
  font-weight: 680;
  line-height: 1.5;
}

.platform-card span {
  max-width: 330px;
}

.brand-trust {
  width: calc(100% - 56px);
  max-width: 920px;
  margin: 42px auto 0;
  position: relative;
  z-index: 1;
  text-align: center;
}

.brand-trust p {
  margin: 0 0 22px;
  color: rgba(226,232,240,.58);
  font-size: .9rem;
  font-weight: 720;
  letter-spacing: .16em;
}

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

.trust-badges span {
  min-height: 66px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(248,251,255,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.022);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  font-size: .98rem;
  font-weight: 850;
}

.trust-badges i {
  color: rgba(248,251,255,.62);
  font-size: 1.35rem;
}

.brand-stats {
  width: min(620px, 100%);
  margin: 34px 0 0;
  padding: 22px 0 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.095);
}

.brand-stats article {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.brand-stats strong {
  color: #fff;
  font-size: clamp(1.06rem, 1.28vw, 1.28rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: 0;
}

.brand-stats span {
  color: rgba(226,232,240,.46);
  font-size: clamp(.66rem, .64vw, .73rem);
  font-weight: 620;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 56px 36px 18px;
  display: grid;
  grid-template-columns: 1.22fr .76fr .78fr 1.12fr;
  gap: 46px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.brand-footer section {
  min-width: 0;
}

.brand-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.04rem;
  font-weight: 860;
}

.brand-footer p {
  margin: 0;
  color: var(--veln-muted);
  font-size: .94rem;
  line-height: 1.75;
}

.footer-intro {
  padding: 18px 18px 18px 0;
  border-top: 1px solid rgba(255,255,255,.09);
}

.footer-intro h2 {
  margin-bottom: 12px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-status span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12), 0 0 22px rgba(34,197,94,.62);
  position: relative;
}

.footer-status span::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(34,197,94,.42);
  animation: statusPulse 1.8s ease-out infinite;
}

@keyframes statusPulse {
  0% { transform: scale(.72); opacity: .88; }
  100% { transform: scale(1.55); opacity: 0; }
}

.brand-footer a:not(.brand-logo):not(.brand-mail) {
  display: block;
  width: fit-content;
  margin: 0 0 10px;
  color: rgba(226,232,240,.62);
  font-size: .9rem;
  font-weight: 620;
}

.brand-footer .required-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.brand-footer .required-link span {
  padding: 3px 7px;
  color: #fff;
  border-radius: 999px;
  background: #ff2f55;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 0 0 4px rgba(255,47,85,.13), 0 8px 18px rgba(255,47,85,.28);
  font-size: .7rem;
  font-weight: 900;
  line-height: 1.25;
}

.brand-mail {
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 8px 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8fbff;
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .92rem;
  font-weight: 680;
}

.brand-mail span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.brand-mail i {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 9px;
  background: linear-gradient(180deg, #2f7bff, #075bff);
}

.brand-copyright {
  padding: 0 28px 22px;
  text-align: center;
  color: rgba(226,232,240,.58);
  font-size: .88rem;
  font-weight: 640;
}

@media (max-height: 900px) and (min-width: 860px) {
  .brand-nav { height: 62px; }
  .brand-hero { padding-top: 34px; }
  .brand-copy h1 { font-size: clamp(2.65rem, 3.55vw, 3.75rem); }
  .brand-lead { margin: 12px auto 16px; line-height: 1.65; }
  .brand-actions { margin-bottom: 0; }
  .brand-button { min-height: 50px; }
  .platform-grid article { min-height: 124px; }
  .brand-edge { margin-top: 34px; }
  .brand-edge article { min-height: 56px; padding: 0 20px; }
  .brand-edge span { font-size: .9rem; line-height: 1.46; }
  .brand-trust { margin-top: 34px; }
  .brand-trust p { margin-bottom: 14px; }
  .trust-badges span { min-height: 58px; }
  .brand-stats {
    margin-top: 32px;
  }
  .brand-footer { padding-top: 12px; padding-bottom: 12px; }
  .brand-copyright { padding-bottom: 10px; }
}

@media (max-width: 900px) {
  .brand-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 28px;
    text-align: center;
  }

  .brand-copy {
    max-width: 720px;
    justify-items: center;
    margin: 0 auto;
  }

  .brand-copy h1 {
    font-size: clamp(2.35rem, 5.8vw, 3.35rem);
  }

  .brand-lead {
    margin-top: 16px;
    margin-bottom: 18px;
    line-height: 1.72;
  }

  .brand-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-actions {
    justify-content: center;
  }

  .platform-grid {
    width: min(540px, 100%);
    margin: 0 auto;
    gap: 10px;
  }

  .platform-grid article {
    min-height: 84px;
    padding: 12px 10px;
    border-radius: 16px;
  }

  .platform-grid article i {
    font-size: 2rem;
  }

  .platform-grid article span {
    font-size: .8rem;
  }

  .brand-trust {
    width: calc(100% - 36px);
    max-width: 680px;
    margin-top: 28px;
  }

  .brand-trust p {
    margin-bottom: 14px;
  }

  .trust-badges {
    gap: 10px;
  }

  .trust-badges span {
    min-height: 58px;
    padding: 0 12px;
    gap: 9px;
    font-size: .9rem;
  }

  .trust-badges i {
    font-size: 1.12rem;
  }

  .brand-stats {
    margin-top: 28px;
    gap: 18px;
    text-align: center;
  }

  .brand-stats span {
    font-size: .8rem;
  }

  .brand-footer {
    grid-template-columns: 1.15fr .72fr .72fr 1.12fr;
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 8px;
  }

  .brand-edge {
    width: min(680px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 26px;
  }

  .brand-edge article {
    min-height: 56px;
    padding: 0 20px;
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .brand-edge span {
    font-size: .88rem;
    line-height: 1.45;
  }

  .brand-footer h2 {
    margin-bottom: 12px;
    font-size: .98rem;
  }

  .brand-footer p,
  .brand-footer a:not(.brand-logo):not(.brand-mail) {
    font-size: .88rem;
  }

  .brand-footer a:not(.brand-logo):not(.brand-mail) {
    margin-bottom: 8px;
  }

  .brand-footer section:last-child p {
    display: none;
  }

  .brand-copyright {
    padding-top: 0;
    padding-bottom: 4px;
  }
}

@media (max-width: 620px) {
  .brand-home {
    background:
      radial-gradient(circle at 50% -8%, rgba(7,91,255,.28), transparent 34%),
      radial-gradient(circle at 12% 36%, rgba(89,216,255,.08), transparent 24%),
      linear-gradient(180deg, #090a10 0%, #0d0f18 70%, #08090f 100%);
  }

  .brand-nav {
    height: 64px;
    padding: 0 16px;
  }

  .brand-logo {
    gap: 9px;
    font-size: 1.18rem;
  }

  .brand-logo svg {
    width: 36px;
    height: 36px;
  }

  .brand-login {
    font-size: .92rem;
  }

  .brand-hero {
    padding: 20px 18px 0;
    gap: 22px;
  }

  .brand-copy h1 {
    font-size: clamp(1.86rem, 8.2vw, 2.45rem);
    line-height: 1.14;
  }

  .brand-lead {
    margin: 12px auto 16px;
    font-size: .98rem;
    line-height: 1.72;
  }

  .brand-actions {
    width: min(100%, 342px);
    gap: 12px;
  }

  .brand-button {
    min-width: 0;
    flex: 1;
    padding: 0 14px;
    min-height: 50px;
    font-size: .92rem;
  }

  .platform-grid {
    width: min(100%, 360px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 0;
  }

  .platform-grid article {
    min-height: 78px;
    padding: 10px 7px;
    gap: 8px;
    border-radius: 14px;
  }

  .platform-grid article i {
    font-size: 1.62rem;
  }

  .platform-grid article span {
    font-size: .72rem;
  }

  .brand-edge,
  .brand-footer {
    grid-template-columns: 1fr;
  }

  .brand-edge {
    width: calc(100% - 32px);
    margin-top: 20px;
  }

  .brand-edge article {
    min-height: 64px;
    padding: 0 16px;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }

  .brand-edge strong {
    font-size: 1rem;
    width: auto;
  }

  .brand-edge span,
  .platform-card span {
    max-width: none;
    font-size: .9rem;
    line-height: 1.42;
  }

  .brand-trust {
    width: calc(100% - 32px);
    margin-top: 18px;
  }

  .brand-trust p {
    margin-bottom: 10px;
    font-size: .78rem;
    letter-spacing: .12em;
  }

  .trust-badges {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 2px 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .trust-badges::-webkit-scrollbar {
    display: none;
  }

  .trust-badges span {
    min-height: 48px;
    min-width: 136px;
    flex: 0 0 auto;
    padding: 0 12px;
    border-radius: 12px;
    font-size: .82rem;
    scroll-snap-align: start;
  }

  .trust-badges i {
    font-size: 1rem;
  }

  .brand-stats {
    display: none;
  }

  .brand-footer {
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
    padding: 20px 18px 70px;
    gap: 16px 16px;
    text-align: center;
  }

  .brand-footer section:last-child {
    grid-column: 1 / -1;
  }

  .brand-footer section:first-child {
    display: none;
  }

  .brand-footer h2 {
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .brand-footer p {
    font-size: .9rem;
    line-height: 1.65;
  }

  .brand-footer section:last-child p {
    display: none;
  }

  .brand-footer a:not(.brand-logo):not(.brand-mail) {
    display: inline-flex;
    width: auto;
    margin: 0 4px 8px;
    padding: 5px 7px;
    color: rgba(226,232,240,.76);
    border-radius: 999px;
    background: transparent;
    font-size: .86rem;
  }

  .brand-mail {
    margin-top: 10px;
  }

  .brand-footer a:not(.brand-logo):not(.brand-mail),
  .brand-mail {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-copyright {
    padding-bottom: 18px;
  }
}

/* VELN utility pages: speedtest and downloads */
.tool-shell {
  min-height: 100vh;
  color: #f8fbff;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(7, 91, 255, .30), transparent 23%),
    radial-gradient(circle at 86% 22%, rgba(89, 216, 255, .13), transparent 25%),
    radial-gradient(circle at 18% 72%, rgba(98, 87, 255, .09), transparent 24%),
    linear-gradient(180deg, #070910 0%, #0b0e17 54%, #07080d 100%);
  position: relative;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.tool-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .46;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.58) 0 1px, transparent 1.6px),
    linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 190px 190px, 92px 92px, 92px 92px;
  background-position: 32px 40px, 0 0, 0 0;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.82) 62%, transparent 100%);
}

.tool-shell > * {
  position: relative;
  z-index: 1;
}

.tool-nav {
  color: #fff;
  background: rgba(8, 10, 17, .64);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tool-nav .nav-inner {
  max-width: 1180px;
  min-height: 76px;
}

.tool-nav .brand {
  color: #fff;
}

.tool-nav .brand-mark {
  border-radius: 10px;
  background: linear-gradient(180deg, #58d8ff, #075bff 64%, #2444ff);
  box-shadow: 0 14px 30px rgba(7,91,255,.34);
}

.tool-nav .nav-links a,
.tool-nav .nav-actions a {
  color: rgba(248,251,255,.72);
}

.tool-status {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(248,251,255,.82);
  font-weight: 850;
  font-size: .9rem;
}

.tool-status span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34,197,94,.12);
}

.tool-hero {
  padding: 128px 24px 28px;
}

.tool-hero .container,
.tool-shell .container {
  max-width: 1180px;
}

.tool-hero .container {
  display: grid;
  gap: 16px;
}

.tool-shell .section-kicker {
  width: fit-content;
  color: rgba(248,251,255,.76);
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.tool-shell .section-kicker::before {
  background: #58d8ff;
  box-shadow: 0 0 16px rgba(88,216,255,.62);
}

.tool-shell .page-title,
.tool-shell .section-title {
  color: #fff;
  letter-spacing: 0;
}

.tool-shell .page-title {
  max-width: 760px;
  font-size: clamp(2.6rem, 5.7vw, 5.4rem);
  line-height: .98;
}

.download-page .page-title {
  max-width: none;
}

.tool-shell .page-lead,
.tool-shell .section-copy {
  color: rgba(226,232,240,.68);
  font-weight: 700;
  line-height: 1.85;
}

.tool-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.tool-hero-points span,
.download-meta div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 15px;
  color: rgba(248,251,255,.82);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}

.tool-hero-points i {
  color: #58d8ff;
}

.tool-shell .section {
  padding-top: 24px;
  padding-bottom: 36px;
}

.speed-layout {
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 26px;
}

.tool-shell .status-panel,
.tool-shell .line-card,
.tool-shell .device-card,
.tool-shell .smart-recommend,
.tool-shell .card,
.download-meta {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 22px 70px rgba(0,0,0,.20);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.tool-shell .status-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.tool-shell .status-panel h2 {
  margin: 18px 0 8px;
  color: #fff;
}

.tool-shell .status-panel p,
.tool-shell .line-url,
.tool-shell .download-desc {
  color: rgba(226,232,240,.62);
}

.tool-shell .status-icon {
  border-radius: 16px;
  background: linear-gradient(180deg, #58d8ff, #075bff 68%, #233bff);
  box-shadow: 0 18px 42px rgba(7,91,255,.32);
}

.tool-shell .progress-track {
  background: rgba(255,255,255,.09);
}

.tool-shell .progress-fill {
  background: linear-gradient(90deg, #58d8ff, #22c55e);
}

.current-line {
  color: rgba(226,232,240,.62);
  margin-top: 14px;
}

.tool-shell .stat-box {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
}

.tool-notice {
  margin-top: 20px;
  color: #fff;
  border-color: rgba(88,216,255,.20);
  background: rgba(88,216,255,.07);
}

.tool-shell .section-head {
  margin-bottom: 18px;
}

.tool-shell .line-list {
  gap: 14px;
}

.tool-shell .line-card {
  color: #fff;
  border-radius: 18px;
}

.tool-shell .line-card.best {
  border-color: rgba(88,216,255,.38);
  box-shadow: 0 0 0 1px rgba(88,216,255,.28), 0 24px 70px rgba(7,91,255,.16);
}

.tool-shell .line-card.success {
  border-color: rgba(34,197,94,.34);
}

.tool-shell .line-card.failed {
  border-color: rgba(248,113,113,.28);
}

.tool-shell .line-tag {
  color: #dff7ff;
  background: rgba(88,216,255,.14);
  border: 1px solid rgba(88,216,255,.24);
}

.tool-shell .btn {
  border-radius: 999px;
}

.tool-shell .btn-primary,
.tool-shell .btn-green,
.tool-shell .btn-line:hover {
  background: linear-gradient(180deg, #58d8ff, #075bff 70%);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(7,91,255,.32);
}

.tool-shell .btn-line,
.tool-shell .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
}

.download-page .tool-hero {
  text-align: center;
}

.download-page .tool-hero .container,
.download-page .section-head {
  justify-items: center;
  text-align: center;
}

.download-page .page-lead,
.download-page .section-copy {
  margin-left: auto;
  margin-right: auto;
}

.tool-shell .smart-recommend {
  width: min(760px, 100%);
  margin: 8px auto 0;
  display: none;
  padding: 18px 20px;
  color: #fff;
  border-radius: 18px;
}

.tool-shell .smart-recommend.show {
  display: block;
}

.tool-shell .smart-recommend strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tool-shell .smart-recommend p {
  margin: 8px 0 0;
  color: rgba(226,232,240,.68);
}

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

.tool-shell .device-card {
  min-height: 178px;
  padding: 24px 16px;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  color: #fff;
  border-radius: 20px;
  box-shadow: none;
}

.tool-shell .device-card:hover,
.tool-shell .device-card.detected {
  transform: translateY(-2px);
  border-color: rgba(88,216,255,.42);
  background: rgba(88,216,255,.055);
  box-shadow: 0 18px 52px rgba(7,91,255,.16);
}

.tool-shell .device-icon {
  width: auto;
  height: auto;
  margin: 0 0 14px;
  color: #58d8ff;
  background: transparent;
  font-size: 2.45rem;
}

.tool-shell .device-card:nth-child(1) .device-icon { color: #38a8ff; }
.tool-shell .device-card:nth-child(2) .device-icon { color: #bba7ff; }
.tool-shell .device-card:nth-child(3) .device-icon { color: #57e886; }
.tool-shell .device-card:nth-child(4) .device-icon { color: #7ddcff; }
.tool-shell .device-card:nth-child(5) .device-icon { color: #58d8ff; }
.tool-shell .device-card:nth-child(6) .device-icon { color: #f3cf58; }

.tool-shell .device-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.tool-shell .device-card p {
  margin: 0;
  color: rgba(226,232,240,.56);
  font-size: .84rem;
  line-height: 1.45;
}

.download-meta-section {
  padding-top: 0;
}

.download-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
}

.download-meta div {
  min-height: 76px;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.download-meta div + div {
  border-left: 1px solid rgba(255,255,255,.09);
}

.download-meta strong {
  color: #fff;
}

.download-meta span {
  color: rgba(226,232,240,.58);
  font-size: .9rem;
}

.tool-shell .modal-content {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(10,12,20,.96);
}

.tool-shell .download-item {
  border-color: rgba(255,255,255,.08);
}

.tool-footer {
  color: rgba(226,232,240,.64);
  border-top: 1px solid rgba(255,255,255,.07);
  background: rgba(6,8,14,.44);
}

.tool-footer a {
  color: rgba(248,251,255,.76);
}

@media (max-width: 1180px) {
  .tool-shell .device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .tool-nav .nav-links {
    background: rgba(10,12,20,.96);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
  }

  .tool-nav .nav-links a {
    color: rgba(248,251,255,.82);
  }

  .speed-layout {
    grid-template-columns: 1fr;
  }

  .tool-shell .status-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .tool-hero {
    padding: 94px 16px 20px;
  }

  .tool-shell .page-title {
    font-size: clamp(2.15rem, 14vw, 3.25rem);
    text-align: center;
  }

  .speed-page .page-title {
    font-size: clamp(2rem, 9vw, 2.35rem);
    line-height: 1.06;
  }

  .tool-shell .page-lead {
    text-align: center;
    font-size: .96rem;
    line-height: 1.72;
  }

  .tool-hero .section-kicker,
  .tool-hero-points {
    margin-left: auto;
    margin-right: auto;
  }

  .tool-hero-points {
    justify-content: center;
  }

  .tool-hero-points span {
    min-height: 38px;
    padding: 0 12px;
    font-size: .82rem;
  }

  .tool-shell .section {
    padding: 18px 16px 28px;
  }

  .tool-shell .section-head {
    text-align: center;
    justify-items: center;
  }

  .tool-shell .status-panel {
    padding: 20px;
  }

  .tool-shell .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tool-shell .device-card {
    min-height: 132px;
    padding: 18px 10px;
    border-radius: 16px;
  }

  .tool-shell .device-icon {
    margin-bottom: 10px;
    font-size: 2rem;
  }

  .tool-shell .device-card p {
    display: none;
  }

  .download-meta {
    grid-template-columns: 1fr;
  }

  .download-meta div {
    min-height: 58px;
    justify-content: space-between;
    padding: 0 16px;
  }

  .download-meta div + div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.09);
  }

  .tool-footer .footer-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Download center v2 */
body.modal-open {
  overflow: hidden;
}

.download-page .tool-hero {
  padding-top: 112px;
  padding-bottom: 18px;
}

.download-page .page-title {
  font-size: clamp(3.1rem, 6vw, 5rem);
}

.download-page .page-lead {
  max-width: 760px;
}

.download-page #devices {
  padding-top: 18px;
}

.download-page .section-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.download-page .section-copy {
  margin-top: -4px;
}

.download-page .smart-recommend {
  width: min(780px, 100%);
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.032);
}

.download-page .smart-recommend.show {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.download-page .smart-recommend strong {
  font-size: .98rem;
}

.download-page .smart-recommend p {
  margin: 4px 0 0;
  font-size: .9rem;
  line-height: 1.55;
}

.download-page .smart-actions {
  margin-top: 0;
  justify-content: flex-end;
}

.download-page .smart-actions .btn {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.download-meta-section {
  display: none;
}

.download-page .modal {
  align-items: flex-start;
  padding: 88px 18px 22px;
}

.download-page .modal-content {
  width: min(860px, 100%);
  max-height: calc(100vh - 112px);
  border-radius: 22px;
}

.download-page .modal-head {
  padding: 18px 22px;
}

.download-page .modal-head h2 {
  font-size: 1.45rem;
}

.release-stack {
  display: grid;
  gap: 14px;
}

.release-panel {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  overflow: hidden;
}

.release-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.release-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 950;
}

.release-head p {
  margin: 6px 0 0;
  color: rgba(226,232,240,.62);
  line-height: 1.65;
}

.release-head span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #dff7ff;
  background: rgba(88,216,255,.11);
  border: 1px solid rgba(88,216,255,.24);
  font-size: .78rem;
  font-weight: 900;
}

.release-stable .release-head span {
  color: #dcfce7;
  background: rgba(34,197,94,.10);
  border-color: rgba(34,197,94,.24);
}

.release-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.release-empty i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #58d8ff;
  background: rgba(88,216,255,.10);
}

.release-empty strong {
  display: block;
  color: #fff;
}

.release-empty p {
  margin: 4px 0 0;
  color: rgba(226,232,240,.58);
  font-size: .88rem;
  line-height: 1.55;
}

.download-page .download-item {
  margin: 0 18px;
  padding: 16px 0;
}

.download-page .download-item-compact {
  padding: 18px 0;
}

.download-page .download-name {
  color: #fff;
  font-size: 1.02rem;
}

.download-page .download-actions .btn {
  min-height: 38px;
  padding: 0 15px;
}

.download-page .legacy-toggle {
  width: calc(100% - 36px);
  margin: 0 18px 14px;
  color: rgba(248,251,255,.84);
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
}

.download-page .legacy-toggle i {
  transition: transform .18s ease;
}

.download-page .legacy-toggle.open i {
  transform: rotate(180deg);
}

.download-page .legacy-section {
  padding-bottom: 10px;
}

.legacy-version-title {
  margin: 8px 18px 0;
  color: rgba(226,232,240,.58);
  font-size: .86rem;
}

@media (max-width: 720px) {
  .download-page .tool-hero {
    padding-top: 94px;
  }

  .download-page .page-title {
    font-size: clamp(2.6rem, 14vw, 3.35rem);
  }

  .download-page .smart-recommend.show {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-page .smart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .download-page .modal {
    padding: 78px 10px 14px;
  }

  .download-page .modal-content {
    max-height: calc(100vh - 92px);
    border-radius: 18px;
  }

  .release-head {
    display: grid;
    gap: 10px;
  }

  .release-head span {
    width: fit-content;
  }

  .download-page .download-item,
  .download-page .download-item-compact {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .download-page .download-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Download center v3: direct platform picker */
.download-page .tool-hero {
  padding-top: 118px;
  padding-bottom: 14px;
}

.download-page .page-lead {
  max-width: 820px;
  margin-top: -4px;
}

.download-picker {
  padding-top: 6px !important;
}

.download-picker .container {
  max-width: 1120px;
}

.download-page .device-grid {
  margin-top: 0;
}

.download-page .device-card {
  min-height: 168px;
}

.download-page .device-card h3 {
  font-size: 1.05rem;
}

.download-page .device-card p {
  font-size: .86rem;
}

.download-page .smart-recommend {
  display: none !important;
}

.download-page .modal-content {
  width: min(1040px, 100%);
}

.download-page .modal-head {
  min-height: 78px;
}

.download-page .modal-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.release-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.release-panel {
  min-height: 260px;
}

.release-title {
  font-size: 1.24rem;
}

.release-head p {
  min-height: 48px;
}

.release-next {
  border-color: rgba(88,216,255,.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(88,216,255,.10), transparent 36%),
    rgba(255,255,255,.032);
}

.release-stable {
  border-color: rgba(34,197,94,.16);
  background:
    radial-gradient(circle at 100% 0%, rgba(34,197,94,.09), transparent 36%),
    rgba(255,255,255,.032);
}

.download-page .download-item-compact {
  border-bottom: 0;
}

.download-page .legacy-toggle {
  margin-top: 0;
}

@media (max-width: 980px) {
  .release-stack {
    grid-template-columns: 1fr;
  }

  .release-panel {
    min-height: 0;
  }

  .release-head p {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .download-page .tool-hero {
    padding-top: 94px;
    padding-bottom: 8px;
  }

  .download-page .page-lead {
    font-size: .94rem;
  }

  .download-picker {
    padding-top: 0 !important;
  }

  .download-page .device-card {
    min-height: 126px;
  }

  .download-page .modal-head h2 {
    font-size: 1.16rem;
  }
}

/* Download center v4: inline platform details */
.download-page .tool-hero {
  padding-top: 108px;
  padding-bottom: 4px;
}

.download-page .page-title {
  font-size: clamp(2.15rem, 3.45vw, 3.05rem);
  line-height: 1.04;
}

.download-page .page-lead {
  max-width: 760px;
  margin-top: -2px;
  font-size: .98rem;
  line-height: 1.78;
}

.download-picker {
  padding-top: 22px !important;
  padding-bottom: 52px !important;
}

.download-page .device-grid {
  gap: 14px;
}

.download-page .device-card {
  min-height: 156px;
  padding: 22px 14px;
}

.download-page .device-icon {
  font-size: 2.2rem;
}

.download-detail[hidden],
.device-grid[hidden] {
  display: none !important;
}

.download-detail {
  width: min(1120px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: rgba(255,255,255,.028);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 26px 80px rgba(0,0,0,.22);
  overflow: hidden;
}

.detail-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.back-platforms {
  width: fit-content;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  background: rgba(255,255,255,.035);
  font-weight: 900;
  cursor: pointer;
}

.back-platforms:hover {
  border-color: rgba(88,216,255,.34);
  background: rgba(88,216,255,.07);
}

.detail-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 950;
}

.detail-title i {
  color: #58d8ff;
}

.download-detail .release-stack {
  padding: 20px;
  gap: 16px;
}

.download-detail .release-panel {
  min-height: auto;
  border-radius: 18px;
}

.download-detail .release-head {
  padding: 18px;
}

.download-detail .release-title {
  font-size: 1.18rem;
}

.download-detail .release-head p {
  min-height: 0;
  font-size: .95rem;
}

.download-choice-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.download-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.026);
}

.download-choice.recommended {
  border-color: rgba(88,216,255,.30);
  background: rgba(88,216,255,.055);
}

.download-choice .download-name {
  color: #fff;
  font-size: .98rem;
  font-weight: 950;
}

.download-choice .download-desc {
  margin-top: 4px;
  color: rgba(226,232,240,.58);
  font-size: .86rem;
  line-height: 1.46;
}

.download-choice .download-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommend-chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #dff7ff;
  border: 1px solid rgba(88,216,255,.22);
  background: rgba(88,216,255,.10);
  font-size: .78rem;
  font-weight: 900;
}

.download-page .download-choice .btn-primary,
.download-page .download-choice .btn-ghost {
  min-height: 38px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}

.download-page .download-choice .btn-primary:hover,
.download-page .download-choice .btn-ghost:hover {
  border-color: rgba(88,216,255,.35);
  background: rgba(88,216,255,.08);
  transform: translateY(-1px);
}

.legacy-downloads {
  margin: 0 14px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.024);
  overflow: hidden;
}

.legacy-downloads summary {
  cursor: pointer;
  padding: 13px 14px;
  color: rgba(248,251,255,.84);
  font-weight: 900;
}

.legacy-downloads .download-choice {
  margin: 0 14px 10px;
}

.release-empty {
  align-items: flex-start;
}

.release-empty p {
  color: rgba(226,232,240,.62);
}

@media (max-width: 980px) {
  .detail-top {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .detail-title {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .download-page .tool-hero {
    padding-top: 92px;
    padding-bottom: 0;
  }

  .download-page .page-title {
    font-size: clamp(2.1rem, 10vw, 2.7rem);
  }

  .download-page .page-lead {
    font-size: .92rem;
    line-height: 1.66;
  }

  .download-picker {
    padding-top: 14px !important;
    padding-bottom: 38px !important;
  }

  .download-page .device-grid {
    gap: 10px;
  }

  .download-page .device-card {
    min-height: 124px;
  }

  .download-detail {
    border-radius: 18px;
  }

  .download-detail .release-stack {
    padding: 12px;
  }

  .download-choice {
    grid-template-columns: 1fr;
  }

  .download-choice .download-actions {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
  }

  .download-choice .download-actions .btn {
    justify-content: center;
  }

  .release-head {
    padding: 16px;
  }
}

/* Download center v5: homepage chrome and compact mobile header */
.download-page.brand-home {
  min-height: 100vh;
}

.download-page .brand-nav {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.download-page .tool-hero {
  padding-top: 88px;
  padding-bottom: 0;
}

.download-page .page-title {
  font-size: clamp(2rem, 3.1vw, 2.76rem);
  text-shadow: 0 14px 32px rgba(0,0,0,.34);
}

.download-page .page-lead {
  max-width: 700px;
  font-size: .94rem;
  line-height: 1.72;
}

.download-page .download-picker {
  padding-top: 18px !important;
}

.download-page .device-card.detected {
  border-color: rgba(88,216,255,.42);
  background: rgba(88,216,255,.055);
  box-shadow: 0 18px 52px rgba(7,91,255,.16);
}

.download-page .brand-footer {
  padding-top: 34px;
}

.download-page .brand-copyright {
  position: relative;
  z-index: 1;
}

@media (max-width: 620px) {
  .download-page .brand-nav {
    height: 64px;
  }

  .download-page .tool-hero {
    padding: 22px 18px 0;
    text-align: left;
  }

  .download-page .tool-hero .container {
    justify-items: start;
    text-align: left;
  }

  .download-page .section-kicker {
    margin-left: 0;
    margin-right: 0;
    font-size: .68rem;
  }

  .download-page .page-title {
    margin-top: 4px;
    font-size: 1.55rem;
    line-height: 1.16;
    text-align: left;
  }

  .download-page .page-lead {
    display: none;
  }

  .download-page .download-picker {
    padding-top: 16px !important;
  }

  .download-page .device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-page .brand-footer {
    margin-top: 16px;
  }
}

/* Hide download page hero after a platform has been selected */
.download-page:has(#downloadDetail:not([hidden])) .download-hero {
  display: none;
}

.download-page:has(#downloadDetail:not([hidden])) .download-picker {
  padding-top: 34px !important;
}

@media (max-width: 620px) {
  .download-page:has(#downloadDetail:not([hidden])) .download-picker {
    padding-top: 18px !important;
  }
}

/* Speed page v2 */
.speed-page .brand-nav {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.speed-page .tool-hero {
  padding-top: 76px;
  padding-bottom: 12px;
}

.speed-page .tool-hero .container {
  max-width: 1120px;
  justify-items: start;
  text-align: left;
}

.speed-page .page-title {
  font-size: clamp(2.1rem, 3.3vw, 3.1rem);
  line-height: 1.06;
  text-align: left;
}

.speed-page .page-lead {
  max-width: 560px;
  font-size: .96rem;
  line-height: 1.7;
  text-align: left;
}

.speed-page .compact {
  padding-top: 12px;
}

.speed-page .speed-layout {
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 18px;
  max-width: 1120px;
}

.speed-page .status-panel {
  top: 86px;
  padding: 22px;
  border-radius: 18px;
}

.speed-page .status-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.45rem;
}

.speed-page .status-panel h2 {
  margin-top: 16px;
  font-size: 1.2rem;
}

.speed-page .status-panel p {
  font-size: .92rem;
  line-height: 1.65;
}

.speed-page .stats-row {
  margin-top: 16px;
}

.speed-page .stat-box {
  padding: 10px;
  border-radius: 12px;
}

.speed-page .stat-box strong {
  font-size: 1.08rem;
}

.speed-page .section-head {
  margin-bottom: 12px;
}

.speed-page .section-title {
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.speed-page .section-copy {
  font-size: .94rem;
  line-height: 1.65;
}

.speed-page .line-list {
  gap: 10px;
}

.speed-page .line-card {
  padding: 16px;
  border-radius: 16px;
}

.speed-page .line-top strong {
  font-size: 1rem;
}

.speed-page .line-bottom {
  margin-top: 12px;
}

.speed-page .line-latency {
  font-weight: 900;
}

.speed-page .line-url {
  display: none !important;
}

.speed-page .download-actions .btn {
  min-height: 38px;
  padding: 0 14px;
}

.speed-page .brand-copyright {
  position: relative;
  z-index: 1;
  padding-top: 4px;
}

@media (max-width: 920px) {
  .speed-page .speed-layout {
    grid-template-columns: 1fr;
  }

  .speed-page .status-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .speed-page .tool-hero {
    padding: 22px 18px 2px;
  }

  .speed-page .tool-hero .container {
    justify-items: start;
    text-align: left;
  }

  .speed-page .section-kicker {
    margin-left: 0;
    margin-right: 0;
    font-size: .68rem;
  }

  .speed-page .page-title {
    font-size: 1.55rem;
    text-align: left;
  }

  .speed-page .page-lead {
    display: none;
  }

  .speed-page .compact {
    padding-top: 14px;
  }

  .speed-page .section-head {
    text-align: left;
    justify-items: start;
  }

  .speed-page .line-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Download mobile compact packages */
.more-downloads {
  margin: 0 14px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.024);
  overflow: hidden;
}

.more-downloads summary {
  cursor: pointer;
  padding: 13px 14px;
  color: rgba(248,251,255,.86);
  font-weight: 900;
}

.more-download-list {
  padding-top: 0;
}

@media (max-width: 620px) {
  .download-choice-list {
    padding: 8px;
    gap: 8px;
  }

  .download-choice {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 10px 10px 10px 12px;
    gap: 8px;
    border-radius: 12px;
  }

  .download-choice .download-desc {
    display: none;
  }

  .download-choice .download-name {
    font-size: .92rem;
    line-height: 1.28;
  }

  .download-choice .download-actions {
    display: grid;
    grid-template-columns: auto 68px 68px;
    align-items: center;
    gap: 6px;
  }

  .download-choice:not(.recommended) .download-actions {
    grid-template-columns: 68px 68px;
  }

  .download-choice .download-actions .btn {
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    white-space: nowrap;
    font-size: .85rem;
  }

  .download-choice:not(.recommended) .recommend-chip {
    display: none;
  }

  .recommend-chip {
    min-height: 26px;
    padding: 0 8px;
    font-size: .72rem;
  }
}

/* Speed page v3 */
.speed-page .speed-layout {
  grid-template-columns: 330px minmax(0, 680px);
  justify-content: start;
  align-items: start;
}

.speed-page .line-list {
  margin-top: 0;
}

.speed-page .download-actions .btn-primary,
.speed-page .download-actions .btn-line,
.speed-page .tool-notice .btn {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}

.speed-page .download-actions .btn-primary:hover,
.speed-page .download-actions .btn-line:hover,
.speed-page .tool-notice .btn:hover {
  border-color: rgba(88,216,255,.35);
  background: rgba(88,216,255,.08);
}

.speed-page .brand-footer {
  padding-top: 36px;
}

@media (max-width: 920px) {
  .speed-page .speed-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .speed-page .status-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .speed-page .status-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.16rem;
  }

  .speed-page .status-panel h2 {
    margin-top: 12px;
    font-size: 1.06rem;
  }

  .speed-page .status-panel p {
    font-size: .84rem;
  }

  .speed-page .stats-row {
    gap: 8px;
    margin-top: 12px;
  }

  .speed-page .stat-box {
    padding: 8px;
  }

  .speed-page .line-list {
    gap: 8px;
  }

  .speed-page .line-card {
    padding: 12px;
    border-radius: 14px;
  }

  .speed-page .line-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .speed-page .line-tag {
    width: auto;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: .72rem;
  }

  .speed-page .line-bottom {
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 10px;
  }

  .speed-page .download-actions {
    display: grid;
    grid-template-columns: minmax(78px, 1fr) 42px;
    gap: 7px;
  }

  .speed-page .download-actions .btn {
    width: 100%;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .86rem;
  }
}

/* Apple guide page */
.apple-guide-page .apple-guide-section {
  padding-top: 18px;
}

.apple-guide-page .guide-layout {
  max-width: 980px;
}

.apple-guide-page .guide-card {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(88,216,255,.026));
  box-shadow: none;
  color: rgba(248,251,255,.9);
}

.apple-guide-page .guide-card h2 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 950;
}

.apple-guide-page .guide-card h2 i {
  color: #58d8ff;
}

.apple-guide-page .guide-alert h2 i {
  color: #ff5570;
}

.apple-guide-page .guide-card p,
.apple-guide-page .guide-card li,
.apple-guide-page .tutorial-grid figcaption {
  color: rgba(226,232,240,.68);
  line-height: 1.75;
}

.apple-guide-page .notice {
  color: rgba(248,251,255,.9);
  background: rgba(88,216,255,.08);
  border-color: rgba(88,216,255,.18);
}

.apple-guide-page .notice.warning {
  color: #ffe7ea;
  background: rgba(255,85,112,.10);
  border-color: rgba(255,85,112,.28);
}

.apple-guide-page .guide-actions {
  margin-top: 14px;
}

.apple-guide-page .guide-actions .btn-primary,
.apple-guide-page .guide-actions .btn-line,
.apple-guide-page ~ .modal .modal-body .btn-primary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.045);
  box-shadow: none;
}

.apple-guide-page .guide-actions .btn-primary:hover,
.apple-guide-page .guide-actions .btn-line:hover,
.apple-guide-page ~ .modal .modal-body .btn-primary:hover {
  border-color: rgba(88,216,255,.35);
  background: rgba(88,216,255,.08);
}

.apple-guide-page .guide-code {
  color: #58d8ff;
  letter-spacing: 2px;
}

.apple-guide-page .instruction-image,
.apple-guide-page .tutorial-image {
  width: auto;
  max-width: 100%;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  object-fit: contain;
}

.apple-guide-page .instruction-image {
  max-height: 430px;
}

.apple-guide-page .tutorial-image {
  max-height: 320px;
}

.apple-guide-page .zoom-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 180px;
  margin: 16px auto 0;
}

.apple-guide-page .tutorial-grid .zoom-frame {
  width: 100%;
  margin-top: 0;
}

.apple-guide-page .zoom-button {
  position: absolute;
  right: 10px;
  top: 10px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,11,20,.72);
  backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 900;
  cursor: pointer;
}

.apple-guide-page .zoom-button:hover {
  border-color: rgba(88,216,255,.38);
  background: rgba(88,216,255,.14);
}

.apple-guide-page .step {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
}

.apple-guide-page .step-num {
  color: #fff;
  background: rgba(11,109,255,.95);
}

.apple-guide-page .nextin-notice-content {
  max-width: 560px;
}

.apple-guide-page + .modal .modal-content,
.apple-guide-page ~ .modal .modal-content {
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(12,15,24,.98);
}

.apple-guide-page ~ .modal .modal-body .btn-primary {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .apple-guide-page .apple-guide-section {
    padding-top: 6px;
  }

  .apple-guide-page .guide-layout {
    gap: 12px;
  }

  .apple-guide-page .guide-card {
    padding: 16px;
    border-radius: 16px;
  }

  .apple-guide-page .guide-card h2 {
    font-size: 1rem;
  }

  .apple-guide-page .guide-actions {
    display: grid;
  }

  .apple-guide-page .guide-actions .btn {
    width: 100%;
  }

  .apple-guide-page .zoom-frame {
    width: 100%;
  }

  .apple-guide-page .instruction-image,
  .apple-guide-page .tutorial-image {
    width: 100%;
    max-height: none;
  }
}

