@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #fff0f0;
  --surface-light: #ffe0e5;
  --accent: #ff4059;
  --accent-soft: #ffb5c0;
  --muted: #d0a0a5;
  --nav-text: #4b121b;
  --pill-dark: #321018;
  --reach-out-text: #ffd0d5;
  --nav-shadow: 0 4px 14px rgba(90, 0, 12, 0.24), 0 0 24px rgba(255, 55, 75, 0.16);
  --trust-bg: rgba(45, 7, 15, 0.88);
  --trust-border: rgba(255, 145, 155, 0.4);
  --trust-text: #ffd0d5;
  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* Full-bleed background video container */
.bg {
  position: fixed;
  isolation: isolate;
  inset: 0;
  background-color: var(--nav-text);
  overflow: hidden;
  z-index: 0;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: #e51c38;
  mix-blend-mode: color;
  pointer-events: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: rgba(12, 0, 4, 0.46);
  pointer-events: none;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1);
}

/* Single-viewport 3-region page container */
.page {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: min-content;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(16px, 2.4vh, 28px) clamp(14px, 3vw, 32px);
}

/* 1) Header */
.header {
  position: relative;
  z-index: 30;
  flex-shrink: 0;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
  animation: slideDown 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.header > .logo {
  justify-self: start;
  margin-left: clamp(16px, 2vw, 32px);
}

.logo {
  position: relative;
  isolation: isolate;
  width: clamp(88px, 9.45vw, 108px);
  height: clamp(88px, 9.45vw, 108px);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.logo::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 24, 8, 1) 0%, rgba(240, 0, 0, 0.75) 35%, rgba(215, 0, 0, 0.2) 55%, rgba(170, 0, 0, 0) 75%);
  filter: blur(12px);
  opacity: 0.75;
  pointer-events: none;
  animation: logoGlow 3.2s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.logo:hover {
  transform: scale(1.04);
}

.logo:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.logo img {
  /* The PNG has transparent side gutters; size the link to the visible mark. */
  position: absolute;
  left: 50%;
  top: 0;
  width: 177.777778%;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.nav-pill {
  grid-column: 2;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1;
  background-color: var(--surface-light);
  border-radius: 999px;
  padding: 4px 8px;
  box-shadow: var(--nav-shadow);
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-link {
  position: relative;
  height: 100%;
  padding: 0 clamp(10px, 1.4vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.5;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.75;
}

.nav-link.active {
  opacity: 1;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--nav-text);
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

.nav-link:focus-visible {
  outline: 2px solid var(--nav-text);
  outline-offset: -2px;
  border-radius: 999px;
}

.reach-out {
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(18px, 2.2vw, 24px);
  border-radius: 999px;
  background-color: var(--pill-dark);
  color: var(--reach-out-text);
  box-shadow: var(--nav-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.reach-out:hover {
  background-color: #4a1521;
  color: var(--text);
  transform: translateY(-1px);
}

.reach-out:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

/* Mobile burger button (hidden on desktop) */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--pill-dark);
  box-shadow: var(--nav-shadow);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition:
    background-color 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background-color: var(--surface-light);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    background-color 0.28s ease;
}

.burger:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.mobile-link:focus-visible {
  outline: 2px solid var(--nav-text);
  outline-offset: -2px;
  opacity: 1;
}

.mobile-reach-out:focus-visible {
  outline: 2px solid var(--nav-text);
  outline-offset: 3px;
}

body.menu-open .burger,
.burger[aria-expanded="true"] {
  background-color: var(--surface-light);
}

body.menu-open .burger .burger-bar,
.burger[aria-expanded="true"] .burger-bar {
  background-color: var(--nav-text);
}

body.menu-open .burger .burger-bar:nth-child(1),
.burger[aria-expanded="true"] .burger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .burger .burger-bar:nth-child(2),
.burger[aria-expanded="true"] .burger-bar:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger .burger-bar:nth-child(3),
.burger[aria-expanded="true"] .burger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay & sheet menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 20;
  animation: overlayIn 0.28s ease both;
}

.mobile-menu {
  position: fixed;
  top: calc(clamp(16px, 2.4vh, 28px) + 84px);
  left: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  max-width: 420px;
  margin: 0 auto;
  background-color: var(--surface-light);
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-link {
  position: relative;
  width: 100%;
  padding: 12px 16px 16px;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.55;
  border-radius: 16px;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  animation: linkIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.05s + var(--i, 0) * 0.045s);
}

.mobile-link:hover {
  opacity: 0.8;
}

.mobile-link.active {
  opacity: 1;
  font-weight: 600;
}

.mobile-link.active::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--nav-text);
  box-shadow: -5px 0 0 #000000, 5px 0 0 #000000;
}

.mobile-reach-out {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background-color: var(--pill-dark);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  animation: linkIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.05s + var(--i, 4) * 0.045s);
}

.mobile-reach-out:hover {
  background-color: #4a1521;
}

/* 2) Hero */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 24px;
}

/* Trust row */
.trust {
  --trust-size: clamp(36px, 4.5vw, 42px);
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}

.avatar {
  position: relative;
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.avatar.a1 {
  z-index: 1;
}

.avatar.a2 {
  margin-left: calc(var(--trust-size) * -0.42);
  z-index: 2;
}

.avatar.a3 {
  margin-left: calc(var(--trust-size) * -0.42);
  z-index: 4;
}

.trust:hover .avatar.a1,
.avatar.a1:hover {
  transform: translateY(-2px);
}

.trust:hover .avatar.a2,
.avatar.a2:hover {
  transform: translateY(-4px);
}

.trust:hover .avatar.a3,
.avatar.a3:hover {
  transform: translateY(-2px);
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--surface-light);
  display: grid;
  place-items: center;
  color: var(--nav-text);
  font-size: calc(var(--trust-size) * 0.34);
  line-height: 1;
}

.trust-pill {
  position: relative;
  z-index: 3;
  height: var(--trust-size);
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.8vw, 18px);
  background-color: var(--trust-bg);
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  color: var(--trust-text);
  white-space: nowrap;
}

/* Headline */
.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 6.2vw, 80px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text);
  text-shadow: 0 0 26px rgba(255, 55, 82, 0.24);
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: clamp(14px, 2.2vh, 22px);
}

.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

.headline .line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .line-1 {
  animation-delay: 0.12s;
}

.headline .line-2 {
  animation-delay: 0.3s;
}

/* Subhead */
.subhead {
  --target-opacity: 0.8;
  max-width: min(500px, 92%);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  line-height: 1.55;
  text-wrap: pretty;
  color: #f1c7cd;
  opacity: 0.8;
  margin-bottom: clamp(22px, 3.2vh, 34px);
}

/* Primary CTA */
.cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-light);
  color: var(--nav-text);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(255, 117, 132, 0.3),
    0 0 22px rgba(255, 65, 90, 0.42),
    0 0 44px rgba(255, 65, 90, 0.22);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
}

.cta.anim {
  animation: revealPulse 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0.4s);
}

.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 150, 165, 0.45),
    0 0 28px rgba(255, 65, 90, 0.58),
    0 0 56px rgba(255, 65, 90, 0.3);
}

.cta:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
}

/* Straightforward services and credited industry examples. */
.showcase-section {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(64px, 9vh, 112px) clamp(14px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  max-width: 1000px;
  font-size: clamp(32px, 4.5vw, 58px);
  white-space: normal;
  overflow: visible;
}

.section-intro {
  max-width: 610px;
  margin-bottom: 38px;
}

.service-list {
  width: 100%;
  max-width: 920px;
  text-align: left;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 1.7fr);
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 145, 155, 0.25);
}

.service-row:first-child {
  border-top: 1px solid rgba(255, 145, 155, 0.25);
}

.service-row dt {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.service-row dd {
  font-size: 16px;
  line-height: 1.6;
  color: #edc8d0;
  text-wrap: pretty;
}

.section-cta {
  margin-top: 36px;
}

.case-demos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  max-width: 1100px;
  text-align: left;
}

.case-demo {
  min-width: 0;
  margin: 0;
}

.case-demo video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #090206;
  border-radius: 20px;
}

.case-demo video:focus-visible,
.case-source:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 5px;
}

.case-demo figcaption {
  padding: 20px 2px 0;
}

.case-demo h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 9px;
}

.case-demo figcaption > p {
  font-size: 15px;
  color: #edc8d0;
  line-height: 1.65;
  text-wrap: pretty;
}

.case-source {
  display: inline-block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--accent-soft);
  margin-top: 12px;
  text-underline-offset: 4px;
}

.case-source:hover {
  text-decoration: underline;
}

/* Contact reuses the hero's typography, pill shapes, and shared background. */
.contact-section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(56px, 8vh, 96px) clamp(14px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-title {
  font-size: clamp(32px, 5vw, 60px);
  white-space: normal;
  overflow: visible;
}

.contact-subhead {
  margin-bottom: 32px;
}

.contact-form {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.form-honeypot {
  display: none;
}

.form-field label {
  padding-inline: 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid var(--trust-border);
  border-radius: 999px;
  background-color: rgba(35, 5, 12, 0.9);
  color: var(--text);
  font: 400 16px/1.5 var(--font-sans);
  box-shadow: 0 0 18px rgba(255, 40, 70, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 156px;
  resize: vertical;
  border-radius: 24px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #bc9098;
  opacity: 1;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(255, 40, 70, 0.22);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.form-actions .cta {
  min-width: 160px;
}

.form-actions .cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  text-wrap: pretty;
}

.form-status[data-state="error"] {
  color: var(--accent-soft);
}

/* 3) Stats footer */
.stats {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-icon {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 33px);
  color: var(--text);
  line-height: 1;
  margin-bottom: 2px;
}

.stat-value {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.stat-label {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(11px, 1.2vw, 12.5px);
  color: var(--muted);
  line-height: 1.3;
}

/* Shared entrance animation */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: var(--target-opacity, 1);
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes revealPulse {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    filter: blur(6px);
  }
  70% {
    opacity: 1;
    transform: translateY(-1px) scale(1.015);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes linkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile (<= 720px) */
@media (max-width: 720px) {
  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 24px 0;
  }

  .case-demos {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    max-width: 480px;
  }
  .contact-form {
    max-width: 480px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nav-pill {
    display: none;
  }

  .header {
    display: flex;
    max-width: 100%;
    justify-content: space-between;
  }

  .logo {
    width: 84px;
    height: 84px;
  }

  .burger {
    display: inline-flex;
  }

  .trust-pill {
    font-size: 12px;
  }

  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
    column-gap: 16px;
  }
}

/* Small mobile (<= 420px) */
@media (max-width: 420px) {
  .trust {
    --trust-size: 34px;
  }

  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
}

/* Short viewport (<= 700px height) */
@media (max-height: 700px) {
  .page {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .trust {
    margin-bottom: 10px;
  }

  .headline {
    margin-bottom: 10px;
  }

  .subhead {
    margin-bottom: 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo::before {
    animation: none;
    opacity: 0.75;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .header,
  .anim,
  .cta.anim,
  .headline .line {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .subhead.anim {
    opacity: 0.8 !important;
  }

  .headline {
    color: var(--text) !important;
  }
}
