:root {
  --ink: #07060b;
  --ink-2: #111019;
  --ink-3: #191320;
  --cream: #fff5df;
  --cream-2: #e8dfcd;
  --muted: #aaa1b7;
  --muted-2: #746c82;
  --pink: #ff2f9a;
  --purple: #8b46ff;
  --violet: #3f2ab8;
  --lime: #d8ff2f;
  --tape: #c9ec58;
  --orange: #ff8a38;
  --white: #ffffff;
  --line: #292433;
  --dark-line: #07060b;
  --max: 1180px;
  --radius: 8px;
  --text-body: 1rem;
  --text-card: 0.88rem;
  --text-small: 0.78rem;
  --mobile-body: 0.94rem;
  --mobile-card: 0.88rem;
  --mobile-legal: 14px;
  --shadow-pink: 0 0 36px rgba(255, 47, 154, 0.24);
  --shadow-lime: 0 0 24px rgba(216, 255, 47, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 47, 154, 0.12), transparent 520px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 96px),
    var(--ink);
  color: var(--cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 47, 154, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(216, 255, 47, 0.1), transparent 30%),
    linear-gradient(315deg, rgba(139, 70, 255, 0.15), transparent 42%);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 50%, transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(255, 255, 255, 0.05) 2px 3px);
  background-size: 100% 4px, 7px 7px;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p,
li,
strong,
span {
  overflow-wrap: anywhere;
}

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

h1 {
  margin-bottom: 0;
  max-width: 540px;
  font-size: 3.3rem;
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 950;
}

h2 {
  margin-bottom: 0;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 940;
}

h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 245, 223, 0.12);
  background: rgba(7, 6, 11, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 950;
}

.brand img,
.footer-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 47, 154, 0.25));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: rgba(255, 245, 223, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 850;
}

.nav-links a:hover {
  border-color: rgba(216, 255, 47, 0.35);
  color: var(--lime);
}

.nav-links .app-link {
  border-color: rgba(255, 245, 223, 0.2);
  background: rgba(255, 245, 223, 0.08);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 245, 223, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 245, 223, 0.08);
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-lime {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
  box-shadow: var(--shadow-lime);
}

.button-ghost {
  background: rgba(255, 245, 223, 0.06);
}

.case-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 255, 47, 0.35);
  border-radius: 999px;
  background: rgba(216, 255, 47, 0.1);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 650px;
  margin: 0 auto;
  padding: 74px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(430px, 1.22fr);
  gap: 64px;
  align-items: center;
}

.hero::after {
  content: "OVERTHOUGHT";
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 245, 223, 0.08);
  font-size: 8rem;
  line-height: 1;
  font-weight: 950;
}

.lead {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 245, 223, 0.78);
  font-size: 1.14rem;
  font-weight: 650;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-flags {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.hero-flags li,
.court-list span {
  border: 1px solid rgba(255, 245, 223, 0.16);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 245, 223, 0.06);
  color: rgba(255, 245, 223, 0.78);
  font-size: 0.82rem;
  font-weight: 850;
}

.hero-stage {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.machine-card,
.receipt-card,
.step-unit,
.screen-shot,
.feature-panel,
.court-card,
.final-card,
.legal-card,
.support-panel,
.support-card {
  border: 1px solid rgba(255, 245, 223, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 245, 223, 0.075), rgba(255, 245, 223, 0.03));
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.3);
}

.hero-machine {
  position: relative;
  z-index: 5;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px;
  transform: rotate(-1.2deg);
  box-shadow: var(--shadow-pink), 0 42px 110px rgba(0, 0, 0, 0.55);
}

.machine-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  padding-left: 13px;
  color: var(--lime);
}

.live-dot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  transform: translateY(-50%);
}

.score-lockup {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.score-ring {
  --score: 75;
  position: relative;
  display: grid;
  place-items: center;
  width: 134px;
  height: 134px;
  border-radius: 50%;
  background:
    conic-gradient(var(--pink) calc(var(--score) * 1%), rgba(255, 245, 223, 0.12) 0),
    var(--ink-2);
}

.score-ring::before {
  content: "";
  position: absolute;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--ink);
}

.score-ring span,
.score-ring small {
  position: relative;
  z-index: 1;
}

.score-ring span {
  color: var(--pink);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 950;
}

.score-ring small {
  color: rgba(255, 245, 223, 0.7);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stamp {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(216, 255, 47, 0.13);
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.score-lockup h2 {
  max-width: 260px;
  font-size: 1.55rem;
  line-height: 1;
}

.score-lockup p:not(.stamp) {
  margin: 12px 0 0;
  color: rgba(255, 245, 223, 0.7);
  font-weight: 700;
}

.read-box,
.do-this {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 245, 223, 0.14);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.read-box span,
.do-this span,
.feature-panel span,
.receipt-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.read-box strong {
  color: var(--cream);
  font-size: 1rem;
}

.do-this {
  background: var(--lime);
  color: var(--ink);
}

.do-this span {
  color: rgba(7, 6, 11, 0.62);
}

.do-this strong {
  font-size: 1.05rem;
}

.floating-card,
.phone-peek {
  position: absolute;
  z-index: 7;
  border: 1px solid rgba(255, 245, 223, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.floating-card {
  max-width: 205px;
  padding: 13px;
  background: rgba(255, 245, 223, 0.96);
  color: var(--ink);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: 0.88rem;
  line-height: 1.12;
}

.float-a {
  left: 18px;
  top: 24px;
  transform: rotate(-5deg);
}

.float-b {
  right: 8px;
  bottom: -8px;
  background: var(--pink);
  color: var(--cream);
  transform: rotate(5deg);
}

.float-b span {
  color: var(--lime);
}

.phone-peek {
  display: none;
  right: -4px;
  top: -20px;
  width: 120px;
  height: 250px;
  overflow: hidden;
  background: var(--ink-2);
  padding: 5px;
  transform: rotate(4deg);
}

.phone-peek img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.evidence-string {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 245, 223, 0.2), transparent);
  transform-origin: left;
}

.string-one {
  left: 14px;
  top: 160px;
  width: 94%;
  transform: rotate(16deg);
}

.string-two {
  left: 50px;
  bottom: 188px;
  width: 88%;
  transform: rotate(-12deg);
}

.ticker {
  border-block: 1px solid rgba(255, 245, 223, 0.14);
  overflow: hidden;
  background: var(--tape);
  color: var(--ink);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 34px;
  padding: 8px 0;
  font-size: 0.88rem;
  font-weight: 900;
  animation: ticker 34s linear infinite;
}

.ticker-track span {
  white-space: nowrap;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 20px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.58fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head .case-kicker {
  grid-column: 1 / -1;
  margin-bottom: -14px;
}

.section-head p:not(.case-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
}

.section-head.compact {
  display: block;
  margin-bottom: 0;
}

.section-head.compact p:not(.case-kicker) {
  max-width: 460px;
  margin-top: 18px;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.receipt-card {
  min-height: 250px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.receipt-card strong {
  color: var(--cream);
  font-size: 1.2rem;
  line-height: 1.12;
}

.receipt-card em {
  color: rgba(255, 245, 223, 0.52);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.receipt-card.is-hot {
  background: linear-gradient(140deg, var(--pink), var(--purple));
}

.receipt-card.is-lime {
  background: var(--lime);
}

.receipt-card.is-lime span,
.receipt-card.is-lime strong,
.receipt-card.is-lime em {
  color: var(--ink);
}

.machine-section {
  max-width: none;
  border-block: 1px solid rgba(255, 245, 223, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 47, 154, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(255, 245, 223, 0.04), rgba(255, 245, 223, 0.015));
}

.machine-layout {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.steps-console {
  display: grid;
  gap: 12px;
}

.step-unit {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 20px 20px 20px 84px;
}

.step-unit span {
  position: absolute;
  right: 16px;
  top: 6px;
  color: rgba(255, 245, 223, 0.08);
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 950;
}

.step-mark {
  position: absolute;
  left: 20px;
  top: 22px;
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(216, 255, 47, 0.34);
  border-radius: var(--radius);
  background: rgba(216, 255, 47, 0.08);
}

.step-receipt::before,
.step-stamp::before {
  content: "";
  position: absolute;
  inset: 10px 12px;
  border: 2px solid var(--lime);
  border-radius: 2px;
}

.step-receipt::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 18px;
  height: 2px;
  background: var(--lime);
  box-shadow: 0 7px 0 rgba(216, 255, 47, 0.7);
}

.step-score {
  border-radius: 50%;
  background:
    conic-gradient(var(--pink) 0 70%, rgba(255, 245, 223, 0.14) 0),
    rgba(255, 245, 223, 0.04);
}

.step-score::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--ink-2);
}

.step-stamp {
  transform: rotate(-7deg);
}

.step-stamp::before {
  inset: 13px 8px;
  border-radius: 999px;
}

.step-unit p {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.screens-section {
  padding-bottom: 92px;
}

.screen-orbit {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  gap: 20px;
  align-items: center;
}

.screen-shot {
  margin: 0;
  padding: 8px;
  background: rgba(255, 245, 223, 0.06);
}

.screen-shot img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius);
}

.screen-shot img[data-lightbox-src] {
  cursor: zoom-in;
}

.screen-shot.front {
  transform: translateY(20px);
  box-shadow: var(--shadow-pink), 0 30px 90px rgba(0, 0, 0, 0.48);
}

.screen-shot.tall {
  opacity: 0.88;
}

.screen-shot figcaption {
  padding: 12px 4px 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-align: center;
  text-transform: uppercase;
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-panel {
  position: relative;
  grid-column: span 1;
  min-height: 160px;
  padding: 18px;
}

.feature-panel.large {
  grid-column: span 2;
  background: linear-gradient(140deg, rgba(255, 47, 154, 0.26), rgba(139, 70, 255, 0.18));
}

.feature-panel::after {
  content: attr(data-mark);
  position: absolute;
  right: 14px;
  top: 12px;
  color: rgba(255, 245, 223, 0.13);
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
}

.feature-panel h3 {
  max-width: 390px;
  margin-top: 10px;
  padding-right: 24px;
  font-size: 1rem;
}

.feature-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.final-cta {
  padding-top: 72px;
}

.final-card {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 47, 154, 0.42), rgba(255, 138, 56, 0.3)),
    var(--ink-3);
}

.final-card p:not(.case-kicker) {
  max-width: 660px;
  margin: 16px 0 0;
  color: rgba(255, 245, 223, 0.78);
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid rgba(255, 245, 223, 0.12);
  background: #030306;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 245, 223, 0.72);
  text-decoration: none;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--lime);
}

.copyright {
  margin: 10px 0 0;
  color: rgba(255, 245, 223, 0.5);
  font-size: 0.9rem;
}

.page-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 92px 20px 38px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: 4.2rem;
}

.page-hero p:not(.case-kicker),
.page-hero > p:not(.eyebrow) {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(216, 255, 47, 0.35);
  border-radius: 999px;
  background: rgba(216, 255, 47, 0.1);
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.legal-layout,
.support-layout {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 20px 90px;
}

.legal-card,
.support-panel {
  padding: 36px;
  background: rgba(255, 245, 223, 0.96);
  color: var(--ink);
}

.legal-card h2,
.support-panel h2 {
  margin: 32px 0 0.7rem;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.08;
}

.legal-card h2:first-child,
.support-panel h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li,
.support-panel p,
.support-panel li {
  color: #332f3a;
  line-height: 1.6;
  font-weight: 600;
}

.legal-card ul,
.support-panel ul {
  padding-left: 22px;
}

.legal-card a,
.support-panel a {
  color: var(--violet);
  font-weight: 900;
}

.last-updated {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 950;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 28px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--cream);
}

.contact-strip .button {
  width: auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.support-card {
  padding: 18px;
  border-color: rgba(7, 6, 11, 0.12);
  background: rgba(7, 6, 11, 0.04);
  box-shadow: none;
}

.support-card h3 {
  color: var(--ink);
  font-size: 1.02rem;
}

.support-card p {
  margin: 8px 0 0;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(7, 6, 11, 0.88);
  backdrop-filter: blur(14px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  max-width: min(96vw, 980px);
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(255, 245, 223, 0.18);
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 245, 223, 0.36);
  border-radius: 50%;
  background: rgba(255, 245, 223, 0.1);
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

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

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

[data-float] {
  animation: floaty 7s ease-in-out infinite;
}

.float-b[data-float] {
  animation-delay: -2s;
}

.phone-peek[data-float] {
  animation-delay: -4s;
}

@keyframes floaty {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

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

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

@media (max-width: 1040px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .hero,
  .machine-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  .hero-stage {
    min-height: 500px;
  }

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

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

  .feature-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-panel,
  .feature-panel.large {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 2.12rem;
    line-height: 0.98;
  }

  h2,
  .page-hero h1 {
    font-size: 1.72rem;
    line-height: 1;
  }

  h3 {
    font-size: 1rem;
  }

  .brand {
    gap: 8px;
    font-size: 0.98rem;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .nav {
    padding: 12px 16px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(255, 245, 223, 0.18);
    border-radius: var(--radius);
    background: rgba(7, 6, 11, 0.96);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a,
  .nav-links .app-link {
    width: 100%;
  }

  .hero {
    padding: 34px 16px 42px;
    gap: 26px;
  }

  .hero::after {
    display: none;
  }

  .lead {
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
    padding-inline: 16px;
    font-size: 0.92rem;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-flags {
    margin-top: 16px;
    gap: 7px;
  }

  .hero-flags li {
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .case-kicker,
  .eyebrow {
    margin-bottom: 12px;
    padding: 6px 9px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .hero-stage {
    min-height: auto;
    max-width: 360px;
    margin: 0 auto;
    padding-top: 30px;
  }

  .hero-machine {
    padding: 14px;
    transform: none;
    overflow: visible;
  }

  .machine-topline {
    margin-bottom: 12px;
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .score-lockup {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .score-ring {
    width: 88px;
    height: 88px;
  }

  .score-ring::before {
    width: 62px;
    height: 62px;
  }

  .score-ring span {
    font-size: 2rem;
  }

  .score-ring small {
    font-size: 0.46rem;
    letter-spacing: 0.12em;
  }

  .stamp {
    margin-bottom: 8px;
    padding: 6px 8px;
    font-size: 0.55rem;
    letter-spacing: 0.11em;
  }

  .score-lockup h2 {
    max-width: 180px;
    font-size: 1.28rem;
    line-height: 1.02;
  }

  .read-box,
  .do-this {
    margin-top: 12px;
    padding: 12px;
  }

  .read-box span,
  .do-this span,
  .feature-panel span,
  .receipt-card span {
    margin-bottom: 6px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .read-box strong,
  .do-this strong {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .floating-card {
    max-width: 150px;
    padding: 10px;
  }

  .float-a {
    left: -2px;
    top: -16px;
  }

  .float-b {
    display: none;
  }

  .phone-peek,
  .evidence-string {
    display: none;
  }

  .section,
  .machine-section,
  .final-cta {
    padding: 48px 16px;
  }

  .section-head {
    display: block;
  }

  .section-head .case-kicker {
    margin-bottom: 12px;
  }

  .section-head p:not(.case-kicker) {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .receipt-grid,
  .screen-orbit,
  .feature-board,
  .final-card,
  .footer-inner,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .receipt-card {
    min-height: 132px;
    padding: 14px;
  }

  .receipt-card strong {
    font-size: 1rem;
    line-height: 1.14;
  }

  .receipt-card em {
    font-size: 0.76rem;
  }

  .screen-shot {
    padding: 7px;
  }

  .screen-shot img {
    max-height: 420px;
  }

  .screen-shot.front {
    transform: none;
  }

  .feature-panel,
  .feature-panel.large {
    grid-column: span 1;
    min-height: auto;
    padding: 15px;
  }

  .final-card,
  .legal-card,
  .support-panel {
    padding: 20px;
  }

  .page-hero {
    padding: 44px 16px 24px;
  }

  .page-hero .eyebrow {
    margin-bottom: 16px;
  }

  .page-hero p:not(.case-kicker),
  .page-hero > p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .legal-layout,
  .support-layout {
    padding-inline: 16px;
    padding-bottom: 58px;
  }

  .legal-card h2,
  .support-panel h2 {
    margin-top: 1.45rem;
    margin-bottom: 0.7rem;
    font-size: 23px;
    line-height: 1.12;
  }

  .legal-card p,
  .legal-card li,
  .support-panel p,
  .support-panel li {
    font-size: var(--mobile-legal);
    line-height: 1.6;
  }

  .legal-card ul,
  .support-panel ul {
    padding-left: 18px;
  }

  .support-grid {
    gap: 10px;
  }

  .support-card {
    padding: 14px;
  }

  .support-card h3 {
    font-size: 1rem;
  }

  .contact-strip {
    padding: 14px;
  }

  .contact-strip strong {
    font-size: 0.98rem;
  }

  .contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2rem;
  }

  .case-kicker,
  .eyebrow {
    letter-spacing: 0.14em;
  }

  .hero-flags li,
  .court-list span {
    width: 100%;
  }

  .float-b {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 14px 0 0 auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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