/* OpenLink VPN — official website styles */

:root {
  --bg: #060a0c;
  --bg-soft: #0a1013;
  --surface: #0e161a;
  --surface-2: #121c21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #e9f2ef;
  --muted: #8fa3a0;
  --muted-soft: #6b7f7c;
  --lime: #c9f75a;
  --lime-soft: #a8e33c;
  --teal: #35e0b2;
  --danger: #ff7a6b;
  --amber: #f5c451;
  --grad: linear-gradient(120deg, var(--lime) 10%, var(--teal) 90%);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 72px;
  --font: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Consolas,
    "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(53, 224, 178, 0.13), transparent 62%),
    radial-gradient(760px 480px at 8% 4%, rgba(201, 247, 90, 0.09), transparent 60%),
    var(--bg);
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(201, 247, 90, 0.28);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Navigation ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6, 10, 12, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 10, 12, 0.88);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 0 24px rgba(53, 224, 178, 0.22);
}

.brand span {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.brand small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lime);
  border: 1px solid rgba(201, 247, 90, 0.35);
  border-radius: 5px;
  padding: 1px 5px;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.16s ease, background 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, color 0.18s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--grad);
  color: #08110b;
  box-shadow: 0 10px 30px -12px rgba(201, 247, 90, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 36px -12px rgba(53, 224, 178, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

.btn-dark {
  background: #071009;
  color: #eaffc8;
}

.btn-dark:hover {
  background: #0b170e;
}

.btn-outline-dark {
  border-color: rgba(7, 16, 9, 0.35);
  color: #0a140c;
}

.btn-outline-dark:hover {
  background: rgba(7, 16, 9, 0.08);
}

.btn-lg {
  height: 52px;
  padding: 0 28px;
  border-radius: 13px;
  font-size: 15.5px;
}

.btn[aria-disabled="true"],
.btn.disabled {
  opacity: 0.55;
  pointer-events: none;
  filter: none;
  box-shadow: none;
}

/* ---------- Shared type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(53, 224, 178, 0.55);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(53, 224, 178, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(53, 224, 178, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(53, 224, 178, 0);
  }
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 56px 0 88px;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.muted {
  color: var(--muted-soft);
  font-size: 13.5px;
}

.text-link {
  color: var(--lime);
  font-weight: 600;
  font-size: 14.5px;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 92px 0 56px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 64px;
}

.hero-copy h1 {
  margin: 20px 0 22px;
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero-lead {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--muted);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}

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

.tick {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(53, 224, 178, 0.12);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

/* Hero product card */

.hero-card {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(53, 224, 178, 0.14), transparent 55%),
    linear-gradient(160deg, #101b1e, #0a1114 62%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transform: rotate(1.2deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto 12% -26px 12%;
  height: 44px;
  background: radial-gradient(ellipse at center, rgba(201, 247, 90, 0.22), transparent 70%);
  filter: blur(14px);
  z-index: -1;
}

.hc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hc-head img {
  border-radius: 9px;
}

.hc-title {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hc-title strong {
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.hc-title span {
  font-size: 12px;
  color: var(--teal);
}

.hc-dot {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(53, 224, 178, 0.9);
}

.hc-toggle {
  display: grid;
  place-items: center;
  padding: 30px 0 26px;
}

.hc-ring {
  display: grid;
  place-items: center;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(201, 247, 90, 0.22), transparent 62%),
    conic-gradient(from 210deg, rgba(201, 247, 90, 0.85), rgba(53, 224, 178, 0.9), rgba(201, 247, 90, 0.15));
  box-shadow: 0 0 60px -8px rgba(53, 224, 178, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  animation: breathe 4.5s ease-in-out infinite;
}

.hc-ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #17251f, #0a1210 70%);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hc-ring span {
  position: relative;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
  text-shadow: 0 0 22px rgba(201, 247, 90, 0.55);
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hc-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 18px;
}

.hc-node div {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.hc-node strong {
  font-size: 14.5px;
}

.hc-node span {
  font-size: 12px;
  color: var(--muted);
}

.hc-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal) !important;
  background: rgba(53, 224, 178, 0.1);
  border: 1px solid rgba(53, 224, 178, 0.24);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.hc-meta {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 10px;
  padding-bottom: 16px;
}

.hc-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.hc-meta span {
  font-size: 10.5px;
  color: var(--muted-soft);
  letter-spacing: 0.03em;
}

.hc-meta strong {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: #d9e6e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.hc-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad);
}

.hc-foot {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
  text-align: center;
}

/* ---------- Trust strip ---------- */

.trust {
  padding: 10px 0 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 22px 12px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
}

.trust-item strong {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 247, 90, 0.24);
  background: linear-gradient(170deg, rgba(201, 247, 90, 0.06), rgba(255, 255, 255, 0.015));
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--lime);
  background: rgba(201, 247, 90, 0.08);
  border: 1px solid rgba(201, 247, 90, 0.16);
  margin-bottom: 18px;
}

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

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  font-size: 13.8px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- Platforms ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 12px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 224, 178, 0.35);
  box-shadow: 0 20px 50px -30px rgba(53, 224, 178, 0.45);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--teal);
}

.platform-icon svg {
  width: 25px;
  height: 25px;
}

.platform-card strong {
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.platform-card span:last-child {
  font-size: 12px;
  color: var(--muted-soft);
}

.platform-note {
  margin: 26px 0 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted-soft);
}

.platform-note a {
  color: var(--lime);
  border-bottom: 1px dashed rgba(201, 247, 90, 0.4);
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), transparent 75%);
  opacity: 0.6;
}

.step-no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 40px;
}

.step:nth-child(2) .step-no {
  color: #9fe870;
}

.step:nth-child(3) .step-no {
  color: var(--lime);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- FAQ ---------- */

.faq-wrap {
  max-width: 860px;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-color: rgba(201, 247, 90, 0.22);
  background: rgba(201, 247, 90, 0.035);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.22s ease, color 0.22s ease;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
  color: var(--lime);
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 14.2px;
  line-height: 1.75;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 24px 0 108px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  border-radius: 26px;
  background:
    radial-gradient(700px 220px at 12% 0%, rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(105deg, #d6fa76, #6df0c4 68%, #43dfb8);
  color: #07110b;
  box-shadow: 0 40px 90px -50px rgba(109, 240, 196, 0.6);
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: clamp(24px, 3vw, 33px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.cta-inner p {
  margin: 0;
  font-size: 15px;
  color: rgba(7, 17, 11, 0.68);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 74px 0 34px;
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

/* ---------- Detect banner ---------- */

.detect-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 26px;
  border: 1px solid rgba(53, 224, 178, 0.22);
  border-radius: 16px;
  background:
    linear-gradient(100deg, rgba(53, 224, 178, 0.09), rgba(201, 247, 90, 0.035) 60%, transparent);
}

.detect-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(53, 224, 178, 0.12);
  color: var(--teal);
}

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

.detect-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  min-width: 0;
}

.detect-copy strong {
  font-size: 14.5px;
}

.detect-copy span {
  font-size: 13px;
  color: var(--muted);
}

.detect-banner .status {
  margin-left: auto;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.status-soon {
  color: var(--amber);
  background: rgba(245, 196, 81, 0.1);
  border: 1px solid rgba(245, 196, 81, 0.28);
}

.status-ready {
  color: var(--teal);
  background: rgba(53, 224, 178, 0.1);
  border: 1px solid rgba(53, 224, 178, 0.28);
}

.status-dev {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

/* ---------- Download grid ---------- */

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, #101a1e, #0b1215 70%);
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.dl-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.dl-card.recommended {
  border-color: rgba(201, 247, 90, 0.35);
  box-shadow: 0 0 0 1px rgba(201, 247, 90, 0.12), 0 30px 70px -50px rgba(201, 247, 90, 0.5);
}

.dl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 100% 0%, rgba(53, 224, 178, 0.09), transparent 65%);
  pointer-events: none;
}

.dl-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--teal);
}

.dl-icon svg {
  width: 25px;
  height: 25px;
}

.dl-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-title h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.dl-title h3 .reco {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0a140c;
  background: var(--lime);
  border-radius: 5px;
  padding: 2px 6px;
}

.dl-title span {
  font-size: 13px;
  color: var(--muted);
}

.dl-head .status {
  margin-left: auto;
  flex-shrink: 0;
}

.dl-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
}

.dl-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dl-fact span {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.dl-fact strong {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  color: #d5e3dd;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dl-note {
  margin: 0 0 18px;
  font-size: 12.5px;
  color: var(--muted-soft);
  line-height: 1.6;
}

.dl-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.dl-actions .btn {
  flex: 1;
}

.dl-actions .btn-secondary {
  flex: 0 0 auto;
  padding: 0 14px;
  font-size: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.dl-actions .btn-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}

.dl-hash {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-soft);
  overflow: hidden;
}

.dl-hash span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hash-copy {
  margin-left: auto;
  padding: 2px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 10.5px;
  font-family: var(--font);
  flex-shrink: 0;
}

.hash-copy:hover {
  color: var(--lime);
  border-color: rgba(201, 247, 90, 0.3);
}

.download-grid .loading,
.download-grid .load-error {
  grid-column: 1 / -1;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
  font-size: 14px;
}

/* ---------- Notice & extra cards ---------- */

.notice {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(245, 196, 81, 0.22);
  background: rgba(245, 196, 81, 0.05);
  color: #d9cda9;
  font-size: 13.5px;
  line-height: 1.7;
}

.notice strong {
  color: var(--amber);
}

.notice a {
  color: var(--lime);
  border-bottom: 1px dashed rgba(201, 247, 90, 0.4);
}

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

.info-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.info-card p {
  margin: 0 0 14px;
  font-size: 13.8px;
  color: var(--muted);
}

.info-card pre {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070d10;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.7;
}

.info-card .text-link {
  margin-top: auto;
}

.info-card .muted {
  margin: 12px 0 0;
}

/* ---------- Tables ---------- */

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}

.spec-table th,
.spec-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table th {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  background: rgba(255, 255, 255, 0.022);
}

.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.spec-table td {
  color: #c8d6d2;
}

.spec-table td code,
.prose code,
.info-card code,
.notice code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: #bff07f;
  background: rgba(201, 247, 90, 0.07);
  border: 1px solid rgba(201, 247, 90, 0.12);
  padding: 1px 5px;
  border-radius: 5px;
  white-space: nowrap;
}

/* ---------- Docs ---------- */

.doc-layout {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.doc-toc span {
  margin: 0 0 8px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.doc-toc a {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13.8px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.doc-toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.doc-toc a.active {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(201, 247, 90, 0.06);
}

.prose {
  min-width: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #bccbc6;
}

.prose h2 {
  margin: 56px 0 16px;
  padding-top: 8px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.028em;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 30px 0 12px;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--text);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--teal);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--lime);
  border-bottom: 1px solid rgba(201, 247, 90, 0.3);
}

.prose pre {
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #070d10;
  overflow-x: auto;
  font-size: 12.8px;
  line-height: 1.75;
}

.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: #cfe6c4;
  white-space: pre;
  font-size: inherit;
}

.prose .table-wrap {
  margin: 0 0 20px;
}

.legal-wrap {
  max-width: 840px;
}

.legal-meta {
  margin: 0 0 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-soft);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.8fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 300px;
  font-size: 13.5px;
  color: var(--muted-soft);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.8px;
  color: var(--muted);
}

.footer-col h4 {
  margin: 4px 0 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.3px;
  color: var(--muted-soft);
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid {
    gap: 42px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .doc-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 12px 20px 18px;
    background: rgba(8, 14, 16, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
  }

  .nav-links.open a {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
  }

  .nav-links.open a:last-child {
    border-bottom: 0;
  }

  .nav-links.open a.active::after {
    display: none;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-card {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    transform: none;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(3) {
    border-left: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-no {
    margin-bottom: 22px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 30px;
  }

  .doc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .doc-toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px;
  }

  .doc-toc span {
    display: none;
  }

  .doc-toc a {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.8px;
  }

  .doc-toc a.active {
    border-color: rgba(201, 247, 90, 0.35);
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 74px 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-lead {
    font-size: 15.8px;
  }

  .hero-actions .btn {
    flex: 1;
    padding: 0 16px;
  }

  .hero-points {
    gap: 12px 18px;
    font-size: 12.5px;
  }

  .hero-card {
    padding: 20px;
  }

  .hc-ring {
    width: 124px;
    height: 124px;
  }

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

  .hc-meta div:first-child {
    grid-column: 1 / -1;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-card {
    padding: 20px 10px 18px;
  }

  .trust-item strong {
    font-size: 26px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

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

  .dl-card {
    padding: 20px;
  }

  .dl-body {
    grid-template-columns: 1fr 1fr;
  }

  .dl-head {
    flex-wrap: wrap;
  }

  .dl-head .status {
    order: 3;
    margin-left: 0;
  }

  .detect-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .detect-banner .status {
    margin-left: 58px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .prose h2 {
    font-size: 23px;
  }

  .page-hero {
    padding-top: 52px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
