/* RC Link — official site styles */

:root {
  --bg: #060910;
  --bg-soft: #090e19;
  --surface: #0c1322;
  --surface-2: #111a2c;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --text: #e9f0ff;
  --muted: #93a4c0;
  --muted-2: #6b7c99;
  --acc: #4cc9f0;
  --acc-2: #8b7cff;
  --ok: #3ddc97;
  --warn: #f5c451;
  --err: #ff7a6b;
  --grad: linear-gradient(120deg, #4cc9f0 0%, #8b7cff 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 68px;
  --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 500px at 82% -10%, rgba(76, 201, 240, 0.14), transparent 62%),
    radial-gradient(760px 460px at 4% 2%, rgba(139, 124, 255, 0.12), transparent 60%),
    var(--bg);
  pointer-events: none;
}

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

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

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

::selection {
  background: rgba(76, 201, 240, 0.3);
  color: #fff;
}

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

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(6, 9, 16, 0.74);
  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, 9, 16, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand img {
  width: 32px;
  height: 32px;
}

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

.brand small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--acc);
  text-transform: uppercase;
}

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

.nav-links a {
  transition: color 0.15s ease;
}

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

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

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

.site-nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

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

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

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

.btn-primary {
  background: var(--grad);
  color: #06111c;
  box-shadow: 0 10px 30px rgba(76, 201, 240, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(76, 201, 240, 0.34);
}

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

.btn-ghost:hover {
  border-color: rgba(76, 201, 240, 0.5);
  background: rgba(76, 201, 240, 0.08);
}

.btn-soft {
  background: rgba(76, 201, 240, 0.12);
  border-color: rgba(76, 201, 240, 0.35);
  color: #d7f4ff;
}

.btn-soft:hover {
  background: rgba(76, 201, 240, 0.18);
}

.btn-lg {
  padding: 14px 26px;
  font-size: 15.5px;
  border-radius: 13px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}

.btn[aria-disabled="true"],
.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

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

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

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 60px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(12, 19, 34, 0.55), rgba(9, 14, 25, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-head h2 {
  margin: 12px 0 12px;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

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

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

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

.hero {
  padding: 78px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 58px;
  align-items: center;
}

.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero-lead {
  margin: 0 0 26px;
  max-width: 540px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

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

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

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

.tick {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(61, 220, 151, 0.14);
  color: var(--ok);
  font-size: 10px;
  font-weight: 700;
}

/* ---------- Wall mock ---------- */

.wall-wrap {
  position: relative;
}

.wall-wrap::before {
  content: "";
  position: absolute;
  inset: -12% -8% -18%;
  background: radial-gradient(closest-side, rgba(76, 201, 240, 0.2), transparent 72%);
  filter: blur(28px);
  z-index: -1;
}

.wall-mock {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  background: #080d17;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}

.wm-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #0b1220;
  font-size: 11px;
  color: var(--muted-2);
}

.wm-dots {
  display: flex;
  gap: 5px;
}

.wm-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #26344c;
}

.wm-title {
  font-weight: 600;
  color: #cfe0f5;
}

.wm-pill {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  color: var(--ok);
  border: 1px solid rgba(61, 220, 151, 0.28);
  background: rgba(61, 220, 151, 0.08);
}

.wm-body {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 336px;
}

.wm-side {
  border-right: 1px solid var(--line);
  padding: 9px 7px;
  background: #0a111e;
}

.wm-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 7px 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.wm-host {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 7px;
  padding: 6px 7px;
  border-radius: 8px;
  margin-bottom: 2px;
}

.wm-host i {
  grid-row: 1 / 3;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 7px rgba(61, 220, 151, 0.7);
}

.wm-host b {
  font-size: 10.5px;
  font-weight: 600;
  color: #c9d8ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-host small {
  font-size: 9px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-host.active {
  background: #12203a;
}

.wm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 7px;
  padding: 9px;
}

.wm-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1220;
}

.wm-thead {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  font-size: 9px;
  color: #b9cbe4;
  background: #0d1524;
  border-bottom: 1px solid var(--line);
}

.wm-thead i {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ok);
}

.wm-screen {
  position: relative;
  flex: 1;
  min-height: 112px;
  overflow: hidden;
}

.wm-screen.s1 {
  background: linear-gradient(150deg, #12324a, #0a1a2b 62%);
}

.wm-screen.s2 {
  background: #0a1120;
}

.wm-screen.s3 {
  background: linear-gradient(150deg, #16233a, #0d1526 70%);
}

.wm-screen.s4 {
  background: linear-gradient(150deg, #241d3b, #121226 66%);
}

.fwin {
  position: absolute;
  inset: 16% 9% 12% 9%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 5px;
  background: rgba(10, 18, 31, 0.86);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.fbar {
  display: flex;
  gap: 3px;
  padding: 4px 5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.fbar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #33415c;
}

.fchart {
  position: absolute;
  inset: 22px 8px 8px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.fchart span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--acc), rgba(76, 201, 240, 0.2));
}

.fchart span:nth-child(2n) {
  background: linear-gradient(180deg, var(--acc-2), rgba(139, 124, 255, 0.18));
}

.ftask {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  background: rgba(6, 12, 22, 0.9);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.ftask b {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--acc);
  opacity: 0.85;
}

.ftask i {
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: #2b3a54;
}

.fcode {
  position: absolute;
  inset: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fcode i {
  height: 3px;
  border-radius: 2px;
  background: #26344c;
}

.fcode i:nth-child(1) { width: 46%; background: #3b5f8a; }
.fcode i:nth-child(2) { width: 72%; }
.fcode i:nth-child(3) { width: 58%; background: rgba(61, 220, 151, 0.5); }
.fcode i:nth-child(4) { width: 82%; }
.fcode i:nth-child(5) { width: 40%; background: rgba(139, 124, 255, 0.55); }
.fcode i:nth-child(6) { width: 64%; }
.fcode i:nth-child(7) { width: 52%; background: rgba(76, 201, 240, 0.5); }

.fsheet {
  position: absolute;
  inset: 10px 9px;
  display: grid;
  grid-template-columns: 18px repeat(4, 1fr);
  grid-auto-rows: 9px;
  gap: 1px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.fsheet i {
  background: rgba(12, 20, 34, 0.94);
}

.fsheet i:nth-child(5n + 1) {
  background: rgba(76, 201, 240, 0.16);
}

.fsheet i:nth-child(7n) {
  background: rgba(61, 220, 151, 0.18);
}

.ffiles {
  position: absolute;
  inset: 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ffiles i {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 9px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.08);
}

.ffiles i::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: rgba(139, 124, 255, 0.7);
}

.ffiles i:nth-child(2)::before { background: rgba(76, 201, 240, 0.7); }
.ffiles i:nth-child(4)::before { background: rgba(61, 220, 151, 0.7); }

.wm-toast {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid rgba(76, 201, 240, 0.28);
  background: rgba(8, 16, 28, 0.92);
  font-size: 10px;
  color: #cfe9f6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.wm-toast b {
  color: var(--acc);
}

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

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 14, 25, 0.6);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 24px 0;
}

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

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

.trust-item strong {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

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

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

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

.feature-card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.7), rgba(10, 16, 28, 0.6));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 201, 240, 0.34);
}

.fi {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  border: 1px solid rgba(76, 201, 240, 0.24);
  background: rgba(76, 201, 240, 0.09);
  color: var(--acc);
}

.fi svg {
  width: 20px;
  height: 20px;
}

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

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

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

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

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

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--acc);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

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

.step code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #cfe9f6;
  background: rgba(76, 201, 240, 0.1);
  padding: 1px 5px;
  border-radius: 5px;
}

/* ---------- Platform ---------- */

.platform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.platform-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.platform-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 124, 255, 0.12);
  border: 1px solid rgba(139, 124, 255, 0.26);
  color: #c3bbff;
}

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

.platform-head strong {
  display: block;
  font-size: 17px;
}

.platform-head small {
  color: var(--muted-2);
  font-size: 12.5px;
}

.platform-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.platform-card li {
  display: flex;
  gap: 9px;
}

.platform-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--acc);
}

/* ---------- Security ---------- */

.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 46px;
  align-items: center;
}

.sec-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sec-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
}

.sec-list svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--ok);
}

.sec-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
}

.sec-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.net-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(17, 26, 44, 0.9), rgba(8, 13, 23, 0.9));
}

.net-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 13, 23, 0.7);
}

.net-node svg {
  width: 26px;
  height: 26px;
  color: var(--acc);
}

.net-node strong {
  display: block;
  font-size: 14px;
}

.net-node small {
  color: var(--muted-2);
  font-size: 12px;
}

.net-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
}

.net-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 30px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.1), rgba(76, 201, 240, 0.55), rgba(76, 201, 240, 0.1));
}

.net-link span {
  position: relative;
  padding: 3px 10px;
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: 999px;
  background: #0a1424;
  color: #bfe9f7;
  font-size: 11.5px;
}

.net-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  text-align: center;
  color: var(--muted-2);
  font-size: 12px;
}

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

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

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0 20px;
}

.faq details[open] {
  border-color: rgba(76, 201, 240, 0.28);
}

.faq summary {
  position: relative;
  padding: 16px 28px 16px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--acc);
  font-size: 18px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

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

.faq details code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #cfe9f6;
  background: rgba(76, 201, 240, 0.1);
  padding: 1px 5px;
  border-radius: 5px;
}

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

.cta-band {
  padding: 80px 0;
}

.cta-inner {
  position: relative;
  overflow: hidden;
  padding: 52px 48px;
  border: 1px solid rgba(76, 201, 240, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(600px 280px at 88% -20%, rgba(139, 124, 255, 0.22), transparent 62%),
    linear-gradient(140deg, rgba(76, 201, 240, 0.13), rgba(12, 19, 34, 0.9) 52%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.cta-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 16, 0.8);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 320px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 13.5px;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--muted-2);
  font-size: 12.5px;
}

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

.page-hero {
  padding: 62px 0 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(76, 201, 240, 0.05), transparent);
}

.page-hero h1 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

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

/* ---------- Downloads ---------- */

.dl-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.78), rgba(9, 14, 25, 0.72));
}

.dl-card.recommended {
  border-color: rgba(76, 201, 240, 0.32);
  box-shadow: 0 18px 50px rgba(76, 201, 240, 0.08);
}

.dl-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.dl-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 13px;
  border: 1px solid rgba(76, 201, 240, 0.28);
  background: rgba(76, 201, 240, 0.1);
  color: var(--acc);
}

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

.dl-title {
  flex: 1;
  min-width: 0;
}

.dl-title h2 {
  margin: 0 0 2px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.dl-title p {
  margin: 0;
  color: var(--muted-2);
  font-size: 13px;
}

.badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.3);
  background: rgba(76, 201, 240, 0.1);
  color: #bfe9f7;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.badge.green {
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.1);
  color: #b8f5da;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.dl-meta b {
  color: var(--text);
  font-weight: 600;
}

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

.dl-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.dl-details {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.dl-details summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
  padding-right: 18px;
  position: relative;
}

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

.dl-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  color: var(--acc);
}

.dl-details[open] summary::after {
  content: "−";
}

.dl-details ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dl-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.dl-details li a {
  color: #cfe9f6;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.dl-details li span {
  margin-left: auto;
  color: var(--muted-2);
  white-space: nowrap;
}

.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(245, 196, 81, 0.28);
  border-left: 3px solid var(--warn);
  border-radius: 10px;
  background: rgba(245, 196, 81, 0.07);
  color: #e7d9b4;
  font-size: 13.5px;
  line-height: 1.75;
}

.notice strong {
  color: #ffe2a0;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

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

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: n;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-list li {
  position: relative;
  padding-left: 38px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.step-list li::before {
  counter-increment: n;
  content: counter(n);
  position: absolute;
  left: 0;
  top: 0;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(76, 201, 240, 0.32);
  background: rgba(76, 201, 240, 0.1);
  color: #cfeeff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
}

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

.step-list code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: #cfe9f6;
  background: rgba(76, 201, 240, 0.1);
  padding: 1px 5px;
  border-radius: 5px;
  overflow-wrap: anywhere;
}

.code-block {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #070c15;
  color: #cfe9f6;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
  white-space: pre;
}

.hash {
  font-family: var(--mono);
  font-size: 12px;
  color: #cfe9f6;
  background: #070c15;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  overflow-wrap: anywhere;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hash code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.copy-btn {
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-radius: 7px;
  padding: 4px 9px;
  font-size: 11.5px;
}

.copy-btn:hover {
  color: var(--text);
  border-color: rgba(76, 201, 240, 0.4);
}

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

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

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  background: rgba(17, 26, 44, 0.7);
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

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

/* ---------- Connect page ---------- */

.connect-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.connect-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 26, 44, 0.8), rgba(9, 14, 25, 0.72));
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #070c15;
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: rgba(76, 201, 240, 0.6);
  box-shadow: 0 0 0 3px rgba(76, 201, 240, 0.12);
}

.field small {
  color: var(--muted-2);
  font-size: 12px;
}

.connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.form-msg {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 13px;
}

.form-msg.err {
  color: var(--err);
}

.form-msg.ok {
  color: var(--ok);
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.saved-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(12, 19, 34, 0.7);
}

.saved-row .s-info {
  flex: 1;
  min-width: 0;
}

.saved-row strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saved-row small {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.saved-row .s-ops {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.saved-row button {
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 12px;
  color: var(--muted);
}

.saved-row button:hover {
  color: var(--text);
  border-color: rgba(76, 201, 240, 0.4);
}

.saved-row button.del:hover {
  color: var(--err);
  border-color: rgba(255, 122, 107, 0.4);
}

.tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.tip {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 19, 34, 0.6);
}

.tip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13.5px;
}

.tip span {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.empty {
  padding: 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

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

@media (max-width: 1020px) {
  .nav-links {
    gap: 18px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .hero-lead {
    max-width: none;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .security-grid {
    grid-template-columns: 1fr;
  }
  .dl-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 26px 18px;
    background: rgba(6, 9, 16, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.nav-open .nav-links {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .install-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }
  .trust-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  .hero {
    padding: 52px 0 40px;
  }
  .section {
    padding: 62px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .wm-body {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .wm-host small {
    display: none;
  }
  .wm-screen {
    min-height: 88px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tips {
    grid-template-columns: 1fr;
  }
  .dl-card,
  .panel,
  .connect-card {
    padding: 22px 18px;
  }
  .dl-actions .btn {
    width: 100%;
  }
  .trust-item strong {
    font-size: 22px;
  }
  .saved-row {
    flex-wrap: wrap;
  }
  .saved-row .s-ops {
    width: 100%;
    justify-content: flex-end;
  }
}
