/* ---------- tokens ---------- */
:root {
  --primary: #4a90d9;
  --primary-light: #6ba5e7;
  --primary-dark: #3a7bc8;
  --accent: #2ecc71;
  --gold: #ffd700;

  --bg: #0b0d10;
  --bg-elev: #121418;
  --surface: #161a1f;
  --surface-2: #1c2127;
  --border: #242a32;
  --border-soft: #1e232a;

  --text: #f1f3f6;
  --text-dim: #b5bcc6;
  --text-faint: #7a828e;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(74, 144, 217, 0.15);

  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- reset-ish ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(74, 144, 217, 0.18), transparent 60%),
    radial-gradient(900px 500px at 110% 0%, rgba(46, 204, 113, 0.08), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 120ms var(--ease);
}

a:hover {
  color: #9bc4f0;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 0 0 var(--radius-md) 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- layout primitives ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--gutter);
}

.section-head {
  max-width: 640px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.section-sub {
  color: var(--text-dim);
  font-size: 1.05rem;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin: 0 0 16px;
  padding: 6px 10px;
  border: 1px solid rgba(74, 144, 217, 0.25);
  border-radius: 999px;
  background: rgba(74, 144, 217, 0.06);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.6);
  border-bottom: 1px solid var(--border-soft);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand:hover {
  color: var(--text);
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 28px);
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-dim);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: transform 120ms var(--ease), background 120ms var(--ease);
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter) clamp(64px, 9vw, 110px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }
}

.hero-title {
  margin: 0 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, #c8d0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 56ch;
  margin: 0 0 32px;
}

/* hero phone-ish mock */
.hero-art {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-card {
  width: 100%;
  max-width: 380px;
  padding: 20px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  font-variant-numeric: tabular-nums;
  transform: rotate(-1deg);
  transition: transform 600ms var(--ease);
}

.mock-card:hover {
  transform: rotate(0deg);
}

.mock-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  background: rgba(74, 144, 217, 0.12);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.mock-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.01);
}

.mock-row.active {
  border-color: rgba(74, 144, 217, 0.5);
  background: rgba(74, 144, 217, 0.08);
  box-shadow: inset 0 0 0 1px rgba(74, 144, 217, 0.25);
}

.mock-num {
  font-weight: 600;
  font-size: 0.95rem;
}

.mock-muted {
  color: var(--text-faint);
  font-size: 0.82rem;
}

.mock-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.mock-tag.warm {
  color: #ffc266;
  background: rgba(243, 156, 18, 0.12);
}

.mock-tag.pb {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.mock-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.25);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- waitlist form ---------- */
.waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  flex-wrap: wrap;
}

.waitlist input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 120ms var(--ease), background 120ms var(--ease);
}

.waitlist input::placeholder {
  color: var(--text-faint);
}

.waitlist input:focus {
  border-color: var(--primary);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.18);
}

.waitlist button {
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 120ms var(--ease), transform 120ms var(--ease);
}

.waitlist button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.waitlist button:active {
  transform: translateY(0);
}

.form-note {
  margin-top: 12px;
  color: var(--text-faint);
  font-size: 0.9rem;
}

.form-note.success {
  color: var(--accent);
}

/* ---------- features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.feature {
  padding: 28px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(22, 26, 31, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.feature::before {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-bottom: 18px;
}

.feature:hover {
  border-color: rgba(74, 144, 217, 0.4);
  transform: translateY(-2px);
}

.feature h3 {
  margin: 0 0 10px;
}

.feature p {
  color: var(--text-dim);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- about-name ---------- */
.about-name {
  text-align: left;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(74, 144, 217, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.about-inner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.part-of-speech {
  color: var(--text-faint);
  font-weight: 400;
  font-style: italic;
  font-size: 0.7em;
  letter-spacing: 0;
}

.big-p {
  color: var(--text-dim);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  margin: 0;
}

/* ---------- faq ---------- */
.faq-list {
  display: grid;
  gap: 8px;
}

.faq details {
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 120ms var(--ease);
}

.faq details[open] {
  border-color: rgba(74, 144, 217, 0.4);
  background: var(--surface-2);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--text-faint);
  transition: transform 180ms var(--ease), color 120ms var(--ease);
}

.faq details[open] summary::after {
  content: '–';
  color: var(--primary-light);
}

.faq details p {
  margin: 14px 0 0;
  color: var(--text-dim);
}

/* ---------- waitlist section ---------- */
.waitlist-section .waitlist-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(74, 144, 217, 0.16), transparent 60%),
    var(--surface);
}

.waitlist-section h2 {
  margin-bottom: 8px;
}

.waitlist-section .waitlist {
  margin: 28px auto 0;
  justify-content: center;
}

.waitlist-section .form-note {
  text-align: center;
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg-elev);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 32px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-tag {
  color: var(--text-faint);
  font-size: 0.92rem;
  margin: 14px 0 0;
  max-width: 32ch;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 520px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 36px;
  color: var(--text-faint);
  font-size: 0.82rem;
  border-top: 1px solid var(--border-soft);
}

/* ---------- legal pages ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
}

.legal h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.3rem;
}

.legal p,
.legal li {
  color: var(--text-dim);
}

.legal .notice {
  padding: 16px 20px;
  background: rgba(74, 144, 217, 0.08);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: var(--radius-md);
  margin: 0 0 32px;
  color: var(--text);
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
