:root {
  --cream-0: #FFFCF3;
  --cream-1: #FFF8E8;
  --cream-2: #FDEFCB;
  --cream-3: #F2D98C;
  --navy:   #0B1B47;
  --navy-2: #1E3A8A;
  --blue:   #1D6FE8;
  --blue-2: #4FA8FF;
  --red:    #E63946;
  --red-2:  #B91D2D;
  --gold:   #FFC72C;
  --gold-2: #FFE680;
  --gold-3: #B8860B;
  --ink:    #0B1B47;
  --ink-2:  #4A5570;
  --line:   rgba(11, 27, 71, 0.08);

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(11,27,71,0.06), 0 1px 2px rgba(11,27,71,0.04);
  --shadow:    0 12px 32px -8px rgba(11,27,71,0.18), 0 4px 12px -4px rgba(11,27,71,0.08);
  --shadow-lg: 0 30px 60px -16px rgba(11,27,71,0.28), 0 8px 24px -8px rgba(11,27,71,0.12);

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream-0);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Wordmark === */
.wordmark {
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
}
.wordmark .lotto { color: var(--navy); }
.wordmark .pal {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 252, 243, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav .wordmark { font-size: 28px; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--navy); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn-secondary {
  background: white;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy);
  box-shadow: 0 8px 24px -8px rgba(255, 199, 44, 0.6), inset 0 -2px 0 rgba(184, 134, 11, 0.4);
}

/* === Hero === */
.hero { position: relative; overflow: hidden; padding: 80px 0 40px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0.04); }
}
.hero h1 {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .gold-accent {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 520px;
  margin: 0 0 32px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-meta .check { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .check::before { content: '✓'; color: var(--blue); font-weight: 700; }
.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.float-tag {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
}
.float-tag.t1 { top: 6%; right: -2%; animation: bob 4s ease-in-out infinite; }
.float-tag.t2 { bottom: 14%; left: -4%; animation: bob 4.5s ease-in-out 0.3s infinite reverse; }
.float-tag.t3 { top: 50%; left: -7%; animation: bob 5s ease-in-out 0.6s infinite; }
.float-tag .pill {
  background: var(--red);
  color: white;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}
.float-tag .pill.blue { background: var(--blue); }
.float-tag .pill.gold { background: var(--gold); color: var(--navy); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* === Section base === */
.section { padding: 100px 0; position: relative; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 900;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.section .lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 56px;
}
.section.tight { padding: 60px 0; }

/* === Features grid === */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .art { aspect-ratio: 1; overflow: hidden; }
.feature-card .art img { width: 100%; height: 100%; object-fit: cover; }
.feature-card .body { padding: 24px 24px 28px; }
.feature-card h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.feature-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* === Screenshot carousel === */
.screens-section {
  background: linear-gradient(180deg, var(--cream-1) 0%, var(--cream-2) 100%);
  overflow: hidden;
}
.screens-rail {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  width: max-content;
  animation: scroll 60s linear infinite;
}
.screens-rail:hover { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.phone {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 1242 / 2688;
  border-radius: 44px;
  background: #0B1B47;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone .screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: white;
  position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0B1B47;
  border-radius: 999px;
  z-index: 2;
}

/* === How it works === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  counter-increment: step;
}
.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
}
.step .num::before {
  content: '0' counter(step) ' / ';
  color: var(--ink-2);
  opacity: 0.5;
}
.step h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px; color: var(--navy); }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step .icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
  box-shadow: 0 8px 16px -4px rgba(255, 199, 44, 0.4);
}

/* === Big spotlight feature row (alternating) === */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.spotlight.reverse .text { order: 2; }
.spotlight .visual { position: relative; aspect-ratio: 4 / 5; }
.spotlight .visual .phone {
  width: 64%;
  margin: 0 auto;
  position: absolute;
  inset: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.spotlight .visual .backdrop {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream-1) 0%, var(--cream-2) 100%);
}
.spotlight .visual .backdrop.blue {
  background: linear-gradient(135deg, #EAF3FF 0%, #CFE3FF 100%);
}
.spotlight .visual .backdrop.red {
  background: linear-gradient(135deg, #FFF0F0 0%, #FFD9D9 100%);
}
.spotlight .visual .float-mascot {
  position: absolute;
  width: 38%;
  z-index: 3;
  filter: drop-shadow(0 16px 32px rgba(11,27,71,0.2));
}
.spotlight h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 20px; }
.spotlight p { font-size: 17px; color: var(--ink-2); margin-bottom: 24px; }
.spotlight .feature-list { list-style: none; padding: 0; margin: 0; }
.spotlight .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 16px;
}
.spotlight .feature-list li::before {
  content: '';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: var(--gold) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="none" stroke="%230B1B47" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M5 12l5 5L20 7"/></svg>') center / 14px no-repeat;
  margin-top: 2px;
}

/* === FAQ === */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: rgba(29, 111, 232, 0.3); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans {
  padding: 0 24px 24px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

/* === CTA banner === */
.cta-banner {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 199, 44, 0.35), transparent 55%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.15), transparent 55%),
    linear-gradient(135deg, #FFF4D6 0%, #F5DCA0 100%);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  color: var(--navy);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-banner h2 { color: var(--navy); margin: 0 0 16px; }
.cta-banner p { color: rgba(11, 27, 71, 0.78); font-size: 18px; margin: 0 0 28px; }
.cta-banner .mascot-wrap {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner .mascot-wrap img {
  width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
  animation: bob 6s ease-in-out infinite;
}
.cta-banner .coming {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 27, 71, 0.1);
  border: 1px solid rgba(11, 27, 71, 0.2);
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}
.store-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.store-badge {
  background: white;
  border: 1px solid rgba(11,27,71,0.12);
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: not-allowed;
  opacity: 0.85;
}
.store-badge .icon { font-size: 24px; }
.store-badge .label small { display: block; font-size: 11px; color: rgba(11,27,71,0.6); font-family: 'JetBrains Mono', monospace; }
.store-badge .label strong { font-size: 15px; font-weight: 700; }

/* === Footer === */
footer {
  padding: 64px 0 32px;
  background: var(--cream-1);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .wordmark { font-size: 32px; margin-bottom: 12px; }
.footer-brand p { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0 0 16px;
  font-family: 'JetBrains Mono', monospace;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-2); }
.footer-col a:hover { color: var(--navy); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', monospace;
}
.footer-base .legal { color: var(--ink-2); opacity: 0.7; max-width: 600px; line-height: 1.5; }

/* === Legal / support pages === */
.legal-page main {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.legal-page h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 8px;
}
.legal-page .last-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 40px;
}
.legal-page h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
}
.legal-page h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 8px;
}
.legal-page p,
.legal-page li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}
.legal-page p { margin: 0 0 14px; }
.legal-page ul { padding-left: 22px; margin: 0 0 14px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--blue); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-page .lede {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 32px;
  line-height: 1.55;
}

/* === Responsive === */
@media (max-width: 980px) {
  .hero { padding: 56px 0 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .spotlight.reverse .text { order: 0; }
  .cta-banner { grid-template-columns: 1fr; padding: 48px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
  .float-tag.t1 { right: 4%; }
  .float-tag.t2 { left: 4%; }
  .float-tag.t3 { left: 4%; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; gap: 12px; align-items: flex-start; }
  .cta-banner { padding: 40px 24px; }
  .phone { width: 220px; }
}
