:root {
  color-scheme: dark;
  --bg: #09070f;
  --bg-soft: #130f1f;
  --panel: rgba(18, 16, 29, 0.72);
  --panel-strong: rgba(24, 20, 38, 0.92);
  --panel-line: rgba(255, 255, 255, 0.09);
  --text: #f5f1ea;
  --muted: rgba(245, 241, 234, 0.72);
  --soft-muted: rgba(245, 241, 234, 0.54);
  --accent: #7ef0d3;
  --accent-strong: #47d4ff;
  --accent-warm: #ffd18c;
  --danger: #ff7ca4;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content-width: 1260px;
  --section-space: clamp(4.5rem, 8vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(71, 212, 255, 0.13), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 124, 164, 0.12), transparent 24%),
    radial-gradient(circle at 85% 48%, rgba(71, 212, 255, 0.06), transparent 35%),
    radial-gradient(circle at 50% 14%, rgba(126, 240, 211, 0.08), transparent 28%),
    linear-gradient(180deg, #0c0a14 0%, #09070f 36%, #09070f 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  position: relative;
}

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

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

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 100%;
  padding: 1.2rem clamp(1rem, 2vw, 2rem) 5rem;
  overflow-x: clip;
  overflow-y: visible;
}

.ambient {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -2;
}

.ambient-a {
  width: 26rem;
  height: 26rem;
  top: 7rem;
  left: -8rem;
  background: rgba(71, 212, 255, 0.22);
  animation: driftA 16s ease-in-out infinite alternate;
}

.ambient-b {
  width: 30rem;
  height: 30rem;
  top: 28rem;
  right: -10rem;
  background: rgba(255, 124, 164, 0.18);
  animation: driftB 18s ease-in-out infinite alternate;
}

.ambient-c {
  width: 20rem;
  height: 20rem;
  bottom: 6rem;
  left: 44%;
  background: rgba(255, 209, 140, 0.14);
  animation: driftC 20s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 140px 140px;
  mask-image: radial-gradient(circle at center, black, transparent 85%);
}

.topbar,
.section,
.marquee-band {
  width: min(var(--content-width), 100%);
  max-width: 100%;
  margin-inline: auto;
}

main {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  background: rgba(11, 10, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(126, 240, 211, 0.95), rgba(71, 212, 255, 0.95));
  color: #061017;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.brand-copy span {
  color: var(--soft-muted);
  font-size: 0.82rem;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1;
}

.pill-live {
  background: rgba(126, 240, 211, 0.1);
  color: var(--accent);
}

.pill-birthday {
  background: rgba(255, 209, 140, 0.12);
  color: var(--accent-warm);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  min-height: min(72vh, 720px);
  padding: 2.6rem 0 2.2rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.comparison-heading h2,
.roast h2,
.birthday-callout h2,
.closing h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3.15rem, 6.4vw, 5.4rem);
  text-wrap: balance;
}

.headline-accent {
  display: inline-block;
  color: var(--accent-warm);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-shadow: 0 0 28px rgba(255, 209, 140, 0.16);
  animation: accentBreath 5.5s ease-in-out infinite;
}

.hero-lead {
  max-width: 58ch;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-support {
  max-width: 56ch;
  margin-top: 0.9rem;
  color: var(--soft-muted);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 42%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 46%,
    transparent 100%
  );
  transform: translateX(-160%) rotate(18deg);
  transition: transform 420ms ease;
  pointer-events: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(430%) rotate(18deg);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #071018;
  box-shadow: 0 18px 40px rgba(71, 212, 255, 0.25);
  font-weight: 700;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.audio-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(10, 11, 20, 0.8);
  color: var(--muted);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.84rem;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.audio-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(126, 240, 211, 0.4);
}

.audio-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(126, 240, 211, 0.48);
}

.audio-toggle[data-audio-state="off"] .audio-dot {
  background: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.audio-toggle[data-audio-state="blocked"] .audio-dot {
  background: var(--accent-warm);
  box-shadow: 0 0 18px rgba(255, 209, 140, 0.44);
}

.audio-prompt {
  position: fixed;
  left: 50%;
  bottom: 4.2rem;
  z-index: 21;
  width: min(34rem, calc(100% - 2rem));
  padding: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(10, 11, 20, 0.9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.audio-prompt.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.audio-prompt.is-hidden {
  display: none;
}

.audio-prompt p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.audio-prompt-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.audio-prompt-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  min-height: 2.2rem;
  padding: 0.45rem 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
}

.audio-prompt-button-primary {
  background: linear-gradient(135deg, rgba(126, 240, 211, 0.9), rgba(71, 212, 255, 0.9));
  border-color: transparent;
  color: #071018;
  font-weight: 700;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.mini-stat,
.receipt-card,
.document-card,
.comparison-card,
.roast-card,
.birthday-callout,
.closing {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(27, 24, 40, 0.88), rgba(14, 13, 21, 0.9));
  border: 1px solid var(--panel-line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.mini-stat {
  padding: 1.2rem 1.15rem;
}

.mini-stat::before,
.receipt-card::before,
.document-card::before,
.comparison-card::before,
.roast-card::before,
.birthday-callout::before,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0) 45%,
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}

.mini-label,
.comparison-label,
.document-tag,
.birthday-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--soft-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-stat strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
}

.mini-stat p {
  color: var(--soft-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.mini-stat:hover,
.receipt-card:hover,
.document-card:hover,
.comparison-card:hover,
.roast-card:hover,
.birthday-callout:hover,
.closing:hover {
  transform: translateY(-7px);
  border-color: rgba(126, 240, 211, 0.18);
  box-shadow: 0 48px 130px rgba(0, 0, 0, 0.5);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: end;
  max-width: 100%;
}

.visual-note {
  max-width: 20rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
}

.visual-note strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.visual-note-top {
  justify-self: start;
}

.shot-shell {
  position: relative;
  width: min(100%, 37rem);
  padding: 1rem;
  border-radius: clamp(1.6rem, 2.4vw, 2.4rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(8, 7, 14, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transition: transform 240ms ease;
}

.shot-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: sheenDrift 9s ease-in-out infinite;
  pointer-events: none;
}

.shot-shell img {
  position: relative;
  z-index: 2;
  width: 100%;
  border-radius: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.shot-glow {
  position: absolute;
  inset: 12% 10%;
  z-index: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(71, 212, 255, 0.28), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(255, 124, 164, 0.2), transparent 34%);
  filter: blur(55px);
  animation: glowPulse 6.5s ease-in-out infinite;
}

.marquee-band {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 1rem 0;
  color: var(--soft-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  animation: marquee 26s linear infinite;
}

.marquee-track span::after {
  content: "•";
  margin-left: 2rem;
  color: var(--accent);
}

.section {
  padding-top: var(--section-space);
}

.section-heading {
  max-width: 54rem;
}

.section-heading h2,
.comparison-heading h2,
.roast h2,
.birthday-callout h2,
.closing h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.section-heading p:last-child,
.comparison-heading p:last-child,
.roast-copy p:last-child,
.birthday-callout p,
.closing p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.8;
}

.receipts-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem;
}

.receipt-card {
  padding: 1.4rem;
  grid-column: span 4;
  min-height: 17rem;
}

.card-large {
  grid-column: span 5;
}

.card-wide {
  grid-column: span 7;
}

.receipt-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pill-card,
.pill-roast {
  color: var(--accent);
}

.card-index {
  color: rgba(255, 255, 255, 0.22);
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.receipt-card h3,
.document-card h3,
.comparison-card h3,
.roast-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.receipt-card p,
.document-card p,
.comparison-card p,
.roast-card p {
  color: var(--muted);
  line-height: 1.75;
}

.receipt-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.receipt-card li {
  position: relative;
  padding-left: 1rem;
  color: var(--soft-muted);
  font-size: 0.95rem;
}

.receipt-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--accent);
}

.document-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.document-card {
  padding: 1.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.comparison-card {
  padding: 1.6rem;
}

.comparison-card-primary {
  background:
    radial-gradient(circle at top right, rgba(126, 240, 211, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(19, 37, 40, 0.95), rgba(10, 18, 23, 0.95));
}

.comparison-card h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 0.45rem;
}

.scoreboard {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.score-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.score-row:last-child {
  border-bottom: 0;
}

.score-row span {
  color: var(--soft-muted);
  line-height: 1.55;
}

.score-row strong {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(126, 240, 211, 0.12);
  color: var(--accent);
  white-space: nowrap;
}

.roast {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.2rem;
  align-items: start;
}

.roast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.roast-card {
  padding: 1.5rem;
  min-height: 16rem;
}

.roast-card-make {
  border-color: rgba(255, 124, 164, 0.18);
}

.roast-card-codex {
  border-color: rgba(126, 240, 211, 0.2);
}

.pill-roast-codex {
  color: var(--accent);
}

.birthday-callout,
.closing {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding: clamp(1.8rem, 3vw, 2.8rem);
}

.birthday-callout {
  background:
    radial-gradient(circle at right top, rgba(255, 209, 140, 0.22), transparent 35%),
    linear-gradient(180deg, rgba(31, 25, 17, 0.95), rgba(20, 14, 11, 0.95));
}

.closing {
  margin-top: var(--section-space);
  background:
    radial-gradient(circle at left top, rgba(71, 212, 255, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(18, 19, 31, 0.95), rgba(11, 12, 20, 0.95));
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms ease,
    transform 760ms ease;
}

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

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3rem, 2rem, 0) scale(1.08);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-2rem, 2.5rem, 0) scale(1.1);
  }
}

@keyframes driftC {
  from {
    transform: translate3d(0, 0, 0) scale(0.96);
  }
  to {
    transform: translate3d(-1rem, -2rem, 0) scale(1.08);
  }
}

@keyframes accentBreath {
  0%,
  100% {
    text-shadow: 0 0 22px rgba(255, 209, 140, 0.12);
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 34px rgba(255, 209, 140, 0.24);
    transform: translateY(-1px);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes sheenDrift {
  0%,
  70%,
  100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  18%,
  44% {
    opacity: 1;
  }
  50% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .topbar {
    position: static;
    border-radius: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    justify-items: stretch;
  }

  .visual-note-top {
    justify-self: end;
  }

  .hero-stat-grid,
  .document-strip,
  .comparison-grid,
  .roast-grid {
    grid-template-columns: 1fr;
  }

  .receipt-card,
  .card-large,
  .card-wide {
    grid-column: span 12;
  }

  .roast {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .score-row strong {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-inline: 0.8rem;
    padding-bottom: 3.5rem;
  }

  .ambient {
    filter: blur(56px);
    opacity: 0.55;
  }

  .ambient-a {
    width: 18rem;
    height: 18rem;
    top: 5rem;
    left: -5rem;
  }

  .ambient-b {
    width: 18rem;
    height: 18rem;
    top: 24rem;
    right: -4rem;
  }

  .ambient-c {
    width: 14rem;
    height: 14rem;
    bottom: 3rem;
    left: 38%;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    width: min(var(--content-width), 100%);
  }

  .topbar-meta {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12vw, 3.15rem);
  }

  .hero-lead,
  .hero-support,
  .section-heading p:last-child,
  .comparison-heading p:last-child,
  .roast-copy p:last-child,
  .birthday-callout p,
  .closing p:last-child {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .shot-shell {
    padding: 0.7rem;
  }

  .shot-shell img {
    border-radius: 1.1rem;
  }

  .visual-note {
    max-width: none;
  }

  .section-heading h2,
  .comparison-heading h2,
  .roast h2,
  .birthday-callout h2,
  .closing h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .audio-toggle {
    right: 0.8rem;
    bottom: 0.8rem;
    font-size: 0.8rem;
  }

  .audio-prompt {
    bottom: 4.4rem;
    width: calc(100% - 1.6rem);
    padding: 0.85rem;
  }

  .audio-prompt-actions {
    flex-wrap: wrap;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
