:root {
  --ground: #0B0907;
  --surface: #15110D;
  --bronze: #B8874F;
  --champagne: #E4CBA3;
  --ivory: #EFDDBE;
  --muted: #9C8B75;
  --hairline: rgba(184, 135, 79, 0.2);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  /* Hero animations wait for the stairs intro when it plays. */
  --intro: 0s;
  color-scheme: dark;
}
.intro { --intro: 0.8s; }

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--champagne);
  font: 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--champagne); }
a:hover { color: #F7E9D2; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; padding: 8px 14px; background: var(--surface); z-index: 60; }

/* ---- Stairs intro (double direction) ---- */
.stairs { display: none; }
.intro .stairs {
  display: grid; grid-template-rows: 1fr 1fr;
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
}
.stairs-row { display: flex; }
.stairs-row i {
  flex: 1;
  background: linear-gradient(180deg, #1D1712, #120E0B);
  box-shadow: inset -1px 0 rgba(184, 135, 79, 0.22), inset 1px 0 rgba(228, 203, 163, 0.05);
  animation: 0.62s var(--ease-in-out) forwards;
}
.stairs-top i { animation-name: stair-up; }
.stairs-bottom i { animation-name: stair-down; background: linear-gradient(0deg, #1D1712, #120E0B); }
/* A bronze seam where the two rows meet. */
.stairs-top i { border-bottom: 1px solid rgba(184, 135, 79, 0.35); }
/* Top row parts from the left, bottom row from the right. */
.stairs-top i:nth-child(1), .stairs-bottom i:nth-child(7) { animation-delay: 0.50s; }
.stairs-top i:nth-child(2), .stairs-bottom i:nth-child(6) { animation-delay: 0.55s; }
.stairs-top i:nth-child(3), .stairs-bottom i:nth-child(5) { animation-delay: 0.60s; }
.stairs-top i:nth-child(4), .stairs-bottom i:nth-child(4) { animation-delay: 0.65s; }
.stairs-top i:nth-child(5), .stairs-bottom i:nth-child(3) { animation-delay: 0.70s; }
.stairs-top i:nth-child(6), .stairs-bottom i:nth-child(2) { animation-delay: 0.75s; }
.stairs-top i:nth-child(7), .stairs-bottom i:nth-child(1) { animation-delay: 0.80s; }
.stairs-logo {
  position: absolute; left: 50%; top: 50%; width: 84px;
  translate: -50% -50%;
  opacity: 0; scale: 0.8; filter: blur(8px);
  animation: stair-logo 0.9s var(--ease-out) forwards;
}
@keyframes stair-up { to { transform: translateY(-101%); } }
@keyframes stair-down { to { transform: translateY(101%); } }
@keyframes stair-logo {
  0% { opacity: 0; scale: 0.8; filter: blur(8px); }
  40% { opacity: 1; scale: 1; filter: blur(0); }
  70% { opacity: 1; scale: 1; filter: blur(0); }
  100% { opacity: 0; scale: 1.08; filter: blur(6px); }
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) clamp(16px, 4vw, 48px) 18px;
  transition: padding 300ms var(--ease-out), background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.nav.scrolled {
  padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px;
  background: rgba(11, 9, 7, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(184, 135, 79, 0.12);
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 22px; color: var(--ivory); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Music toggle: a little record that spins, with bars that dance. */
.music {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 12px 0 5px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.music:hover { border-color: rgba(184, 135, 79, 0.45); }
.music:active { transform: scale(0.95); }
.music-disc {
  width: 28px; height: 28px; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle, var(--bronze) 0 3px, var(--ground) 3.5px 4.5px, transparent 5px),
    repeating-radial-gradient(circle, #1c1611 0 1.2px, #2a2119 1.2px 2.4px);
  box-shadow: inset 0 0 0 1px rgba(184, 135, 79, 0.35);
}
.music-disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 40deg, rgba(228, 203, 163, 0.3) 60deg, transparent 80deg 220deg, rgba(228, 203, 163, 0.2) 240deg, transparent 260deg);
}
.music.on .music-disc { animation: spin 2.4s linear infinite; }
.music-bars { display: flex; align-items: center; gap: 2px; height: 14px; }
.music-bars i {
  width: 2px; height: 100%; border-radius: 1px; background: var(--bronze);
  transform: scaleY(0.25); transform-origin: center;
  transition: transform 300ms var(--ease-out);
}
.music.on .music-bars i { animation: eq 1.1s ease-in-out infinite; }
.music.on .music-bars i:nth-child(2) { animation-delay: -0.4s; }
.music.on .music-bars i:nth-child(3) { animation-delay: -0.8s; }
.music.on .music-bars i:nth-child(4) { animation-delay: -0.2s; }
.music.on .music-bars i:nth-child(5) { animation-delay: -0.6s; }

.nav-cta {
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 9px 16px; border-radius: 999px;
  color: var(--ground); background: var(--bronze);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.nav-cta:hover { color: var(--ground); }
.past-hero .nav-cta { opacity: 1; transform: none; pointer-events: auto; }

/* ---- Scroll progress ---- */
.progress {
  position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 10;
  display: none; flex-direction: column; align-items: center; gap: 10px;
}
.progress-track { width: 2px; height: 120px; border-radius: 2px; background: rgba(184, 135, 79, 0.18); overflow: hidden; }
.progress-fill { width: 100%; height: 100%; background: var(--bronze); transform-origin: top; transform: scaleY(0); }
.progress-label { font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; color: var(--muted); }
@media (min-width: 900px) { .progress { display: flex; } }

/* ---- Hero ---- */
.hero {
  min-height: calc(100svh - 76px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 8px 16px 56px;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; will-change: filter, opacity; }
.hero-mark { position: relative; width: clamp(150px, 22vw, 200px); }
.halo {
  position: absolute; inset: -45%;
  background: radial-gradient(circle, rgba(184, 135, 79, 0.28) 0%, rgba(184, 135, 79, 0) 62%);
  opacity: 0; animation: fade 1.6s var(--ease-out) calc(0.2s + var(--intro)) forwards;
}
.logo {
  position: relative; width: 100%;
  opacity: 0; filter: blur(16px); transform: scale(0.92);
  -webkit-mask-image: linear-gradient(110deg, #000 40%, rgba(0,0,0,.55) 50%, #000 60%);
  -webkit-mask-size: 300% 100%;
  mask-image: linear-gradient(110deg, #000 40%, rgba(0,0,0,.55) 50%, #000 60%);
  mask-size: 300% 100%;
  animation: arrive 1.2s var(--ease-out) calc(0.1s + var(--intro)) forwards,
             sheen 2.2s ease-in-out calc(1.3s + var(--intro)) both;
}
.headline {
  margin: 32px 0 0; max-width: 16ch;
  font: 400 clamp(40px, 6.5vw, 76px)/1.02 var(--serif);
  letter-spacing: -0.015em;
  color: var(--ivory);
}
.headline em, .persp em { font-style: italic; color: var(--champagne); }
.headline .w {
  display: inline-block;
  opacity: 0; filter: blur(10px); transform: translateY(0.25em);
  animation: word 0.9s var(--ease-out) calc(var(--d, 0s) + var(--intro)) forwards;
}
.lede { margin: 22px 0 0; max-width: 34ch; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px; border-radius: 999px;
  background: var(--bronze); color: var(--ground); text-decoration: none; font-weight: 600; font-size: 16px;
  box-shadow: 0 0 0 6px rgba(184, 135, 79, 0.14), 0 12px 40px rgba(184, 135, 79, 0.22);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.button:hover { color: var(--ground); box-shadow: 0 0 0 8px rgba(184, 135, 79, 0.18), 0 14px 44px rgba(184, 135, 79, 0.3); }
.button:active { transform: scale(0.97); }
/* Store-style "coming soon" badges (swap for Apple's official badge at launch). */
.badges { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.answer .badges { justify-content: flex-start; margin-top: 16px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 7px 18px 7px 13px; border-radius: 12px;
  background: #000; border: 1px solid rgba(228, 203, 163, 0.35);
  color: #F5EEE4; text-decoration: none;
  transition: border-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.badge:hover { color: #fff; border-color: rgba(228, 203, 163, 0.7); }
.badge:active { transform: scale(0.97); }
.badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge span { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; text-align: left; }
.badge small { font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(245, 238, 228, 0.7); }
.rise { opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease-out) calc(var(--d, 0s) + var(--intro)) forwards; }

/* Hear her voice */
.listen {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 20px 0 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--hairline); cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 200ms var(--ease-out);
}
.listen:hover { border-color: rgba(184, 135, 79, 0.45); }
.listen:active { transform: scale(0.97); }
.record {
  width: 36px; height: 36px; border-radius: 50%;
  background:
    radial-gradient(circle, var(--bronze) 0 4px, var(--ground) 4.5px 6px, transparent 6.5px),
    repeating-radial-gradient(circle, #1c1611 0 1.5px, #2a2119 1.5px 3px);
  box-shadow: inset 0 0 0 1px rgba(184, 135, 79, 0.35);
  position: relative;
}
.record::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 40deg, rgba(228, 203, 163, 0.28) 60deg, transparent 80deg 220deg, rgba(228, 203, 163, 0.18) 240deg, transparent 260deg);
}
.playing .record { animation: spin 1.8s linear infinite; }
.listen-label { font-size: 15px; font-weight: 500; color: var(--ivory); }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; width: 0; overflow: hidden; transition: width 250ms var(--ease-out); }
.playing .eq { width: 16px; }
.eq i { width: 2px; height: 100%; border-radius: 1px; background: var(--bronze); transform-origin: bottom; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; }
.eq i:nth-child(3) { animation-delay: -0.6s; }
.eq i:nth-child(4) { animation-delay: -0.15s; }

/* ---- Statement (3D perspective) ---- */
.statement { padding: 18vh 16px 14vh; perspective: 900px; overflow: hidden; }
.persp { margin: 0; text-align: center; transform-style: preserve-3d; }
.persp-line {
  display: block; transform-origin: 50% 100%;
  font: 400 clamp(56px, 12vw, 168px)/0.95 var(--serif); letter-spacing: -0.025em; color: var(--ivory);
  will-change: transform, opacity;
}

/* ---- Sections ---- */
.section-title {
  margin: 0; text-align: center;
  font: 400 clamp(32px, 5vw, 56px)/1.05 var(--serif); letter-spacing: -0.01em; color: var(--ivory);
}
.section-lede { margin: 16px auto 0; max-width: 40ch; text-align: center; color: var(--muted); font-size: 18px; }

/* ---- Demo chat with glowing border ---- */
.demo { padding: 72px clamp(16px, 4vw, 48px) 96px; }
.demo-frame {
  position: relative; max-width: 560px; margin: 48px auto 0; padding: 1.5px; border-radius: 30px;
  background: conic-gradient(from var(--angle), #B8874F, #E4CBA3, #C98B6B, #6E4626, #E4CBA3, #B8874F);
  animation: turn 7s linear infinite;
}
.demo-frame::before {
  content: ""; position: absolute; inset: -6px; z-index: -1; border-radius: 36px;
  background: inherit; filter: blur(28px); opacity: 0.35;
}
.demo-card {
  height: 400px; border-radius: 28.5px; background: #0E0B09;
  display: flex; flex-direction: column; padding: 22px; gap: 14px; overflow: hidden;
}
.demo-thread { flex: 1; display: flex; flex-direction: column; gap: 16px; transition: opacity 400ms var(--ease-out), filter 400ms var(--ease-out); }
.bubble {
  align-self: flex-end; max-width: 80%; padding: 11px 15px; border-radius: 18px 18px 5px 18px;
  background: #1C1712; color: #D9C2A0; font-size: 15px;
  opacity: 0; transform: translateY(10px) scale(0.97); transform-origin: bottom right;
  transition: opacity 350ms var(--ease-out), transform 350ms var(--ease-out);
}
.her { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transition: opacity 300ms var(--ease-out); }
.her img { width: 26px; margin-top: 4px; }
.her-text { margin: 0; font: 400 23px/1.28 var(--serif); color: var(--ivory); }
.her-text span { opacity: 0; filter: blur(6px); transition: opacity 350ms var(--ease-out), filter 350ms var(--ease-out); }
.her-text span.on { opacity: 1; filter: none; }
.dots { display: none; gap: 6px; padding-top: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); animation: pulse 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
.demo-chip {
  margin-left: 38px; display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid rgba(184, 135, 79, 0.25);
  opacity: 0; transform: translateY(16px) scale(0.95); filter: blur(6px);
  transition: opacity 450ms var(--ease-out), transform 550ms cubic-bezier(0.34, 1.4, 0.64, 1), filter 450ms var(--ease-out);
}
.demo-chip svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(184, 135, 79, 0.14); fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.demo-chip strong { display: block; font-weight: 500; font-size: 15px; color: var(--ivory); }
.demo-chip small { display: block; font-size: 13px; color: var(--muted); }
.demo-input {
  display: flex; align-items: center; gap: 2px; height: 50px; padding: 0 6px 0 18px; border-radius: 25px;
  background: var(--surface); border: 1px solid rgba(184, 135, 79, 0.3); font-size: 15px; color: var(--champagne);
}
.typed:empty::before { content: "Message Cressida"; color: var(--muted); }
.caret { width: 1.5px; height: 18px; background: var(--bronze); animation: blink 1s steps(1) infinite; }
.demo-mic { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--bronze); display: grid; place-items: center; }
.demo-mic svg { width: 18px; height: 18px; fill: none; stroke: var(--ground); stroke-width: 1.8; stroke-linecap: round; }
.demo-card.sent .bubble { opacity: 1; transform: none; }
.demo-card.thinking .her, .demo-card.answering .her { opacity: 1; }
.demo-card.thinking .dots { display: flex; }
.demo-card.chipped .demo-chip { opacity: 1; transform: none; filter: none; }
.demo-card.clearing .demo-thread { opacity: 0; filter: blur(8px); }
.demo-note { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---- Feature cards ---- */
.features { padding: 72px clamp(16px, 4vw, 48px) 96px; max-width: 1000px; margin: 0 auto; }
.grid { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  padding: 28px; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--hairline);
  transition: border-color 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(184, 135, 79, 0.14); fill: none; stroke: var(--bronze); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.card h3 { margin: 20px 0 8px; font-weight: 500; font-size: 19px; color: var(--ivory); }
.card p { margin: 0; color: var(--muted); }
@media (hover: hover) {
  .card:hover { border-color: rgba(184, 135, 79, 0.4); transform: translateY(-2px); }
  .card:hover .icon-bell { animation: ring 0.7s var(--ease-out); transform-origin: 50% 15%; }
  .card:hover .icon-mic .wave { animation: pulse 0.9s ease-in-out 2; }
  .card:hover .icon-spark { animation: twinkle 0.8s var(--ease-out); }
  .card:hover .icon-devices .phone { animation: hop 0.6s var(--ease-out); }
}

/* ---- A day with Cressida (timeline) ---- */
.day { padding: 72px clamp(16px, 4vw, 48px) 96px; }
.timeline { position: relative; max-width: 640px; margin: 56px auto 0; }
.timeline-line { position: absolute; left: 60px; top: 8px; bottom: 8px; width: 2px; background: rgba(184, 135, 79, 0.15); border-radius: 2px; overflow: hidden; }
.timeline-fill { width: 100%; height: 100%; background: linear-gradient(var(--champagne), var(--bronze)); transform-origin: top; transform: scaleY(0); }
.timeline ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 44px; }
.moment { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 40px; }
.moment time { padding-top: 2px; text-align: right; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--muted); transition: color 400ms var(--ease-out); }
.moment::before {
  content: ""; position: absolute; left: 55px; top: 7px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--ground); border: 2px solid rgba(184, 135, 79, 0.35);
  transition: background-color 400ms var(--ease-out), border-color 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.moment h3 { margin: 0 0 6px; font-weight: 500; font-size: 18px; color: var(--muted); transition: color 400ms var(--ease-out); }
.moment p { margin: 0; font: 400 21px/1.35 var(--serif); color: rgba(239, 221, 190, 0.45); transition: color 400ms var(--ease-out); }
.moment.lit time { color: var(--bronze); }
.moment.lit::before { background: var(--bronze); border-color: var(--bronze); box-shadow: 0 0 0 6px rgba(184, 135, 79, 0.15); }
.moment.lit h3 { color: var(--ivory); }
.moment.lit p { color: var(--ivory); }

/* ---- FAQ (bouncy accordion) ---- */
.faq { padding: 72px clamp(16px, 4vw, 48px) 72px; }
.faq-list { max-width: 680px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border-radius: 20px; background: var(--surface); border: 1px solid var(--hairline);
  interpolate-size: allow-keywords;
}
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px; font-size: 17px; color: var(--ivory);
}
.faq summary::-webkit-details-marker { display: none; }
.plus {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; position: relative;
  background: rgba(184, 135, 79, 0.12); border: 1px solid rgba(184, 135, 79, 0.25);
  backdrop-filter: blur(8px);
  transition: transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 250ms var(--ease-out);
}
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--bronze); translate: -50% -50%; border-radius: 1px; }
.plus::after { rotate: 90deg; }
details[open] .plus { transform: rotate(135deg); background: rgba(184, 135, 79, 0.22); }
.faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 450ms cubic-bezier(0.34, 1.2, 0.64, 1), content-visibility 450ms allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.answer { padding: 0 20px 20px; }
.answer p { margin: 0; color: var(--muted); }

/* ---- Privacy + closing CTA ---- */
.privacy { max-width: 640px; margin: 0 auto; padding: 72px 16px 120px; text-align: center; }
.privacy p { margin: 20px 0 32px; color: var(--muted); font-size: 18px; }

.reveal { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 0.9s var(--ease-out) var(--d, 0s), filter 0.9s var(--ease-out) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---- Footer ---- */
.footer {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  padding: 28px clamp(16px, 4vw, 48px) max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(184, 135, 79, 0.12);
  font-size: 14px; color: var(--muted);
}
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.footer a:hover { color: var(--champagne); }

/* ---- Legal pages ---- */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 16px 96px; }
.legal h1 { margin: 0; font: 400 clamp(40px, 6vw, 60px)/1.05 var(--serif); color: var(--ivory); }
.legal .updated { margin: 10px 0 40px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 40px 0 10px; font: 500 26px/1.2 var(--serif); color: var(--ivory); }
.legal p, .legal li { color: #CDB895; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.nav-link { font-size: 15px; color: var(--muted); text-decoration: none; padding: 10px 4px; }
.nav-link:hover { color: var(--champagne); }

.notfound { min-height: calc(100svh - 150px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 16px; }
.notfound img { width: 90px; opacity: 0.9; }
.notfound h1 { margin: 28px 0 8px; font: 400 44px/1.1 var(--serif); color: var(--ivory); }
.notfound p { margin: 0 0 28px; color: var(--muted); }

/* ---- Keyframes ---- */
@keyframes arrive { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes sheen { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes word { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes turn { to { --angle: 360deg; } }
@keyframes eq { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
@keyframes ring { 0% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-11deg); } 60% { transform: rotate(7deg); } 80% { transform: rotate(-4deg); } 100% { transform: rotate(0); } }
@keyframes twinkle { 0% { transform: scale(1) rotate(0); } 50% { transform: scale(1.2) rotate(20deg); } 100% { transform: scale(1) rotate(0); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-3px); } }

@media (prefers-reduced-motion: reduce) {
  .logo, .halo, .headline .w, .rise { animation: fade 0.4s ease forwards !important; filter: none !important; transform: none !important; }
  .reveal { transition: opacity 0.4s ease; transform: none; filter: none; }
  .demo-frame { animation: none; }
  .persp-line { transform: none !important; opacity: 1 !important; }
  .playing .record, .eq i, .caret, .dots i, .music.on .music-disc, .music.on .music-bars i { animation: none; }
}

/* Short laptop windows: keep the hero, buttons and badges above the fold. */
@media (min-width: 720px) and (max-height: 820px) {
  .hero-mark { width: 130px; }
  .headline { margin-top: 20px; font-size: clamp(40px, 5vw, 60px); }
  .lede { margin-top: 16px; font-size: 17px; }
  .cta { margin-top: 22px; }
  .badges { margin-top: 16px; }
}
