/* Hub Apps — site styles */

:root {
  color-scheme: light dark;

  /* Color tokens (light) */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f1f4f9;
  --text: #0b1324;
  --muted: #475467;
  --subtle: #667085;
  --border: #e4e8f0;
  --border-strong: #d0d6e2;
  --brand: #0f766e;
  --brand-2: #1d4ed8;
  --brand-soft: #e6f6f3;
  --brand-ink: #0b5e58;
  --grad: linear-gradient(135deg, #0f766e 0%, #1d4ed8 100%);
  --grad-bright: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
  --header-bg: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 24px -6px rgba(16, 24, 40, 0.10);
  --shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.06), 0 30px 60px -20px rgba(16, 24, 40, 0.28);
  --mesh-1: rgba(20, 184, 166, 0.22);
  --mesh-2: rgba(59, 130, 246, 0.20);
  --mesh-3: rgba(139, 92, 246, 0.12);
  --grid-line: rgba(15, 23, 42, 0.05);
  --focus: #2563eb;

  /* Panel (privacy band) — dark in both themes */
  --panel-bg: #0b1324;
  --panel-text: #e8edf6;
  --panel-muted: #a9b4c7;
  --panel-border: rgba(255, 255, 255, 0.10);

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070b15;
    --bg-soft: #0a101d;
    --surface: #0e1525;
    --surface-2: #131c30;
    --text: #e9eef7;
    --muted: #a6b1c4;
    --subtle: #8792a8;
    --border: #1d2740;
    --border-strong: #2a3654;
    --brand: #2dd4bf;
    --brand-2: #60a5fa;
    --brand-soft: rgba(45, 212, 191, 0.12);
    --brand-ink: #5eead4;
    --header-bg: rgba(7, 11, 21, 0.70);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.4), 0 10px 30px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4), 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    --mesh-1: rgba(20, 184, 166, 0.20);
    --mesh-2: rgba(59, 130, 246, 0.20);
    --mesh-3: rgba(139, 92, 246, 0.14);
    --grid-line: rgba(255, 255, 255, 0.045);
    --focus: #60a5fa;
    --panel-bg: #0e1628;
    --panel-border: rgba(255, 255, 255, 0.08);
  }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(20, 184, 166, 0.28); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand svg { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(29, 78, 216, 0.5); }
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav .nav-cta {
  margin-left: var(--s-2);
  color: #fff; background: var(--text);
  font-weight: 600;
}
.nav .nav-cta:hover { color: #fff; background: var(--text); opacity: .88; }
@media (prefers-color-scheme: dark) {
  .nav .nav-cta, .nav .nav-cta:hover { color: #0b1324; background: #e9eef7; }
}
@media (max-width: 640px) {
  .site-header .wrap { height: 60px; gap: var(--s-2); }
  .brand { font-size: 17px; gap: 8px; }
  .brand svg { width: 30px; height: 30px; }
  .nav .nav-home { display: none; }
  .nav a { font-size: 14px; padding: 7px 8px; }
  .nav .nav-cta { margin-left: 2px; padding: 7px 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -10px rgba(29, 78, 216, 0.65);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 16px 30px -12px rgba(29, 78, 216, 0.75); }
.btn-ghost {
  color: var(--text); background: var(--surface);
  border-color: var(--border-strong); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Mesh background ---------- */
.mesh { position: relative; isolation: isolate; }
.mesh::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 12% 10%, var(--mesh-1), transparent 70%),
    radial-gradient(50% 50% at 88% 18%, var(--mesh-2), transparent 70%),
    radial-gradient(45% 45% at 60% 95%, var(--mesh-3), transparent 70%),
    var(--bg-soft);
}
.mesh::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { padding: var(--s-8) 0 var(--s-9); overflow: clip; border-bottom: 1px solid var(--border); }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--s-7);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.eyebrow .dot {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink);
}
.eyebrow .dot svg { width: 13px; height: 13px; }
.hero h1 {
  margin-top: var(--s-5);
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 800;
}
.grad-text {
  background: var(--grad-bright);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: light) {
  .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; }
}
.hero .lead {
  margin-top: var(--s-5);
  font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted);
  max-width: 34em;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero .facts {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5);
  margin: var(--s-6) 0 0; padding: 0; list-style: none;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
}
.hero .facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero .facts svg { width: 18px; height: 18px; color: var(--brand); }

/* Phone mockups */
.visual {
  position: relative; height: 580px;
  --pw: 252px;
}
.visual .glow {
  position: absolute; inset: 12% 8% 6% 8%; border-radius: 50%;
  background: var(--grad-bright); filter: blur(70px); opacity: .28; z-index: 0;
}
.phone {
  position: absolute; z-index: 1;
  width: var(--pw); aspect-ratio: 9 / 19.2;
  padding: 9px; border-radius: 44px;
  background: linear-gradient(160deg, #2a3142, #0b0f19 60%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 20px; border-radius: 999px; background: #05070c; z-index: 3;
}
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  display: flex; flex-direction: column;
}
.phone-a { left: 2%; top: 56px; transform: rotate(-7deg); }
.phone-b { right: 2%; top: 0; transform: rotate(5deg); z-index: 2; }

/* Phone A — utility app */
.phone-a .screen { background: #f6f8fc; padding: 46px 14px 12px; gap: 12px; color: #0b1324; }
.ui-top { display: flex; align-items: center; justify-content: space-between; }
.ui-top .t { display: grid; gap: 6px; }
.bar { height: 8px; border-radius: 99px; background: #dde3ee; }
.bar.dark { background: #1b2436; }
.ui-avatar { width: 30px; height: 30px; border-radius: 10px; background: var(--grad-bright); }
.ui-hero-card {
  border-radius: 20px; padding: 14px; color: #fff;
  background: linear-gradient(140deg, #0f766e, #1d4ed8);
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 12px 24px -12px rgba(29,78,216,.7);
}
.ring {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(#5eead4 0 72%, rgba(255,255,255,.18) 0);
  display: grid; place-items: center;
}
.ring::after { content: ""; width: 46px; height: 46px; border-radius: 50%; background: #155e75; }
.ui-hero-card .lines { display: grid; gap: 7px; flex: 1; }
.ui-hero-card .bar { background: rgba(255,255,255,.35); }
.ui-hero-card .bar.w { background: #fff; }
.ui-chips { display: flex; gap: 6px; }
.ui-chips span { height: 22px; flex: 1; border-radius: 99px; background: #e7ecf5; }
.ui-chips span:first-child { background: #0b1324; }
.ui-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 14px; padding: 10px;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.ui-row i { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
.ui-row .lines { display: grid; gap: 6px; flex: 1; }
.ui-row b { width: 26px; height: 14px; border-radius: 99px; background: #d7f5ef; }
.ui-nav {
  margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 1px 2px rgba(16,24,40,.06);
}
.ui-nav span { width: 18px; height: 18px; border-radius: 6px; background: #dde3ee; }
.ui-nav span:first-child { background: #0f766e; }

/* Phone B — game */
.phone-b .screen {
  background:
    radial-gradient(120px 120px at 80% 22%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(180deg, #4f46e5 0%, #7c3aed 38%, #db2777 72%, #f59e0b 100%);
  padding: 44px 14px 16px;
}
.hud { display: flex; justify-content: space-between; gap: 8px; position: relative; z-index: 2; }
.hud span {
  height: 24px; border-radius: 99px; background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.35); flex: 0 0 34%;
  display: flex; align-items: center; padding: 0 6px; gap: 5px;
}
.hud span::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fde68a; }
.hud span::after { content: ""; height: 6px; flex: 1; border-radius: 99px; background: rgba(255,255,255,.7); }
.hud span.sq { flex: 0 0 24px; padding: 0; justify-content: center; }
.hud span.sq::before { border-radius: 3px; width: 10px; height: 10px; background: #fff; }
.hud span.sq::after { display: none; }
.sun {
  position: absolute; top: 82px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff7d6, #fbbf24);
  box-shadow: 0 0 30px rgba(251,191,36,.7);
}
.cloud { position: absolute; height: 16px; border-radius: 99px; background: rgba(255,255,255,.55); }
.cloud.c1 { top: 150px; left: 18px; width: 70px; }
.cloud.c2 { top: 196px; right: 30px; width: 50px; opacity: .7; }
.plat { position: absolute; height: 18px; border-radius: 8px; background: linear-gradient(#34d399, #059669); box-shadow: 0 6px 0 #065f46; }
.plat.p1 { left: 18px; bottom: 150px; width: 84px; }
.plat.p2 { right: 18px; bottom: 214px; width: 70px; }
.plat.p3 { left: 70px; bottom: 268px; width: 56px; }
.coin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff7d6, #f59e0b); box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.coin.k1 { right: 38px; bottom: 244px; }
.coin.k2 { right: 62px; bottom: 244px; }
.coin.k3 { left: 90px; bottom: 296px; }
.hero-char {
  position: absolute; left: 38px; bottom: 170px; width: 40px; height: 40px; border-radius: 12px;
  background: #fff; box-shadow: 0 8px 18px -6px rgba(0,0,0,.4);
}
.hero-char::before, .hero-char::after {
  content: ""; position: absolute; top: 13px; width: 7px; height: 9px; border-radius: 4px; background: #1e1b4b;
}
.hero-char::before { left: 11px; }
.hero-char::after { right: 11px; }
.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(#10b981, #047857);
  border-top-left-radius: 50% 40px; border-top-right-radius: 50% 40px;
}
.play {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 64%; height: 46px; border-radius: 16px; background: #fff;
  box-shadow: 0 6px 0 rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.play::before {
  content: ""; width: 0; height: 0;
  border-left: 14px solid #7c3aed; border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}

/* Floating chips */
.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap;
}
.chip i {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand-soft); color: var(--brand-ink);
}
.chip i svg { width: 17px; height: 17px; }
.chip small { display: block; font-size: 12px; font-weight: 500; color: var(--subtle); line-height: 1.3; }
.chip span { line-height: 1.3; }
.chip-1 { left: -4px; bottom: 64px; }
.chip-2 { right: -6px; top: 210px; }

@media (max-width: 1080px) {
  .visual { --pw: 228px; height: 530px; }
}
@media (max-width: 920px) {
  .hero { padding: var(--s-7) 0 var(--s-8); }
  .hero .wrap { grid-template-columns: 1fr; gap: var(--s-7); }
  .visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .visual { --pw: min(46vw, 176px); height: 410px; }
  .phone { padding: 7px; border-radius: 34px; }
  .phone::before { top: 14px; height: 15px; }
  .screen { border-radius: 28px; }
  .phone-a { left: 5%; top: 40px; transform: rotate(-5deg); }
  .phone-b { right: 5%; top: 6px; transform: rotate(4deg); }
  .phone-a .screen { padding: 34px 10px 10px; gap: 9px; }
  .phone-b .screen { padding: 34px 10px 12px; }
  .ring { width: 46px; height: 46px; }
  .ring::after { width: 32px; height: 32px; }
  .ui-hero-card { padding: 10px; gap: 10px; border-radius: 16px; }
  .ui-row { padding: 7px; gap: 8px; border-radius: 11px; }
  .ui-row i { width: 22px; height: 22px; border-radius: 7px; }
  .ui-row ~ .ui-row ~ .ui-row { display: none; }
  .sun { top: 64px; width: 34px; height: 34px; right: 18px; }
  .cloud.c1 { top: 112px; }
  .cloud.c2 { top: 148px; }
  .plat.p1 { bottom: 112px; width: 64px; left: 12px; }
  .plat.p2 { bottom: 160px; width: 54px; right: 12px; }
  .plat.p3 { bottom: 202px; left: 52px; width: 44px; }
  .coin.k1 { bottom: 184px; right: 26px; }
  .coin.k2 { bottom: 184px; right: 46px; }
  .coin.k3 { bottom: 226px; left: 66px; }
  .hero-char { left: 26px; bottom: 130px; width: 30px; height: 30px; border-radius: 9px; }
  .hero-char::before, .hero-char::after { top: 10px; width: 5px; height: 7px; }
  .hero-char::before { left: 8px; }
  .hero-char::after { right: 8px; }
  .ground { height: 88px; }
  .play { height: 36px; bottom: 24px; border-radius: 12px; }
  .chip { font-size: 12.5px; padding: 8px 12px 8px 8px; }
  .chip i { width: 26px; height: 26px; }
  .chip small { font-size: 11px; }
  .chip-1 { left: 0; bottom: 18px; }
  .chip-2 { right: 0; top: auto; bottom: 120px; }
  .hero .actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--s-9) 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: var(--s-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: var(--s-3);
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.section h2 { font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -0.03em; font-weight: 800; }
.section-head p { margin-top: var(--s-4); font-size: 18px; color: var(--muted); }
@media (max-width: 640px) {
  .section { padding: var(--s-8) 0; }
  .section-head { margin-bottom: var(--s-6); }
  .section-head p { font-size: 16.5px; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: var(--s-5);
  color: #fff; background: var(--grad);
  box-shadow: 0 8px 18px -8px rgba(29, 78, 216, 0.6), 0 1px 0 rgba(255,255,255,.25) inset;
}
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 18.5px; margin-bottom: var(--s-2); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
  list-style: none; margin: 0; padding: 0; counter-reset: step;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: var(--s-5);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 44px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--brand-ink); background: var(--brand-soft);
  margin-bottom: var(--s-4);
}
.step h3 { font-size: 18px; margin-bottom: var(--s-2); }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.step::after {
  content: ""; position: absolute; top: 39px; right: -17px; width: 18px; height: 2px;
  background: var(--border-strong);
}
.step:last-child::after { display: none; }
@media (max-width: 1000px) { .step::after { display: none; } }

/* Privacy panel */
.panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--panel-bg); color: var(--panel-text);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-7); align-items: center;
}
.panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(20,184,166,.28), transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(59,130,246,.28), transparent 70%);
}
.panel .kicker { color: #5eead4; }
.panel h2 { color: #fff; }
.panel p.sub { margin-top: var(--s-4); color: var(--panel-muted); font-size: 17px; }
.panel .btn { margin-top: var(--s-6); }
.panel .btn-light { color: #0b1324; background: #fff; }
.panel .btn-light:hover { transform: translateY(-1px); background: #eef2f8; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.checks .ck {
  flex-shrink: 0; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 8px; margin-top: 1px;
  background: rgba(45, 212, 191, .16); color: #5eead4;
}
.checks .ck svg { width: 16px; height: 16px; }
.checks strong { display: block; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.4; }
.checks span.d { display: block; color: var(--panel-muted); font-size: 14.5px; line-height: 1.55; margin-top: 2px; }
@media (max-width: 920px) {
  .panel { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* Contact */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: start;
}
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; gap: var(--s-6); } }
.contact .section-head { margin-bottom: 0; }
.email-cta {
  margin-top: var(--s-6);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3);
}
.email-cta .addr {
  font-size: 15px; color: var(--muted);
}
.email-cta .addr a { font-weight: 600; word-break: break-all; }
.company {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.company-top {
  display: flex; align-items: center; gap: 14px;
  padding: var(--s-5); border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.company-top svg { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.company-top strong { display: block; font-size: 17px; line-height: 1.3; }
.company-top span { display: block; font-size: 14px; color: var(--subtle); }
.company dl { margin: 0; padding: var(--s-2) var(--s-5); }
.company .row {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.company .row:last-child { border-bottom: 0; }
.company .row i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--surface-2); color: var(--brand);
}
.company .row i svg { width: 20px; height: 20px; }
.company dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--subtle); }
.company dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding: var(--s-8) 0 var(--s-6); color: var(--muted); font-size: 15px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--s-6);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); } }
.footer-about p { margin-top: var(--s-4); max-width: 30em; }
.site-footer h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); margin-bottom: var(--s-3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.site-footer .email { overflow-wrap: anywhere; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3);
  font-size: 14px; color: var(--subtle);
}
.footer-bottom nav { display: flex; gap: var(--s-5); }

/* ---------- Document pages ---------- */
.doc-hero { padding: var(--s-8) 0 var(--s-7); border-bottom: 1px solid var(--border); overflow: clip; }
.crumbs { font-size: 14px; color: var(--subtle); margin-bottom: var(--s-4); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span { margin: 0 8px; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; }
.doc-hero .meta {
  margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  font-size: 15px; color: var(--muted);
}
.doc-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.doc-hero .meta svg { width: 16px; height: 16px; color: var(--brand); }

.doc-layout {
  display: grid; grid-template-columns: 240px minmax(0, 720px); gap: var(--s-8);
  justify-content: center;
  padding-top: var(--s-7); padding-bottom: var(--s-9);
}
.toc { position: sticky; top: 100px; align-self: start; font-size: 14.5px; }
.toc h2 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--subtle); margin-bottom: var(--s-3);
}
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted); text-decoration: none; line-height: 1.4;
}
.toc a:hover { color: var(--text); border-left-color: var(--brand); }
@media (max-width: 960px) {
  .doc-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-top: var(--s-6); }
  .toc { position: static; }
  .toc ol { display: none; }
  .toc h2 { display: none; }
}

.doc { font-size: 17px; line-height: 1.75; color: var(--text); }
.doc > p.intro {
  font-size: 18.5px; line-height: 1.7; color: var(--muted);
  padding-bottom: var(--s-6); margin-bottom: var(--s-2); border-bottom: 1px solid var(--border);
}
.doc h2 {
  font-size: 23px; letter-spacing: -0.02em; font-weight: 700;
  margin: var(--s-7) 0 var(--s-3);
  display: flex; align-items: baseline; gap: 12px;
}
.doc h2 .n {
  font-size: 14px; font-weight: 700; color: var(--brand);
  font-variant-numeric: tabular-nums; min-width: 1.6em;
}
.doc p { margin: 0 0 var(--s-4); }
.doc ul { margin: 0 0 var(--s-4); padding-left: 1.3em; }
.doc li { margin-bottom: 10px; padding-left: 4px; }
.doc li::marker { color: var(--brand); }
.doc strong { font-weight: 650; }
.doc .contact-card {
  margin-top: var(--s-2);
  padding: var(--s-5); border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  font-size: 16px; line-height: 1.7;
}
.doc .contact-card a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .doc { font-size: 16.5px; }
  .doc > p.intro { font-size: 17px; }
  .doc h2 { font-size: 20.5px; margin-top: var(--s-6); }
  .doc-hero { padding: var(--s-7) 0 var(--s-6); }
}

/* ---------- 404 ---------- */
.notfound { padding: var(--s-9) 0; text-align: center; border-bottom: 1px solid var(--border); overflow: clip; }
.notfound .code {
  font-size: clamp(88px, 18vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: 1;
}
.notfound h1 { margin-top: var(--s-4); font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.notfound p { margin: var(--s-3) auto 0; max-width: 32em; color: var(--muted); font-size: 17px; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-top: var(--s-6); }
.doc .see-also { margin-top: var(--s-6); color: var(--muted); font-size: 15px; }
@media (max-width: 420px) { .eb-loc { display: none; } }
body { min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }
