:root {
  --ink: #0a0d16;
  --ink-2: #121728;
  --panel: rgba(18, 23, 40, 0.72);
  --line: rgba(232, 210, 160, 0.16);
  --gold: #e3c27a;
  --gold-2: #f4e2b0;
  --gold-deep: #b8893a;
  --cream: #f6f0e6;
  --muted: #b7b3c9;
  --teal: #7ec8c3;
  --danger-note: #c9b48a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1120px;
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(227, 194, 122, 0.16), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(126, 200, 195, 0.1), transparent 50%),
    linear-gradient(180deg, #070910 0%, var(--ink) 40%, #0c101c 100%);
  line-height: 1.6;
}

.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(246, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 70%);
}

.wrap {
  position: relative;
  z-index: 1;
}

a {
  color: var(--gold-2);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cream);
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  color: var(--gold);
  background: rgba(227, 194, 122, 0.08);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0.75rem 0 1rem;
}

.tagline {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  color: var(--gold-2);
  margin: 0 0 1rem;
  font-weight: 500;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.hero-art {
  position: relative;
  min-height: 420px;
}

.phone {
  width: min(320px, 100%);
  margin: 0 auto;
  background: linear-gradient(180deg, #161b2e, #0c101c);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow), inset 0 0 0 8px #070910;
  padding: 1.35rem 1rem 1.1rem;
  position: relative;
}

.phone::before {
  content: "";
  width: 90px;
  height: 8px;
  border-radius: 8px;
  background: #070910;
  display: block;
  margin: 0 auto 1rem;
}

.phone-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.phone-head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.phone-head span {
  color: var(--muted);
  font-size: 0.75rem;
}

.feed-card {
  background: rgba(246, 240, 230, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.65rem;
}

.feed-card .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.feed-card.event .kicker { color: var(--gold); }
.feed-card.release .kicker { color: #c9a0e8; }

.feed-card p {
  margin: 0;
  font-size: 0.9rem;
}

.feed-card small {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}

.waitlist {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  max-width: 28rem;
}

.waitlist form {
  display: flex;
  gap: 0.5rem;
}

.waitlist label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(7, 9, 16, 0.7);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font: inherit;
}

.waitlist input[type="email"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.waitlist button {
  border: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1408;
  font: inherit;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist button:hover,
.waitlist button:focus-visible {
  filter: brightness(1.05);
}

.form-note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--danger-note);
}

.todo-flag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--gold);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  margin-right: 0.35rem;
  font-weight: 700;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.section > p.intro {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  min-height: 100%;
}

.icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  color: var(--gold);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.step h3 {
  margin: 0 0 0.35rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.cta {
  max-width: var(--max);
  margin: 0 auto 4rem;
  padding: 2rem 1.5rem;
}

.cta-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(227, 194, 122, 0.16), transparent 60%),
    var(--panel);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0 0 0.5rem;
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

@media (max-width: 860px) {
  .hero,
  .features,
  .steps,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 1.5rem;
    gap: 2rem;
  }

  .hero-art {
    min-height: 0;
    order: -1;
  }

  .phone {
    width: min(300px, 100%);
  }

  .nav a:not(.pill) {
    display: none;
  }

  .waitlist form {
    flex-direction: column;
  }

  .cta {
    margin-bottom: 2.5rem;
  }
}


.waitlist button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.form-note a {
  color: var(--gold-2);
}

.form-note.ok {
  color: var(--teal);
}

.form-note.err {
  color: #f0b4b4;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 4rem;
}

.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 1rem;
}

.page h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 2rem 0 0.5rem;
}

.page p,
.page li {
  color: var(--muted);
}

.page a {
  color: var(--gold-2);
}

.back-link {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--muted);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--cream);
}
