/* SharedEcho smoke-test landing page — mobile-first */

:root {
  --bg: #16110e;
  --bg-elev: #211b16;
  --bg-soft: #2b231d;
  --ink: #f6f0e8;
  --ink-dim: #cbb9a8;
  --ink-mute: #8f7f70;
  --gold: #e0b072;
  --gold-2: #f3d7b0;
  --gold-deep: #c8944e;
  --line: rgba(243, 215, 176, 0.16);
  --line-strong: rgba(243, 215, 176, 0.28);
  --danger: #e39a8c;
  --ok: #9ecba8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  min-height: 100%;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(224, 176, 114, 0.14), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(224, 176, 114, 0.06), transparent 50%),
    var(--bg);
}

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

a {
  color: var(--gold-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.4rem 0.8rem;
  z-index: 20;
  border-radius: 8px;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(22, 17, 14, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.hero,
.how,
.occasions,
.pricing,
.waitlist,
.faq,
.footer-inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.wordmark .mark {
  color: var(--gold);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 1.35rem;
}

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

.nav-links a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #1a140f;
  font: inherit;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--gold-2);
  color: #1a140f;
  transform: translateY(-1px);
}

.btn-small {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.hero {
  display: grid;
  gap: 2.75rem;
  padding: 3.25rem 0 4.25rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.player-title {
  font-family: var(--font-serif);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0.7;
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
}

.lede,
.steps p,
.occasion-grid p,
.voice-note,
.player-meta,
.waitlist-card > p,
.modal-panel > p,
.section-head p:last-child {
  text-wrap: pretty;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--ink-dim);
  font-size: 1.12rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-note {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.95rem;
}

.player-card {
  background:
    linear-gradient(180deg, rgba(224, 176, 114, 0.08), transparent 40%),
    var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}

.player-kicker {
  margin: 0 0 0.45rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player-title {
  margin: 0 0 0.35rem;
  font-size: 1.7rem;
}

.player-meta {
  margin: 0 0 1.4rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 72px;
  margin-bottom: 1rem;
}

.waveform span {
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-deep));
  opacity: 0.88;
  transform-origin: bottom;
}

.waveform span:nth-child(1) { height: 22%; }
.waveform span:nth-child(2) { height: 36%; }
.waveform span:nth-child(3) { height: 48%; }
.waveform span:nth-child(4) { height: 31%; }
.waveform span:nth-child(5) { height: 70%; }
.waveform span:nth-child(6) { height: 44%; }
.waveform span:nth-child(7) { height: 86%; }
.waveform span:nth-child(8) { height: 58%; }
.waveform span:nth-child(9) { height: 40%; }
.waveform span:nth-child(10) { height: 92%; }
.waveform span:nth-child(11) { height: 64%; }
.waveform span:nth-child(12) { height: 38%; }
.waveform span:nth-child(13) { height: 75%; }
.waveform span:nth-child(14) { height: 50%; }
.waveform span:nth-child(15) { height: 28%; }
.waveform span:nth-child(16) { height: 62%; }
.waveform span:nth-child(17) { height: 84%; }
.waveform span:nth-child(18) { height: 47%; }
.waveform span:nth-child(19) { height: 33%; }
.waveform span:nth-child(20) { height: 71%; }
.waveform span:nth-child(21) { height: 55%; }
.waveform span:nth-child(22) { height: 26%; }
.waveform span:nth-child(23) { height: 43%; }
.waveform span:nth-child(24) { height: 60%; }
.waveform span:nth-child(25) { height: 35%; }
.waveform span:nth-child(26) { height: 48%; }
.waveform span:nth-child(27) { height: 24%; }
.waveform span:nth-child(28) { height: 18%; }

.player-controls {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--ink-mute);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.play-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  position: relative;
}

.play-dot::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent #1a140f;
}

.track {
  height: 3px;
  background: var(--line-strong);
  border-radius: 99px;
  overflow: hidden;
}

.track i {
  display: block;
  width: 18%;
  height: 100%;
  background: var(--gold);
}

.chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapters li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  color: var(--ink-dim);
  font-size: 0.82rem;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p:last-child {
  margin: 0;
  color: var(--ink-dim);
}

.how,
.occasions,
.pricing,
.waitlist,
.faq {
  scroll-margin-top: 5.5rem;
}

.how,
.occasions,
.pricing,
.faq {
  padding: 1.5rem 0 4.5rem;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.4rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: rgba(224, 176, 114, 0.12);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
}

.steps p,
.occasion-grid p,
.price-card li {
  margin: 0;
  color: var(--ink-dim);
}

.voice-note {
  margin: 1.75rem 0 0;
  padding: 1.2rem 1.3rem;
  border-left: 2px solid var(--gold);
  color: var(--ink-dim);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
}

.occasion-grid,
.price-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.occasion-grid li,
.price-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.45rem;
}

.price-card-accent {
  background:
    linear-gradient(180deg, rgba(224, 176, 114, 0.1), transparent 42%),
    var(--bg-elev);
  border-color: var(--line-strong);
}

.price-label {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-amount {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}

.price-amount span {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-mute);
  font-weight: 400;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.price-card li {
  padding-left: 1.15rem;
  position: relative;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

.waitlist {
  padding: 0 0 4.5rem;
}

.waitlist-card,
.modal-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
}

.waitlist-card {
  max-width: 52rem;
}

.waitlist-card h2,
.modal-panel h2 {
  text-wrap: pretty;
}

.waitlist-card > p:not(.eyebrow):not(.form-fineprint):not(.form-status),
.modal-panel > p:not(.eyebrow):not(.form-fineprint):not(.form-status) {
  color: var(--ink-dim);
  margin: 0 0 1.5rem;
}

.waitlist-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.92rem;
  color: var(--ink);
}

.optional {
  color: var(--ink-mute);
  font-weight: 400;
}

input,
select {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.9rem;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}

input::placeholder {
  color: var(--ink-mute);
}

input:focus,
select:focus {
  border-color: var(--gold);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
}

.form-status.is-ok {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--danger);
}

.form-fineprint {
  margin: 0;
  color: var(--ink-mute);
  font-size: 0.85rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  max-width: 44rem;
}

details {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 1.15rem;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.6rem 1rem 0;
  font-weight: 500;
  position: relative;
}

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

summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
}

details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

details p {
  margin: 0 0 1.05rem;
  color: var(--ink-dim);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 3rem;
  color: var(--ink-mute);
  font-size: 0.95rem;
}

.footer-brand {
  margin: 0 0 0.4rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-inner p {
  margin: 0 0 0.7rem;
  max-width: 32rem;
}

.copyright {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 1rem;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 5, 0.72);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: var(--ink-dim);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--ink);
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
    padding: 5.5rem 0 6rem;
  }

  .steps,
  .occasion-grid,
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .waitlist-card,
  .modal-panel {
    padding: 2.4rem 2.2rem 2.1rem;
  }

  .modal {
    place-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
