:root {
  --bg: #050608;
  --bg-soft: #0c0f14;
  --card: #11151c;
  --text: #eef2f6;
  --muted: #9aa6b2;
  --faint: #5f6b78;
  --accent: #59ecf9;
  --accent-2: #7c6cff;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 3px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 96px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -40% 0 auto 0; height: 720px;
  background: radial-gradient(60% 50% at 50% 0%, rgba(89,236,249,0.16), rgba(124,108,255,0.10) 40%, transparent 70%);
  pointer-events: none;
}
.hero-icon {
  width: 120px; height: 120px; border-radius: 27px;
  box-shadow: 0 24px 70px rgba(89,236,249,0.18), 0 8px 24px rgba(0,0,0,0.6);
  border: 1px solid var(--border);
  position: relative;
}
.hero h1 {
  font-size: clamp(40px, 8vw, 68px);
  letter-spacing: 10px;
  font-weight: 900;
  margin: 28px 0 14px;
}
.tagline { color: var(--accent); font-size: clamp(16px, 3.5vw, 21px); font-weight: 600; }
.lede {
  color: var(--muted); max-width: 620px; margin: 22px auto 0;
  font-size: clamp(16px, 2.6vw, 18px);
}

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--border); color: var(--text); background: var(--card);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); border-color: rgba(89,236,249,0.4); }
.btn-primary {
  background: linear-gradient(180deg, rgba(89,236,249,0.18), rgba(89,236,249,0.06));
  border-color: rgba(89,236,249,0.4);
}
.btn small { color: var(--muted); font-weight: 500; }
.pill {
  display: inline-block; margin-top: 22px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; color: var(--accent); border: 1px solid rgba(89,236,249,0.3);
  background: rgba(89,236,249,0.07);
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-title {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--faint); font-weight: 800; margin-bottom: 10px;
}
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 5vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); max-width: 600px; margin: 14px auto 0; }

/* ---------- Features ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.card .ico { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Shots ---------- */
.shots {
  display: flex; gap: 22px; overflow-x: auto; padding: 6px 0 18px;
  scroll-snap-type: x mandatory;
}
.shots img {
  width: 252px; flex: 0 0 auto; border-radius: 28px;
  border: 1px solid var(--border); scroll-snap-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
}

/* ---------- Science ---------- */
.science { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.science .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.science h2 { font-size: clamp(24px, 4vw, 32px); margin-bottom: 18px; }
.science p { color: var(--muted); margin-bottom: 16px; }
.equation {
  background: #0a0d12; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; color: var(--accent); font-size: 15px; white-space: pre; overflow-x: auto;
}
.science-art {
  aspect-ratio: 1; border-radius: 24px; border: 1px solid var(--border);
  background-image: url('assets/icon.png'); background-size: cover; background-position: center;
}
@media (max-width: 760px) {
  .science .wrap { grid-template-columns: 1fr; }
}

/* ---------- Privacy banner ---------- */
.privacy-band { text-align: center; }
.privacy-band .lock { font-size: 40px; margin-bottom: 12px; }
.privacy-band h2 { font-size: clamp(24px, 4.5vw, 34px); }
.privacy-band p { color: var(--muted); max-width: 620px; margin: 16px auto 24px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border); padding: 48px 0; color: var(--faint);
  text-align: center;
}
footer .brand-line { font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: 2px; }
footer a { color: var(--muted); }
.foot-links { display: flex; gap: 20px; justify-content: center; margin: 16px 0 22px; flex-wrap: wrap; }

/* ---------- Legal page ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: clamp(30px, 6vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--faint); margin-bottom: 36px; font-size: 14px; }
.legal h2 { font-size: 21px; margin: 34px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal ul { color: var(--muted); margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal .callout {
  background: var(--card); border: 1px solid rgba(89,236,249,0.3); border-radius: 16px;
  padding: 22px; color: var(--text); font-size: 17px; margin: 8px 0 28px;
}
.back { display: inline-block; margin-bottom: 28px; color: var(--muted); font-size: 15px; }
