:root {
  --bg: #0f0f0f;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --quiet: rgba(255, 255, 255, 0.52);
  --purple: #9b5de5;
  --purple-dark: #4a2280;
  --gold: #c9a84c;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(155, 93, 229, 0.34), transparent 32rem),
    radial-gradient(circle at 86% 22%, rgba(201, 168, 76, 0.18), transparent 28rem),
    linear-gradient(180deg, #171219 0%, var(--bg) 48%, #0b0b0b 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 58px;
  margin: 16px auto 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.66);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-wordmark {
  width: 104px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(155, 93, 229, 0.18));
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: #120b18;
  background: linear-gradient(135deg, #efe0a3, var(--gold) 48%, #a871ff);
  transform: translateY(-1px);
}

.section-band {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
  min-height: 88svh;
  padding: 120px 0 38px;
}

.hero-copy {
  max-width: 650px;
}

.hero-logo {
  display: block;
  width: min(280px, 72vw);
  height: auto;
  margin: 0 0 26px;
  filter: drop-shadow(0 18px 34px rgba(155, 93, 229, 0.2));
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.3rem, 8vw, 6.9rem);
  font-weight: 800;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  color: #120b18;
  background: linear-gradient(135deg, #efe0a3, var(--gold) 45%, #a871ff);
  box-shadow: 0 18px 46px rgba(155, 93, 229, 0.34);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.primary-button:hover,
.secondary-button:hover,
.store-button:hover,
.waitlist-form button:hover {
  transform: translateY(-2px);
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 540px;
  place-items: center;
}

.phone-stage::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: conic-gradient(from 140deg, rgba(155, 93, 229, 0.74), rgba(201, 168, 76, 0.36), rgba(155, 93, 229, 0.2), rgba(155, 93, 229, 0.74));
  filter: blur(36px);
  opacity: 0.72;
}

.phone {
  position: absolute;
  width: min(270px, 44vw);
  min-width: 210px;
  aspect-ratio: 0.511;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background: linear-gradient(145deg, #1d1722, #080808);
  box-shadow: var(--shadow), inset 0 0 0 7px rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.phone-left {
  transform: translateX(-78px) rotate(-7deg);
}

.phone-right {
  transform: translateX(92px) translateY(28px) rotate(7deg);
}

.phone-speaker {
  display: none;
}

.screen-shot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
}

.screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 48px 16px 18px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(155, 93, 229, 0.46), transparent 46%),
    linear-gradient(180deg, #1a1421, #0d0d0e);
}

.app-top,
.mood-row,
.calendar-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-top {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 18px var(--purple);
}

.gold-dot {
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}

.pulse-card,
.mini-card,
.calendar-card,
.list-card,
.capsule-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.pulse-card {
  display: grid;
  min-height: 170px;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.pulse-ring {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.38);
  border-radius: 50%;
  background: rgba(155, 93, 229, 0.14);
  animation: pulse 2.4s ease-in-out infinite;
}

.pulse-ring span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--gold));
}

.pulse-card p,
.list-card p,
.mini-card span,
.capsule-card span {
  margin: 0;
  color: var(--quiet);
  font-size: 0.76rem;
  font-weight: 700;
}

.pulse-card strong,
.mini-card strong,
.capsule-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.mood-row {
  gap: 8px;
}

.mood {
  flex: 1;
  padding: 9px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.mood.active {
  color: #130d18;
  background: var(--gold);
}

.mini-card,
.list-card,
.capsule-card {
  padding: 16px;
}

.mini-card.gold {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.22), rgba(255, 255, 255, 0.06));
}

.mini-card small {
  display: block;
  margin-top: 8px;
  color: var(--quiet);
}

.journal-line {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.journal-line.short {
  width: 64%;
}

.calendar-card {
  padding: 14px;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 800;
}

.calendar-card div {
  display: grid;
  width: 34px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
}

.calendar-card .selected {
  color: #130d18;
  background: var(--gold);
}

.list-card {
  display: grid;
  gap: 12px;
}

.list-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.list-card label span {
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  border-radius: 6px;
}

.capsule-card {
  margin-top: auto;
  background: linear-gradient(135deg, rgba(155, 93, 229, 0.24), rgba(201, 168, 76, 0.1));
}

.features,
.app-preview,
.steps,
.download {
  padding: 88px 0;
}

.features {
  padding-top: 58px;
}

.app-preview {
  overflow: hidden;
}

.section-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 32px;
}

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

.preview-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.preview-phone {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(145deg, #1c1721, #070707);
  box-shadow: 0 20px 58px rgba(0, 0, 0, 0.34);
}

.preview-phone:nth-child(even) {
  margin-top: 42px;
}

.preview-phone img {
  display: block;
  width: 100%;
  aspect-ratio: 0.511;
  border-radius: 22px;
  object-fit: cover;
  object-position: top center;
}

.preview-phone figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 800;
}

.glass-card,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.glass-card {
  padding: 24px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(201, 168, 76, 0.36);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glass-card p,
.step p,
.download-inner p {
  margin: 12px 0 0;
  color: var(--muted);
}

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

.step {
  position: relative;
  min-height: 230px;
  padding: 28px;
  overflow: hidden;
}

.step::after {
  position: absolute;
  right: -42px;
  bottom: -62px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  content: "";
  background: rgba(155, 93, 229, 0.24);
  filter: blur(10px);
}

.step span {
  display: block;
  margin-bottom: 58px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

.download {
  padding-bottom: 112px;
}

.download-inner {
  display: grid;
  justify-items: center;
  padding: 58px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(155, 93, 229, 0.22), rgba(201, 168, 76, 0.12)),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.download-inner h2 {
  max-width: 800px;
}

.download-inner p {
  max-width: 620px;
}

.waitlist-panel {
  position: relative;
  overflow: hidden;
}

.waitlist-panel::before {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  content: "";
  background: rgba(155, 93, 229, 0.22);
  filter: blur(34px);
}

.waitlist-panel > * {
  position: relative;
}

.beta-panel > * {
  position: relative;
}

.beta-status {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 10px;
  align-items: center;
  width: fit-content;
  margin-top: 30px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(5, 4, 7, 0.42);
}

.beta-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.62);
}

.beta-status strong {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--text);
}

.waitlist-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px 10px;
  width: min(720px, 100%);
  margin-top: 30px;
}

.waitlist-form input[type="email"],
.waitlist-form button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.waitlist-form input[type="email"] {
  width: 100%;
  color: var(--text);
  background: rgba(5, 4, 7, 0.48);
  outline: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.waitlist-form input[type="email"] {
  padding: 0 18px;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.44);
}

.waitlist-form input[type="email"]:focus {
  outline-color: rgba(201, 168, 76, 0.56);
}

.platform-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-height: 52px;
  padding: 4px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.platform-choice label {
  min-width: 0;
}

.platform-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.platform-choice span {
  display: grid;
  height: 44px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.platform-choice input:checked + span {
  color: #120b18;
  background: linear-gradient(135deg, #efe0a3, var(--gold) 48%, #a871ff);
}

.platform-choice input:focus-visible + span {
  border-color: rgba(255, 255, 255, 0.72);
}

.platform-choice span:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.09);
}

.platform-choice input:checked + span:hover {
  color: #120b18;
}

.waitlist-form button {
  min-width: 138px;
  padding: 0 22px;
  color: #120b18;
  cursor: pointer;
  background: linear-gradient(135deg, #efe0a3, var(--gold) 45%, #a871ff);
  transition: transform 180ms ease, opacity 180ms ease;
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.privacy-consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 9px;
  align-items: flex-start;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}

.privacy-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--purple);
  flex: 0 0 auto;
}

.privacy-consent a {
  color: var(--text);
  text-decoration-color: rgba(201, 168, 76, 0.72);
  text-underline-offset: 3px;
}

.form-note {
  min-height: 24px;
  font-size: 0.92rem;
}

.form-note.is-success {
  color: #f1d98a;
}

.form-note.is-error {
  color: #ffb4b4;
}

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

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  min-height: 58px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.store-button:hover {
  border-color: rgba(201, 168, 76, 0.56);
  background: rgba(0, 0, 0, 0.58);
}

.store-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gold);
}

.store-button small {
  display: block;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 700;
}

.store-button span:last-child {
  font-weight: 800;
  line-height: 1.18;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-weight: 700;
}

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

.legal-page {
  max-width: 920px;
  padding-top: 150px;
  padding-bottom: 88px;
}

.legal-page h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.legal-page h2 {
  max-width: none;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.legal-intro {
  margin: 14px 0 34px;
  color: var(--muted);
}

.legal-card {
  padding: 26px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.legal-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-card a {
  color: var(--gold);
  font-weight: 800;
}

.legal-card a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.24);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 0 18px rgba(201, 168, 76, 0);
  }
}

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

@media (max-width: 900px) {
  .site-header {
    width: max-content;
    max-width: calc(100% - 20px);
    justify-content: center;
    min-height: 52px;
    margin-top: 10px;
    padding: 5px;
  }

  .nav {
    display: flex;
  }

  .nav a {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.8rem;
  }

  .legal-page {
    padding-top: 118px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    padding-top: 104px;
  }

  .phone-stage {
    min-height: 420px;
  }

  .feature-grid,
  .step-row,
  .preview-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section-band,
  .footer {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: clamp(2.72rem, 14.2vw, 4.2rem);
  }

  .hero {
    padding-bottom: 20px;
  }

  .hero-actions,
  .store-buttons,
  .waitlist-form {
    align-items: stretch;
    flex-direction: column;
  }

  .waitlist-form {
    display: flex;
    gap: 12px;
  }

  .privacy-consent {
    width: 100%;
    margin: 0;
    padding: 0 4px;
  }

  .beta-status {
    grid-template-columns: auto 1fr;
    width: 100%;
    border-radius: 20px;
  }

  .beta-status strong {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .platform-choice {
    border-radius: 24px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .primary-button,
  .secondary-button,
  .store-button,
  .waitlist-form button {
    width: 100%;
  }

  .phone-stage {
    min-height: 180px;
    overflow: hidden;
  }

  .phone {
    width: 166px;
    min-width: 0;
    padding: 10px;
    border-radius: 30px;
  }

  .phone-left {
    transform: translateX(-42px) translateY(26px) rotate(-6deg);
  }

  .phone-right {
    transform: translateX(50px) translateY(42px) rotate(6deg);
  }

  .screen {
    gap: 10px;
    padding-top: 40px;
    padding-inline: 12px;
    border-radius: 25px;
  }

  .phone-speaker {
    display: none;
  }

  .screen-shot {
    border-radius: 23px;
  }

  .feature-grid,
  .step-row,
  .preview-row {
    grid-template-columns: 1fr;
  }

  .features,
  .app-preview,
  .steps,
  .download {
    padding: 44px 0;
  }

  .preview-row {
    gap: 14px;
  }

  .preview-phone {
    width: min(280px, 82vw);
    margin-right: auto;
    margin-left: auto;
  }

  .preview-phone:nth-child(even) {
    margin-top: 0;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .legal-card {
    padding: 20px;
  }
}
