:root {
  --gold: #F4B863;
  --gold-light: #FFD68A;
  --gold-dark: #D89A42;
  --bg: #0D1117;
  --surface: #161B22;
  --card: #1A202C;
  --text: #EAEAEA;
  --text-secondary: #B7BEC8;
  --text-muted: #7A8594;
  --border: #2C3440;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(44, 52, 64, .72);
  background: rgba(13, 17, 23, .82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 36px;
}

.wordmark {
  color: var(--text);
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: .23em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  color: var(--text-secondary);
  font-size: .9rem;
}

.site-nav a,
.footer-meta a {
  text-decoration: none;
}

.site-nav a:hover,
.footer-meta a:hover { color: var(--gold-light); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--bg); }
.button-primary:hover { background: var(--gold-light); }
.button-outline { border-color: var(--gold); color: var(--gold); }
.button-outline:hover { background: rgba(244, 184, 99, .12); }
.button-ghost { border-color: var(--border); color: var(--text-secondary); }
.button-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.section { padding: 124px 0; }

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  line-height: 1.4;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }

h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(2.8rem, 5vw, 4.65rem);
  letter-spacing: -.055em;
}

h2 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  letter-spacing: -.045em;
}

h3 { margin-bottom: 12px; font-size: 1.2rem; }

.hero-sub,
.section-heading > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.beta-note { margin: 17px 0 0; color: var(--text-muted); font-size: .83rem; }

.hero-visual { display: flex; justify-content: center; }
.phone {
  width: min(100%, 350px);
  padding: 10px;
  border: 1px solid #4b5563;
  border-radius: 43px;
  background: linear-gradient(145deg, #202733, #0d1117 75%);
  box-shadow: 0 0 0 6px rgba(22, 27, 34, .8), 0 30px 80px rgba(0, 0, 0, .38);
  transform: rotate(3deg);
}

.phone-speaker {
  width: 72px;
  height: 6px;
  margin: 4px auto 10px;
  border-radius: 99px;
  background: #394351;
}

.phone-screen {
  aspect-ratio: .59;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 32px;
  background: var(--surface);
}

.mock-photo {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #253746 8%, #5d6e68 48%, #9c8058 100%);
}

.mock-photo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 25%, rgba(255, 214, 138, .68), transparent 20%), linear-gradient(180deg, transparent 35%, rgba(13, 17, 23, .92) 88%);
}

.memory-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
}

.date-pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.memory-title { margin: 14px 0 8px; color: #fff; font-size: 1.55rem; font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.place-row { margin: 0; color: rgba(255,255,255,.78); font-size: .84rem; }
.pin-glyph { color: var(--gold-light); font-size: 1.1rem; }
.stars { margin: 12px 0 0; color: var(--gold-light); letter-spacing: .18em; }

.tap-band { background: var(--surface); }
.section-heading { margin-bottom: 48px; }
.compact-heading { max-width: 760px; margin-bottom: 42px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { display: flex; flex-direction: column; gap: 4px; padding: 24px 26px; color: var(--text-secondary); font-size: .9rem; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat-label { color: var(--gold); font-weight: 800; }

.steps-grid,
.features-grid { display: grid; gap: 16px; }
.steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card,
.feature-card {
  padding: 29px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}

.step-number { display: block; margin-bottom: 50px; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.step-card p,
.feature-card p { margin-bottom: 0; color: var(--text-secondary); font-size: .94rem; }
.features-section { background: var(--surface); }
.features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-glyph { width: 28px; height: 28px; margin-bottom: 27px; color: var(--gold); }
.feature-glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.waitlist-section { padding-bottom: 142px; }
.waitlist-card { padding: clamp(34px, 6vw, 78px); border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(135deg, var(--card), #141a22); }
.waitlist-card .section-heading { margin-bottom: 30px; }
.waitlist-form { display: flex; max-width: 650px; gap: 10px; }
.waitlist-form input { min-width: 0; flex: 1; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text); font: inherit; }
.waitlist-form input::placeholder { color: var(--text-muted); }
.waitlist-form button[disabled] { cursor: wait; opacity: .65; }
.form-status { min-height: 26px; margin: 14px 0 0; color: var(--gold-light); font-size: .9rem; }
.form-status.error { color: #ffadad; }
.fine-print { margin: 0; color: var(--text-muted); font-size: .78rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-muted); font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 10px 0 0; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 6px; }
.footer-meta a { color: var(--text-secondary); }

@media (max-width: 800px) {
  .header-inner { gap: 18px; }
  .site-nav { gap: 15px; font-size: .82rem; }
  .header-cta { display: none; }
  .hero { padding-top: 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { padding-bottom: 20px; }
  .phone { width: min(72vw, 330px); }
  .section { padding: 92px 0; }
  .steps-grid,
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 32px), var(--max-width)); }
  .site-header { position: static; }
  .header-inner { min-height: 68px; }
  .site-nav { display: none; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .hero { min-height: auto; padding: 76px 0 78px; }
  h1 { font-size: clamp(2.55rem, 13vw, 3.7rem); }
  .hero-sub { font-size: 1rem; }
  .phone { width: min(82vw, 310px); }
  .stats-grid,
  .steps-grid,
  .features-grid { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 20px 0; }
  .stat + .stat { border-top: 1px solid var(--border); border-left: 0; }
  .step-number { margin-bottom: 32px; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form input { width: 100%; }
  .waitlist-form .button { width: 100%; }
  .footer-inner { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .button:hover { transform: none; }
  .phone { transform: none; }
}
