:root {
  color-scheme: dark;
  --ink: #f8f4ef;
  --muted: rgba(248, 244, 239, 0.72);
  --line: rgba(248, 244, 239, 0.18);
  --red: #d40000;
  --red-deep: #8b0000;
  --carbon: #050505;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--carbon);
  color: var(--ink);
}

body.is-loading {
  overflow: hidden;
}

body::selection {
  background: var(--red);
  color: #fff;
}

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

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

.site-loader {
  min-height: 100vh;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(212, 0, 0, 0.22), rgba(212, 0, 0, 0) 34%),
    linear-gradient(180deg, #050505 0%, #0c0c0c 48%, #020202 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 520ms ease,
    visibility 520ms ease;
}

.is-loaded .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  width: min(280px, 62vw);
  opacity: 0;
  transform: translateY(12px);
  animation: loaderIntro 680ms cubic-bezier(0.22, 1, 0.36, 1) 120ms forwards;
}

.loader-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.7));
}

.loader-track {
  width: min(280px, 62vw);
  height: 2px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.16);
}

.loader-track span {
  width: 42%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -44%;
  background: linear-gradient(90deg, rgba(212, 0, 0, 0), var(--red), rgba(255, 255, 255, 0.9));
  animation: loaderSweep 1180ms cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.site-loader p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes loaderIntro {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderSweep {
  to {
    left: 102%;
  }
}

/* ---------- Hero: scroll-driven 3D Ferrari F40 ----------
   Layout rule: words and car never share space. Desktop keeps a text
   column on the left with the car framed on the right; phones stack the
   car on top and the text underneath. One message is shown at a time. */

.hero-sequence {
  height: 719vh; /* 640vh + extra scroll for the Feed step (see SLOW in hero.js) */
  position: relative;
  background: #000;
}

.hero-pin {
  --scroll-progress: 0;
  --feed: 0;
  --hero-gutter: max(32px, calc((100vw - 1720px) / 2));
  height: 100vh;
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.hero-pin .site-header {
  z-index: 8;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 70% 62%, rgba(212, 0, 0, 0.16), rgba(212, 0, 0, 0) 70%),
    linear-gradient(180deg, #020202 0%, #070606 52%, #020202 100%);
}

/* Fallback still: a stronger scrim, since the photo fills the frame. */
.hero-fallback .hero-vignette {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.92) 46%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 85%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 82%, #000 100%);
}

.hero-fallback .hero-backdrop {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 70%),
    url("assets/supercar-connect/frames-webp/frame-0001.webp") center / cover no-repeat;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-ready .hero-canvas {
  opacity: 1;
}

/* Darkens the text side so copy always sits on a calm, near-black field. */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.9) 34%, rgba(0, 0, 0, 0.45) 44%, rgba(0, 0, 0, 0) 56%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.3) 12%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 82%, #000 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: heroGrain 900ms steps(4) infinite;
}

@keyframes heroGrain {
  0% { background-position: 0 0; }
  25% { background-position: -40px 26px; }
  50% { background-position: 30px -44px; }
  75% { background-position: -26px -12px; }
  100% { background-position: 0 0; }
}

/* Text panel: every stage occupies the same spot and crossfades. */

.hero-panel {
  width: min(620px, 42vw);
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--hero-gutter);
  display: grid;
  grid-template-areas: "stage";
  align-content: center;
  padding: 215px 0 110px;
  color: var(--ink);
}

.hero-stage {
  grid-area: stage;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.hero-stage-intro {
  opacity: 1;
  visibility: visible;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: heroPulse 2.2s ease-out infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 30, 20, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 30, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 30, 20, 0); }
}

.hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 4.1vw, 4.8rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero-title > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.hero-title > span > span {
  display: block;
  transform: translate3d(0, 110%, 0);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #ff3b2f 0%, #d40000 45%, #ffffff 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  text-wrap: pretty;
  max-width: 460px;
  margin: 24px 0 0;
  color: rgba(248, 244, 239, 0.76);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.6;
  opacity: 0;
}

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

.is-loaded .eyebrow {
  animation: heroRise 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms forwards;
}

.is-loaded .hero-title > span > span {
  animation: heroTitleReveal 1300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.is-loaded .hero-title > span:nth-child(1) > span {
  animation-delay: 420ms;
}

.is-loaded .hero-title > span:nth-child(2) > span {
  animation-delay: 560ms;
}

.is-loaded .hero-subtitle {
  animation: heroRise 900ms cubic-bezier(0.22, 1, 0.36, 1) 1000ms forwards;
}

.is-loaded .hero-actions {
  animation: heroRise 900ms cubic-bezier(0.22, 1, 0.36, 1) 1180ms forwards;
}

@keyframes heroTitleReveal {
  from { transform: translate3d(0, 110%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-stage-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #ff4a3a;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-stage-label::before {
  width: 22px;
  height: 2px;
  content: "";
  background: currentColor;
}

.hero-stage h2 {
  max-width: 11.5em;
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
  text-wrap: pretty;
  max-width: 440px;
  margin: 18px 0 0;
  color: rgba(248, 244, 239, 0.76);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Buttons */

.primary-action,
.secondary-action {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.primary-action {
  border: 1px solid #ff2a1a;
  background: linear-gradient(135deg, #ff2a1a, var(--red) 45%, var(--red-deep));
  color: #fff;
  box-shadow:
    0 12px 40px rgba(212, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.primary-action::after {
  content: "\2192";
  font-size: 1rem;
  letter-spacing: 0;
  transition: transform 220ms ease;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.primary-action:hover,
.secondary-action:hover,
.primary-action:focus-visible,
.secondary-action:focus-visible {
  transform: translateY(-2px);
}

.primary-action:hover {
  box-shadow:
    0 18px 54px rgba(212, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.primary-action:hover::after {
  transform: translateX(4px);
}

.secondary-action:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

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

.store-button::after {
  display: none;
}

.store-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}


/* Feature tiles */

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-features li {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-features strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-features strong::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 30, 20, 0.9);
}

.hero-features span {
  color: rgba(248, 244, 239, 0.68);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* App-style example cards, shown inside the text column */

.hero-card {
  max-width: 380px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.9), rgba(12, 12, 12, 0.92));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero-card-event {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-card-head div {
  display: grid;
  gap: 2px;
}

.hero-card-head strong,
.hero-card-body strong {
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-card-head span,
.hero-card-body span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.hero-card-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2a1a, var(--red-deep));
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-card > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-card-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-card-meta span:first-child {
  color: #ff4a3a;
}

.hero-card-meta svg {
  width: 15px;
  height: 15px;
}

.hero-card-date {
  width: 52px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-content: center;
  border-radius: 12px;
  background: rgba(212, 0, 0, 0.16);
  text-align: center;
}

.hero-card-date span {
  color: #ff4a3a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-date strong {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.hero-card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 3px;
}

.hero-card-body .hero-card-going {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.hero-card-button {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ff2a1a, var(--red-deep));
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Feed step: camera viewfinder over the car, then a shutter flash. */

.hero-viewfinder {
  position: absolute;
  z-index: 3;
  top: 22%;
  right: calc(var(--hero-gutter) + 1%);
  bottom: 26%;
  left: max(47%, calc(var(--hero-gutter) + 0.42 * min(100vw, 1720px) + 40px));
  opacity: var(--feed);
  transform: scale(calc(1.06 - var(--feed) * 0.06));
  pointer-events: none;
}

.hero-viewfinder i {
  width: 34px;
  height: 34px;
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.hero-viewfinder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-viewfinder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-viewfinder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-viewfinder i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }

.hero-viewfinder-tag {
  position: absolute;
  top: 12px;
  left: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-viewfinder-tag b {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff2a1a;
  box-shadow: 0 0 10px rgba(255, 42, 26, 0.9);
}

.hero-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at 72% 48%, #fff 0%, rgba(255, 255, 255, 0.6) 22%, rgba(255, 255, 255, 0) 55%);
}

.hero-flash.is-firing {
  animation: heroFlash 520ms ease-out;
}

@keyframes heroFlash {
  0% { opacity: 0; }
  8% { opacity: 0.75; }
  100% { opacity: 0; }
}

/* The app step: a phone showing the real feed beside what each tab does. */

.hero-app {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
}

.hero-phone {
  width: clamp(200px, 14vw, 270px);
  flex: 0 0 auto;
  margin: 0;
  border: 6px solid #151515;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 560 / 965;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    0 30px 70px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(212, 0, 0, 0.18);
  transform: perspective(900px) rotateY(10deg) rotateX(2deg);
}

.hero-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-app .hero-features {
  flex: 1 1 auto;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
}

.hero-app .hero-features li {
  padding: 11px 14px;
}

/* App screen: the sample cards sit inside the app's own header and tab bar,
   so each step reads as a screen from Supercar Connect. */
.hero-screen {
  max-width: 400px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(26, 26, 26, 0.96), rgba(10, 10, 10, 0.96));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 14px;
}

.hero-screen-bar img {
  width: auto;
  height: 16px;
}

.hero-screen-bar strong {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-screen-bar span {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-screen .hero-card {
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 14px;
  background: none;
  box-shadow: none;
}

.hero-tabbar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 6px 9px;
}

.hero-tabbar span {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
  font-weight: 700;
}

.hero-tabbar svg {
  width: 16px;
  height: 16px;
}

.hero-tabbar .is-active {
  color: #ff4a3a;
}

/* "Available on" line under the intro buttons. */
.hero-stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  color: rgba(248, 244, 239, 0.66);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0;
}

.is-loaded .hero-stores {
  animation: heroRise 900ms cubic-bezier(0.22, 1, 0.36, 1) 1320ms forwards;
}

.hero-stores span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-stores svg {
  width: 15px;
  height: 15px;
}

.hero-stores i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-subtitle strong {
  color: #fff;
  font-weight: 700;
}

/* Step indicator: where you are in the tour */

.hero-steps {
  position: absolute;
  left: 0;
  bottom: 56px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.hero-steps-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-steps-bars {
  display: flex;
  gap: 6px;
}

.hero-steps-bars i {
  width: 44px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-steps-bars b {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

/* Scroll cue, credit, progress line */

.hero-scroll-cue {
  position: absolute;
  z-index: 5;
  left: var(--hero-gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: opacity 400ms ease;
  pointer-events: none;
}

.hero-scroll-cue i {
  width: 1px;
  height: 34px;
  order: -1;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.18);
}

.hero-scroll-cue i::after {
  width: 100%;
  height: 40%;
  position: absolute;
  top: -40%;
  left: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 30, 20, 0), #ff2a1a);
  animation: heroCue 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroCue {
  to { top: 100%; }
}

.is-loading .hero-scroll-cue,
.is-scrolled .hero-scroll-cue {
  opacity: 0;
}

.hero-credit {
  position: absolute;
  z-index: 5;
  right: var(--hero-gutter);
  bottom: 14px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
}

/* Required CC BY attribution, tucked behind a faint © until hovered or tapped. */
.hero-credit button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  transition: color 200ms ease;
}

.hero-credit p {
  margin: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(4px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.hero-credit:hover button,
.hero-credit:focus-within button {
  color: rgba(255, 255, 255, 0.7);
}

.hero-credit:hover p,
.hero-credit:focus-within p,
.hero-credit.is-open p {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.scroll-meter {
  height: 2px;
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.1);
}

.scroll-meter span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--red), #ffffff);
  transform: scaleX(0);
  transform-origin: left;
}

/* Phones and narrow tablets in portrait: car on top, words underneath. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero-sequence {
    height: 674vh;
  }

  .hero-pin {
    --hero-gutter: 20px;
  }

  .hero-backdrop {
    background:
      radial-gradient(ellipse 80% 30% at 50% 34%, rgba(212, 0, 0, 0.18), rgba(212, 0, 0, 0) 70%),
      linear-gradient(180deg, #020202 0%, #070606 52%, #020202 100%);
  }

  .hero-vignette {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.88) 54%, #000 70%);
  }

  .hero-panel {
    width: auto;
    top: 46%;
    right: var(--hero-gutter);
    bottom: 0;
    align-content: start;
    padding: 8px 0 84px;
  }

  .hero-stage {
    align-self: start;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: clamp(2.3rem, 10.4vw, 3.4rem);
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    flex: 1 1 0;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px;
    font-size: 0.66rem;
  }

  .hero-stage-label {
    margin-bottom: 10px;
    font-size: 0.66rem;
  }

  .hero-stage h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-card {
    max-width: none;
    margin-top: 16px;
    padding: 14px;
  }

  .hero-screen {
    max-width: none;
    margin-top: 16px;
  }

  .hero-screen .hero-card {
    padding: 12px;
  }

  .hero-stores {
    margin-top: 14px;
    font-size: 0.74rem;
  }

  .hero-features {
    gap: 8px;
    margin-top: 16px;
  }

  .hero-features li {
    padding: 10px 12px;
  }

  .hero-features span {
    font-size: 0.78rem;
  }

  .hero-actions-inline {
    margin-top: 18px;
  }

  .hero-actions-inline a {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
  }

  .hero-viewfinder {
    top: 13%;
    right: 8%;
    bottom: 60%;
    left: 8%;
  }

  .hero-viewfinder i {
    width: 24px;
    height: 24px;
  }

  .hero-viewfinder-tag {
    top: 8px;
    left: 36px;
    font-size: 0.58rem;
  }

  .hero-flash {
    background: radial-gradient(circle at 50% 26%, #fff 0%, rgba(255, 255, 255, 0.6) 22%, rgba(255, 255, 255, 0) 55%);
  }

  .hero-app {
    gap: 14px;
    margin-top: 16px;
  }

  .hero-phone {
    width: 128px;
    border-width: 4px;
    border-radius: 20px;
  }

  .hero-app .hero-features li {
    padding: 8px 10px;
  }

  .hero-app .hero-features span {
    font-size: 0.74rem;
  }

  .hero-steps {
    bottom: 30px;
  }

  .hero-steps-bars {
    gap: 5px;
  }

  .hero-steps-bars i {
    width: 36px;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-credit {
    bottom: 10px;
    font-size: 0.56rem;
  }

  .hero-credit p {
    max-width: 260px;
    white-space: normal;
    text-align: right;
  }
}

.keep-case {
  letter-spacing: 0.06em;
  text-transform: none;
}

.visually-hidden {
  width: 1px;
  height: 1px;
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-card-content {
  min-width: 0;
}

.hero-card-content > p {
  text-wrap: pretty;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  line-height: 1.4;
}

.hero-card-meta b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-card-body span {
  white-space: nowrap;
}

.hero-viewfinder-tag .tag-posted,
.is-posted .hero-viewfinder-tag .tag-posting {
  display: none;
}

.is-posted .hero-viewfinder-tag .tag-posted {
  display: inline;
}

.is-posted .hero-viewfinder-tag b {
  background: #3ddc84;
  box-shadow: 0 0 10px rgba(61, 220, 132, 0.8);
}

/* Feed step: a phone running the app sits beside the copy. The flash
   captures the car, that photo flies into the empty slot, uploads, and
   goes live. Everything inside scales with the phone (em off --dh). */
.hero-stage-feed {
  --dh: clamp(300px, calc(100svh - 340px), 560px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(20px, 2.6vw, 44px);
}

.hero-stage-feed > * {
  grid-column: 1;
}

.hero-stage-feed > .hero-stage-label { grid-row: 2; }
.hero-stage-feed > h2 { grid-row: 3; }
.hero-stage-feed > p:not(.hero-stage-label) { grid-row: 4; }

.hero-stage-feed > h2 {
  font-size: clamp(2rem, 2.9vw, 3.1rem);
}

.hero-device {
  --app-red: #c8291d;
  --app-ink: #1c1a1a;
  --app-mute: #a59e9d;
  --app-blush: #fbf0ef;
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  width: calc(var(--dh) * 0.47);
  height: var(--dh);
  box-sizing: border-box;
  border-radius: 3.6em;
  padding: 0.55em;
  background: linear-gradient(145deg, #2a2a2a, #0c0c0c 40%, #161616);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 34px 80px rgba(0, 0, 0, 0.75),
    0 0 70px rgba(212, 0, 0, 0.16);
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-size: calc(var(--dh) * 0.021);
  line-height: 1.3;
}

.hd-screen {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3.05em;
  background: linear-gradient(180deg, #fff 30%, #f7eeee 100%);
  color: var(--app-ink);
}

.hd-status {
  height: 3.6em;
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5em 2em 0;
  background: var(--app-blush);
}

.hd-status > b {
  font-size: 1.12em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hd-island {
  width: 7.6em;
  height: 2.2em;
  position: absolute;
  top: 0.85em;
  left: 50%;
  border-radius: 2em;
  background: #000;
  transform: translateX(-50%);
}

.hd-status-icons {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.hd-status-icons svg { height: 0.9em; width: auto; }

.hd-appbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1.6em 1fr 1.6em;
  align-items: center;
  padding: 0.5em 1.4em 0.9em;
  background: var(--app-blush);
}

.hd-appbar strong {
  font-size: 1.32em;
  font-weight: 500;
  text-align: center;
}

.hd-appbar svg { width: 1.5em; height: 1.5em; }

.hd-segment {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0.9em 1.2em 0;
  border: 1.5px solid #e6aaa5;
  border-radius: 2em;
  padding: 0.2em;
  background: var(--app-blush);
  font-size: 0.92em;
  text-align: center;
}

.hd-segment span {
  border-radius: 2em;
  padding: 0.45em 0;
}

.hd-segment .is-on {
  background: var(--app-red);
  color: #fff;
  font-weight: 600;
}

/* Upload strip: slides in under the toggle while the photo posts. */
.hd-upload {
  height: 0;
  flex: 0 0 auto;
  display: grid;
  gap: 0.35em;
  margin: 0 1.2em;
  overflow: hidden;
  opacity: 0;
  font-size: 0.82em;
  transition:
    height 300ms ease,
    margin 300ms ease,
    opacity 300ms ease;
}

.hd-upload-text b:last-child,
.is-live .hd-upload-text b:first-child { display: none; }
.is-live .hd-upload-text b:last-child { display: inline; color: #1e9e57; }

.hd-upload i {
  height: 0.35em;
  display: block;
  overflow: hidden;
  border-radius: 1em;
  background: #f0dcda;
}

.hd-upload i b {
  height: 100%;
  display: block;
  background: var(--app-red);
  transform: scaleX(0);
  transform-origin: left;
}

.is-uploading .hd-upload,
.is-live.is-fresh .hd-upload {
  height: 2.6em;
  margin-top: 0.8em;
  opacity: 1;
}

.is-live .hd-upload i b { background: #1e9e57; }

.hd-post {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  margin: 0.9em 1.2em 0;
}

.hd-post header {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding-bottom: 0.7em;
}

.hd-post header > svg { width: 1.3em; margin-left: auto; color: #9b9494; }

.hd-avatar {
  width: 2.7em;
  height: 2.7em;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--app-red);
  border-radius: 50%;
  background: linear-gradient(135deg, #2b2b2b, #0e0e0e);
  color: #fff;
  font-size: 0.85em;
  font-weight: 700;
}

.hd-who {
  display: grid;
  line-height: 1.25;
}

.hd-who strong { font-size: 1.02em; font-weight: 600; }
.hd-who span { color: var(--app-mute); font-size: 0.82em; }
.hd-who span b { font-weight: 400; }
.hd-who span b:last-child,
.has-photo .hd-who span b:first-child { display: none; }
.has-photo .hd-who span b:last-child { display: inline; }

/* The car card: photo slot (empty until the shot lands) over a dark strip
   with the car's details, so no words ever sit on the photo. */
.hd-car {
  overflow: hidden;
  border-radius: 1.5em;
  background: #151313;
  box-shadow: 0 0.5em 1.4em rgba(60, 20, 20, 0.18);
}

.hd-photo {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #f3e7e6;
}

.hd-photo-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5em;
  color: #c47c76;
  font-size: 0.9em;
  font-weight: 500;
  outline: 1.5px dashed #dca29d;
  outline-offset: -0.8em;
  border-radius: 1.5em 1.5em 0 0;
  transition: opacity 300ms ease;
}

.hd-photo-empty svg { width: 2.6em; height: 2.6em; }

.hd-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hd-photo-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.6em;
  padding: 0.75em 1em 0.85em;
  color: #fff;
}

.hd-meta-text {
  display: grid;
  gap: 0.1em;
}

.hd-meta-text > span {
  display: flex;
  align-items: center;
  gap: 0.45em;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.74em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hd-meta-text i {
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: #e0362a;
}

.hd-meta-text strong {
  font-size: 1.6em;
  font-weight: 700;
  line-height: 1.05;
}

.hd-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3em;
}

.hd-chips em {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2em;
  padding: 0.15em 0.6em;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72em;
  font-style: normal;
  white-space: nowrap;
}

.has-photo .hd-photo-empty { opacity: 0; }
.has-photo .hd-photo-img { opacity: 1; }

.hd-actions {
  display: flex;
  align-items: center;
  gap: 1.1em;
  padding: 0.75em 0.1em 0.4em;
  color: #6f6767;
  font-size: 0.95em;
}

.hd-actions span {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.hd-actions svg { width: 1.45em; height: 1.45em; }
.hd-actions b { font-weight: 600; font-variant-numeric: tabular-nums; }

.hd-like svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.is-live .hd-like { color: var(--app-red); }

.is-live .hd-like svg {
  fill: currentColor;
  animation: hdHeart 600ms cubic-bezier(0.3, 1.6, 0.5, 1);
}

@keyframes hdHeart {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.hd-post > p {
  margin: 0;
  padding-bottom: 0.4em;
  font-size: 0.88em;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.hd-post > p strong { font-weight: 600; }

.hd-next {
  width: 100%;
  min-height: 0;
  flex: 1 1 0;
  margin-top: 0.6em;
  border-top: 0.5em solid #f3ecec;
  object-fit: cover;
  object-position: top;
}

.hd-fab {
  width: 3.8em;
  height: 3.8em;
  position: absolute;
  right: 1.2em;
  bottom: 5.9em;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--app-red);
  box-shadow: 0 0.5em 1.4em rgba(200, 41, 29, 0.45);
  color: #fff;
}

.hd-fab svg { width: 1.7em; height: 1.7em; }

.hd-tabs {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.9em 0.4em 2.2em;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06);
  color: #b9b2b1;
  font-size: 0.78em;
  text-align: center;
}

.hd-tabs span {
  display: grid;
  justify-items: center;
  gap: 0.3em;
}

.hd-tabs svg { width: 2em; height: 2em; }
.hd-tabs .is-active { color: var(--app-red); }

.hd-home {
  width: 36%;
  height: 0.38em;
  position: absolute;
  bottom: 0.7em;
  left: 32%;
  border-radius: 1em;
  background: #111;
}

/* Portrait phones and tablets: the phone sits beside the copy, sized to
   the space under the car. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero-stage-feed {
    --dh: clamp(240px, calc(54svh - 96px), 440px);
    column-gap: 14px;
    align-self: stretch;
  }

  .hero-stage-feed > h2 {
    font-size: clamp(1.45rem, 6.4vw, 2rem);
  }

  .hero-stage-feed > p:not(.hero-stage-label) {
    font-size: 0.86rem;
  }

  .hero-stage-feed .hero-device {
    align-self: start;
  }
}

/* The captured frame in flight from the viewfinder to the phone. */
.hero-photo-flight {
  position: fixed;
  z-index: 60;
  margin: 0;
  object-fit: cover;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform;
}

/* "Inside the app": the tab being described lights up. */
.hero-app .hero-features li {
  transition:
    border-color 300ms ease,
    background 300ms ease,
    transform 300ms ease;
}

.hero-app .hero-features li.is-active {
  border-color: rgba(255, 60, 40, 0.6);
  background: rgba(212, 0, 0, 0.14);
  transform: translateX(4px);
}

.hero-stage p.hero-proof-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: rgba(248, 244, 239, 0.72);
  font-size: 0.86rem;
  font-weight: 600;
}

.hero-proof-line span {
  color: #ffb020;
}

.hero-proof-line i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

/* Store buttons as a matched pair of dark badges; red only on hover. */
.store-button,
.store-button.primary-action,
.store-button.secondary-action {
  min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0 22px;
  background: #0d0d0d;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  color: #fff;
  letter-spacing: 0.02em;
  text-transform: none;
}

.store-button:hover,
.store-button:focus-visible {
  border-color: #ff2a1a;
  box-shadow:
    0 0 0 1px rgba(255, 42, 26, 0.5),
    0 16px 46px rgba(212, 0, 0, 0.35);
}

.store-button svg {
  width: 22px;
  height: 22px;
}

.store-text {
  display: grid;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
}

.store-text small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

.hero-credit button {
  width: 44px;
  height: 44px;
  margin: -13px;
}

/* Big monitors: give the copy the same presence as the car. */
@media (min-width: 1800px) and (min-height: 900px) {
  .hero-stage h2 {
    font-size: clamp(3.6rem, 3vw, 4.8rem);
  }

  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line),
  .hero-subtitle {
    max-width: 520px;
    font-size: 1.25rem;
  }

  .hero-card {
    max-width: 460px;
  }

  .hero-stage-feed {
    --dh: clamp(300px, calc(100svh - 380px), 660px);
  }

  .hero-stage-feed > h2 {
    font-size: clamp(3rem, 2.6vw, 3.6rem);
  }
}

/* Shorter laptop screens: smaller logo and tighter app step. */
@media (min-width: 901px) and (max-height: 820px) {
  .hero-pin .brand img {
    width: 170px;
  }

  .hero-panel {
    padding-top: 170px;
    padding-bottom: 96px;
  }

  .hero-phone {
    width: 150px;
  }

  .hero-app {
    margin-top: 16px;
  }

  .hero-stage h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
  }
}

/* 4:3-ish desktops and landscape tablets: keep copy narrower than the car's space. */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-panel {
    width: 40vw;
  }

  .hero-subtitle,
  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
    max-width: 36ch;
  }

  .hero-app {
    align-items: flex-start;
    gap: 14px;
  }

  .hero-phone {
    width: 130px;
  }
}

/* Portrait tablets: copy column, not phone-width stretch. */
@media (min-width: 601px) and (max-width: 900px) and (orientation: portrait) {
  .hero-panel {
    top: 50%;
    right: auto;
    left: max(20px, calc(50% - 320px));
    width: min(640px, calc(100% - 40px));
  }

  .hero-stage h2 {
    font-size: 2.6rem;
  }

  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
    font-size: 1.05rem;
  }

  .hero-phone {
    width: 150px;
  }

  .hero-pin .brand img {
    width: 150px;
  }

  .hero-pin .nav-links {
    gap: 18px;
  }

  .hero-pin .nav-links a {
    white-space: nowrap;
  }

  .hero-viewfinder {
    top: 220px;
    bottom: 54%;
  }

  .hero-stage-feed {
    --dh: clamp(300px, calc(50svh - 110px), 480px);
    column-gap: 28px;
  }
}

/* Phones in portrait. */
@media (max-width: 900px) and (orientation: portrait) {
  /* Dark scrim under the copy so trails and reflections never sit behind words. */
  .hero-panel::before {
    position: absolute;
    top: -56px;
    right: -100vw;
    bottom: 0;
    left: -100vw;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.94) 56px);
    pointer-events: none;
  }

  .hero-credit p {
    position: absolute;
    right: 0;
    bottom: 40px;
    width: max-content;
    max-width: calc(100vw - 40px);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(10, 10, 10, 0.92);
    white-space: normal;
  }

  .hero-card-head span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .hero-pin .theme-toggle-menu {
    min-height: 44px;
  }


  .hero-actions .secondary-action {
    border-color: transparent;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-pin .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 420px) {
  .store-button,
  .store-button.primary-action,
  .store-button.secondary-action {
    gap: 8px;
    padding: 0 12px;
  }

  .store-text {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .store-text small {
    font-size: 0.56rem;
  }
}

@media (max-width: 370px) {
  .hero-actions .primary-action {
    padding-inline: 14px;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }
}

/* Tall phones: show the scroll cue in the empty space under the intro. */
@media (max-width: 600px) and (orientation: portrait) and (min-height: 740px) {
  .hero-scroll-cue {
    display: flex;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
  }
}

/* Mid-height phones (iPhone 14, most Androids). */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 820px) {
  .hero-tabbar {
    padding: 6px 4px 7px;
  }

  .hero-tabbar span {
    font-size: 0.56rem;
  }

  .hero-tabbar svg {
    width: 14px;
    height: 14px;
  }

  .hero-panel {
    top: 44%;
  }

  .hero-stage-feed {
    --dh: clamp(240px, calc(56svh - 96px), 440px);
  }

  .hero-app .hero-features li {
    padding: 6px 10px;
  }

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

  .hero-phone {
    width: 112px;
  }
}

/* Short phones (iPhone SE): keep every step on screen. */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 720px) {
  .hero-panel {
    top: 41%;
    padding-bottom: 64px;
  }

  .hero-stage-feed {
    --dh: clamp(220px, calc(59svh - 76px), 440px);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .hero-stage h2 {
    font-size: 1.7rem;
  }

  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
    font-size: 0.86rem;
  }

  .hero-card-content > p,
  .hero-app .hero-features span {
    display: none;
  }

  .hero-tabbar,
  .hero-stores {
    display: none;
  }


  .hero-phone {
    width: 100px;
  }

  .hero-viewfinder {
    top: calc(13% + 10px);
  }

  .hero-steps {
    bottom: 18px;
  }

  .hero-credit {
    bottom: 4px;
  }
}

/* Landscape phones: side-by-side layout, compact header, essentials only. */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-pin {
    --hero-gutter: 20px;
  }

  .hero-pin .site-header {
    width: calc(100% - 32px);
    max-width: none;
    top: 14px;
    align-items: flex-start;
  }

  .hero-pin .brand img {
    width: 86px;
  }

  .hero-pin .nav-toggle {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 5;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    padding: 0;
    background: rgba(5, 5, 5, 0.44);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .hero-pin .nav-toggle span {
    width: 19px;
    height: 2px;
    grid-area: 1 / 1;
    border-radius: 99px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .hero-pin .nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .hero-pin .nav-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .nav-open .hero-pin .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-open .hero-pin .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .hero-pin .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .hero-pin .nav-links {
    min-width: 190px;
    position: absolute;
    z-index: 4;
    top: 68px;
    right: 0;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 8px;
    background: rgba(5, 5, 5, 0.76);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
    font-size: 0.72rem;
    text-align: left;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .nav-open .hero-pin .nav-links {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .hero-pin .nav-links a {
    padding: 13px 12px;
  }

  .hero-pin .nav-links a::after {
    display: none;
  }

  .hero-pin .theme-toggle-header {
    display: none;
  }

  .hero-pin .theme-toggle-menu {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding: 13px 12px 8px;
    background: none;
    color: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .hero-pin .theme-toggle-menu:hover,
  .hero-pin .theme-toggle-menu:focus-visible {
    transform: none;
    border-color: rgba(255, 255, 255, 0.14);
    background: none;
    color: #fff;
  }

  .hero-pin .theme-toggle-menu svg {
    width: 15px;
    height: 15px;
  }

  .hero-pin .brand img {
    width: 72px;
  }

  .hero-panel {
    width: calc(50vw - 60px);
    padding: 84px 0 44px;
  }

  .hero-pin .nav-links a,
  .hero-pin .theme-toggle-menu {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  .hero-subtitle {
    margin-top: 10px;
    font-size: 0.85rem;
  }

  .hero-actions {
    margin-top: 14px;
  }

  .hero-stage h2 {
    font-size: 1.5rem;
  }

  .hero-stage > p:not(.hero-stage-label, .eyebrow, .hero-subtitle, .hero-proof-line) {
    margin-top: 8px;
    font-size: 0.85rem;
  }

  .hero-phone,
  .hero-features span,
  .hero-card-content > p,
  .hero-screen-bar,
  .hero-tabbar,
  .hero-stores {
    display: none;
  }

  .hero-screen {
    max-width: 290px;
    margin-top: 12px;
  }

  .hero-card-button {
    display: none;
  }

  .hero-card {
    max-width: 290px;
    margin-top: 12px;
    padding: 10px;
  }


  .hero-actions-inline {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions-inline a,
  .store-button.primary-action,
  .store-button.secondary-action {
    min-height: 44px;
    flex: 0 1 auto;
    padding: 0 14px;
  }

  .store-text {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-stage p.hero-proof-line {
    margin-top: 10px;
    font-size: 0.78rem;
  }

  .hero-app {
    margin-top: 12px;
  }

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

  .hero-app .hero-features li {
    padding: 8px 12px;
  }

  .hero-actions .secondary-action {
    display: none;
  }

  .hero-steps {
    bottom: 12px;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-viewfinder {
    top: 24%;
    bottom: 16%;
    left: 50%;
  }
}

.site-header {
  width: calc(100% - 64px);
  max-width: 1720px;
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.56));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  width: 100%;
  height: 2px;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
}

.nav-links {
  margin-left: auto;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0;
  background: rgba(5, 5, 5, 0.35);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(5, 5, 5, 0.55);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.theme-toggle .icon-moon,
:root[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

:root[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

.theme-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-label-to-dark,
:root[data-theme="light"] .theme-label-to-light {
  display: none;
}

:root[data-theme="light"] .theme-label-to-dark {
  display: inline;
}

.theme-toggle-menu {
  display: none;
}

.section-kicker {
  margin: 0;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.platform-section,
.showcase-section,
.journey-section,
.marketplace-section,
.conversion-section,
.contact-section,
.bottom-download-section,
.site-footer {
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.62fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 92% 18%, rgba(212, 0, 0, 0.14), transparent 30%),
    linear-gradient(180deg, #f8f4ef 0%, #ece5db 100%);
  color: #111;
}

.platform-copy,
.journey-header {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.platform-copy h2,
.section-heading h2,
.journey-header h2,
.marketplace-card h2,
.conversion-panel h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.45rem, 5.3vw, 6.15rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.platform-copy p:not(.section-kicker),
.section-heading p,
.journey-header p,
.marketplace-card p,
.conversion-panel p {
  max-width: 640px;
  margin: 0;
  color: rgba(17, 17, 17, 0.68);
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
  font-weight: 650;
  line-height: 1.56;
}

.mini-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.mini-cta-row .mini-secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 4px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(17, 17, 17, 0.76);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mini-cta-row a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #111;
  border-radius: 4px;
  padding: 0 16px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.mini-cta-row a:hover,
.mini-cta-row a:focus-visible {
  transform: translateY(-2px);
  background: var(--red);
}

.mini-cta-row .mini-secondary-action:hover,
.mini-cta-row .mini-secondary-action:focus-visible {
  border-color: rgba(17, 17, 17, 0.32);
  background: #fff;
  color: #111;
}

.command-center {
  position: relative;
  min-width: 0;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone-shell {
  width: min(100%, 310px);
  aspect-ratio: 1290 / 2796;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 38px;
  padding: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.22)),
    #f7f7f7;
  box-shadow: 0 32px 74px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.app-screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: center top;
}

.floating-stat {
  position: absolute;
  width: 168px;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(8, 8, 8, 0.9);
  color: var(--ink);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.floating-stat strong {
  font-size: 1.05rem;
  line-height: 1.12;
}

.floating-stat span {
  color: rgba(248, 244, 239, 0.66);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.35;
}

.floating-stat-top {
  top: -18px;
  right: 34px;
}

.floating-stat-bottom {
  bottom: -18px;
  left: 34px;
}

.showcase-section {
  padding-top: 92px;
  padding-bottom: 96px;
  background: linear-gradient(180deg, #090909, #050505);
  color: var(--ink);
}

.section-heading {
  max-width: 1000px;
  min-width: 0;
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}

.section-heading p,
.showcase-feature p,
.showcase-business p {
  color: rgba(248, 244, 239, 0.68);
}

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

.showcase-feature,
.showcase-business {
  min-width: 0;
  position: relative;
  display: grid;
}

.showcase-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(248, 244, 239, 0.14);
  background: rgba(248, 244, 239, 0.08);
}

.showcase-feature {
  min-height: clamp(240px, 21vw, 320px);
  align-content: space-between;
  gap: 28px;
  padding: clamp(28px, 3.2vw, 46px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    #0c0c0c;
}

.showcase-feature:nth-child(odd) {
  border-right: 1px solid rgba(248, 244, 239, 0.12);
}

.showcase-feature:nth-child(n + 3) {
  border-top: 1px solid rgba(248, 244, 239, 0.12);
}

.showcase-feature::before {
  width: 44px;
  height: 1px;
  position: absolute;
  top: clamp(28px, 3.2vw, 46px);
  right: clamp(28px, 3.2vw, 46px);
  content: "";
  background: rgba(212, 0, 0, 0.58);
}

.showcase-business {
  color: var(--ink);
}

.showcase-feature span,
.showcase-business span,
.journey-steps span {
  color: rgba(248, 244, 239, 0.6);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-feature span,
.showcase-business span {
  padding-top: 0;
}

.showcase-feature h3,
.showcase-business h3,
.journey-steps h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.showcase-feature p,
.showcase-business p,
.journey-steps p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.5;
}

.showcase-feature h3,
.showcase-business h3 {
  max-width: 640px;
  font-size: clamp(1.72rem, 2.4vw, 3.05rem);
  line-height: 1.04;
}

.showcase-feature p,
.showcase-business p {
  max-width: 520px;
}

.journey-section {
  display: grid;
  gap: 42px;
  padding-top: 88px;
  padding-bottom: 88px;
  background: #f8f4ef;
  color: #111;
}

.journey-header {
  max-width: 940px;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(17, 17, 17, 0.12);
  background: rgba(17, 17, 17, 0.12);
}

.journey-steps article {
  min-width: 0;
  min-height: 244px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 32px;
  background: #f8f4ef;
}

.journey-steps span {
  color: var(--red);
}

.journey-steps p {
  color: rgba(17, 17, 17, 0.66);
}

.marketplace-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 92px;
  padding-bottom: 92px;
  background:
    linear-gradient(180deg, #f2efea 0%, #e8e6e1 100%);
  color: #111;
}

.marketplace-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  gap: 22px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  padding: clamp(28px, 4.2vw, 54px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52)),
    #f9f7f3;
  box-shadow: 0 24px 64px rgba(17, 17, 17, 0.08);
}

.marketplace-card-dark {
  background:
    linear-gradient(145deg, rgba(212, 0, 0, 0.18), rgba(255, 255, 255, 0.035) 42%, rgba(0, 0, 0, 0)),
    #101010;
  color: var(--ink);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.26);
}

.marketplace-card-dark p,
.marketplace-card-dark li {
  color: rgba(248, 244, 239, 0.7);
}

.marketplace-card h2 {
  max-width: 720px;
  font-size: clamp(2.55rem, 4.4vw, 5.35rem);
  line-height: 0.95;
}

.marketplace-card p:not(.section-kicker) {
  max-width: 560px;
}

.marketplace-card ul {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  gap: 8px;
  margin: clamp(10px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}

.marketplace-card li {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 4px;
  padding: 0 14px;
  background: rgba(17, 17, 17, 0.045);
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: clamp(10px, 3vw, 34px);
}

.service-cloud span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marketplace-card-dark .service-cloud span {
  border-color: rgba(248, 244, 239, 0.14);
  background: rgba(248, 244, 239, 0.07);
  color: rgba(248, 244, 239, 0.86);
}

.conversion-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  background:
    linear-gradient(135deg, rgba(212, 0, 0, 0.12), rgba(255, 255, 255, 0)),
    #f7f3ee;
  color: #111;
}

.conversion-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, 0.58);
}

.conversion-panel > .section-kicker,
.conversion-panel h2,
.conversion-panel p {
  grid-column: 1;
}

.conversion-panel h2 {
  max-width: 850px;
}

.download-actions {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.store-action {
  min-width: 170px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 4px;
  padding: 0 20px;
  background: #111;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.store-action:hover,
.store-action:focus-visible {
  transform: translateY(-2px);
  background: var(--red);
}

.founders-section {
  display: grid;
  justify-items: center;
  gap: 38px;
  padding-top: 96px;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 0, 0, 0.2), rgba(212, 0, 0, 0) 34%),
    linear-gradient(180deg, #121212 0%, #050505 100%);
  color: var(--ink);
}

.founders-header {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.founders-header .section-kicker {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.founders-header h2 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(2.45rem, 5vw, 5.45rem);
  font-weight: 850;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

.founders-header p:not(.section-kicker) {
  max-width: 520px;
  margin: 18px auto 0;
  color: rgba(248, 244, 239, 0.68);
  font-size: clamp(1rem, 1.24vw, 1.18rem);
  font-weight: 600;
  line-height: 1.55;
}

.founders-grid {
  width: min(100%, 1180px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.founder-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(248, 244, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.founder-card-featured {
  background:
    linear-gradient(180deg, rgba(212, 0, 0, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
}

.founder-photo {
  aspect-ratio: 1;
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(212, 0, 0, 0.28), rgba(255, 255, 255, 0.06)),
    #171717;
}

.founder-card-featured .founder-photo {
  aspect-ratio: 1;
}

.founder-photo::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  content: "Founder photo";
  color: rgba(248, 244, 239, 0.46);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center;
}

.founder-photo-lance img {
  object-position: center 30%;
}

.founder-photo-jaron img {
  object-position: center 22%;
}

.founder-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 34px);
}

.founder-copy span {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.founder-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 2.35vw, 2.65rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.74fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  padding-top: 104px;
  padding-bottom: 104px;
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 0, 0, 0.18), rgba(212, 0, 0, 0) 32%),
    #111;
  color: var(--ink);
}

.contact-copy {
  display: grid;
  gap: 20px;
}

.contact-copy h2 {
  max-width: 860px;
  font-size: clamp(2.15rem, 4.4vw, 4.85rem);
}

.contact-copy p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: rgba(248, 244, 239, 0.68);
  font-size: clamp(1rem, 1.22vw, 1.16rem);
  font-weight: 600;
  line-height: 1.55;
}

.contact-copy a {
  width: fit-content;
  border-bottom: 2px solid var(--red);
  color: rgba(248, 244, 239, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 800;
}

.contact-form {
  min-width: 0;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(248, 244, 239, 0.14);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(248, 244, 239, 0.76);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 244, 239, 0.16);
  border-radius: 4px;
  padding: 14px 15px;
  background: rgba(5, 5, 5, 0.58);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.contact-form select {
  appearance: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 0, 0, 0.78);
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.16);
}

.contact-form button {
  min-height: 52px;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 0 20px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-2px);
  background: #f01818;
}

.contact-form button:disabled {
  opacity: 0.7;
  transform: none;
  cursor: progress;
}

/* Spam trap: off screen, never seen or tabbed to by people. */
.contact-honey {
  position: absolute;
  left: -9999px;
}

.contact-status {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-status:empty {
  display: none;
}

.contact-status.is-ok {
  color: #3ddc84;
}

.contact-status.is-error {
  color: #ff6b5e;
}

:root[data-theme="light"] .contact-status.is-ok {
  color: #13804a;
}

:root[data-theme="light"] .contact-status.is-error {
  color: #b3160c;
}

.bottom-download-section {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 78px;
  border-top: 1px solid rgba(248, 244, 239, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 0, 0, 0.22), rgba(212, 0, 0, 0) 38%),
    #080808;
  color: var(--ink);
  text-align: center;
}

.bottom-download-section h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.15rem, 4.2vw, 4.75rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
}

.bottom-download-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 4px;
  padding: 0 24px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.bottom-download-action:hover,
.bottom-download-action:focus-visible {
  transform: translateY(-2px);
  background: #f01818;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(248, 244, 239, 0.12);
  background: #050505;
  color: var(--ink);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-brand img {
  width: 170px;
  height: auto;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  color: rgba(248, 244, 239, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-meta a {
  color: rgba(248, 244, 239, 0.86);
}

.footer-credit {
  border-bottom: 1px solid rgba(248, 244, 239, 0.72);
}

.footer-credit::after {
  content: " ->";
  color: var(--red);
}

.footer-meta p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    max-width: none;
    top: 14px;
    align-items: flex-start;
  }

  .brand img {
    width: 86px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 5;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    padding: 0;
    background: rgba(5, 5, 5, 0.44);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(16px);
  }

  .nav-toggle span {
    width: 19px;
    height: 2px;
    grid-area: 1 / 1;
    border-radius: 99px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(6px);
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .nav-links {
    min-width: 190px;
    position: absolute;
    z-index: 4;
    top: 68px;
    right: 0;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 8px;
    background: rgba(5, 5, 5, 0.76);
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
    font-size: 0.72rem;
    text-align: left;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: blur(18px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-links a::after {
    display: none;
  }

  .theme-toggle-header {
    display: none;
  }

  .theme-toggle-menu {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding: 13px 12px 8px;
    background: none;
    color: rgba(255, 255, 255, 0.76);
    backdrop-filter: none;
  }

  .theme-toggle-menu:hover,
  .theme-toggle-menu:focus-visible {
    transform: none;
    border-color: rgba(255, 255, 255, 0.14);
    background: none;
    color: #fff;
  }

  .theme-toggle-menu svg {
    width: 15px;
    height: 15px;
  }

  .platform-section,
  .marketplace-section,
  .conversion-panel {
    grid-template-columns: 1fr;
  }

  .platform-section,
  .showcase-section,
  .journey-section,
  .marketplace-section,
  .conversion-section,
  .founders-section,
  .contact-section,
  .site-footer {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-right: 18px;
    padding-left: 18px;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .platform-copy h2,
  .section-heading h2,
  .journey-header h2,
  .marketplace-card h2,
  .conversion-panel h2,
  .founders-header h2,
  .contact-copy h2 {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.4vw, 2.18rem);
    line-height: 1.04;
  }

  .platform-copy h2,
  .platform-copy p:not(.section-kicker),
  .section-heading h2,
  .section-heading p,
  .journey-header h2,
  .journey-header p,
  .founders-header h2,
  .founders-header p:not(.section-kicker) {
    max-width: 320px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-copy {
    justify-items: center;
    text-align: center;
  }

  .contact-copy h2,
  .contact-copy p:not(.section-kicker) {
    max-width: 320px;
  }

  .contact-form {
    width: 100%;
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand img {
    width: 132px;
  }

  .footer-meta {
    justify-items: center;
  }

  .platform-copy {
    justify-items: center;
    text-align: center;
  }

  .platform-copy .section-kicker,
  .platform-copy h2,
  .platform-copy p:not(.section-kicker),
  .mini-cta-row {
    margin-right: auto;
    margin-left: auto;
  }

  .mini-cta-row {
    justify-content: center;
  }

  .showcase-hero-card h3,
  .showcase-feature h3,
  .showcase-business h3,
  .journey-steps h3 {
    max-width: 300px;
    font-size: clamp(1.2rem, 5.9vw, 1.72rem);
    line-height: 1.06;
  }

  .showcase-hero-card p,
  .showcase-feature p,
  .showcase-business p,
  .journey-steps p,
  .marketplace-card p,
  .marketplace-card li,
  .conversion-panel p {
    max-width: 310px;
  }

  .command-center {
    min-height: auto;
    gap: 12px;
  }

  .phone-shell {
    width: min(100%, 248px);
    padding: 7px;
    border-radius: 32px;
  }

  .app-screen {
    border-radius: 25px;
  }

  .floating-stat {
    position: absolute;
    width: 150px;
    padding: 12px;
  }

  .floating-stat-top {
    top: -12px;
    right: 16px;
  }

  .floating-stat-bottom {
    bottom: -12px;
    left: 16px;
  }

  .showcase-panel {
    grid-template-columns: 1fr;
    border-color: rgba(248, 244, 239, 0.12);
    background: rgba(248, 244, 239, 0.06);
  }

  .showcase-feature,
  .showcase-business {
    padding: 24px 22px;
  }

  .showcase-feature:nth-child(n + 2) {
    border-top: 1px solid rgba(248, 244, 239, 0.12);
  }

  .showcase-feature {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: auto;
    align-content: start;
  }

  .showcase-feature:nth-child(odd) {
    border-right: 0;
  }

  .showcase-feature::before {
    display: none;
  }

  .showcase-feature span,
  .showcase-business span {
    padding-top: 0;
  }

  .showcase-feature p,
  .showcase-business p {
    grid-column: 1;
    max-width: 100%;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .founders-grid {
    width: min(100%, 380px);
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .founder-card,
  .founder-card-featured {
    grid-template-rows: auto auto;
  }

  .founder-photo,
  .founder-card-featured .founder-photo {
    aspect-ratio: 1;
  }

  .founder-copy {
    gap: 12px;
    padding: 22px;
  }

  .founder-copy h3 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }

  .journey-steps article {
    min-height: 178px;
    padding: 26px 16px;
  }

  .marketplace-card,
  .conversion-panel {
    padding: 26px;
  }

  .marketplace-card {
    gap: 18px;
  }

  .marketplace-card h2 {
    font-size: clamp(2rem, 10.5vw, 3.1rem);
    line-height: 0.98;
  }

  .marketplace-card ul,
  .service-cloud {
    margin-top: 8px;
  }

  .marketplace-card li,
  .service-cloud span {
    min-height: 34px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 0.66rem;
  }

  .download-actions {
    grid-column: auto;
    grid-row: auto;
    justify-content: stretch;
  }

  .store-action {
    width: 100%;
  }

  .bottom-download-section h2 {
    max-width: 330px;
    font-size: clamp(1.95rem, 9vw, 2.65rem);
  }

  .bottom-download-action {
    width: 100%;
    max-width: 340px;
    padding-right: 16px;
    padding-left: 16px;
    text-align: center;
  }
}

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

  .site-loader,
  .loader-mark,
  .loader-track span,
  .primary-action,
  .secondary-action,
  .nav-links a::after,
  .eyebrow,
  .hero-title > span > span,
  .hero-subtitle,
  .hero-actions,
  .is-loaded .eyebrow,
  .is-loaded .hero-title > span > span,
  .is-loaded .hero-subtitle,
  .is-loaded .hero-actions,
  .hero-stores,
  .is-loaded .hero-stores {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .is-live .hd-like svg {
    animation: none;
  }

  .hd-upload,
  .hd-photo-empty,
  .hero-app .hero-features li {
    transition: none;
  }

  .hero-flash {
    display: none;
  }

  .is-loaded .site-loader {
    opacity: 0;
  }

  .hero-grain,
  .eyebrow-dot,
  .hero-scroll-cue i::after {
    animation: none;
  }
}

/* Light theme. The hero, loader, and header stay cinematic in both themes;
   everything below the hero swaps to the warm light palette. */
.theme-asset-light {
  display: none;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="light"] body {
  background: #f6f2ec;
  color: #14100c;
}

:root[data-theme="light"] .theme-asset-dark {
  display: none;
}

:root[data-theme="light"] .theme-asset-light {
  display: block;
}

:root[data-theme="light"] .showcase-section {
  background: linear-gradient(180deg, #f8f4ef, #eee7dd);
  color: #111;
}

:root[data-theme="light"] .section-heading p,
:root[data-theme="light"] .showcase-feature p,
:root[data-theme="light"] .showcase-business p {
  color: rgba(17, 17, 17, 0.66);
}

:root[data-theme="light"] .showcase-panel {
  border-color: rgba(17, 17, 17, 0.12);
  background: rgba(255, 255, 255, 0.5);
}

:root[data-theme="light"] .showcase-feature {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55)),
    #fdfbf7;
}

:root[data-theme="light"] .showcase-feature:nth-child(odd) {
  border-right-color: rgba(17, 17, 17, 0.1);
}

:root[data-theme="light"] .showcase-feature:nth-child(n + 2) {
  border-top-color: rgba(17, 17, 17, 0.1);
}

:root[data-theme="light"] .showcase-feature span,
:root[data-theme="light"] .showcase-business span {
  color: rgba(17, 17, 17, 0.55);
}

:root[data-theme="light"] .showcase-business {
  color: #111;
}

:root[data-theme="light"] .founders-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(212, 0, 0, 0.1), rgba(212, 0, 0, 0) 34%),
    linear-gradient(180deg, #f4efe8 0%, #ede6dc 100%);
  color: #111;
}

:root[data-theme="light"] .founders-header p:not(.section-kicker) {
  color: rgba(17, 17, 17, 0.66);
}

:root[data-theme="light"] .founder-card {
  border-color: rgba(17, 17, 17, 0.1);
  background: #fffdf9;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.12);
}

:root[data-theme="light"] .founder-card-featured {
  background:
    linear-gradient(180deg, rgba(212, 0, 0, 0.06), rgba(255, 255, 255, 0)),
    #fffdf9;
}

:root[data-theme="light"] .founder-photo::before {
  color: rgba(17, 17, 17, 0.42);
}

:root[data-theme="light"] .contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 0, 0, 0.09), rgba(212, 0, 0, 0) 32%),
    #f3eee6;
  color: #111;
}

:root[data-theme="light"] .contact-copy p:not(.section-kicker) {
  color: rgba(17, 17, 17, 0.66);
}

:root[data-theme="light"] .contact-copy a {
  color: rgba(17, 17, 17, 0.84);
}

:root[data-theme="light"] .contact-form {
  border-color: rgba(17, 17, 17, 0.1);
  background: #fffdf9;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.12);
}

:root[data-theme="light"] .contact-form span {
  color: rgba(17, 17, 17, 0.62);
}

:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form select,
:root[data-theme="light"] .contact-form textarea {
  border-color: rgba(17, 17, 17, 0.18);
  background: #fff;
  color: #111;
}

:root[data-theme="light"] .contact-form input:focus,
:root[data-theme="light"] .contact-form select:focus,
:root[data-theme="light"] .contact-form textarea:focus {
  border-color: rgba(212, 0, 0, 0.78);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(212, 0, 0, 0.14);
}

:root[data-theme="light"] .bottom-download-section {
  border-top-color: rgba(17, 17, 17, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 0, 0, 0.12), rgba(212, 0, 0, 0) 38%),
    #f8f4ef;
  color: #111;
}

:root[data-theme="light"] .site-footer {
  border-top-color: rgba(17, 17, 17, 0.12);
  background: #f3eee6;
  color: #111;
}

:root[data-theme="light"] .footer-meta {
  color: rgba(17, 17, 17, 0.62);
}

:root[data-theme="light"] .footer-meta a {
  color: rgba(17, 17, 17, 0.85);
}

:root[data-theme="light"] .footer-credit {
  border-bottom-color: rgba(17, 17, 17, 0.55);
}
