/* ClinVPN — premium light theme with navy hero, colours taken from the logo */
@font-face {
  font-family: "Jakarta";
  src: url("/fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* Logo palette */
  --cyan: #1ec8ff;
  --sky: #0aa2ff;
  --blue: #2f6bff;
  --violet: #8b4dff;
  --magenta: #c43cff;
  --grad: linear-gradient(100deg, #1ec8ff 0%, #2f86ff 38%, #6a5cff 70%, #b544ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(30, 200, 255, .14), rgba(139, 77, 255, .16));

  /* Navy (logo background) */
  --navy-950: #050829;
  --navy-900: #0a0e38;
  --navy-800: #121852;
  --navy-700: #1c2470;

  /* Light surfaces */
  --bg: #ffffff;
  --tint: #f3f7ff;
  --surface: #ffffff;
  --border: #e4eaf7;
  --border-strong: #cfd9f0;
  --text: #0b1033;
  --text-2: #3a4270;
  --muted: #5d668f;
  --faint: #8b93b5;

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 51, .06), 0 2px 8px rgba(11, 16, 51, .04);
  --shadow: 0 18px 50px -12px rgba(24, 38, 120, .22);
  --shadow-glow: 0 10px 30px -6px rgba(47, 107, 255, .55);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.mt24 { margin-top: 24px; }
code { font-family: var(--mono); font-size: .88em; background: var(--tint); border: 1px solid var(--border); padding: 1px 6px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--font); cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; background: var(--grad); background-size: 140% 100%; background-position: 0 0;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 14px 34px -6px rgba(106, 92, 255, .6); }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .16); }
.btn-outline { color: var(--blue); background: #fff; border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--blue); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 56, .94);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(226, 232, 255, .78); font-size: 15px; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 10px 18px; font-size: 14px; }
.nav-toggle {
  display: none; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #fff;
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.show-sm { display: none; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.08); padding: 6px 20px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-actions .hide-sm { display: none; }
  .show-sm { display: list-item; }
}
@media (max-width: 420px) {
  .brand img { height: 42px; }
  .nav-actions .btn-primary span { display: none; }
  .nav-actions .btn-primary { padding: 10px 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; padding: 88px 0 150px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-a { width: 520px; height: 520px; left: -140px; top: -120px; background: #0d6bff; }
.orb-b { width: 460px; height: 460px; right: -120px; top: 40px; background: #7a3dff; opacity: .45; }
.orb-c { width: 380px; height: 380px; left: 42%; bottom: -160px; background: #10b8ff; opacity: .3; }
.grid-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700;
  color: #cfe9ff; background: rgba(30, 200, 255, .1); border: 1px solid rgba(30, 200, 255, .3);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 24px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(30,200,255,.2), 0 0 12px var(--cyan); }
.hero h1 { font-size: clamp(40px, 5.8vw, 68px); letter-spacing: -0.035em; margin-bottom: 22px; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(220, 228, 255, .78); max-width: 560px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; color: rgba(220,228,255,.75); font-size: 14.5px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--cyan); }
.hero-curve {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleX(1.4);
}
@media (max-width: 960px) {
  .hero { padding: 64px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust { justify-content: center; }
}

/* App mock */
.hero-art { display: flex; justify-content: center; }
.app-mock {
  width: 100%; max-width: 340px; border-radius: 28px; padding: 22px 22px 20px;
  background: linear-gradient(180deg, rgba(28, 36, 112, .75), rgba(10, 14, 56, .9));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(30,200,255,.08) inset, 0 0 60px -10px rgba(47,107,255,.45);
  backdrop-filter: blur(12px); text-align: center; position: relative;
}
.app-top { display: flex; align-items: center; gap: 8px; }
.app-top img { width: 28px; height: 28px; }
.app-title { font-weight: 800; font-size: 15px; }
.app-dots { margin-left: auto; display: flex; gap: 5px; }
.app-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.app-status { display: inline-flex; align-items: center; gap: 8px; margin: 26px 0 18px; font-weight: 700; font-size: 15px; color: #7ff0c9; }
.state-dot { width: 9px; height: 9px; border-radius: 50%; background: #3cf0b0; box-shadow: 0 0 10px #3cf0b0; }
.power {
  position: relative; width: 164px; height: 164px; margin: 0 auto; border-radius: 50%; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 35%, #2a3290, #0f1452 70%); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.03), 0 20px 40px -10px rgba(0,0,0,.6);
}
.power .ring { position: absolute; inset: -4px; border-radius: 50%; padding: 4px; background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.power .ring-2 { inset: -18px; opacity: .35; animation: breathe 2.8s ease-in-out infinite; }
.power .core { width: 92px; height: 92px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 40px rgba(47,134,255,.7); transition: filter .3s ease, box-shadow .3s ease; }
.power .core svg { width: 38px; height: 38px; color: #fff; }
.power[aria-pressed="false"] .core { filter: grayscale(1) brightness(.7); box-shadow: none; }
.power[aria-pressed="false"] .ring-2 { animation: none; opacity: 0; }
.app-mock.is-off .app-status { color: #ffb4c0; }
.app-mock.is-off .state-dot { background: #ff6b86; box-shadow: 0 0 10px #ff6b86; }
@keyframes breathe { 0%, 100% { transform: scale(.96); opacity: .25; } 50% { transform: scale(1.04); opacity: .5; } }
.app-sub { color: rgba(220,228,255,.7); font-size: 14px; margin: 22px 0 18px; }
.app-loc {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.app-loc b { display: block; font-size: 15px; }
.app-loc small { color: rgba(220,228,255,.6); font-size: 12.5px; }
.app-loc .chev { margin-left: auto; color: rgba(255,255,255,.5); }
.app-loc .chev svg { width: 18px; height: 18px; }
.app-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.app-stats > div { background: rgba(255,255,255,.05); border-radius: 14px; padding: 10px 12px; text-align: left; }
.app-stats small { display: block; font-size: 11.5px; color: rgba(220,228,255,.55); }
.app-stats b { font-size: 14px; font-variant-numeric: tabular-nums; }

.cc {
  flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  font: 800 12.5px/1 var(--font); letter-spacing: .04em; color: #fff; background: var(--grad);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker-light { background: none; color: var(--cyan); -webkit-text-fill-color: currentColor; }
@media (max-width: 640px) { section { padding: 68px 0; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--grad); color: #fff; box-shadow: 0 10px 22px -8px rgba(47, 107, 255, .6);
}
.icon svg { width: 24px; height: 24px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy h2 { font-size: clamp(30px, 3.6vw, 42px); }
.split-copy > p { color: var(--muted); font-size: 17.5px; margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-2); }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--grad); flex: none; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split-rev .split-copy { order: 0; } }

.split-art { display: flex; justify-content: center; }
.loc-panel {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 18px; box-shadow: var(--shadow);
}
.loc-search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--tint); color: var(--faint); font-weight: 600; margin-bottom: 10px; }
.loc-search svg { width: 18px; height: 18px; color: var(--blue); }
.loc-panel ul { list-style: none; margin: 0; padding: 0; }
.loc-panel li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; }
.loc-panel li.active { background: var(--grad-soft); outline: 1px solid rgba(47,107,255,.25); }
.loc-panel li b { font-size: 15.5px; }
.sig { margin-left: auto; display: flex; align-items: flex-end; gap: 3px; height: 16px; }
.sig i { width: 4px; border-radius: 2px; background: var(--blue); }
.sig i:nth-child(1) { height: 5px; } .sig i:nth-child(2) { height: 8px; } .sig i:nth-child(3) { height: 12px; } .sig i:nth-child(4) { height: 16px; }
.sig i.off { background: var(--border-strong); }

.shield-art { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / .9; display: grid; place-items: center; }
.shield-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(60px); opacity: .28; }
.shield-badge {
  position: relative; width: 170px; height: 170px; border-radius: 44px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.shield-badge svg { width: 84px; height: 84px; color: var(--cyan); filter: drop-shadow(0 0 16px rgba(30,200,255,.6)); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; color: var(--text-2);
}
.chip svg { width: 18px; height: 18px; color: var(--blue); }
.chip-a { top: 10%; left: 2%; } .chip-b { top: 22%; right: 0; } .chip-c { bottom: 10%; left: 12%; }

/* Dark section */
.section-dark { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.section-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, rgba(13,107,255,.35), transparent 70%), radial-gradient(600px 300px at 85% 100%, rgba(122,61,255,.35), transparent 70%); }
.section-dark .section-head p { color: rgba(220,228,255,.72); }
.loc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .loc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .loc-grid { grid-template-columns: repeat(2, 1fr); } }
.loc {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; font-weight: 700; font-size: 15px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .2s ease, border-color .2s ease;
}
.loc:hover { background: rgba(255,255,255,.1); border-color: rgba(30,200,255,.4); }
.loc span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px; background: var(--grad); opacity: .35; }
.step { text-align: center; position: relative; }
.step .num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px;
  font: 800 22px/1 var(--font); color: #fff; background: var(--grad); box-shadow: var(--shadow-glow), 0 0 0 8px #fff;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); max-width: 260px; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 36px; } .steps::before { display: none; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 820px; margin: 0 auto 28px; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.plan h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; margin-bottom: 10px; }
.plan h3 svg { width: 20px; height: 20px; color: var(--violet); }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 10px; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-sub { color: var(--muted); margin: 0; }
.plan-premium { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.plan-premium .price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ribbon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--grad); padding: 5px 11px; border-radius: 999px; }
.compare-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 15px 20px; border-bottom: 1px solid var(--border); text-align: center; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); background: var(--tint); }
.compare tbody th { text-align: left; font-weight: 600; color: var(--text-2); }
.compare thead th:first-child { text-align: left; }
.compare td { font-weight: 700; color: var(--text-2); width: 22%; }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--grad); color: #fff; }
.no { background: #eef1f9; color: var(--faint); }
.yes svg, .no svg { width: 15px; height: 15px; }
.fine { text-align: center; color: var(--faint); font-size: 14px; margin: 18px 0 0; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .platforms { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px 12px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.platform:hover { text-decoration: none; }
.platform svg { width: 36px; height: 36px; color: var(--faint); }
.platform.is-live { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.platform.is-live:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.platform.is-live svg { color: var(--blue); }
.platform b { font-size: 16px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #eef1f9; color: var(--muted); }
.tag-live { color: #fff; background: var(--grad); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; position: relative; font-weight: 700; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--blue); font-weight: 800; font-size: 18px; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 22px 20px; margin: 0; }
.faq details:target { border-color: var(--blue); }

/* CTA */
.cta-section { padding-top: 40px; }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff;
  border-radius: 32px; padding: 64px 24px; background: var(--navy-900);
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 260px at 15% 0%, rgba(13,107,255,.55), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(122,61,255,.55), transparent 70%); }
.cta-band img { width: 84px; height: 84px; margin: 0 auto 14px; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 40px); }
.cta-band p { color: rgba(220,228,255,.75); margin-bottom: 28px; font-size: 17px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(220,228,255,.7); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .brand img { height: 50px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:not(.btn), .link-btn { color: rgba(220,228,255,.7); font-size: 15px; }
.footer-grid a:not(.btn):hover, .link-btn:hover { color: #fff; }
.blurb { font-size: 15px; max-width: 320px; margin: 14px 0 20px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; cursor: pointer; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: rgba(220,228,255,.5); }

/* ---------- Modal ---------- */
dialog.modal {
  width: min(440px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 26px;
  background: #fff; color: var(--text); box-shadow: 0 40px 100px -20px rgba(5, 8, 41, .55);
}
dialog.modal::backdrop { background: rgba(5, 8, 41, .6); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-body { padding: 34px 30px 30px; text-align: center; position: relative; }
.modal-body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); border-radius: 26px 26px 0 0; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; background: none; border: 0; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.modal-close:hover { background: var(--tint); color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }
.modal-mark { width: 72px; height: 72px; margin: 0 auto 12px; padding: 8px; border-radius: 20px; background: var(--navy-900); }
.modal h2 { font-size: 23px; }
.modal p { color: var(--muted); font-size: 15px; }
.soon-badge { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); background: rgba(139,77,255,.1); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.fake-form { display: grid; gap: 8px; margin: 20px 0; text-align: left; }
.fake-form label { font-size: 13px; color: var(--muted); font-weight: 700; }
.fake-form input { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--tint); color: var(--faint); font: inherit; font-size: 15px; margin-bottom: 4px; }

/* ---------- Inner page band ---------- */
.page-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; padding: 56px 0 60px; }
.page-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 240px at 10% 0%, rgba(13,107,255,.45), transparent 70%), radial-gradient(500px 240px at 90% 100%, rgba(122,61,255,.4), transparent 70%); }
.page-band h1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 10px; }
.page-band p { color: rgba(220,228,255,.72); margin: 0; font-size: 17px; }
.page-band-lg { text-align: center; padding: 72px 0 150px; }
.page-band-lg p { max-width: 580px; margin: 0 auto; font-size: 18px; }

/* Download */
.dl-wrap { margin-top: -96px; position: relative; }
.os-note { text-align: center; color: var(--violet); font-weight: 600; background: #fff; border-radius: 12px; padding: 10px 16px; margin: 0 auto 16px; max-width: 720px; box-shadow: var(--shadow-sm); }
.dl-main { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
@media (max-width: 860px) { .dl-main { grid-template-columns: 1fr; } }
.dl-main .left, .dl-main .right { padding: 42px; }
.dl-main .right { background: var(--tint); border-left: 1px solid var(--border); }
@media (max-width: 860px) { .dl-main .left, .dl-main .right { padding: 28px 22px; } .dl-main .right { border-left: 0; border-top: 1px solid var(--border); } }
.dl-os { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.os-tile { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); flex: none; }
.os-tile svg { width: 30px; height: 30px; }
.dl-os h2 { margin: 0; font-size: 26px; }
.dl-os small { color: var(--muted); font-size: 14px; }
.dl-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 26px; }
.dl-legal { font-size: 13px; color: var(--faint); margin: 0; }
.dl-legal a { color: var(--muted); text-decoration: underline; }
.dl-status { font-size: 14px; color: var(--violet); font-weight: 600; margin: 0; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 14px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--border); }
.meta dt { color: var(--faint); font-weight: 600; }
.meta dd { margin: 0; color: var(--text-2); word-break: break-all; }
.meta code { background: none; border: 0; padding: 0; font-size: 12.5px; }
.h-sm { font-size: 19px; margin-bottom: 20px; }
.h-xs { font-size: 16px; margin: 30px 0 12px; }
ol.install { margin: 0; padding: 0; list-style: none; counter-reset: i; }
ol.install li { position: relative; padding-left: 46px; margin-bottom: 20px; color: var(--muted); font-size: 15px; }
ol.install li b { color: var(--text); display: block; margin-bottom: 2px; }
ol.install li::before { counter-increment: i; content: counter(i); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font: 800 13px/1 var(--font); }
.req { list-style: none; padding: 0; margin: 0; }
.req li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 15px; margin-bottom: 8px; }
.req svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.soon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .soon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .soon-grid { grid-template-columns: 1fr; } }
.soon .top { display: flex; align-items: flex-start; justify-content: space-between; }
.soon .icon { margin-bottom: 16px; }
.soon h3 { font-size: 18px; margin-bottom: 4px; }

/* ---------- Legal ---------- */
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
@media (max-width: 900px) { .legal-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; } }
.legal-nav { position: sticky; top: 96px; align-self: start; min-width: 0; }
@media (max-width: 900px) { .legal-nav { position: static; } }
.legal-nav ul { list-style: none; margin: 0; padding: 8px; display: grid; gap: 4px; background: var(--tint); border: 1px solid var(--border); border-radius: 16px; }
.legal-nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 600; }
.legal-nav a:hover { background: #fff; color: var(--text); text-decoration: none; }
.legal-nav a[aria-current="page"] { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .legal-nav ul { grid-auto-flow: column; overflow-x: auto; } .legal-nav a { white-space: nowrap; } }
.legal { max-width: 780px; min-width: 0; }
.legal h2 { font-size: 23px; margin-top: 46px; padding-top: 6px; scroll-margin-top: 96px; }
.legal h3 { font-size: 17.5px; margin-top: 26px; }
.legal p, .legal li { color: var(--text-2); font-size: 16px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal .summary { background: var(--grad-soft); border: 1px solid rgba(47,107,255,.2); border-radius: 16px; padding: 22px 24px; margin-bottom: 28px; }
.legal .summary p:last-child { margin-bottom: 0; }
.legal .callout { background: #fff8e8; border: 1px solid #f5dfa8; border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.legal .callout ul:last-child { margin-bottom: 0; }
.legal .toc { background: var(--tint); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; margin-bottom: 12px; }
.legal .toc ol { margin: 0; columns: 2; column-gap: 28px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal .toc li { font-size: 14.5px; margin-bottom: 6px; break-inside: avoid; }
.legal .toc a { color: var(--text-2); }
.legal .caps { text-transform: uppercase; font-size: 14.5px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14.5px; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); background: var(--tint); }

/* 404 */
.notfound { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-900); color: #fff; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.notfound img { width: 110px; height: 110px; margin: 0 auto; }
.notfound .code { font-size: 96px; font-weight: 800; line-height: 1; margin: 6px 0 14px; }
.notfound h1 { font-size: 28px; }
.notfound p { color: rgba(220,228,255,.72); }
.notfound + .site-footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---- Mock: connecting state + exposed IP ---- */
.app-mock.is-connecting .app-status { color: #ffd97a; }
.app-mock.is-connecting .state-dot { background: #ffc94d; box-shadow: 0 0 10px #ffc94d; animation: blink .8s ease-in-out infinite; }
.app-mock.is-connecting .power .ring { animation: spin 1s linear infinite; background: conic-gradient(from 0deg, transparent 0 30%, #1ec8ff, #6a5cff, #b544ff); }
.app-mock.is-connecting .power .core { filter: saturate(.6) brightness(.9); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: .35; } }
.app-stats b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .3s ease; }
.app-stats b.ip-exposed { color: #ff9fb1; }
.app-mock .flag { width: 38px; height: 38px; }

/* ---- Flags ---- */
.flag { flex: none; width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 4px 10px -2px rgba(11,16,51,.25); }
.section-dark .flag, .app-mock .flag { box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 4px 12px -2px rgba(0,0,0,.5); }

/* ---- FAQ hover + open animation ---- */
.faq details { transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease; overflow: hidden; }
.faq details:hover { border-color: rgba(47,107,255,.35); box-shadow: 0 12px 30px -14px rgba(47,107,255,.45); transform: translateY(-2px); }
.faq details[open] { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; border: 1px solid transparent; box-shadow: 0 16px 40px -18px rgba(106,92,255,.5); }
.faq summary { transition: color .2s ease; }
.faq summary:hover, .faq details[open] summary { color: var(--blue); }
.faq summary::after { transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq details:hover summary::after { background: var(--grad); color: #fff; }
.faq details[open] summary::after { content: "+"; transform: translateY(-50%) rotate(45deg); background: var(--grad); color: #fff; }
.faq details[open] p { animation: faqIn .35s ease both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Legal page: sticky "On this page" contents */
.legal-nav-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin: 0 0 10px 4px; }
.legal-nav a { font-size: 14.5px; padding: 8px 12px; }
@media (max-width: 900px) { .legal-nav-title { display: none; } }