:root {
  --bg: #0b0a14;
  --bg-2: #12101f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ecebf5;
  --muted: #a3a0bd;
  --accent: #8e7cff;
  --accent-2: #5b45e0;
  --radius: 14px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Belt and braces: nothing decorative may widen the page. clip (not hidden) keeps the sticky nav working. */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font: 0.86em ui-monospace, "SF Mono", Menlo, monospace;
  background: rgba(142, 124, 255, 0.14);
  color: #cfc6ff;
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

/* Nav: full-width bar, content constrained inside */
.nav-bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 10, 20, 0.72); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -0.01em; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px;
  background: linear-gradient(180deg, #9d8dff, var(--accent-2));
  color: #fff; font-weight: 600; font-size: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 30px -10px rgba(123, 108, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 36px -10px rgba(123, 108, 255, 0.9); }
.btn-ghost { background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.nav .btn-small { padding: 7px 14px; font-size: 14px; color: #fff; }

/* Hero */
.hero {
  position: relative; text-align: center;
  max-width: var(--max); margin: 0 auto; padding: 88px 24px 40px;
}
.glow {
  position: absolute; left: 50%; top: -120px; width: min(900px, 100vw); height: 620px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(123, 108, 255, 0.35), rgba(123, 108, 255, 0) 70%);
  pointer-events: none; z-index: -1;
}
.hero-icon { margin: 0 auto 28px; filter: drop-shadow(0 18px 40px rgba(123, 108, 255, 0.45)); }
h1 {
  font-size: clamp(44px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #fff 30%, #c9c1ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { max-width: 640px; margin: 0 auto 34px; font-size: 20px; color: var(--muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fineprint { margin: 18px 0 56px; font-size: 14px; color: #7d7a98; }

/* Screenshots: the images already carry their framed background */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), 0 0 0 1px var(--line); }
.shot-hero { max-width: 1040px; margin: 0 auto; }
/* Feature crops: app content only, framed like a window on the page */
.shot.detail {
  border-radius: 12px; background: #1f1e24;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1), 0 0 60px -20px rgba(123,108,255,0.35);
}

/* Strip */
.strip {
  max-width: var(--max); margin: 64px auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
}
.strip div { padding: 26px 20px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); }
.strip div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.strip div:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.strip strong { display: block; font-size: 32px; letter-spacing: -0.02em; font-weight: 700; }
.strip span { font-size: 14px; color: var(--muted); }

/* Features */
.features { max-width: var(--max); margin: 0 auto; padding: 40px 24px; display: grid; gap: 120px; }
.feature { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 64px; align-items: center; }
.feature.reverse .copy { order: 2; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 720; margin: 0 0 18px; }
.copy p { color: var(--muted); margin: 0 0 18px; }
.copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.copy li { position: relative; padding-left: 26px; color: var(--text); font-size: 16px; }
.copy li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Privacy */
.privacy { max-width: var(--max); margin: 140px auto 0; padding: 0 24px; text-align: center; }
.privacy .grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.privacy .grid div { padding: 26px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.privacy h3 { margin: 0 0 6px; font-size: 17px; }
.privacy p { margin: 0; color: var(--muted); font-size: 15px; }

/* Closing */
.closing { text-align: center; padding: 140px 24px 120px; position: relative; }
.closing img { margin: 0 auto 22px; filter: drop-shadow(0 12px 30px rgba(123, 108, 255, 0.45)); }
.closing p { color: var(--muted); margin: 0 0 30px; line-height: 2; }

/* Footer */
.footer {
  max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); color: #7d7a98; font-size: 14px;
}
.footer nav { display: flex; gap: 22px; }
.footer a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 860px) {
  .nav nav a:not(.btn) { display: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .copy { order: 0; }
  .features { gap: 80px; }
  .strip, .privacy .grid { grid-template-columns: repeat(2, 1fr); }
  .strip div { border-radius: 0 !important; }
  .hero { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
