:root {
  --bg: #080B0F;
  --surface: #111820;
  --card: #202A35;
  --line: #2e3946;
  --text: #F5F7FA;
  --muted: #a8b3c2;
  --red: #D71920;
  --red-hi: #ED2A33;
  --cyan: #31A7FF;
  --amber: #FFB000;
  /* Deep-card system — matches the studio scroll sections (.st-*) so the whole
     page shares one branding: near-black cards defined by border + depth shadow. */
  --card-deep: #0e141c;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, .5);
  --shadow-float: 0 40px 90px rgba(0, 0, 0, .6);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 1rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul,
ol {
  margin: 0;
  padding: 0;
}

main > section:not(.hero):not(.trust-strip),
.site-footer {
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem;
}

main > section:not(.hero):not(.trust-strip) > *,
.trust-strip,
.site-footer {
  max-width: 1080px;
  margin-inline: auto;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .8em 1.4em;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-hi);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border-color: rgba(245, 247, 250, .28);
}

.btn-secondary:hover {
  background: rgba(245, 247, 250, .08);
  border-color: rgba(245, 247, 250, .5);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(215, 25, 32, .7);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: .75rem 1.25rem;
  background: rgba(8, 11, 15, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.brand img {
  height: 30px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}

.site-nav > a:not(.btn) {
  display: none;
  padding: .6rem .4rem;
  transition: color .18s ease;
}

.site-nav > a:not(.btn):hover {
  color: var(--text);
}

.site-nav .btn {
  min-height: 2.45rem;
  padding: .68em 1em;
  white-space: nowrap;
}

.hero {
  display: grid;
  justify-items: center;
  gap: 1.35rem;
  padding: clamp(4.75rem, 11vw, 7.5rem) 1.25rem clamp(3rem, 8vw, 5.75rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  text-align: center;
  background: linear-gradient(180deg, #0c1219 0%, var(--bg) 60%, #05080c 100%);
}

/* Ambient glows live on drifting layers so the hero breathes instead of sitting
   static. They slowly wander + swell; killed under reduced-motion (below).
   z-index 1 sits them ABOVE the template canvas (z 0) so they read as light
   falling across the real paint template, and below the content (z 2). */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero::before {
  width: 48rem;
  height: 48rem;
  top: -16rem;
  left: -10rem;
  background: radial-gradient(circle, rgba(215, 25, 32, .30), transparent 60%);
  animation: hero-drift-a 26s ease-in-out infinite alternate;
}

.hero::after {
  width: 42rem;
  height: 42rem;
  top: -12rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(49, 167, 255, .20), transparent 60%);
  animation: hero-drift-b 34s ease-in-out infinite alternate;
}

@keyframes hero-drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3.5rem, 2.5rem, 0) scale(1.14); }
}

@keyframes hero-drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.06); }
  to   { transform: translate3d(-3rem, 2rem, 0) scale(.9); }
}

/* Template canvas — the hero opens on the REAL paint template (the blank UV
   sheet), ghosted + lit so it reads as a technical backdrop under the headline.
   Deliberately faint + the BLANK template only: the template→painted reveal is
   the pinned scroll story just below, so this sets the stage without spoiling
   it. Sits at z 0 (under the glows + content); it's the last child of .hero
   so the content load-in stagger (nth-child 1..6) is unaffected. */
.hero > .hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  overflow: hidden;
  pointer-events: none;
  animation: none;
  -webkit-mask-image: radial-gradient(135% 100% at 50% 34%, #000 34%, transparent 82%);
          mask-image: radial-gradient(135% 100% at 50% 34%, #000 34%, transparent 82%);
}

.hero-canvas-img {
  position: absolute;
  inset: -12%;
  background: url("paint/template-blank.webp") center / cover no-repeat;
  filter: saturate(.44) brightness(.48) contrast(1.03);
  opacity: .6;
  transform: scale(1.06);
  animation: hero-canvas-drift 52s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-canvas-drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-2.5%, -2%, 0); }
}

/* Darkening veil keeps the headline crisp over the busy template. */
.hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(78% 62% at 50% 40%, rgba(5, 8, 12, .86), rgba(5, 8, 12, .46) 62%, rgba(5, 8, 12, .9)),
    linear-gradient(180deg, rgba(5, 8, 12, .55), rgba(5, 8, 12, .2) 30%, rgba(5, 8, 12, .88));
}

/* Soft cyan sweep — a slow "scan" across the template, reading as Ailivery
   reading the real template. Very low contrast; killed under reduced-motion. */
.hero-canvas::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 42%;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(49, 167, 255, .1) 46%, rgba(150, 210, 255, .17) 50%, rgba(49, 167, 255, .1) 54%, transparent);
  transform: skewX(-14deg);
  filter: blur(6px);
  animation: hero-scan 13s ease-in-out infinite;
}

@keyframes hero-scan {
  0%   { transform: translateX(0) skewX(-14deg); opacity: 0; }
  9%   { opacity: 1; }
  30%  { opacity: 1; }
  44%  { transform: translateX(340%) skewX(-14deg); opacity: 0; }
  100% { transform: translateX(340%) skewX(-14deg); opacity: 0; }
}

/* Content sits above the glows + template and fades up on load, top-to-bottom. */
.hero > * {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  animation: hero-in .7s cubic-bezier(.2, .7, .2, 1) both;
}

.hero > *:nth-child(1) { animation-delay: .05s; }
.hero > *:nth-child(2) { animation-delay: .13s; }
.hero > *:nth-child(3) { animation-delay: .21s; }
.hero > *:nth-child(4) { animation-delay: .29s; }
.hero > *:nth-child(5) { animation-delay: .37s; }
.hero > *:nth-child(6) { animation-delay: .45s; }
.hero > *:nth-child(7) { animation-delay: .53s; }
.hero > *:nth-child(8) { animation-delay: .61s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero h1 {
  max-width: 820px;
}

.hero .subhead {
  max-width: 680px;
  color: rgba(245, 247, 250, .78);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

/* Sim names sit above the CTA so a visitor qualifies themselves before they
   click. They were previously only in the FAQ and footer, which is late for the
   single question every sim racer arrives with. */
.hero-sims {
  max-width: 640px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.7;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: .2rem;
}

.hero-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.hero-stat[hidden] {
  display: none;
}

.hero-stat-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  animation: hero-stat-pulse 1.6s ease-in-out infinite;
}

.hero-stat-count strong {
  color: var(--text);
  font-weight: 800;
}

.hero-stat-join {
  color: var(--cyan);
}

@keyframes hero-stat-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .3; transform: scale(.78); }
}

/* Hero proof strip — four real liveries sit directly under the CTA so the first
   screen shows the product, not only a claim about it. Deliberately small: the
   full wall is section 03, this is a thumbnail of the promise. Unlike
   .hero-stat (which stays hidden until the live count loads) this always
   renders, so the hero never ships with zero proof. */
.hero-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-top: 1.15rem;
}

.hero-proof-strip {
  display: flex;
  justify-content: center;
  gap: .5rem;
}

/* Square: the source art is a 640×640 template sheet, so a 16:9 crop slices a
   meaningless band out of the middle. Full square reads as a whole livery. */
.hero-proof-strip img {
  width: clamp(70px, 20vw, 104px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

.hero-proof-cap {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Scroll cue — anchors the empty lower hero and invites the (long) scroll story. */
.hero-scrollcue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  margin-top: clamp(1.5rem, 4vh, 3rem);
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.hero-scrollcue:hover,
.hero-scrollcue:focus-visible {
  color: var(--text);
}

.hero-scrollcue-chev {
  width: 1.1rem;
  height: 1.1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: hero-bob 1.8s ease-in-out infinite;
}

@keyframes hero-bob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .5; }
  50% { transform: rotate(45deg) translate(2px, 2px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stat-dot,
  .hero::before,
  .hero::after,
  .hero > *,
  .hero-canvas-img,
  .hero-canvas::before,
  .hero-scrollcue-chev { animation: none; }
  .hero > * { opacity: 1; transform: none; }
}

.hero-media {
  margin-top: 1.35rem;
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(32, 42, 53, .35);
}

.hero-video {
  width: 100%;
  /* Neutralize the height="1080" presentational hint from the <video> tag.
     Without this the element keeps a definite 1080px height, which makes the
     aspect-ratio rule below inert and renders the video at full intrinsic
     height (overflowing the phone screen). height:auto lets aspect-ratio
     drive the box on both phone (4/3) and desktop (16/9). */
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: var(--surface);
  object-fit: cover;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
  padding: 1.1rem 1.25rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.trust-strip span,
.trust-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-deep);
}

.trust-strip a {
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.trust-strip a:hover {
  color: var(--text);
  border-color: var(--red);
  transform: translateY(-1px);
}

/* When the supported-sims strip is followed by the feature strip, keep them snug. */
.trust-strip + .trust-strip {
  padding-top: 0;
}

.value-props,
.examples,
.pricing,
.get-started,
.faq {
  background: var(--bg);
}

.how-it-works,
.features {
  background: var(--surface);
}

.card-grid,
.gallery,
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  list-style: none;
}

.gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card,
.steps li,
.feature-row,
.faq details {
  background: var(--card-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.card,
.steps li {
  padding: 1.5rem;
}

.card:hover,
.steps li:hover,
.feature-row:hover {
  border-color: #3b4757;
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}

.card p,
.steps p,
.feature-row p {
  margin-top: .45rem;
  color: var(--muted);
}

.steps {
  counter-reset: steps;
}

.steps li {
  display: grid;
  gap: .75rem;
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
}

.features {
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/landing/ailivery-hero-car-blended.webp") center / cover no-repeat;
  opacity: .14;
  pointer-events: none;
}

.features::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 32, .58) 0%, rgba(17, 24, 32, .86) 100%);
  pointer-events: none;
}

.features > * {
  position: relative;
  z-index: 1;
}

.features h2 {
  margin-bottom: 1.75rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-row {
  padding: 1.25rem 1.4rem;
}

.pricing {
  text-align: center;
}

.pricing-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}

.pricing-sub strong {
  color: var(--text);
}

/* Payment-provider changeover: prices stay up, the purchase action is temporarily withheld. */
.pricing-paused {
  max-width: 560px;
  margin: 0.9rem auto 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-paused strong {
  color: var(--text);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 1.75rem auto 0;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: 1.85rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-deep);
  box-shadow: var(--shadow-card);
}

.price-card--featured {
  border: 1px solid var(--red);
  box-shadow: 0 26px 64px rgba(215, 25, 32, .22), var(--shadow-card);
}

.price-tag {
  position: absolute;
  top: -.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .72rem;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(215, 25, 32, .35);
}

.price-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.price-amount {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
}

/* The buyer's unit is a finished livery, not a credit. This is the headline
   number under the price; the credit/render maths drops to a muted footnote
   (.price-credits) so nobody has to convert three units in their head. */
.price-liveries {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.35;
}

.price-liveries strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
}

.price-credits {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.4;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  margin: .15rem 0 .4rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  color: #fff;
  background: var(--red);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.price-feats {
  width: 100%;
  margin: .35rem 0 1rem;
  padding: .9rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-align: left;
}

.price-feats li {
  position: relative;
  list-style: none;
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.4;
}

.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.02rem;
  color: var(--cyan);
  font-weight: 800;
}

.price-feats strong {
  color: var(--text);
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Shared inclusions block. Spelling out everything a pack carries makes the
   work visible at the price — the cards alone read thinner than the product
   actually is. Shared rather than repeated per card so the grid stays short
   on phones. */
/* No max-width here on purpose: the section-child rule near the top of this
   file already caps every direct child at 1080px, which is what .price-grid
   actually resolves to. Setting 900px here would leave this box narrower than
   the cards it belongs to. */
.price-included {
  margin: 1.5rem auto 0;
  padding: 1.4rem 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-deep);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.price-included-h {
  margin-bottom: .95rem;
  color: var(--text);
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}

.price-included ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .5rem 1.5rem;
}

.price-included li {
  position: relative;
  list-style: none;
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.price-included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -.02rem;
  color: var(--cyan);
  font-weight: 800;
}

.price-included-note {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

.faq-more {
  margin: 1.5rem auto 0;
  text-align: center;
}

.faq-more a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

.faq-more a:hover {
  text-decoration: underline;
}

.get-started {
  text-align: center;
}

.get-started > p {
  max-width: 600px;
  margin: .6rem auto 0;
  color: var(--muted);
}

.get-started-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.4rem;
}

/* Conversion CTA right after the wall-of-liveries climax — one big button so
   high-intent users act before the page settles into detail. Red-glow band +
   top/bottom rules punctuate it against its neighbours. */
.cta-mid {
  text-align: center;
  background:
    radial-gradient(circle at 50% -20%, rgba(215, 25, 32, .28), transparent 24rem),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-mid h2 {
  max-width: 20ch;
}

/* Loss line: names what standing still costs, which lands harder than another
   restatement of the gain. */
.cta-mid-lead {
  max-width: 46ch;
  margin: .9rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.55;
}

/* The big button: larger than the site default, with a red glow that lifts on
   hover. box-shadow is in its own transition since the base .btn omits it. */
.cta-mid-btn {
  margin-top: 1.9rem;
  padding: 1.05em 2.5em;
  font-size: 1.15rem;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(215, 25, 32, .35);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.cta-mid-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(215, 25, 32, .45);
}

.faq-list {
  display: grid;
  gap: .75rem;
  max-width: 820px;
  margin: 1.75rem auto 0;
}

.faq details {
  padding: 1rem 1.15rem;
  text-align: left;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 auto;
  color: var(--red);
  font-size: 1.25rem;
  line-height: 1;
  content: "⌄";
  transition: transform .18s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details p {
  padding-top: .5rem;
  color: var(--muted);
}

.site-footer {
  display: grid;
  gap: 1.5rem;
  max-width: none;
  color: rgba(245, 247, 250, .82);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.site-footer > * {
  width: min(100%, 1080px);
  margin-inline: auto;
}

.footer-brand strong {
  color: var(--text);
}

.footer-brand p,
.footer-disclaimer {
  color: var(--muted);
}

.footer-col {
  display: grid;
  gap: .35rem;
}

.footer-col strong {
  color: var(--text);
}

.footer-col a {
  color: var(--muted);
  transition: color .18s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  color: var(--muted);
  transition: color .18s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  color: var(--text);
}

.footer-disclaimer {
  font-size: .88rem;
}

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

@media (min-width: 720px) {
  .site-header {
    padding-inline: max(1.25rem, calc((100vw - 1080px) / 2 + 1.25rem));
  }

  .site-nav {
    gap: .8rem;
  }

  .site-nav > a:not(.btn) {
    display: inline-flex;
  }

  /* Tightened from 8rem: the hero now carries a sims line and a proof strip, and
     on a 800px-tall desktop the old top padding pushed the proof caption under
     the cookie banner on first visit. */
  .hero {
    gap: 1.15rem;
    padding-top: clamp(5.5rem, 10vw, 6rem);
  }

  .hero-proof {
    margin-top: .8rem;
  }

  /* Uncapped so the five sim names sit on one line here; the 640px cap that keeps
     them readable on narrow screens forces a needless second line at this width. */
  .hero-sims {
    max-width: none;
  }

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

  .site-footer {
    /* Full-width bar: the brand block and every link column sit on a single
       row that spans the whole width, spaced apart, then the disclaimer runs
       full-width beneath. Works for both the five-column landing footer and
       the four-column content-page footer. */
    padding-inline: clamp(1.5rem, 5vw, 5rem);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem 2rem;
    align-items: start;
  }

  .footer-brand {
    /* Leftmost column: wordmark, tagline and social icons. */
    flex: 0 1 260px;
  }

  .footer-brand p {
    max-width: 40ch;
  }

  .footer-col {
    flex: 0 1 auto;
  }

  .site-footer > * {
    width: auto;
  }

  .footer-disclaimer {
    flex-basis: 100%;
  }
}

/* Phones: give the hero a 4:3 frame so the centered explainer fills the width
   instead of sitting small inside a short 16:9 letterbox. landing.js swaps in
   pre-cropped 4:3 sources; object-fit: cover also center-crops the 16:9 poster
   (and the desktop file, for no-JS) to the same safe region. */
@media (max-width: 719px) {
  .hero-video {
    aspect-ratio: 4 / 3;
  }

  /* Tighten the hero stack so the CTA *and* the proof strip below it both clear
     the cookie banner (fixed, ~150px tall, 20px off the bottom) on a 812px
     phone. Without this the proof caption sits under the banner on first visit. */
  .hero {
    gap: 1rem;
    padding-top: 3.5rem;
  }

  /* Wide mono tracking wraps five sim names onto three lines here. Tighten it to
     two so the sims list costs the hero a line, not two. */
  .hero-sims {
    font-size: .6rem;
    letter-spacing: .08em;
    line-height: 1.6;
  }

  .hero-proof {
    margin-top: .7rem;
  }

  /* A square template cover-cropped into a tall portrait hero collapses to a
     muddy centre slice. On phones, lift the template (brighter, less veil) so
     it still reads as the real paint sheet, while keeping the centre dark
     enough for the headline. */
  .hero-canvas-img {
    background-position: center 44%;
    filter: saturate(.5) brightness(.64) contrast(1.05);
    opacity: .74;
  }

  .hero-canvas::after {
    background:
      radial-gradient(94% 44% at 50% 45%, rgba(5, 8, 12, .84), rgba(5, 8, 12, .5) 60%, rgba(5, 8, 12, .68)),
      linear-gradient(180deg, rgba(5, 8, 12, .42), rgba(5, 8, 12, .12) 32%, rgba(5, 8, 12, .8));
  }
}

/* ── Old-way-vs-Ailivery comparison ─────────────────────────────── */
.compare {
  background: var(--surface);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.compare-col {
  padding: 1.6rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card-deep);
  box-shadow: var(--shadow-card);
}

.compare-col h3 {
  margin-bottom: 1rem;
}

.compare-col--new {
  border-color: var(--red);
  box-shadow: 0 24px 60px rgba(215, 25, 32, .18), var(--shadow-card);
}

.compare-col ul {
  display: grid;
  gap: .65rem;
  list-style: none;
}

.compare-col li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
  line-height: 1.45;
}

.compare-col li::before {
  position: absolute;
  left: 0;
  top: -.02rem;
  font-weight: 800;
}

.compare-col--old li::before {
  content: "\2715"; /* ✕ */
  color: #7c8794;
}

.compare-col--new li::before {
  content: "\2713"; /* ✓ */
  color: var(--cyan);
}

.compare-col--new li {
  color: rgba(245, 247, 250, .9);
}

/* ── Bring-your-design spotlight ────────────────────────────────── */
.spotlight {
  text-align: center;
}

.spotlight .eyebrow {
  display: block;
  margin-bottom: .55rem;
}

.spotlight-lead {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.12rem);
}

.spotlight-cta {
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* ══════════════ Studio scroll story: chat → paint → wall ══════════════ */
.st { position: relative; }
.st .eyebrow { display: block; margin-bottom: .7rem; }
.st-h { max-width: none; margin: 0 0 .7rem; text-align: left; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.08; }
.st-lead { max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.1rem); }
/* Cost-of-doing-it-yourself line. Aimed at the Photoshop evening, never at
   painters — see the marketing guardrail. */
.st-loss { max-width: 44ch; margin-top: .9rem; color: var(--text); font-size: clamp(.92rem, 1.3vw, 1rem); font-weight: 600; }

/* Sticky pinned stage (chat + paint). min-height = scroll-travel: the bigger it
   is, the longer each scene stays pinned and the slower its animation plays. */
.st-chat, .st-paint { min-height: 360vh; }
.st-chat .st-stick, .st-paint .st-stick {
  position: sticky; top: 0; min-height: 100vh;
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(1.5rem, 4vw, 3.2rem); align-items: center;
}
.st-side { align-self: center; }

/* Shared studio-window chrome */
.st-frame {
  width: 100%; max-width: 560px; justify-self: center;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: #0e141c; box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
}
.st-bar { display: flex; align-items: center; gap: .6rem; padding: .6rem .85rem; background: #0b1017; border-bottom: 1px solid #1c2530; }
.st-dots { display: flex; gap: 6px; }
.st-dots i { width: 9px; height: 9px; border-radius: 50%; background: #33414f; }
.st-mk { height: 15px; width: auto; margin-left: .15rem; }
.st-title { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .66rem; letter-spacing: .04em; color: var(--muted); }
.st-pill { margin-left: auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .56rem; font-weight: 700; letter-spacing: .16em; color: var(--cyan); border: 1px solid rgba(49, 167, 255, .35); background: rgba(49, 167, 255, .08); border-radius: 20px; padding: .24rem .6rem; }
.st-pill.is-gen { color: var(--amber); border-color: rgba(255, 176, 0, .4); background: rgba(255, 176, 0, .1); animation: st-pulse 1.2s ease-in-out infinite; }
@keyframes st-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }

/* Chat body + messages */
.st-chat-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem; height: 420px; max-height: 54vh; overflow: hidden; background: radial-gradient(120% 80% at 50% 0%, #131b25, #0b1017); }
.st-msg { display: flex; align-items: flex-end; gap: .5rem; max-width: 88%; opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.st-msg.in { opacity: 1; transform: none; }
.st-msg p { margin: 0; padding: .6rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.4; }
.st-msg--me { align-self: flex-end; }
.st-msg--me p { background: linear-gradient(180deg, rgba(215, 25, 32, .22), rgba(215, 25, 32, .12)); border: 1px solid rgba(237, 42, 51, .35); border-bottom-right-radius: 4px; color: #ffe9ea; }
.st-msg--ai p { background: #1b2531; border: 1px solid #26313f; border-bottom-left-radius: 4px; color: var(--text); }
.st-av { width: 22px; height: 22px; border-radius: 50%; padding: 3px; background: #0b1017; border: 1px solid #26313f; flex: none; }
.st-typing { display: inline-flex; gap: 3px; margin-left: .4rem; vertical-align: middle; }
.st-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); animation: st-type 1s ease-in-out infinite; }
.st-typing i:nth-child(2) { animation-delay: .15s; }
.st-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes st-type { 0%, 100% { opacity: .3; transform: translateY(0) } 50% { opacity: 1; transform: translateY(-3px) } }

/* Paint HUD */
.st-hud { margin-top: 1.5rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.st-pct { font-size: 2.8rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.st-pct small { font-size: 1rem; color: var(--muted); margin-left: .1rem; }
.st-plab { text-transform: uppercase; letter-spacing: .22em; font-size: .62rem; color: var(--muted); margin-top: .15rem; }
.st-stages { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.st-stages li { display: flex; align-items: center; gap: .6rem; font-size: .78rem; color: #5f6b7a; transition: color .3s; }
.st-stages b { font-size: .68rem; border: 1px solid var(--line); border-radius: 5px; padding: .12rem .34rem; color: #5f6b7a; transition: all .3s; }
.st-stages li.on { color: var(--text); }
.st-stages li.on b { background: var(--red); border-color: var(--red); color: #fff; }

/* Paint canvas */
.st-cart { position: relative; aspect-ratio: 1; overflow: hidden; background: #05070a; }
.st-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-painted { clip-path: polygon(0 0, calc(var(--p, 0) * 118%) 0, calc(var(--p, 0) * 118% - 14%) 100%, 0 100%); }
.st-edge { position: absolute; top: -4%; bottom: -4%; width: 7%; left: calc(var(--p, 0) * 118% - 12%); opacity: var(--edge, 0); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), rgba(49, 167, 255, .5), transparent); filter: blur(1.5px); transform: skewX(-8deg); mix-blend-mode: screen; pointer-events: none; }
.st-stamp { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: .45rem; opacity: var(--done, 0); transform: scale(calc(.85 + .15 * var(--done, 0))); transform-origin: bottom right; }
/* width:auto is load-bearing: the img carries intrinsic width/height attributes
   (Lighthouse wants them, and they reserve layout), and without this the 346px
   width attribute wins and stretches the mark. Same reason .brand img and
   .st-mk pair their height with width:auto. */
.st-stamp img { height: 24px; width: auto; }
.st-stamp b { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .56rem; letter-spacing: .16em; color: #fff; background: var(--red); padding: .26rem .5rem; border-radius: 5px; }

/* Wall — pinned "hang" like chat/paint; the gallery drifts through the pin */
.st-wall { overflow-x: clip; min-height: 300vh; } /* pin travel; clip contains shard bleed (no scroll container → sticky-safe) */
.st-wall-stick {
  position: sticky; top: 0; height: 100vh; min-height: 560px; box-sizing: border-box;
  display: flex; flex-direction: column;
  padding: clamp(3.5vh, 6vh, 82px) 0 clamp(2.5vh, 4vh, 54px);
  gap: clamp(1rem, 2.4vh, 1.7rem);
}
.st-wall-head { flex: 0 0 auto; text-align: left; margin: 0; }
.st-gallery-vp {
  flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 85%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 11%, #000 85%, transparent 100%);
}
.st-gallery { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; will-change: transform; }
.st-col { display: flex; flex-direction: column; gap: 16px; will-change: transform; }
.st-col--down { margin-top: 3.4rem; }
.st-tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0d1219; box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
.st-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem .6rem .5rem; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .56rem; letter-spacing: .13em; color: var(--text); background: linear-gradient(0deg, rgba(6, 9, 13, .94), transparent); }
.st-cap span:last-child { color: var(--cyan); }
.st-shard { position: absolute; height: 50px; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); opacity: .9; z-index: 4; pointer-events: none; will-change: transform; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .4)); }
.st-chip { position: absolute; z-index: 5; pointer-events: none; will-change: transform; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .58rem; font-weight: 700; letter-spacing: .15em; color: var(--bg); padding: .38rem .58rem; border-radius: 6px; box-shadow: 0 10px 22px rgba(0, 0, 0, .4); }

/* Reveal-on-scroll utility */
.st-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.st-reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 860px) {
  /* Stacked pin: center heading + card as ONE group. Without align-content the
     single-column grid rows stretch to fill 100vh and align-items:center then
     splits them — heading floats high, card sinks low with a dead gap between. */
  .st-chat .st-stick, .st-paint .st-stick { grid-template-columns: 1fr; gap: 1.2rem; align-content: center; }
  .st-side { text-align: center; }
  .st-h, .st-lead, .st-loss { text-align: center; margin-inline: auto; }
  .st-hud { display: none; }
  .st-chat, .st-paint { min-height: 300vh; }

  /* Chat card fits its whole thread on phones. Was a fixed 420px while the
     wrapped bubbles run ~500px, so scrollTop=scrollHeight pushed the first
     message off the top. Auto height (capped to the viewport) + tighter bubbles
     keep every message in view. */
  .st-chat-body { height: auto; max-height: 60vh; gap: .5rem; padding: .9rem; }
  .st-msg { max-width: 92%; }
  .st-msg p { font-size: .85rem; padding: .5rem .75rem; }

  /* Wall hangs on mobile too, like chat + paint (was unpinned). The desktop
     pinned CSS carries over as-is; overflow-x:clip on .st-wall still contains
     any shard bleed. Head only needs re-centering. */
  .st-wall-head { text-align: center; }
  .st-wall-head .st-h, .st-wall-head .st-lead { margin-inline: auto; }
}
@media (max-width: 760px) {
  .st-gallery { grid-template-columns: repeat(2, 1fr); }
  .st-col { display: contents; }
  .st-col--down { margin-top: 0; }
  .st-chip { font-size: .5rem; }
  .st-shard { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .st-chat .st-stick, .st-paint .st-stick { position: static; min-height: 0; }
  .st-chat, .st-paint { min-height: 0; }
  .st-chat-body { height: auto; max-height: none; overflow: visible; }
  .st-msg, .st-reveal { opacity: 1 !important; transform: none !important; }
  .st-painted { clip-path: none !important; }
  .st-edge, .st-typing { display: none !important; }
  .st-stamp { opacity: 1 !important; transform: none !important; }
  .st-wall { min-height: 0; }
  .st-wall-stick { position: static; height: auto; min-height: 0; display: block; padding: 0; }
  .st-gallery-vp { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .st-gallery, .st-col, .st-shard, .st-chip { transform: none !important; }
}
