/* ============================================================
   ProPlacard.ai — landing page styles
   Brand: Portable John (Wix dark theme)
   ============================================================ */

:root {
  --bg:        #141414;
  --bg-2:      #1a1a1a;
  --surface:   #1d1d1d;
  --surface-2: #232323;
  --line:      #2a2a2a;
  --line-2:    #3a3a3a;
  --text:      #f5f5f3;
  --text-dim:  #b5b5b0;
  --text-mute: #8f8f8f;
  --black:     #0b0b0b;
  --yellow:    #FFE135;
  --yellow-deep: #f5cf00;
  --teal:      #3BD3C1;
  --white:     #ffffff;
  --max:       1180px;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4), 0 2px 6px rgba(0,0,0,.35);
  --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 16px 40px rgba(0,0,0,.5);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--white); }

::selection { background: var(--yellow); color: var(--black); }

h1, h2, h3 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 .6em 0;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em 0; color: var(--text-dim); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.container.center { text-align: center; }

.sep { color: var(--line-2); padding: 0 .25em; }
.dot { color: var(--line-2); padding: 0 .35em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 30;
  /* Solid-ish background on mobile — blurred backdrop on desktop only.
     backdrop-filter on a tall sticky element is the #1 cause of iOS Safari
     checkerboarding (page goes blank while scrolling fast), because Safari
     must re-rasterize the blur on every frame as content moves beneath.
     We also avoid permanent will-change here for the same memory-pressure
     reason; the .is-hidden transform animation is rare and short, so the
     compositor can promote on demand without us holding a layer forever. */
  background: rgba(20,20,20,.94);
  border-bottom: 1px solid var(--line);
  transition: transform .3s ease;
}
@media (min-width: 768px) and (hover: hover) {
  .site-header {
    background: rgba(20,20,20,.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
  }
}
.site-header.is-hidden {
  transform: translateY(-100%);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo { height: 72px; width: 72px; border-radius: 50%; flex-shrink: 0; }
.footer-logo { height: 140px; width: 140px; border-radius: 50%; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em;
  color: var(--white);
}
.brand-tm {
  font-size: .55em; font-weight: 600; vertical-align: super;
  color: var(--yellow); margin-left: 1px;
}
.brand-dot { color: var(--yellow); }
.brand-sub {
  font-size: .72rem; color: var(--text-mute);
  font-family: var(--mono);
  text-transform: uppercase; letter-spacing: .06em;
}
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a {
  font-size: .95rem; font-weight: 500; color: var(--text-dim);
  transition: color .15s ease;
}
.primary-nav a:hover { color: var(--white); }
.primary-nav a.nav-link-strong { color: var(--white); font-weight: 600; }
/* Yellow button in nav must keep its black text — override .primary-nav a inherit */
.primary-nav a.btn-yellow,
.primary-nav a.btn-yellow:hover {
  color: var(--black);
  font-weight: 600;
}

.nav-toggle { display: none; }

/* (Removed cart drawer transform override — was blocking the SDK's close
   animation. Nav button now triggers the SDK's own toggle, which manages
   open/close cleanly without our intervention.) */

/* ============================================================
   NAV CART LINK — opens the Shopify cart drawer.
   Sits inside .primary-nav so it shows in the hamburger on mobile.
   ============================================================ */
.nav-cart-link {
  /* Hidden until cart count > 0. JS flips this on with the .has-items class. */
  display: none;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color .15s ease, border-color .15s ease;
}
.nav-cart-link.has-items { display: inline-flex; }
.nav-cart-link:hover { color: var(--white); border-color: var(--text-dim); }
.nav-cart-icon { display: inline-flex; }
.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--yellow);
  color: #0b0b0b;
  font-family: var(--mono);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: 0;
  margin-left: 4px;
}
.nav-cart-count[hidden] { display: none; }
@media (max-width: 720px) {
  .nav-cart-link {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    border-color: var(--line-strong);
  }
  .nav-cart-count {
    height: 22px;
    min-width: 22px;
    font-size: .8rem;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
  font-family: var(--font);
  text-decoration: none;
}
.btn-yellow {
  background: var(--yellow); color: var(--black);
  border-color: var(--yellow);
  box-shadow: 0 6px 22px rgba(255,225,53,.18);
}
.btn-yellow:hover {
  background: var(--yellow-deep); border-color: var(--yellow-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255,225,53,.28);
  color: var(--black);
}
.btn-ghost {
  background: transparent; color: var(--white);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-sm  { padding: 7px 14px; font-size: .82rem; }
.btn-lg  { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(255,225,53,.12), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(59,211,193,.08), transparent 65%),
    var(--bg);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--yellow); color: var(--black);
  padding: 6px 12px; border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 600;
  width: auto;
  max-width: 100%;
  white-space: nowrap;   /* keep on one line on desktop */
}
.eyebrow-flag {
  width: 22px; height: auto;
  margin: 0 4px 0 6px;
  border-radius: 2px;
  vertical-align: middle;
  box-shadow: 0 1px 0 rgba(0,0,0,.15);
  flex-shrink: 0;
}
.hero-copy h1 { margin-bottom: 18px; }
.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 560px;
}
.tagline {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: .04em;
  margin: 18px 0 0;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.trust-line {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--text-mute);
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* hero visual card — white product-photography frame to match the placard image bg */
.hero-visual { position: relative; }
.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #ededeb 100%);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.55),
    0 10px 20px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.hero-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f0 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 6px;
  background: rgba(11,11,11,.92);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) and (hover: hover) {
  .hero-tag {
    background: rgba(11,11,11,.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}
.tag-pill {
  display: inline-block;
  background: var(--yellow); color: var(--black);
  padding: 3px 10px; border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  font-family: var(--mono); letter-spacing: .05em;
  width: fit-content;
}
.tag-id {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .04em;
  color: var(--text-dim);
}
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.meta-item {
  padding: 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.meta-item:last-child { border-right: 0; }
.meta-label {
  display: block;
  font-family: var(--mono); font-size: .65rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-mute); margin-bottom: 4px;
}
.meta-value {
  font-weight: 700; color: var(--white); font-size: .95rem;
  display: inline-flex; align-items: center; gap: 6px;
  justify-content: center;
}
.meta-flag {
  width: 20px; height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,.2);
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
/* Sections that should use teal eyebrow for contrast against the yellow ones */
.built-by .section-eyebrow,
.future .section-eyebrow,
.use-cases .section-eyebrow,
.faq .section-eyebrow {
  color: var(--teal);
}

/* Future / Portable John Intelligence: invert the typical hierarchy.
   The brand line "Portable John Intelligence" is the headline; the H2 is the
   smaller supporting tagline beneath it. */
.future .section-eyebrow {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--teal);
  margin-bottom: 6px;
  line-height: 1.1;
}
.future h2 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0;
  margin-bottom: 22px;
}
.future h2.future-tagline {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  letter-spacing: 0;
  color: var(--text-dim);
  margin: 0 0 22px;
  line-height: 1.3;
  text-transform: none;
}
.section-sub { color: var(--text-dim); max-width: 640px; margin: 0 auto; }

.problem { background: var(--bg); }
.problem h2 { margin-bottom: 24px; }
.problem p { font-size: 1.1rem; color: var(--text-dim); }
.problem .emphasis {
  margin-top: 24px;
  font-size: 1.35rem; font-weight: 700; color: var(--white);
  border-left: 3px solid var(--yellow);
  padding-left: 16px;
}
.hl-no {
  color: var(--teal);
  font-weight: 800;
  font-size: 1.15em;
  letter-spacing: -0.01em;
}
.hl-matters {
  color: var(--yellow) !important;
  font-weight: 800 !important;
  font-size: 1.25em !important;
  letter-spacing: -0.01em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
/* HOW IT WORKS — white section. The animation lives directly on the white,
   then a black "why this matters" card sits right below it for the boomer /
   operator question: "okay great — now what?" */
.how {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f1 100%);
  color: #1a1a1a;
  padding-top: 56px;
  padding-bottom: 64px;
}
.how .section-head { margin-bottom: 44px; }
.how .section-eyebrow { color: #5a5a5a; }
.how h2 { color: #0b0b0b; }
.how-sub {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: #1a1a1a;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.45;
}
.how-sub-strong {
  display: block;
  margin: 16px auto 0;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.1vw, 1.4rem);
  letter-spacing: .04em;
  color: #0b0b0b;
  text-transform: uppercase;
}
/* Animated H2 — TWIST/SWAP/LOCK pulse yellow at their phase, DONE pulses teal.
   Sits in the heading slot; rest state matches the dark H2 color so the title
   is fully readable even between highlight phases. Sized up so the section
   reads like the hero it is. */
.how-h2 {
  display: flex; gap: .35em;
  justify-content: center; flex-wrap: wrap;
  line-height: 1;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}
.how .section-eyebrow {
  font-size: .92rem;
  letter-spacing: .22em;
}

/* ============================================================
   CONVEYOR ANIMATION — placards twist-locking into the base
   Three placards slide in from the right, rotate 90° as they reach
   the centered backplate, hold for a beat, then slide off to the left.
   Cycle: 9 seconds total (3s per placard).
   ============================================================ */
.conveyor {
  position: relative;
  width: 100%; max-width: 1080px;
  height: 400px;
  margin: 0 auto 0;
  /* Section is white — conveyor is transparent so animation lives directly
     on the section's white background. overflow:visible lets the placard's
     arc lift extend up into the header gap; the rings are tuned small enough
     that they never spill onto the spec readout below. */
  background: transparent;
  isolation: isolate;
  overflow: visible;
  border-radius: 22px;
}
.conveyor::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  /* INVERTED mask — grid appears only at the OUTER edges, fully transparent
     across the center where the animation plays. */
  mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 45%, black 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 0%, transparent 45%, black 90%);
  pointer-events: none;
  z-index: 0;
}
/* "Ding!" check badge — pops in each time a placard finishes its lock-twist.
   Hidden by default, scales in with a subtle bounce at the two lock moments
   in the 16-second cycle (at 50% female-lock and 100%/0% male-lock). */
/* Pulse rings — start JUST OUTSIDE the baseplate (~290px) and expand outward
   as a wave at each lock moment. Two staggered rings = a softer ripple. */
/* Pulse rings — bold pond-ripple. Three staggered rings, thicker borders
   and richer teal so the press effect reads clearly on the white stage. */
.conveyor-pulse {
  position: absolute;
  left: 50%; top: 50%;
  width: 220px; height: 220px;
  margin-left: -110px;
  margin-top: -110px;
  border-radius: 50%;
  border: 3px solid rgba(59,211,193,0);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  animation: lock-pulse 16s ease-out infinite;
}
.conveyor-pulse-1 { animation-delay: 0s; }
.conveyor-pulse-2 { animation-delay: 0.22s; border-width: 2.5px; }
.conveyor-pulse-3 { animation-delay: 0.44s; border-width: 2px; }

@keyframes lock-pulse {
  /* Female lock at 50% — tighter ripple so rings don't overrun the spec readout below */
  0%, 47%   { transform: scale(.92); opacity: 0;   border-color: rgba(59,211,193,0); }
  50%       { transform: scale(1.0);  opacity: 1;   border-color: rgba(59,211,193,.95); }
  55%       { transform: scale(1.15); opacity: .7;  border-color: rgba(59,211,193,.7); }
  60%       { transform: scale(1.28); opacity: .3;  border-color: rgba(59,211,193,.3); }
  65%       { transform: scale(1.4);  opacity: 0;   border-color: rgba(59,211,193,0); }
  /* Male lock at 100%/0% */
  93%       { transform: scale(.92); opacity: 0;   border-color: rgba(59,211,193,0); }
  96%       { transform: scale(1.0);  opacity: 1;   border-color: rgba(59,211,193,.95); }
  98%       { transform: scale(1.15); opacity: .7;  border-color: rgba(59,211,193,.7); }
  100%      { transform: scale(1.28); opacity: .3;  border-color: rgba(59,211,193,.3); }
}
/* Push-down effect — at each lock moment, the base briefly compresses
   (scales down ~3%) then springs back, like the assembly is being pushed
   into the surface. The pulse rings sell the press impact. */
.conveyor-base {
  animation: lock-press 16s ease-in-out infinite;
}
@keyframes lock-press {
  0%, 47%   { transform: translate(-50%, -50%) scale(1); }
  50%       { transform: translate(-50%, -50%) scale(0.96); }   /* female press */
  53%       { transform: translate(-50%, -50%) scale(1.005); }
  56%       { transform: translate(-50%, -50%) scale(1); }
  93%       { transform: translate(-50%, -50%) scale(1); }
  96%       { transform: translate(-50%, -50%) scale(0.96); }   /* male press */
  99%       { transform: translate(-50%, -50%) scale(1.005); }
  100%      { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 720px) {
  .conveyor-pulse { width: 170px; height: 170px; margin-left: -85px; margin-top: -85px; }
}

/* TWIST/SWAP/LOCK/DONE animated H2 spans — rest state is the H2 dark color
   so the title is always legible; each word lights up at its phase. */
.cap-word {
  color: #0b0b0b;
  transition: color .15s ease;
}
.cap-twist { animation: cap-twist 16s linear infinite; }
.cap-swap  { animation: cap-swap  16s linear infinite; }
.cap-lock  { animation: cap-lock  16s linear infinite; }
.cap-done  { animation: cap-done  16s linear infinite; }

/* Phases inside each 8-second shuffle (twice in 16s):
   Lift  ~ 5–18% / 55–68%   → TWIST
   Spread/arc ~ 22–35% / 72–85%   → SWAP
   Lock-twist ~ 38–47% / 88–95%   → LOCK
   Lock + rings ~ 48–60% / 96–100%(brief carry → 0–2%) → DONE
   Each highlight snaps on/off in 0.5% windows so words don't bleed into each
   other — when DONE goes teal, every yellow word is fully dark. */
@keyframes cap-twist {
  0%, 4%        { color: #0b0b0b; }
  4.5%, 17%     { color: var(--yellow); }
  17.5%, 54.5%  { color: #0b0b0b; }
  55%, 67%      { color: var(--yellow); }
  67.5%, 100%   { color: #0b0b0b; }
}
@keyframes cap-swap {
  0%, 21%       { color: #0b0b0b; }
  21.5%, 35%    { color: var(--yellow); }
  35.5%, 71%    { color: #0b0b0b; }
  71.5%, 85%    { color: var(--yellow); }
  85.5%, 100%   { color: #0b0b0b; }
}
@keyframes cap-lock {
  0%, 37%       { color: #0b0b0b; }
  37.5%, 47%    { color: var(--yellow); }
  47.5%, 87%    { color: #0b0b0b; }
  87.5%, 95%    { color: var(--yellow); }
  95.5%, 100%   { color: #0b0b0b; }
}
@keyframes cap-done {
  0%, 2%        { color: var(--teal); }       /* brief carry from prior cycle's DONE */
  2.5%, 47%     { color: #0b0b0b; }
  47.5%, 53.5%  { color: var(--teal); }       /* first swap DONE — clears before TWIST_B */
  54%, 95%      { color: #0b0b0b; }
  95.5%, 100%   { color: var(--teal); }       /* second swap DONE — synced with rings */
}
.conveyor-label {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #1a1a1a;
  z-index: 7;
  white-space: nowrap;
}
.conveyor-base {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 290px; height: 290px;
  object-fit: contain;
  z-index: 1;
  /* No drop-shadow — keep section clean white */
}
.conveyor-card {
  position: absolute;
  left: 50%; top: 50%;
  width: 262px; height: 262px;
  object-fit: contain;
  transform-origin: center center;
}
/* TWO-CYCLE SHELL GAME (16s total):
     0-50%   Cycle 1 — shuffle ends with MALE locked on top
    50-100%  Cycle 2 — shuffle ends with FEMALE locked on top
   z-index is animated with step transitions to swap who appears on top. */
/* Drop-shadow + thin black outline ONLY on the white multigender so it
   reads cleanly against the white section. The stacked 1px drop-shadows
   in all directions create an outline effect on the image's edge. */
.conveyor-card-mid {
  z-index: 6;
  animation: shell-mid 16s ease-in-out infinite;
  filter:
    drop-shadow( 1px  0 0 rgba(0,0,0,.55))
    drop-shadow(-1px  0 0 rgba(0,0,0,.55))
    drop-shadow(0  1px 0 rgba(0,0,0,.55))
    drop-shadow(0 -1px 0 rgba(0,0,0,.55))
    drop-shadow(0 14px 24px rgba(0,0,0,.18));
}
.conveyor-card-male   { z-index: 7; animation: shell-male   16s ease-in-out infinite; }
.conveyor-card-female { z-index: 5; animation: shell-female 16s ease-in-out infinite; }

/* MALE — Z-index swap happens DURING the arc motion (mid-shuffle), not at
   cycle boundaries — so the swap is visually part of the shuffle.
   Cycle 1 (0-50%): starts ON TOP → arc-swap to UNDER → ends UNDER (female on top).
   Cycle 2 (50-100%): starts UNDER → arc-swap to ON TOP → ends ON TOP (clean loop). */
/* MALE — at the swap moment (27.5% / 77.5%), card is at EXACT same position
   as female (centered at -100px Y, lifted, slight rotation). They overlap
   perfectly, masking the z-index change. */
@keyframes shell-male {
  0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); z-index: 7; }
  10%        { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); }
  19%, 24%   { transform: translate(calc(-50% - 260px), calc(-50% - 100px)) rotate(-6deg); }
  27.4%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 7; }
  27.6%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 4; }    /* PERFECT OVERLAP — swap hidden */
  31%, 36%   { transform: translate(calc(-50% + 260px), calc(-50% - 100px)) rotate(0deg); }
  42%        { transform: translate(-50%, calc(-50% - 30px)) rotate(-18deg); }
  46%        { transform: translate(-50%, -50%)               rotate(-18deg); }
  50%        { transform: translate(-50%, -50%)               rotate(0deg); z-index: 4; }    /* locked UNDER */

  /* Cycle 2 */
  52.5%      { transform: translate(-50%, -50%)               rotate(0deg); z-index: 4; }
  60%        { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); }
  69%, 74%   { transform: translate(calc(-50% - 260px), calc(-50% - 100px)) rotate(-6deg); }
  77.4%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 4; }
  77.6%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 7; }    /* PERFECT OVERLAP — swap hidden */
  81%, 86%   { transform: translate(calc(-50% + 260px), calc(-50% - 100px)) rotate(0deg); }
  92%        { transform: translate(-50%, calc(-50% - 30px)) rotate(-18deg); }
  96%        { transform: translate(-50%, -50%)               rotate(-18deg); }
  100%       { transform: translate(-50%, -50%)               rotate(0deg); z-index: 7; }    /* MALE locked on top */
}
@keyframes shell-mid {
  0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); }
  10%        { transform: translate(-50%, calc(-50% - 100px))  rotate(0deg); }
  19%, 36%   { transform: translate(-50%, calc(-50% - 100px))  rotate(0deg); }
  42%        { transform: translate(-50%, calc(-50% - 30px))  rotate(-12deg); }
  46%        { transform: translate(-50%, -50%)               rotate(-12deg); }
  50%        { transform: translate(-50%, -50%)               rotate(0deg); }
  52.5%      { transform: translate(-50%, -50%)               rotate(0deg); }
  60%        { transform: translate(-50%, calc(-50% - 100px))  rotate(0deg); }
  69%, 86%   { transform: translate(-50%, calc(-50% - 100px))  rotate(0deg); }
  92%        { transform: translate(-50%, calc(-50% - 30px))  rotate(-12deg); }
  96%        { transform: translate(-50%, -50%)               rotate(-12deg); }
  100%       { transform: translate(-50%, -50%)               rotate(0deg); }
}
/* FEMALE — z-index swap mid-arc, mirrors male.
   Cycle 1 (0-50%): starts UNDER → arc-swap to ON TOP → ends ON TOP.
   Cycle 2 (50-100%): starts ON TOP → arc-swap to UNDER → ends UNDER (clean loop). */
/* FEMALE — meets male at the SAME exact spot during the arc so the
   z-index swap is hidden behind perfect card overlap. */
@keyframes shell-female {
  0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); z-index: 5; }
  10%        { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); }
  19%, 24%   { transform: translate(calc(-50% + 260px), calc(-50% - 100px)) rotate(6deg); }
  27.4%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 5; }
  27.6%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 8; }    /* PERFECT OVERLAP — swap hidden */
  31%, 36%   { transform: translate(calc(-50% - 260px), calc(-50% - 100px)) rotate(0deg); }
  42%        { transform: translate(-50%, calc(-50% - 30px)) rotate(-18deg); }
  46%        { transform: translate(-50%, -50%)               rotate(-18deg); }
  50%        { transform: translate(-50%, -50%)               rotate(0deg); z-index: 8; }    /* female locked on top */

  /* Cycle 2 */
  52.5%      { transform: translate(-50%, -50%)               rotate(0deg); z-index: 8; }
  60%        { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); }
  69%, 74%   { transform: translate(calc(-50% + 260px), calc(-50% - 100px)) rotate(6deg); }
  77.4%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 8; }
  77.6%      { transform: translate(-50%, calc(-50% - 100px)) rotate(0deg); z-index: 5; }    /* PERFECT OVERLAP — swap hidden */
  81%, 86%   { transform: translate(calc(-50% - 260px), calc(-50% - 100px)) rotate(0deg); }
  92%        { transform: translate(-50%, calc(-50% - 30px)) rotate(-18deg); }
  96%        { transform: translate(-50%, -50%)               rotate(-18deg); }
  100%       { transform: translate(-50%, -50%)               rotate(0deg); z-index: 5; }    /* under, clean loop */
}

/* Phases (8s cycle):
   0-12%   stacked on base, locked
  12-28%   lift up together
  28-48%   spread horizontally — male LEFT, white CENTER, female RIGHT
  48-62%   shell-game shuffle: male & female swap sides (white anchors)
  62-78%   hold swapped
  78-94%   re-stack at center, drop back into base
  94-100%  locked on base
*/
@media (prefers-reduced-motion: reduce) {
  .conveyor-card-male,
  .conveyor-card-mid,
  .conveyor-card-female { animation: none; }
}

@media (max-width: 720px) {
  .conveyor { height: 260px; max-width: 100%; }
  .conveyor-base { width: 150px; height: 150px; }
  .conveyor-card { width: 138px; height: 138px; }
  /* Mobile keyframes — same shell-game choreography as desktop (two cycles
     with z-index swap masked by perfect overlap), just scaled to the smaller
     conveyor. Horizontal arc: ±85px (fits within 327px width). Vertical lift:
     -50px. Lock bounce: -15px. */
  @keyframes shell-male {
    0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); z-index: 7; }
    10%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    19%, 24%   { transform: translate(calc(-50% - 85px), calc(-50% - 50px)) rotate(-6deg); }
    27.4%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 7; }
    27.6%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 4; }
    31%, 36%   { transform: translate(calc(-50% + 85px), calc(-50% - 50px)) rotate(0deg); }
    42%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-18deg); }
    46%        { transform: translate(-50%, -50%)              rotate(-18deg); }
    50%        { transform: translate(-50%, -50%)              rotate(0deg); z-index: 4; }

    52.5%      { transform: translate(-50%, -50%)              rotate(0deg); z-index: 4; }
    60%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    69%, 74%   { transform: translate(calc(-50% - 85px), calc(-50% - 50px)) rotate(-6deg); }
    77.4%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 4; }
    77.6%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 7; }
    81%, 86%   { transform: translate(calc(-50% + 85px), calc(-50% - 50px)) rotate(0deg); }
    92%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-18deg); }
    96%        { transform: translate(-50%, -50%)              rotate(-18deg); }
    100%       { transform: translate(-50%, -50%)              rotate(0deg); z-index: 7; }
  }
  @keyframes shell-mid {
    0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); }
    10%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    19%, 36%   { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    42%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-12deg); }
    46%        { transform: translate(-50%, -50%)              rotate(-12deg); }
    50%        { transform: translate(-50%, -50%)              rotate(0deg); }
    52.5%      { transform: translate(-50%, -50%)              rotate(0deg); }
    60%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    69%, 86%   { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    92%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-12deg); }
    96%        { transform: translate(-50%, -50%)              rotate(-12deg); }
    100%       { transform: translate(-50%, -50%)              rotate(0deg); }
  }
  @keyframes shell-female {
    0%, 2.5%   { transform: translate(-50%, -50%) rotate(0deg); z-index: 5; }
    10%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    19%, 24%   { transform: translate(calc(-50% + 85px), calc(-50% - 50px)) rotate(6deg); }
    27.4%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 5; }
    27.6%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 8; }
    31%, 36%   { transform: translate(calc(-50% - 85px), calc(-50% - 50px)) rotate(0deg); }
    42%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-18deg); }
    46%        { transform: translate(-50%, -50%)              rotate(-18deg); }
    50%        { transform: translate(-50%, -50%)              rotate(0deg); z-index: 8; }

    52.5%      { transform: translate(-50%, -50%)              rotate(0deg); z-index: 8; }
    60%        { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); }
    69%, 74%   { transform: translate(calc(-50% + 85px), calc(-50% - 50px)) rotate(6deg); }
    77.4%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 8; }
    77.6%      { transform: translate(-50%, calc(-50% - 50px)) rotate(0deg); z-index: 5; }
    81%, 86%   { transform: translate(calc(-50% - 85px), calc(-50% - 50px)) rotate(0deg); }
    92%        { transform: translate(-50%, calc(-50% - 15px)) rotate(-18deg); }
    96%        { transform: translate(-50%, -50%)              rotate(-18deg); }
    100%       { transform: translate(-50%, -50%)              rotate(0deg); z-index: 5; }
  }
}

/* ============================================================
   WHY-STRIP (How It Works section — Paul's "why" answers)
   ============================================================ */
.why-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  /* Pulled UP into the lower portion of the conveyor so the timer + stats
     read as a "spec readout" attached to the animation, not a separate
     section. Sits well below the placard's resting position with breathing
     room so it never covers the action — only the empty space + faint
     outer ring tails. */
  margin: -32px auto 0;
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: 0 18px 40px rgba(0,0,0,.32);
}
.why-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 6px;
}
/* Tiny eyebrow above the number — answers Paul's "what category is this?" */
.why-cap {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1;
}
/* Pulsing dot next to the live timer — signals "real" not "marketing claim" */
.why-live {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(59,211,193,.55);
  animation: why-live-pulse 1.6s ease-out infinite;
}
@keyframes why-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59,211,193,.55); }
  70%  { box-shadow: 0 0 0 6px rgba(59,211,193,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,211,193,0); }
}
.why-num {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.02em;
}
.why-label {
  font-family: var(--font);
  font-size: .82rem;
  letter-spacing: .01em;
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
}
.why-divider {
  width: 1px; height: 32px;
  background: var(--line);
}

/* Live "to swap a placard" timer — tabular nums so it ticks without jitter. */
.why-item-timer .why-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
/* Trust-mark checkmark for "Stays with the trailer" — teal so it reads as a
   confirmation rather than a count, distinct from the yellow stat numbers. */
.why-num-check {
  color: var(--teal);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: .9;
}

@media (max-width: 720px) {
  .why-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 18px;
    padding: 22px 16px;
  }
  .why-divider { display: none; }
  .why-num { font-size: 1.6rem; }
  .why-label { font-size: .62rem; }
}

/* ============================================================
   OPERATOR TOOLS
   ============================================================ */
.tools { background: var(--bg); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
  background: var(--surface-2);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 6px; color: var(--white); }
.card p { color: var(--text-dim); margin: 0; font-size: .98rem; }
.card-feature {
  background: linear-gradient(180deg, rgba(59,211,193,.14), rgba(59,211,193,.02)) , var(--surface);
  border-color: rgba(59,211,193,.3);
}
.card-feature .card-icon { background: var(--teal); color: var(--black); }

/* ============================================================
   POSITIONING
   ============================================================ */
.positioning { background: var(--bg-2); text-align: center; }
.positioning p {
  color: var(--text-dim); font-size: 1.08rem;
  max-width: 640px; margin: 0 auto 28px;
}
.positioning-row {
  display: flex; align-items: stretch; justify-content: center;
  gap: 16px; margin-top: 32px; flex-wrap: wrap;
}
.position-block {
  flex: 1 1 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: left;
  max-width: 320px;
}
.position-label {
  display: block;
  font-family: var(--mono); font-size: .7rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--yellow); margin-bottom: 8px;
}
.position-block p { margin: 0; color: var(--white); font-weight: 600; }
.position-arrow {
  align-self: center;
  font-size: 1.6rem; color: var(--line-2);
}

/* ============================================================
   SYSTEM (base + interchangeable placards)
   ============================================================ */
.system { background: var(--bg-2); }
.system-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.system-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.system-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-md);
}
.system-image {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background: radial-gradient(ellipse at center, #1f1f1f, #121212 75%);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 24px;
}
.system-image-base {
  /* Clean product-photography white backdrop — matte black disk pops. */
  background:
    radial-gradient(ellipse at 50% 60%, #ffffff 0%, #ececea 60%, #c8c8c4 100%);
}
.system-image-base img {
  width: 78%; height: auto;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.35));
}
.system-image img,
.system-image svg { max-width: 100%; max-height: 100%; object-fit: contain; }
.system-image-multi {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.system-image-multi .placard {
  width: 44%; height: auto;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.35));
}
/* Multigender (white) sits ON TOP, slightly larger; male/female peek out from behind */
.system-image-multi .placard-1 {  /* Male — back-left */
  z-index: 1;
  transform: rotate(-2deg);
}
.system-image-multi .placard-2 {  /* Multigender — front, on top, slightly bigger */
  margin-left: -22%;
  z-index: 3;
  width: 50%;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.45));
}
.system-image-multi .placard-3 {  /* Female — back-right */
  margin-left: -22%;
  z-index: 2;
  transform: rotate(2deg);
}
.system-card h3 { margin: 0; color: var(--white); }
.system-card p { color: var(--text-dim); margin: 0; }

/* System cards 3 + 4 — pill / fleet row */
.system-card-pill .system-pill-row,
.system-card-pill .system-fleet-row {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(ellipse at 50% 60%, #ffffff 0%, #ececea 60%, #c8c8c4 100%);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
}
.pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.pill-yellow { background: var(--yellow); color: var(--black); }
.pill-teal   { background: var(--teal);   color: var(--black); }
.pill-arrow {
  font-size: 1.4rem; color: #444; font-weight: 700;
}
.system-fleet-row {
  gap: 4px;
}
.fleet-disk {
  width: 28%;
  height: auto;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.3));
}
.fleet-disk-2 { transform: translateY(-6px); }

/* ============================================================
   OLD WAY
   ============================================================ */
.old-way { background: var(--bg-2); text-align: center; }
.old-way h2 { margin-bottom: 28px; }
.old-way-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 36px;
  list-style: none; padding: 0; margin: 0 0 28px;
  text-align: left;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.old-way-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  font-size: 1.05rem;
}
.old-way-list li::before {
  content: '✕';
  position: absolute; left: 0;
  color: #d04545;
  font-weight: 700;
}
.compare-callout {
  margin-top: 28px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(255,225,53,.08), transparent);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--yellow);
}

/* ============================================================
   MADE HERE
   ============================================================ */
/* ============================================================
   MADE HERE — BIG HERO (standalone, near bottom)
   ============================================================ */
.made-here-hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 35% at 18% 0%,  rgba(0,40,104,.16) 0%, transparent 70%),
    radial-gradient(ellipse 60% 35% at 82% 100%, rgba(191,10,48,.14) 0%, transparent 70%),
    var(--bg-2);
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Same clean grid texture as the hero, vignetted to fade at edges */
.made-here-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.made-here-hero > .container { position: relative; z-index: 1; }
.made-here-hero .section-eyebrow {
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
}
.made-here-hero h2 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  margin: 18px 0 36px;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.made-here-hero p {
  color: var(--text-dim);
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto 1em;
}
.made-here-hero .emphasis {
  margin: 36px auto 0;
  font-size: 1.4rem;
  color: var(--yellow);
  font-weight: 800;
  text-align: center;
  max-width: 700px;
  line-height: 1.45;
  display: block;
  letter-spacing: -0.005em;
}
.made-here-hero p.madehere-signoff {
  margin: 10px 0 0;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  max-width: none;
}

/* ============================================================
   COMBO SECTION (Built By + PJ Intelligence side-by-side)
   ============================================================ */
.combo-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 18% 0%,  rgba(0,40,104,.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 82% 100%, rgba(191,10,48,.08) 0%, transparent 70%),
    var(--bg-2);
  padding: 100px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.combo-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.combo-section > .container { position: relative; z-index: 1; }
.combo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.combo-col {
  display: flex; flex-direction: column;
}
/* Unified eyebrow style across both columns so they line up at the top */
.combo-col .section-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  height: 1em;
}
.combo-col-made .section-eyebrow { color: var(--yellow); }
.combo-col-future .section-eyebrow { color: var(--teal); }
.combo-col-oldway .section-eyebrow { color: #d04545; }
.combo-col-oldway .old-way-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.combo-col-oldway .old-way-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.4;
}
.combo-col-oldway .old-way-list li::before {
  content: '✕';
  position: absolute; left: 0;
  color: #d04545;
  font-weight: 700;
}
.combo-col-oldway .emphasis {
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

/* Both columns: identical big H2 size for visual alignment */
.combo-col h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  line-height: 1.1;
  min-height: 2.6em;   /* both columns reserve same headline height */
}
.combo-col p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1em;
}
.combo-col-made .emphasis {
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
  border-left: 3px solid var(--yellow);
  padding-left: 14px;
}
.tap-anim.tap-anim-compact {
  width: 100%;
  max-width: 460px;
  height: 320px;
  margin: 22px auto 0;
  padding: 20px;
}
.tap-anim.tap-anim-compact::before {
  width: 200px; height: 260px;
}
.tap-anim.tap-anim-compact::after {
  left: calc(50% + 84px);
  height: 38px;
}
.tap-anim.tap-anim-compact .tap-base {
  width: 160px; height: 160px;
}
.tap-anim.tap-anim-compact .tap-phone {
  width: 76px; height: 134px;
  border-radius: 14px;
  right: 14%; top: 20%;
}
.tap-anim.tap-anim-compact .tap-phone::before {
  width: 22px; height: 3px; top: 5px;
}
.tap-anim.tap-anim-compact .tap-phone-screen {
  inset: 12px 5px 12px 5px;
  border-radius: 9px;
}
@media (max-width: 960px) {
  .combo-grid { grid-template-columns: 1fr; gap: 56px; }
}
/* Same clean grid texture as the hero, vignetted to fade at edges */
.made-here::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
/* Faint star scatter — small dots in a tight pattern, masked to fade out */
.made-here::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1.5px);
  background-size: 36px 36px;
  background-position: 0 0;
  mask-image:
    radial-gradient(ellipse 60% 50% at 18% 22%, black 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 78%, black 0%, transparent 70%);
  -webkit-mask-image:
    radial-gradient(ellipse 60% 50% at 18% 22%, black 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 82% 78%, black 0%, transparent 70%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
  pointer-events: none;
  z-index: 0;
}
.made-here > .container { position: relative; z-index: 1; }
.made-here .section-eyebrow {
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.04);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
}
.madehere-flag {
  width: 18px; height: auto; margin: 0;
}
.made-here h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin: 18px 0 28px;
  letter-spacing: -0.02em;
}
.made-here p {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 1em;
}
.made-here .emphasis {
  margin-top: 28px;
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  border-left: 3px solid #bf0a30;
  padding: 4px 0 4px 16px;
  text-align: left;
  display: inline-block;
  max-width: 640px;
}
.made-here p.madehere-signoff {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--text-mute);
  letter-spacing: .14em;
  text-transform: uppercase;
  max-width: none;
  line-height: 1.4;
}

/* ============================================================
   BUILT BY PORTABLE JOHN
   ============================================================ */
.built-by {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(59,211,193,.08) 0%, transparent 60%),
    var(--bg);
  text-align: center;
  padding-top: 110px; padding-bottom: 110px;
}
.built-by .section-eyebrow { color: var(--teal); }
.built-by h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
}
.built-by h2::after {
  content: '';
  position: absolute; left: 50%; bottom: -10px;
  width: 80px; height: 4px;
  background: var(--teal);
  transform: translateX(-50%);
  border-radius: 2px;
}
.built-by p {
  color: var(--text-dim);
  font-size: 1.25rem;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 1.2em;
}
.built-by .emphasis {
  margin-top: 30px;
  font-size: 1.4rem; font-weight: 700; color: var(--white);
  border-left: 4px solid var(--teal);
  padding: 6px 0 6px 20px;
  text-align: left;
  display: inline-block;
  max-width: 680px;
  line-height: 1.45;
}

/* ============================================================
   INSTALL VALUE (legacy, in case still referenced)
   ============================================================ */
.install-value { background: var(--bg); text-align: center; }
.install-value h2 { margin-bottom: 24px; }
.install-value p { color: var(--text-dim); font-size: 1.08rem; }
.install-callout {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(255,225,53,.10), transparent), var(--surface);
  border: 1px solid rgba(255,225,53,.3);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 22px 28px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
}

/* ============================================================
   COMPARISON
   ============================================================ */
.compare { background: var(--bg); text-align: center; }
.compare > .container.narrow > p {
  color: var(--text-dim); font-size: 1.08rem;
  max-width: 640px; margin: 0 auto 36px;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  text-align: left;
}
.compare-grid-vs {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.compare-vs {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  background: var(--yellow);
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .05em;
  box-shadow: 0 8px 22px rgba(255,225,53,.25);
  align-self: center;
}
.compare-col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.compare-col h3 {
  margin: 0 0 14px 0;
  font-size: 1.05rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.compare-old h3 { color: var(--text-mute); }
.compare-new h3 { color: var(--yellow); }
.compare-col ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.compare-col li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  font-size: .98rem;
}
.compare-old li::before {
  content: '✕';
  position: absolute; left: 0;
  color: #d04545;
  font-weight: 700;
}
.compare-new {
  background: linear-gradient(180deg, rgba(255,225,53,.06), transparent), var(--surface);
  border-color: rgba(255,225,53,.3);
}
.compare-new li { color: var(--white); }
.compare-new li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--yellow);
  font-weight: 700;
}

/* ============================================================
   FUTURE / TAP ANIMATION
   ============================================================ */
.future { background: var(--bg-2); text-align: center; }
.future p { color: var(--text-dim); }

.tap-anim {
  position: relative;
  width: 100%; max-width: 760px;
  height: 480px;
  margin: 36px auto 0;
  padding: 30px;
  display: flex; align-items: center; justify-content: center;
  background-color: #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}
/* White restroom trailer door silhouette behind the placard */
.tap-anim::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 420px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f0ec 100%);
  border-radius: 10px 10px 6px 6px;
  box-shadow:
    0 24px 50px rgba(0,0,0,.55),
    inset 0 0 0 1px rgba(0,0,0,.08),
    inset 0 0 0 16px #ffffff,
    inset 0 0 0 18px rgba(0,0,0,.06);
  z-index: 1;
}
/* Door handle */
.tap-anim::after {
  content: '';
  position: absolute;
  left: calc(50% + 130px); top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 56px;
  background: rgba(0,0,0,.3);
  border-radius: 3px;
  z-index: 2;
}
.tap-anim > .tap-base, .tap-anim > .tap-phone { z-index: 3; }
.tap-base, .tap-phone, .tap-anim-label {
  position: relative; z-index: 2;
}

/* The placard product — real ProPlacard render with female pictogram.
   Uses the transparent PNG so it composites cleanly on the white door. */
.tap-base {
  position: relative;
  width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}
.tap-base-img {
  position: relative;
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
.tap-base-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(59,211,193,0);
  animation: tap-ring 3.2s ease-out infinite;
  animation-delay: 1.0s;
  pointer-events: none;
}
.tap-base-pulse {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(59,211,193,0);
  animation: tap-pulse 3.2s ease-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
}
/* Apple-Pay-style: gentle expanding ring at the moment of contact */
@keyframes tap-ring {
  0%, 30%   { transform: scale(.95); border-color: rgba(59,211,193,0); opacity: 0; }
  40%       { transform: scale(1.00); border-color: rgba(59,211,193,.85); opacity: 1; box-shadow: 0 0 28px rgba(59,211,193,.5); }
  75%, 100% { transform: scale(1.22); border-color: rgba(59,211,193,0); opacity: 0; box-shadow: 0 0 0 rgba(59,211,193,0); }
}
@keyframes tap-pulse {
  0%, 30%   { transform: scale(.95); border-color: rgba(59,211,193,0); opacity: 0; }
  45%       { transform: scale(1.08); border-color: rgba(59,211,193,.55); opacity: 1; }
  85%, 100% { transform: scale(1.42); border-color: rgba(59,211,193,0); opacity: 0; }
}

/* The phone — Apple-Pay style: smaller, tilted toward the base */
.tap-phone {
  position: absolute;
  width: 92px; height: 165px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c1c1c, #0a0a0a);
  border: 1.5px solid #2e2e2e;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 30px rgba(0,0,0,.5);
  right: 16%;
  top: 18%;
  animation: tap-move 3.2s ease-in-out infinite;
  z-index: 3;
  transform-origin: bottom left;
}
.tap-phone::before {
  content: '';
  position: absolute; left: 50%; top: 6px;
  transform: translateX(-50%);
  width: 30px; height: 4px;
  background: #050505;
  border-radius: 2px;
}
.tap-phone-screen {
  position: absolute; inset: 14px 6px 14px 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, #181f25 0%, #0c1217 100%);
  overflow: hidden;
}
/* Phone screen — two-state animation:
   IDLE = dark with subtle ProPlacard wordmark
   FLASH = whole screen lights up teal with check + "Service Performed", then fades */
.phone-idle, .phone-flash {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.phone-idle {
  background: linear-gradient(180deg, #1a232b 0%, #0a1218 100%);
  z-index: 1;
}
.phone-idle-mark {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(255,225,53,.7);
}
.phone-flash {
  background: linear-gradient(180deg, #34d8c2 0%, #1ec1ad 100%);
  color: var(--black);
  z-index: 2;
  opacity: 0;
  animation: phone-flash 3.2s ease-in-out infinite;
  animation-delay: 0.9s;
}
.phone-flash-check {
  width: 26px; height: 26px;
  color: var(--black);
  animation: phone-flash-check 3.2s ease-in-out infinite;
  animation-delay: 0.9s;
}
.phone-flash-text {
  font-family: var(--font);
  font-size: 7.5px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--black);
  text-transform: uppercase;
}
@keyframes phone-flash {
  0%, 30%   { opacity: 0; }
  38%       { opacity: 1; }
  65%       { opacity: 1; }
  78%, 100% { opacity: 0; }
}
@keyframes phone-flash-check {
  0%, 35%   { transform: scale(.3); opacity: 0; }
  45%       { transform: scale(1.15); opacity: 1; }
  55%       { transform: scale(1.0); opacity: 1; }
  70%       { transform: scale(1.0); opacity: 1; }
  82%, 100% { transform: scale(.3); opacity: 0; }
}
/* Apple-Pay-style: phone glides in tilted, contacts the disk's right edge,
   brief settle, then drifts back. Calibrated for the compact tap-anim. */
@keyframes tap-move {
  0%, 100% { transform: translate(35px, -16px) rotate(-22deg); }
  30%      { transform: translate(-50px, 5px)  rotate(-15deg); }
  45%      { transform: translate(-62px, 8px)  rotate(-12deg); }
  60%      { transform: translate(-58px, 6px)  rotate(-13deg); }
  75%      { transform: translate(-50px, 5px)  rotate(-15deg); }
  100%     { transform: translate(35px, -16px) rotate(-22deg); }
}
@keyframes tap-dot {
  0%, 18%   { opacity: .55; }
  25%, 55%  { opacity: 1; filter: drop-shadow(0 0 18px rgba(255,225,53,.85)); }
  70%, 100% { opacity: .55; }
}
.tap-anim-label {
  position: absolute;
  bottom: 14px;
  left: 50%; transform: translateX(-50%);
  font-family: var(--mono);
  font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: #5a5a5a;
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .tap-phone, .tap-base-ring, .tap-base-pulse, .tap-phone-dot {
    animation: none;
  }
}

/* ============================================================
   USE CASES
   ============================================================ */
.use-cases { background: var(--bg-2); }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.usecase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-weight: 600;
  color: var(--white);
  transition: border-color .15s ease, transform .12s ease, background .15s ease;
}
.usecase:hover {
  border-color: var(--yellow);
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* ============================================================
   ORDER / PRICING (Shopify hook)
   ============================================================ */
.order { background: var(--bg); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pricing-grid-3 {
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.price-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.price-feature {
  background:
    linear-gradient(180deg, rgba(255,225,53,.10), rgba(255,225,53,0) 60%),
    var(--surface);
  border-color: rgba(255,225,53,.35);
  box-shadow: 0 12px 36px rgba(255,225,53,.06);
}
.price-flag {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-flag-preview {
  background: var(--teal);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(59,211,193,.3);
}
.price-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.price-label {
  font-family: var(--mono);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--white);
  font-weight: 600;
}
.price-msrp {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-mute);
  text-decoration: line-through;
}
.price-msrp-plain {
  text-decoration: none;
}
.price-deadline {
  margin: 8px 0 0;
  text-align: center;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
}
.price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex; align-items: flex-start; gap: 2px;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--yellow);
}
.price-cents {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text-dim);
}
.price-note {
  margin: 0;
  color: var(--text-dim);
  font-size: .92rem;
  flex: 1;
}
.price-bigtext {
  margin: 8px 0 0;
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
  flex: 1;
}
.price-card-cta {
  background:
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,.015) 8px 9px),
    var(--surface);
  border-style: dashed;
}
.order-note {
  margin-top: 28px;
  text-align: center;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--text-mute);
  letter-spacing: .04em;
}
.order-note a { color: var(--yellow); text-decoration: underline; }

/* ============================================================
   WHOLESALE
   ============================================================ */
.wholesale { background: var(--bg-2); }
.wholesale > .container.narrow { text-align: center; }
.wholesale > .container.narrow > p { color: var(--text-dim); margin: 0 auto 18px; max-width: 600px; }
.wholesale-callout {
  margin: 18px auto 2px !important;
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--yellow) !important;
  text-align: center;
  line-height: 1.15;
}
.wholesale-aside {
  margin: 0 auto 22px !important;
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 400;
  color: var(--white) !important;
  text-align: center;
  font-style: italic;
  line-height: 1.2;
}
.wholesale-phone {
  margin: 0 auto 24px !important;
  text-align: center;
}
.wholesale-phone a {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--yellow);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
  border-bottom: 3px solid transparent;
  transition: border-color .15s ease;
  line-height: 1;
}
.wholesale-phone a:hover {
  border-bottom-color: var(--yellow);
}

/* ============================================================
   PREVIEW FORM
   ============================================================ */
.preview { background: var(--bg-2); }
.preview h2, .preview p { text-align: center; }
.preview > .container.narrow > p { color: var(--text-dim); margin: 0 auto 32px; max-width: 600px; }
.preview-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.preview-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: .85rem; font-weight: 600; color: var(--white);
}
.preview-form input,
.preview-form select,
.preview-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.preview-form input::placeholder,
.preview-form textarea::placeholder { color: var(--text-mute); }
.preview-form input:focus,
.preview-form select:focus,
.preview-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,225,53,.18);
}
.preview-form textarea { resize: vertical; min-height: 96px; }
.preview-form .btn { align-self: flex-start; }
.form-note {
  margin: 4px 0 0;
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--text-mute);
  letter-spacing: .04em;
}
.form-success {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.form-success h3 { margin: 0 0 6px 0; color: var(--white); }
.form-success p { color: var(--text-dim); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }
.faq h2 { text-align: center; margin-bottom: 32px; }
.faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: background .15s ease, border-color .15s ease;
}
.faq details[open] { background: var(--surface-2); border-color: var(--yellow); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem; font-weight: 400;
  color: var(--yellow);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p {
  margin: 14px 0 0 0;
  color: var(--text-dim);
}

/* ============================================================
   SPECIFICATIONS — white card, black + yellow text.
   Image is inverted so it reads on the white background.
   Sits below FAQ, above the Final CTA.
   ============================================================ */
.specs {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.specs .section-head { text-align: center; margin-bottom: 36px; }
.specs h2 { color: var(--white); }
.specs .section-sub {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 600px;
  margin: 12px auto 0;
}
.specs-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 1.6fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;                    /* spread out horizontally */
  margin: 0 auto;
  padding: 36px 28px;
}
/* White product card — mirrors the hero image card. Black placard ring
   pops against pure white. */
.specs-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 48px rgba(0,0,0,.45);
}
.specs-figure img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 8px;
}
/* Specs text on the dark page — yellow labels + white values. */
.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.specs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.specs-label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);                /* small label, dim */
}
.specs-value {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--yellow);                   /* eye-catching yellow value */
  line-height: 1.1;
}
.specs-note {
  font-size: .82rem;
  color: var(--text-dim);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 16px;
  }
  .specs-figure { padding: 16px; }
  .specs-figure img { max-width: 200px; }
  .specs-list {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .specs-value { font-size: 1.2rem; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(255,225,53,.16), transparent 70%),
    var(--bg-2);
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.final-cta h2 { color: var(--white); max-width: 720px; margin: 0 auto 14px; }
.final-cta .lead { color: var(--text-dim); margin: 0 auto 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.footer-brand p {
  margin: 0; color: var(--text-mute); font-size: .85rem; max-width: 480px;
}
.footer-meta {
  text-align: right;
  font-family: var(--mono);
  font-size: .82rem;
  color: var(--text-mute);
}
.footer-meta p { margin: 0 0 4px; color: var(--text-mute); }
.footer-hello {
  margin: 36px 0 0;
  text-align: center;
  font-family: var(--font);          /* Outfit (was JetBrains Mono) */
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-mute);
}
.footer-smile {
  font-family: var(--font);
  color: var(--yellow);
  font-weight: 700;
  margin-left: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — TABLET (≤ 960px)
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .order-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; }
  .footer-meta { text-align: left; }
  .compare-grid-vs { grid-template-columns: 1fr; }
  .compare-vs { margin: 0 auto; }
  .combo-grid { grid-template-columns: 1fr; gap: 56px; }
  .system-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .tap-anim { max-width: 100%; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }

  /* Header / nav toggle */
  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px;
    background: transparent; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-toggle span {
    width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  }
  .primary-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px; gap: 14px;
    z-index: 40;
  }
  .primary-nav.open { display: flex; }
  .brand-mark { font-size: 1.15rem; }

  /* Hero — tighten everything for small screens */
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lead { font-size: 1rem; }

  /* Eyebrow pill hidden on mobile to declutter */
  .hero .eyebrow { display: none; }

  /* Hide the "ProPlacard / finished placard system" badge over hero image */
  .hero-tag { display: none; }

  /* Meta strip: 2x2 grid, smaller text */
  .hero-meta {
    grid-template-columns: repeat(2, 1fr);
  }
  .meta-item { padding: 12px 8px; }
  .meta-value {
    font-size: .82rem;
    flex-wrap: wrap;
  }
  .meta-label { font-size: .6rem; }

  /* Lock the logo size to prevent bouncing during scroll/resize */
  .brand-logo {
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0;
  }
  .brand { gap: 10px; }
  .brand-mark { font-size: 1.05rem; }
  .header-row { height: 72px; }
  .primary-nav { top: 72px !important; }

  /* Grids stack */
  .card-grid,
  .pricing-grid,
  .pricing-grid-3,
  .system-grid,
  .order-grid {
    grid-template-columns: 1fr !important;
  }
  .usecase-grid { grid-template-columns: 1fr 1fr; }

  /* Tap animation — scaled for mobile width (~327px container) */
  .tap-anim {
    height: 360px;
    padding: 14px;
    border-radius: 14px;
  }
  .tap-anim::before {
    width: 200px; height: 290px;
  }
  .tap-anim::after {
    left: calc(50% + 84px);
    height: 38px;
  }
  .tap-base { width: 150px; height: 150px; }
  .tap-phone {
    width: 70px; height: 124px;
    right: 12%; top: 18%;
    border-radius: 12px;
    border-width: 1.5px;
  }
  .tap-phone::before { width: 22px; height: 3px; top: 4px; }
  .tap-phone-screen { inset: 12px 5px 12px 5px; border-radius: 9px; }
  .phone-idle-mark { font-size: 7px; }
  .phone-flash-check { width: 22px; height: 22px; }
  .phone-flash-text { font-size: 6.5px; }

  /* Recalibrated motion: phone bottom-left actually meets the disk's right edge */
  .tap-anim .tap-phone {
    animation: tap-move-mobile 3.2s ease-in-out infinite;
  }
  @keyframes tap-move-mobile {
    0%, 100% { transform: translate(15px, -12px) rotate(-22deg); }
    30%      { transform: translate(-42px, 0) rotate(-15deg); }
    45%      { transform: translate(-52px, 4px) rotate(-12deg); }
    60%      { transform: translate(-48px, 2px) rotate(-13deg); }
    75%      { transform: translate(-42px, 0) rotate(-15deg); }
  }

  /* Pricing pill row + fleet row */
  .system-pill-row { gap: 4px !important; padding: 12px !important; }
  .system-pill-row .pill { padding: 7px 12px; font-size: .75rem; }
  .system-pill-row .pill-arrow { font-size: 1.1rem; }

  /* Compare vs — center the VS badge */
  .compare-vs { margin: 0 auto; }

  /* Old-way list inside combo */
  .combo-col-oldway .old-way-list {
    grid-template-columns: 1fr;
  }

  /* Hero card image is typically tall on mobile — keep aspect */
  .hero-card { max-width: 480px; margin: 0 auto; }

  /* Built / made here typography scale */
  .made-here-hero h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .made-here-hero p { font-size: 1rem; }
  .made-here-hero .emphasis { font-size: 1.1rem; }

  /* Combo H2s shrink */
  .combo-col h2 {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
    min-height: 0 !important;
  }
}
