:root {
  --bg: #14151a;
  --surface: #111114;
  --row: rgba(255, 255, 255, 0.06);
  --row-border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --secondary: #9aa0a6;
  --accent: #64b5f6;
  --accent-strong: #2196f3;
  --danger: #ef5350;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 50% at 50% 0%, rgba(100, 181, 246, 0.16) 0%, rgba(100, 181, 246, 0) 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: auto, 26px 26px;
  background-attachment: fixed, fixed;
}

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

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

/* ---- Nav ---- */
nav.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--row-border);
}
nav.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}
nav.site .links { display: flex; gap: 28px; font-size: 14px; color: var(--secondary); }
nav.site .links a { color: var(--secondary); }
nav.site .links a:hover { color: var(--text); }

/* ---- Hero ---- */
header.hero {
  padding: 80px 0 40px;
  text-align: center;
}
header.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
header.hero .tagline {
  font-size: 22px;
  color: var(--secondary);
  margin: 0 auto 32px;
  max-width: 560px;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--row-border);
  cursor: pointer;
}
.btn.primary {
  background: var(--accent-strong);
  color: #fff;
  border-color: transparent;
}
.btn.primary:hover { background: #1976d2; text-decoration: none; }
.btn.secondary { background: var(--row); color: var(--text); }
.btn.secondary:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.btn[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }
.note { font-size: 13px; color: var(--secondary); margin-top: 6px; }

/* ---- Early access ---- */
.early-access { padding: 0 0 90px; }
.ea-card {
  background: var(--row);
  border: 1px solid var(--row-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ea-text h2 { font-size: 22px; margin: 0 0 10px; }
.ea-text p { margin: 0 0 8px; color: var(--secondary); font-size: 15px; line-height: 1.6; max-width: 560px; }
.ea-text p:last-child { margin-bottom: 0; }
.ea-contact { font-size: 14px !important; }
.ea-actions { flex-shrink: 0; }

/* ---- Features ---- */
section.features { padding: 30px 0 90px; }
section.features h2 { text-align: center; font-size: 30px; margin-bottom: 8px; }
section.features .sub { text-align: center; color: var(--secondary); margin: 0 0 50px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--row);
  border: 1px solid var(--row-border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-card .emoji { font-size: 26px; margin-bottom: 12px; display: block; }
.feature-card h3 { margin: 0 0 8px; font-size: 17px; }
.feature-card p { margin: 0; color: var(--secondary); font-size: 14px; line-height: 1.5; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--row-border);
  padding: 48px 0 0;
  color: var(--secondary);
  font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding-bottom: 40px; }
.footer-left { display: flex; flex-direction: column; gap: 6px; }
.footer-brand { font-size: 16px !important; }
.footer-tagline { font-size: 13px; color: var(--secondary); }
.footer-links-group { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.footer-col a { color: var(--secondary); }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--row-border); padding-top: 20px; padding-bottom: 24px; color: rgba(255,255,255,0.3); font-size: 12px; }

/* ---- Privacy page ---- */
.doc {
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 720px;
  margin: 0 auto;
}
.doc h1 { font-size: 34px; margin-bottom: 4px; }
.doc .updated { color: var(--secondary); font-size: 13px; margin-bottom: 40px; }
.doc h2 { font-size: 19px; margin-top: 36px; }
.doc p, .doc li { color: rgba(255,255,255,0.82); line-height: 1.65; font-size: 15px; }
.doc ul { padding-left: 20px; }

@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
  header.hero h1 { font-size: 38px; }
  header.hero .tagline { font-size: 18px; }
  .ea-card { flex-direction: column; padding: 28px 24px; }
  .footer-links-group { gap: 28px; }
}
