:root {
  color-scheme: dark;
  --bg: #0B0D18;
  --surface: #141728;
  --surface-2: #1C2036;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #F2F2F7;
  --muted: #A1A3B3;
  --accent: #957FF7;
  --accent-ink: #141728;
  --radius: 22px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); background: rgba(11, 13, 24, 0.75); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; margin-left: 22px; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center;
  background: radial-gradient(60% 50% at 50% 0%, rgba(149, 127, 247, 0.22), transparent 70%); }
.hero .icon { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px;
  box-shadow: 0 20px 60px rgba(149, 127, 247, 0.35); }
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 620px; margin: 0 auto 32px; }

.button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.button.secondary { background: var(--surface-2); color: var(--ink); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Screens strip */
.screens { display: flex; gap: 22px; justify-content: center; padding: 8px 24px 80px; overflow-x: auto;
  scroll-snap-type: x mandatory; }
.screens img { width: 250px; flex: none; border-radius: 34px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); scroll-snap-align: center; }
.screens img:nth-child(even) { margin-top: 40px; }

/* Features */
section { padding: 72px 0; }
.section-title { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -0.02em; margin: 0 0 12px; text-align: center; }
.section-lead { color: var(--muted); text-align: center; max-width: 600px; margin: 0 auto 44px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .glyph { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(149, 127, 247, 0.16); color: var(--accent); font-size: 22px; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Feature rows with a screenshot */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature img { width: 280px; justify-self: center; border-radius: 36px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.feature.flip img { order: 2; }
.feature h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; margin: 0 0 14px; }
.feature p, .feature li { color: var(--muted); }
.feature ul { padding-left: 20px; margin: 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }

.privacy-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }

/* Documents (support, privacy, terms) */
.doc { max-width: 700px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 44px); letter-spacing: -0.02em; margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--muted); }
.doc .meta { font-size: 15px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details[open] summary { margin-bottom: 8px; }
details p { margin: 6px 0; }
.contact { background: var(--surface-2); border-radius: var(--radius); padding: 26px; margin-top: 40px; }
.contact h2 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.site-footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .feature.flip img { order: 0; }
  .feature ul { text-align: left; display: inline-block; }
  .screens { justify-content: flex-start; }
  .screens img { width: 210px; }
  .site-header nav a { margin-left: 14px; }
  .site-footer a { margin: 0 18px 0 0; }
}

@media (max-width: 420px) {
  .site-header nav a:first-child { display: none; }
}
