* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1020;
  --surface: #f5f7fb;
  --text: #f8fafc;
  --muted: #aeb8cc;
  --ink: #172033;
  --ink-muted: #5c667b;
  --accent: #7c9cff;
  --border: rgba(255,255,255,.1);
  --max: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11,16,32,.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.nav,
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav {
  min-height: 68px;
  color: var(--text);
}

.brand {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.03em;
}

nav {
  display: flex;
  gap: 22px;
}

nav a,
footer a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
footer a:hover {
  color: #fff;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(124,156,255,.20), transparent 33%),
    radial-gradient(circle at 10% 70%, rgba(124,156,255,.10), transparent 28%),
    var(--bg);
  color: var(--text);
}

.hero-inner {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  padding: 90px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -.04em;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 750;
}

.primary {
  background: var(--accent);
  color: #0b1020;
}

.primary:hover {
  background: #96adff;
}

.section {
  padding: 110px 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--surface);
  border: 1px solid #e7eaf1;
  border-radius: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(23,32,51,.10);
}

.card-kicker {
  color: #5f7ff0;
  font-size: .86rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.card p {
  color: var(--ink-muted);
}

.arrow {
  margin-top: 28px;
  font-weight: 800;
}

footer {
  background: var(--bg);
  color: var(--muted);
}

.footer-inner {
  min-height: 92px;
}

@media (max-width: 760px) {
  .hero-inner {
    min-height: 540px;
  }

  .section {
    padding: 80px 0;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }
}

/* Shared app, support, and policy layouts. */
.narrow { max-width: 760px; }
.alt { background: var(--surface); }
.actions, nav { display: flex; flex-wrap: wrap; gap: 16px; }
.secondary { border: 1px solid var(--muted); color: var(--text); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.features p { color: var(--ink-muted); }
.cards { grid-template-columns: minmax(0, 760px); }
.document { max-width: 800px; padding-top: 64px; padding-bottom: 80px; overflow-wrap: anywhere; }
.document h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
.document h2 { font-size: 1.65rem; margin: 40px 0 12px; line-height: 1.3; }
.document li { margin-bottom: 12px; }
.document a, .section p a { color: #3454b4; text-underline-offset: .18em; }
.updated { color: var(--ink-muted); }
.section .eyebrow, .document .eyebrow, .card-kicker { color: #3454b4; }
.footer-inner { padding-top: 24px; padding-bottom: 24px; }
:focus-visible { outline: 3px solid #b07700; outline-offset: 5px; }
[id] { scroll-margin-top: 120px; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 30; background: white; color: #172033; padding: 12px; }
.skip-link:focus { top: 12px; }
@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: 20px; }
  .nav { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
  nav { gap: 12px; }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); overflow-wrap: anywhere; }
  .hero-inner { min-height: 460px; padding: 64px 0; }
  .footer-inner { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}

/* Prominent, readable local-storage and recovery disclosures. */
.privacy-promise { max-width: 680px; margin: 24px 0 0; color: var(--text); font-size: 1.05rem; }
.notice { margin: 28px 0 36px; padding: clamp(20px, 4vw, 28px); background: #eef3ff; border: 1px solid #bdcbed; border-left: 5px solid #3454b4; border-radius: 12px; color: #172033; }
.document .notice h2 { margin: 0 0 16px; font-size: clamp(1.4rem, 4vw, 1.75rem); }
.notice p:last-child { margin-bottom: 0; }
.notice-detail { font-size: .95rem; color: #46536c; }

/* App artwork and honest pre-release store placeholders. */
.hero-inner.app-hero { max-width: var(--max); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.app-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.75rem); }
.app-hero-art img { display: block; width: 100%; max-width: 360px; height: auto; margin: auto; border-radius: 24%; box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.app-card-icon { display: block; border-radius: 20px; margin-bottom: 22px; }
.store-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-placeholder { display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; min-width: 170px; border: 1px solid #64718b; border-radius: 12px; color: #c5cde0; background: #111a2e; }
.store-name { color: #f8fafc; font-weight: 750; font-size: 1.1rem; }
.store-placeholder > span:last-child, .store-note { font-size: .875rem; }
.store-note { color: #aeb8cc; margin: 12px 0 0; }
@media (max-width: 760px) {
  .hero-inner.app-hero { grid-template-columns: 1fr; gap: 32px; }
  .app-hero-art { grid-row: 1; }
  .app-hero-art img { width: 144px; margin: 0; }
}
