/* ============================================================
   Vinyl ID — Pre-launch (2-page) additions
   Layers on top of styles.css + design2.css. Only the bits the
   marketing site doesn't already cover: a slimmed nav with a
   single CTA, a feature grid, and the waitlist form.
   ============================================================ */

/* ── Fixed header wrapper (promo + nav stacked, no overlap) ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 55;
}
.topbar .promo { z-index: auto; }
.topbar .nav { position: relative; top: 0; }

/* ── Slim nav: brand + single CTA ─────────────────────── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1.5px solid currentColor;
  color: currentColor;
  transition: background .25s ease, color .25s ease, opacity .2s ease;
}
.nav.is-solid .nav-cta { border-color: #000; }
.nav-cta:hover { background: currentColor; }
.nav-cta:hover span { color: var(--page-bg, #fff); }
/* keep label readable on the colour swap */
.nav .nav-cta span { transition: color .25s ease; }
.nav.is-solid .nav-cta:hover span { color: #fff; }

/* ── What / Why — editorial two-column ────────────────── */
.editorial { padding: 132px var(--gutter); }
.editorial-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start;
}
.editorial h2 {
  font-weight: 500; font-size: clamp(34px, 4vw, 62px);
  line-height: 1.0; letter-spacing: -0.035em; text-wrap: balance;
}
.editorial .body p { font-size: 19px; line-height: 1.6; color: #444; margin-bottom: 22px; max-width: 54ch; }
.editorial .body p:last-child { margin-bottom: 0; }
.editorial .body strong { color: #000; font-weight: 600; }

/* ── Feature grid ─────────────────────────────────────── */
.features-head { max-width: var(--maxw); margin: 0 auto 56px; }
.features-head h2 { font-weight: 500; font-size: clamp(32px, 4vw, 60px); letter-spacing: -0.035em; line-height: 1.0; max-width: 18ch; text-wrap: balance; }
.feature-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.fcard {
  border: 1px solid var(--grey-15); border-radius: 10px;
  padding: 34px 30px 36px; background: var(--white);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease;
}
.fcard:hover { transform: translateY(-5px); border-color: var(--grey-30); }
.fcard .ficon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid #000; display: grid; place-items: center; color: #000;
}
.fcard h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.fcard p { font-size: 15px; line-height: 1.55; color: var(--grey-60); }

/* ── How it works — numbered steps ────────────────────── */
.steps { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 0 36px; border-left: 1px solid var(--grey-15); }
.step:first-child { padding-left: 0; border-left: none; }
.step .num {
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rust); margin-bottom: 18px;
}
.step h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.08; }
.step p { font-size: 15px; line-height: 1.6; color: var(--grey-60); }

/* ── Waitlist page ────────────────────────────────────── */
.wl {
  position: relative; min-height: 100svh; overflow: hidden;
  background: #060606; color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 64px) var(--gutter) 80px;
}
.wl .disc-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(108vh, 1080px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #161616 0 2px, #0c0c0c 2px 7px), #0a0a0a;
  filter: blur(2px); box-shadow: 0 0 200px 40px rgba(255,255,255,.05);
  animation: spin 16s linear infinite; z-index: 0;
}
.wl .disc-glow::before {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 26%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff 0 14%, #c9c9c9 16%, #6e6e6e 60%, #2a2a2a 100%);
}
.wl .haze {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(64% 64% at 50% 50%, transparent 0%, rgba(6,6,6,.78) 76%, #060606 100%);
}
.wl-inner { position: relative; z-index: 2; max-width: 560px; width: 100%; text-align: center; }
.wl .eyebrow { color: rgba(255,255,255,.55); margin-bottom: 18px; }
.wl h1 {
  font-weight: 500; font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96; letter-spacing: -0.04em; margin-bottom: 22px; text-wrap: balance;
}
.wl .sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 46ch; margin: 0 auto 38px; }

/* Form */
.wl-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; }
.wl-names { display: flex; gap: 10px; }
.wl-row { display: flex; gap: 10px; }
.wl-input {
  flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; color: #fff; font-family: inherit; font-size: 16px;
  padding: 15px 22px; outline: none; transition: border-color .2s, background .2s;
}
.wl-input::placeholder { color: rgba(255,255,255,.45); }
.wl-input:focus { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.1); }
.wl-submit {
  background: #fff; color: #000; border: none; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  padding: 15px 28px; white-space: nowrap; transition: background .2s, transform .15s;
}
.wl-submit:hover { background: var(--grey-10); }
.wl-submit:active { transform: scale(.97); }
.wl-fine { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; }
.wl-error { font-size: 13px; color: #f0a08a; min-height: 18px; text-align: left; padding-left: 22px; }

/* Success state */
.wl-success { display: none; flex-direction: column; align-items: center; gap: 18px; }
.wl.done .wl-form, .wl.done .wl-intro { display: none; }
.wl.done .wl-success { display: flex; }
.wl-check {
  width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4);
  display: grid; place-items: center; color: #fff;
  animation: wlpop .5s cubic-bezier(.16,1,.3,1);
}
@keyframes wlpop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wl-success p { font-size: 17px; color: rgba(255,255,255,.78); max-width: 42ch; line-height: 1.6; }
.wl-success .em { color: #fff; font-weight: 500; }
.wl-again {
  margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.32); padding-bottom: 2px;
  transition: color .2s, border-color .2s; cursor: pointer;
}
.wl-again:hover { color: #fff; border-color: #fff; }

/* Tiny trust row under the form */
.wl-meta { display: flex; gap: 26px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.wl-meta span { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; }
.wl-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--rust); }

/* ── Slim footer ──────────────────────────────────────── */
.footer-slim { background: #000; color: #fff; padding: 44px var(--gutter); }
.footer-slim .inner {
  max-width: var(--maxw); margin: 0 auto; display: flex;
  justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-slim .fbrand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.03em; }
.footer-slim .fbrand .brand-mark { width: 22px; height: 22px; }
.footer-slim .legal { font-size: 13px; color: #888; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.footer-slim .legal a { color: #888; transition: color .2s; }
.footer-slim .legal a:hover { color: #fff; }

/* ── Companion app showcase ───────────────────────────── */
.appshow { position: relative; background: #060606; color: #fff; padding: 120px var(--gutter); overflow: hidden; }
.appshow-inner {
  position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr minmax(280px, 360px); gap: 80px; align-items: center;
}
.appshow-copy h2 { font-weight: 500; font-size: clamp(32px, 4vw, 60px); line-height: 1.0; letter-spacing: -0.035em; margin-bottom: 20px; text-wrap: balance; max-width: 14ch; }
.appshow-copy p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.8); margin-bottom: 26px; max-width: 46ch; }
.appshow-list { list-style: none; margin: 0 0 32px; padding: 0; }
.appshow-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.appshow-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }

.appshow-device { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.phone-stage { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; }
.phone-arrow {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.22);
  transition: color .2s, border-color .2s, background .2s, transform .15s;
}
.phone-arrow:hover { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.phone-arrow:active { transform: scale(.92); }
.phone-arrow:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }
.phone {
  position: relative; width: 100%; max-width: 280px; aspect-ratio: 9 / 19.5;
  background: #0a0a0a; border: 2px solid #2a2a2a; border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.04);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #000; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; }
.phone-screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease;
}
.phone-screen img.active { opacity: 1; }

.phone-dots { display: flex; gap: 9px; }
.phone-dots button {
  width: 8px; height: 8px; padding: 0; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.25); transition: background .25s, transform .25s;
}
.phone-dots button.active { background: #fff; transform: scale(1.25); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 980px) {
  .topbar { padding-top: env(safe-area-inset-top); }
  .nav { padding: 0 20px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { padding: 0 0 0 24px; border-left: 1px solid var(--grey-15); }
  .step:first-child { padding-left: 24px; border-left: 1px solid var(--grey-15); }
  .footer-slim { padding: 32px 20px; }
  .footer-slim .inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .wl { min-height: auto; padding: calc(var(--nav-h) + 40px) var(--gutter) 60px; }
  .wl .disc-glow { width: min(62vh, 420px); }
  .wl-inner { padding: 0 18px; }
  .wl h1 { font-size: clamp(34px, 8vw, 52px); }
  .wl .sub { max-width: 100%; }
  .wl-form { max-width: 100%; }
  .wl-meta { gap: 16px; }
}
@media (max-width: 860px) {
  .appshow { padding: 88px var(--gutter); }
  .appshow-inner { grid-template-columns: 1fr; gap: 48px; }
  .appshow-device { order: -1; }
  .phone-stage { gap: 10px; }
  .phone-arrow { width: 40px; height: 40px; }
}
@media (max-width: 620px) {
  .editorial { padding: 80px var(--gutter); }
  .feature-grid { grid-template-columns: 1fr; }
  .wl-row { flex-direction: column; }
  .wl-error { text-align: center; padding-left: 0; }
  .nav-cta { width: 100%; justify-content: center; }
}

/* ── Product card: rounded card fully filled by the product photo,
   copy overlaid on the left (Sonos-style). device-wide.jpg is the square
   render extended onto a wide canvas of its own studio grey. ── */
.product-shot { padding: clamp(64px, 8vw, 112px) var(--gutter) 0; }
.product-card {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  aspect-ratio: 2.4 / 1; max-height: 520px;
  border-radius: clamp(20px, 3vw, 32px); overflow: hidden;
  background: #a9a7aa; color: #101010;
  display: flex; align-items: center;
}
.product-card picture { position: absolute; inset: 0; }
.product-card picture img {
  width: 100%; height: 100%; object-fit: cover; max-width: none; display: block;
}
.product-card-copy { position: relative; z-index: 1; padding: clamp(28px, 4.5vw, 64px); max-width: 560px; }
.product-card-copy h2 {
  font-weight: 500; font-size: clamp(28px, 3.4vw, 50px);
  line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 14px; text-wrap: balance;
}
.product-card-copy p { font-size: 17px; line-height: 1.6; color: rgba(16,16,16,.72); max-width: 38ch; margin-bottom: 26px; }
@media (max-width: 760px) {
  .product-card { aspect-ratio: auto; max-height: none; flex-direction: column; align-items: stretch; }
  .product-card picture { position: static; }
  .product-card picture img { width: 100%; height: auto; }
  .product-card-copy { padding: 8px 24px 32px; max-width: none; }
}

/* ── How-it-works background video (companion app demo) ── */
.moment .media video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.7);
}
@media (prefers-reduced-motion: reduce) { .moment .media video { display: none; } }
