@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #11100f;
  --cream: #fff7ed;
  --butter: #ffd34d;
  --orange: #f97316;
  --blue: #2563eb;
  --red: #dc2626;
  --paper: #fffdf5;
  --shadow: 8px 8px 0 var(--ink);
  --soft-shadow: 0 24px 80px rgba(17, 16, 15, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

body::selection {
  background: var(--blue);
  color: white;
}

h1,
h2,
h3,
p {
  margin: 0;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  border: 3px solid var(--ink);
  background: var(--butter);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 3px solid var(--ink);
  background: rgba(255, 247, 237, 0.92);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  width: min(100%, 90rem);
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-inline: auto;
  padding: 0.8rem clamp(1rem, 3vw, 2rem);
}

.brand,
.nav-links,
.header-cta {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 3px solid var(--ink);
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
}

.brand-name {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: clamp(1rem, 2vw, 2rem);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a,
.site-footer a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.32rem;
}

.nav-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.header-cta {
  min-height: 2.9rem;
  justify-content: center;
  border: 3px solid var(--ink);
  background: var(--blue);
  color: white;
  padding: 0.68rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

.header-cta,
.store-button {
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.header-cta:hover,
.store-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.header-cta:active,
.store-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.header-cta:focus-visible,
.store-button:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible,
.site-footer a:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92svh;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 211, 77, 0.92), rgba(249, 115, 22, 0.95) 48%, rgba(37, 99, 235, 0.9)),
    var(--orange);
}

.hero-photo {
  position: absolute;
  inset: auto -8% -16% auto;
  z-index: -3;
  width: min(60rem, 70vw);
  max-width: none;
  opacity: 0.23;
  transform: rotate(-5deg);
  filter: saturate(1.22) contrast(1.08);
}

.hero-grid,
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  z-index: -2;
  background-image:
    linear-gradient(rgba(17, 16, 15, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(17, 16, 15, 0.14) 2px, transparent 2px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

.hero-noise {
  z-index: -1;
  opacity: 0.38;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 247, 237, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 28%, rgba(17, 16, 15, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 76%, rgba(255, 211, 77, 0.46) 0 2px, transparent 3px);
  background-size: 38px 38px, 54px 54px, 72px 72px;
}

.hero-inner {
  display: grid;
  width: min(100%, 90rem);
  min-height: 92svh;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-inline: auto;
  padding: clamp(6.7rem, 11vw, 8.5rem) clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 4rem);
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 56rem;
}

.signal-label,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0.48rem 0.65rem;
  font-size: clamp(0.72rem, 1.6vw, 0.85rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 var(--ink);
}

.hero h1 {
  max-width: 11ch;
  margin-top: 1rem;
  font-size: clamp(3.05rem, 10vw, 8.6rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-subhead {
  max-width: 54rem;
  margin-top: 1.4rem;
  border-left: 8px solid var(--ink);
  background: rgba(255, 247, 237, 0.88);
  padding: clamp(1rem, 2vw, 1.25rem);
  font-size: clamp(1.02rem, 2.1vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
  box-shadow: var(--shadow);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.store-button {
  display: inline-flex;
  min-height: 4.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 4px solid var(--ink);
  background: var(--paper);
  padding: 0.78rem 1rem;
  color: var(--ink);
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 6px 6px 0 var(--ink);
}

.store-primary {
  background: var(--ink);
  color: white;
}

.store-button svg {
  width: 1.75rem;
  min-width: 1.75rem;
  fill: currentColor;
}

.store-button small {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hero-badges span {
  border: 3px solid var(--ink);
  background: var(--butter);
  padding: 0.55rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 var(--ink);
}

.hero-scene {
  position: absolute;
  right: clamp(-9rem, -22vw, -5rem);
  bottom: -0.5rem;
  width: min(32rem, 92vw);
  min-height: 28rem;
  opacity: 0.76;
  pointer-events: none;
}

.microwave-panel {
  position: absolute;
  inset: 3% 2% auto auto;
  z-index: 1;
  width: min(16rem, 52vw);
  rotate: 3deg;
  border: 4px solid var(--ink);
  background: var(--paper);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.microwave-panel span,
.microwave-panel strong,
.bag-pack span,
.bag-pack strong,
.bag-pack p {
  display: block;
}

.microwave-panel span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.microwave-panel strong {
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.phone-shell {
  position: absolute;
  inset: 13% auto auto 4%;
  z-index: 3;
  width: min(22rem, 70vw);
  min-height: 35rem;
  border: 10px solid var(--ink);
  border-radius: 2.25rem;
  background: var(--ink);
  padding: 1rem;
  color: white;
  box-shadow: 18px 18px 0 rgba(17, 16, 15, 0.26);
  rotate: -4deg;
}

.phone-speaker {
  width: 5rem;
  height: 0.48rem;
  margin: 0 auto 0.9rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.72);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 3px solid rgba(255, 247, 237, 0.2);
  padding-bottom: 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.app-topbar span {
  color: var(--butter);
}

.listen-dial {
  display: grid;
  min-height: 13rem;
  place-items: center;
  margin-top: 1rem;
  border: 3px solid rgba(255, 247, 237, 0.2);
  background:
    linear-gradient(90deg, rgba(255, 247, 237, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 247, 237, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
}

.listen-dial span {
  width: 6.5rem;
  height: 6.5rem;
  border: 10px solid var(--orange);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.3rem rgba(249, 115, 22, 0.28),
    0 0 0 2.5rem rgba(37, 99, 235, 0.22);
  animation: pulse-listen 1.6s ease-out infinite;
}

.wave-row,
.giant-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
}

.wave-row {
  height: 4.25rem;
  margin-block: 1rem;
}

.wave-row i,
.giant-wave i {
  display: block;
  width: 0.46rem;
  background: var(--butter);
  animation: wave-jump 760ms ease-in-out infinite alternate;
}

.wave-row i {
  height: 1rem;
}

.wave-row i:nth-child(2n),
.giant-wave i:nth-child(2n) {
  animation-delay: 90ms;
}

.wave-row i:nth-child(3n),
.giant-wave i:nth-child(3n) {
  animation-delay: 180ms;
}

.wave-row i:nth-child(4n),
.giant-wave i:nth-child(4n) {
  animation-delay: 270ms;
}

.stop-strip {
  border: 4px solid white;
  background: var(--red);
  padding: 0.9rem;
  text-align: center;
  box-shadow: 0 0 0 4px var(--red);
}

.stop-strip small,
.stop-strip strong {
  display: block;
  text-transform: uppercase;
}

.stop-strip small {
  font-size: 0.74rem;
  font-weight: 700;
}

.stop-strip strong {
  margin-top: 0.25rem;
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 0.82;
}

.bag-pack {
  position: absolute;
  inset: auto 0 3% auto;
  z-index: 2;
  width: min(24rem, 72vw);
  min-height: 24rem;
  rotate: 6deg;
  border: 5px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 0 18%, rgba(255, 255, 255, 0.55) 18% 30%, transparent 30%),
    var(--butter);
  padding: 2.1rem 1.35rem 1.35rem;
  box-shadow: 16px 16px 0 rgba(17, 16, 15, 0.3);
}

.bag-crimp {
  position: absolute;
  inset: 0 0 auto;
  height: 2rem;
  border-bottom: 4px solid var(--ink);
  background: repeating-linear-gradient(90deg, var(--paper) 0 10px, var(--butter) 10px 20px);
}

.bag-pack p {
  font-size: clamp(2.6rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 0.85;
  text-transform: uppercase;
}

.bag-pack strong {
  max-width: 11ch;
  margin-top: 1rem;
  border: 3px solid var(--ink);
  background: var(--blue);
  color: white;
  padding: 0.65rem;
  font-size: clamp(1rem, 3vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.bag-pack span {
  max-width: 17rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.kernel-burst i {
  position: absolute;
  z-index: 4;
  display: block;
  width: 1.25rem;
  height: 1.65rem;
  border: 3px solid var(--ink);
  border-radius: 54% 46% 61% 39%;
  background: var(--paper);
  box-shadow: 3px 3px 0 var(--ink);
}

.kernel-burst i:nth-child(1) {
  left: 47%;
  top: 6%;
  rotate: 18deg;
}

.kernel-burst i:nth-child(2) {
  right: 16%;
  top: 32%;
  rotate: -21deg;
}

.kernel-burst i:nth-child(3) {
  left: 4%;
  bottom: 19%;
  rotate: 32deg;
}

.kernel-burst i:nth-child(4) {
  right: 3%;
  bottom: 38%;
  rotate: 7deg;
}

.kernel-burst i:nth-child(5) {
  left: 26%;
  top: 28%;
  rotate: -8deg;
}

.kernel-burst i:nth-child(6) {
  right: 22%;
  bottom: 7%;
  rotate: -15deg;
}

.ticker {
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
  color: var(--butter);
  padding-block: 0.85rem;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2rem;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span::after {
  content: "/";
  margin-left: 2rem;
  color: white;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.section-heading,
.evidence-grid,
.steps,
.app-demo,
.download-section {
  width: min(100%, 90rem);
  margin-inline: auto;
}

.section-heading {
  display: grid;
  gap: 1.2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading.tight {
  margin-bottom: 2rem;
}

.section h2,
.download-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 6.4vw, 6rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading p:not(.eyebrow),
.app-copy p:not(.eyebrow),
.download-copy p {
  max-width: 47rem;
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.38;
}

.crime-section {
  background: var(--paper);
}

.evidence-grid,
.steps {
  display: grid;
  gap: 1rem;
}

.evidence-card,
.step,
.launch-checklist {
  border: 4px solid var(--ink);
  background: var(--cream);
  padding: clamp(1.05rem, 3vw, 1.35rem);
  box-shadow: var(--shadow);
}

.evidence-card {
  min-height: 19rem;
}

.evidence-card span,
.step span {
  display: inline-grid;
  min-width: 3.4rem;
  min-height: 3.4rem;
  place-items: center;
  border: 3px solid currentColor;
  background: var(--paper);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.evidence-card h3,
.step h3 {
  margin-top: 2rem;
  font-size: clamp(1.6rem, 3.2vw, 2.55rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.evidence-card p,
.step p {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.orange-card {
  background: var(--orange);
}

.blue-card {
  background: var(--blue);
  color: white;
}

.how-section {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.08) 1px, transparent 1px),
    var(--butter);
  background-size: 32px 32px;
}

.step {
  position: relative;
  background: var(--paper);
}

.step::after {
  content: "";
  position: absolute;
  inset: 1rem 1rem auto auto;
  width: 4rem;
  height: 4rem;
  border: 3px solid var(--ink);
  background: repeating-linear-gradient(45deg, var(--orange) 0 8px, var(--paper) 8px 16px);
}

.app-section {
  border-block: 4px solid var(--ink);
  background: var(--ink);
  color: white;
}

.app-demo {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.app-copy .eyebrow {
  color: var(--ink);
}

.dashboard {
  border: 4px solid white;
  background: var(--blue);
  padding: clamp(1rem, 3vw, 1.5rem);
  color: white;
  box-shadow: 12px 12px 0 var(--butter);
}

.dashboard-head,
.meter-grid {
  display: grid;
  gap: 0.85rem;
}

.dashboard-head {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-head b {
  border: 3px solid white;
  background: var(--ink);
  padding: 0.4rem 0.65rem;
  color: var(--butter);
}

.meter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block: 1rem;
}

.meter-grid div {
  border: 3px solid white;
  padding: 1rem;
}

.meter-grid small,
.meter-grid strong {
  display: block;
}

.meter-grid small {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.meter-grid strong {
  margin-top: 0.45rem;
  font-size: clamp(1.25rem, 3vw, 2.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.giant-wave {
  min-height: 12rem;
  border: 3px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
}

.giant-wave i {
  height: 2rem;
  width: clamp(0.45rem, 1.2vw, 0.8rem);
}

.dashboard-alert {
  margin-top: 1rem;
  border: 4px solid white;
  background: var(--red);
  padding: 1rem;
  font-size: clamp(1.25rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.download-section {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--cream);
}

.download-copy {
  display: grid;
  gap: 1.25rem;
}

.download-row {
  margin-top: 0.75rem;
}

.launch-checklist {
  background: var(--butter);
}

.launch-checklist p {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.launch-checklist ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.launch-checklist li {
  border-top: 3px solid var(--ink);
  padding-top: 0.8rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 4px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  padding: 2rem clamp(1rem, 3vw, 2rem);
  font-size: 0.9rem;
  font-weight: 700;
}

@keyframes pulse-listen {
  72% {
    box-shadow:
      0 0 0 2.2rem rgba(249, 115, 22, 0),
      0 0 0 3.8rem rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(249, 115, 22, 0),
      0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@keyframes wave-jump {
  to {
    height: 3.7rem;
    background: white;
  }
}

@keyframes ticker-roll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .site-nav {
    min-height: 4.4rem;
  }

  .brand-name {
    display: none;
  }

  .header-cta {
    padding-inline: 0.72rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-inner {
    min-height: 90svh;
    padding-top: 5.2rem;
    padding-bottom: 1rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 10.8vw, 3.15rem);
  }

  .hero-subhead {
    padding: 0.85rem;
    font-size: 0.94rem;
    line-height: 1.3;
    box-shadow: 5px 5px 0 var(--ink);
  }

  .store-button {
    width: 100%;
    min-height: 3.35rem;
    font-size: 0.92rem;
  }

  .store-row {
    gap: 0.55rem;
    margin-top: 1.1rem;
  }

  .hero-badges span {
    font-size: 0.7rem;
  }

  .hero-badges {
    display: none;
  }

  .hero-scene {
    right: -7.5rem;
    bottom: -0.5rem;
    width: 24rem;
    min-height: 24rem;
    opacity: 0.48;
    transform: scale(0.86);
    transform-origin: bottom right;
  }

  .phone-shell {
    width: min(18rem, 66vw);
    min-height: 27rem;
    border-width: 7px;
    border-radius: 1.7rem;
    padding: 0.72rem;
  }

  .listen-dial {
    min-height: 9.5rem;
  }

  .listen-dial span {
    width: 4.7rem;
    height: 4.7rem;
    border-width: 7px;
  }

  .bag-pack {
    width: min(18rem, 68vw);
    min-height: 18rem;
    padding-top: 1.8rem;
  }

  .microwave-panel {
    width: min(13rem, 52vw);
    padding: 0.8rem;
  }

  .kernel-burst i:nth-child(1),
  .kernel-burst i:nth-child(4),
  .kernel-burst i:nth-child(6) {
    display: none;
  }

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

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

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

  .site-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 761px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.94fr) minmax(21rem, 0.8fr);
    align-items: center;
  }

  .hero-copy {
    padding-bottom: 1.5rem;
  }

  .hero-scene {
    position: relative;
    inset: auto;
    width: auto;
    min-height: clamp(31rem, 55vw, 46rem);
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (min-width: 761px) and (max-width: 979px) {
  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    min-height: 88svh;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(3.1rem, 6.7vw, 4.4rem);
  }

  .hero-subhead {
    max-width: 38rem;
    margin-top: 1rem;
    font-size: 1.02rem;
  }

  .store-row {
    margin-top: 1.15rem;
  }

  .store-button {
    min-height: 3.6rem;
    font-size: 0.96rem;
  }

  .hero-badges {
    display: none;
  }

  .hero-scene {
    min-height: 30rem;
  }
}

@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 0.88fr);
    align-items: center;
  }

  .hero-copy {
    padding-bottom: 1.5rem;
  }

  .app-demo,
  .download-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  }

  .dashboard {
    rotate: 1.5deg;
  }

  .evidence-card:nth-child(2) {
    transform: translateY(1.25rem);
  }

  .evidence-card:nth-child(3) {
    transform: translateY(-0.75rem);
  }
}

@media (min-width: 980px) and (max-width: 1319px) {
  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    min-height: 88svh;
    padding-top: 5.6rem;
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(3.35rem, 5.9vw, 5.6rem);
  }

  .hero-subhead {
    max-width: 42rem;
    margin-top: 1rem;
    font-size: 1.08rem;
  }

  .store-row {
    margin-top: 1.2rem;
  }

  .hero-badges {
    display: none;
  }

  .hero-scene {
    min-height: clamp(30rem, 45vw, 36rem);
  }
}

@media (min-width: 1320px) {
  .hero {
    min-height: 88svh;
  }

  .hero-inner {
    min-height: 88svh;
    grid-template-columns: minmax(0, 1.05fr) minmax(31rem, 0.75fr);
    padding-top: 5.8rem;
    padding-bottom: 2.5rem;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(5rem, 7vw, 6.6rem);
  }

  .hero-subhead {
    max-width: 45rem;
    margin-top: 1rem;
    font-size: 1.18rem;
  }

  .store-row {
    margin-top: 1.25rem;
  }

  .hero-scene {
    min-height: clamp(34rem, 42vw, 39rem);
  }
}

.scroll-hero {
  --hero-progress: 0;
  position: relative;
  overflow: visible;
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.scroll-hero-video,
.scroll-hero-scrim,
.scroll-hero-grit,
.scroll-hero-flash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scroll-hero-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #050505;
  transform: scale(1.01);
}

.scroll-hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.68) 36%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.08) 46%, rgba(0, 0, 0, 0.78) 100%);
}

.scroll-hero-grit {
  z-index: 2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 247, 237, 0.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 247, 237, 0.12) 2px, transparent 2px),
    radial-gradient(circle at 16% 28%, rgba(255, 211, 77, 0.46) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 44%, rgba(249, 115, 22, 0.38) 0 2px, transparent 3px);
  background-size: 42px 42px, 42px 42px, 58px 58px, 74px 74px;
  mask-image: linear-gradient(180deg, black, transparent 88%);
}

.scroll-hero-flash {
  z-index: 3;
  opacity: calc(0.12 + var(--hero-progress) * 0.32);
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 211, 77, 0.5), transparent 34%),
    radial-gradient(circle at 54% 60%, rgba(37, 99, 235, 0.32), transparent 32%);
  mix-blend-mode: screen;
}

.scroll-hero-scenes {
  position: relative;
  z-index: 5;
  margin-top: -100svh;
  pointer-events: none;
}

.scroll-scene {
  display: grid;
  min-height: 100svh;
  width: min(100%, 90rem);
  margin-inline: auto;
  padding: clamp(6.7rem, 11vw, 8.5rem) clamp(1rem, 4vw, 3rem) clamp(6.5rem, 10vw, 7.5rem);
}

.scroll-scene-intro {
  align-items: end;
}

.scroll-hero-copy {
  width: min(100%, 44rem);
  pointer-events: auto;
}

.scroll-hero .signal-label {
  background: var(--butter);
  color: var(--ink);
}

.scroll-hero h1 {
  max-width: 10.5ch;
  margin-top: 1rem;
  color: var(--paper);
  font-size: clamp(3.05rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.5), 0 18px 60px rgba(0, 0, 0, 0.75);
}

.scroll-hero .hero-subhead {
  max-width: 40rem;
  border-left-color: var(--butter);
  background: rgba(17, 16, 15, 0.76);
  color: var(--paper);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.scroll-hero .store-primary {
  background: var(--blue);
  color: white;
}

.scroll-hero .store-button:not(.store-primary) {
  background: var(--paper);
  color: var(--ink);
}

.scroll-hero .hero-badges span {
  color: var(--ink);
}

.scroll-scene-card {
  align-items: end;
}

.scene-card-right {
  justify-items: end;
}

.scene-card-left {
  justify-items: start;
}

.scene-card-final {
  padding-bottom: clamp(8.5rem, 12vw, 10rem);
}

.story-card {
  width: min(30rem, calc(100vw - 2rem));
  border: 4px solid var(--ink);
  background: rgba(255, 253, 245, 0.95);
  color: var(--ink);
  padding: clamp(1rem, 2.5vw, 1.4rem);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.story-card span {
  display: inline-grid;
  place-items: center;
  min-width: 3.15rem;
  min-height: 2.25rem;
  margin-bottom: 0.8rem;
  border: 3px solid var(--ink);
  background: var(--butter);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.story-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 5.2vw, 4.8rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
}

.story-card p {
  max-width: 26rem;
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 650;
  line-height: 1.34;
}

.story-card-blue {
  background: rgba(64, 146, 255, 0.95);
  color: white;
}

.story-card-blue h2,
.story-card-blue p {
  color: white;
}

.story-card-red {
  background: rgba(255, 61, 0, 0.95);
  color: white;
}

.story-card-red h2,
.story-card-red p {
  color: white;
}

.scroll-cue {
  position: absolute;
  left: clamp(1rem, 3vw, 2.2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border: 3px solid var(--ink);
  background: var(--butter);
  color: var(--ink);
  padding: 0.72rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.56);
}

.scroll-cue i {
  display: block;
  width: 0.7rem;
  height: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 99rem;
  background: linear-gradient(var(--red) 0 38%, transparent 38%);
}

.scrub-panel {
  position: absolute;
  right: clamp(1rem, 3vw, 2.2rem);
  top: clamp(5.5rem, 9vw, 6.5rem);
  z-index: 8;
  display: grid;
  width: min(34rem, calc(100vw - 2rem));
  gap: 0.75rem;
  border: 4px solid var(--ink);
  background: rgba(255, 253, 245, 0.94);
  color: var(--ink);
  padding: 0.9rem;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.56);
}

.scrub-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.scrub-meter {
  position: relative;
  height: 1.1rem;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}

.scrub-meter span {
  display: block;
  width: calc(var(--hero-progress) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--red));
}

.scrub-beats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.scrub-beats button {
  min-height: 2.75rem;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.scrub-beats button[aria-current="true"] {
  background: var(--ink);
  color: white;
}

.scrub-meter:focus-visible,
.scrub-beats button:focus-visible {
  outline: 4px solid var(--butter);
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .scroll-hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.32) 38%, rgba(0, 0, 0, 0.88) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.12));
  }

  .scroll-scene {
    padding-inline: 1rem;
  }

  .scroll-scene-intro {
    align-items: start;
    padding-top: 5.45rem;
    padding-bottom: 13rem;
  }

  .scroll-scene-card {
    align-items: end;
    justify-items: start;
    padding-top: 7rem;
    padding-bottom: 14rem;
  }

  .scroll-hero h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 13.4vw, 4.5rem);
  }

  .scroll-hero .hero-subhead {
    max-width: 100%;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.5);
  }

  .scroll-hero .store-button {
    min-height: 3.5rem;
  }

  .story-card {
    width: min(100%, 24rem);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.58);
  }

  .story-card h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .scrub-panel {
    inset: auto 1rem 1rem;
    width: auto;
  }

  .scrub-beats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scroll-cue {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 1160px) {
  .scroll-hero-copy {
    width: min(100%, 39rem);
  }

  .scroll-hero h1 {
    max-width: 10ch;
    font-size: clamp(3.3rem, 6.6vw, 5.7rem);
  }

  .scroll-hero .hero-subhead {
    max-width: 36rem;
  }

  .story-card {
    width: min(27rem, calc(100vw - 2rem));
  }

  .scrub-panel {
    width: min(25rem, calc(100vw - 2rem));
  }
}

@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;
  }
}
