:root {
  --bg: #0c1220;
  --bg-deep: #05080f;
  --panel: rgba(16, 26, 46, 0.72);
  --line: rgba(143, 220, 255, 0.18);
  --ion: #8fdcff;
  --ion-strong: #5cc8ff;
  --gold: #ffc56b;
  --ink: #eaf2ff;
  --muted: #9aa8c2;
  --danger: #ff6b4d;
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-deep);
  background-image:
    radial-gradient(1200px 700px at 50% -10%, rgba(63, 169, 255, 0.16), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(255, 154, 74, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 70%);
  background-attachment: fixed;
  color: var(--ink);
  font: 400 17px/1.6 "Barlow", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ion); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .eyebrow, .btn, .brand {
  font-family: "Chakra Petch", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; margin: 0 0 20px; font-weight: 700; }
h1 .accent { color: var(--ion); }
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin: 0 0 14px; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 600; letter-spacing: 0.06em; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }
.eyebrow { color: var(--ion); font-size: 13px; letter-spacing: 0.28em; font-weight: 600; margin-bottom: 14px; display: block; }
.muted { color: var(--muted); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5, 8, 15, 0.7); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; font-size: 15px; }
.nav nav a { color: var(--muted); }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 4px; font-weight: 600; font-size: 15px; letter-spacing: 0.16em; border: 1px solid var(--ion); color: var(--bg-deep); background: var(--ion); }
.btn:hover { text-decoration: none; background: #b3e8ff; }
.btn.ghost { background: transparent; color: var(--ion); }
.btn.ghost:hover { background: rgba(143, 220, 255, 0.08); }
.btn svg { width: 20px; height: 20px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { padding: 40px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.phone { position: relative; border-radius: 44px; overflow: hidden; border: 2px solid rgba(143, 220, 255, 0.35); box-shadow: 0 0 80px rgba(63, 169, 255, 0.28), 0 30px 80px rgba(0, 0, 0, 0.6); background: #000; }
.hero .phone { width: min(320px, calc((100vh - 140px) * 0.46)); min-width: 240px; margin: 0 auto; }
.wide { border-radius: 28px; overflow: hidden; border: 2px solid rgba(143, 220, 255, 0.35); box-shadow: 0 0 90px rgba(63, 169, 255, 0.22), 0 30px 80px rgba(0, 0, 0, 0.6); background: #000; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; counter-reset: step; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps .card::before { counter-increment: step; content: "0" counter(step); font-family: "Chakra Petch", sans-serif; font-weight: 700; color: var(--gold); font-size: 15px; letter-spacing: 0.2em; display: block; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.features .card .icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(143, 220, 255, 0.1); color: var(--ion); }
.features .card .icon svg { width: 22px; height: 22px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.flip > :first-child { order: 2; }
.threats { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.threats li { display: flex; gap: 12px; align-items: baseline; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; transform: translateY(-1px); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.gallery .phone { border-radius: 30px; }
.gallery figcaption { text-align: center; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* CTA band */
.band { text-align: center; padding: 96px 0; }
.band .ctas { justify-content: center; }
.band img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 0 60px rgba(63, 169, 255, 0.35); }

/* Doc pages */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); }
.doc h2 { font-size: 24px; margin-top: 44px; letter-spacing: 0.06em; }
.doc h3 { margin-top: 22px; }
.doc p, .doc li { color: #c9d4ea; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.updated { color: var(--muted); font-size: 15px; }
.callout { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--ion); border-radius: 10px; padding: 18px 22px; margin: 24px 0; }
.callout p:last-child { margin: 0; }
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details[open] summary { margin-bottom: 10px; }
details p:last-child { margin: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav nav { gap: 12px; font-size: 14px; }
  .brand { font-size: 14px; letter-spacing: 0.06em; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
  .nav nav .hide-sm { display: none; }
  .steps, .features { grid-template-columns: 1fr; }
  .hero .phone { width: min(280px, 80vw); }
  .gallery { gap: 12px; }
}
