:root {
  --bg: #090a1f;
  --bg2: #1a0d2e;
  --text: #f4f5fb;
  --muted: rgba(244, 245, 251, 0.68);
  --faint: rgba(244, 245, 251, 0.45);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --mint: #40e09e;
  --amber: #ffb84d;
  --blue: #6b8cff;
  --pink: #ff528f;
  --radius: 22px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60vw 50vw at 15% 10%, rgba(64, 224, 158, 0.16), transparent 60%),
    radial-gradient(50vw 50vw at 85% 20%, rgba(107, 140, 255, 0.18), transparent 60%),
    radial-gradient(60vw 60vw at 60% 90%, rgba(255, 82, 143, 0.12), transparent 60%),
    linear-gradient(160deg, var(--bg), var(--bg2));
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); background: rgba(9, 10, 31, 0.55); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand:hover { text-decoration: none; }
nav.links { display: flex; gap: 22px; font-size: 15px; }
nav.links a { color: var(--muted); }
@media (max-width: 640px) { nav.links .hide-sm { display: none; } }

/* Hero */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; text-align: center; padding-top: 44px; } .hero .cta { justify-content: center; } }
.eyebrow { color: var(--mint); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 12px 0 18px; font-weight: 850; }
h1 .grad { background: linear-gradient(90deg, var(--mint), #8fe8ff 50%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
@media (max-width: 860px) { .lead { margin: 0 auto; } }
.cta { display: flex; gap: 14px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; background: #000; border: 1px solid rgba(255,255,255,0.25); color: #fff; font-weight: 600; }
.store-badge svg { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; line-height: 1.1; }
.store-badge span { line-height: 1.15; text-align: left; font-size: 19px; }
.store-badge.soon { opacity: 0.85; }
.btn-ghost { padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); color: var(--text); font-weight: 600; }
.note { font-size: 13px; color: var(--faint); margin-top: 12px; }

/* Phones */
.phone { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(145deg, #2a2d48, #0c0d1c); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08) inset; }
.phone img { border-radius: 35px; width: 100%; }
.hero-phones { position: relative; height: 560px; }
.hero-phones .phone { position: absolute; width: 250px; }
.hero-phones .p1 { left: 8%; top: 30px; transform: rotate(-6deg); }
.hero-phones .p2 { right: 6%; top: 0; transform: rotate(5deg); }
@media (max-width: 860px) { .hero-phones { height: 470px; max-width: 420px; margin: 0 auto; } .hero-phones .phone { width: 200px; } }

/* Sections */
section { padding: 72px 0; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.025em; line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 18px; max-width: 700px; margin: 0 0 36px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card p { color: var(--muted); margin: 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; color: #0a0a1a; }
.dot-mint { background: var(--mint); } .dot-amber { background: var(--amber); } .dot-blue { background: var(--blue); } .dot-pink { background: var(--pink); }

/* Energy cells illustration */
.cells { display: flex; gap: 12px; margin: 26px 0 8px; }
.cell { flex: 1; height: 150px; border-radius: 22px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cell i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 0 0 22px 22px; }
.cell b { position: absolute; top: 12px; left: 0; right: 0; text-align: center; font-size: 13px; }
.cell-label { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.cell-label span { flex: 1; text-align: center; }

/* Gauge illustration */
.gauge { display: flex; height: 40px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); background: rgba(255,255,255,0.05); font-size: 13px; font-weight: 700; }
.gauge div { display: grid; place-items: center; }

/* Screens strip */
.screens { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.screens figure { margin: 0; }
.screens figcaption { text-align: center; margin-top: 12px; font-weight: 700; }
.screens figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
@media (max-width: 980px) { .screens { grid-template-columns: repeat(5, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .screens figure { scroll-snap-align: center; } }

/* Comparison */
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
table.compare th, table.compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare th { color: var(--muted); font-weight: 600; }
table.compare td:nth-child(3) { color: var(--mint); }

/* Science */
.formula { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 14px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); padding: 10px 14px; border-radius: 12px; margin: 10px 0; overflow-x: auto; }
.src { font-size: 12px; color: var(--faint); margin-top: 8px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; }
details p { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 52px; color: var(--muted); font-size: 14px; margin-top: 40px; }
footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .cols a { color: var(--muted); display: block; margin: 4px 0; }

/* Legal pages */
.legal { padding: 48px 0 20px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text); }
.updated { color: var(--faint); font-size: 14px; }
.callout { border-left: 3px solid var(--amber); background: rgba(255, 184, 77, 0.08); padding: 14px 18px; border-radius: 0 14px 14px 0; margin: 20px 0; }
