/* PupTwin — "sunny dog park" redesign (Redesign 22:49)
   Light, dynamic, colorful. Warm cream base, coral + golden-yellow + sky-blue.
   Fonts: Lexend (headings) + Atkinson Hyperlegible (body), SIL OFL 1.1, $0. */

:root {
  --cream: #FFF8EA;
  --cream-deep: #FCEFD4;
  --card: #FFFFFF;
  --ink: #2E2118;
  --ink-soft: #6B5642;
  --coral: #F4604D;
  --coral-deep: #C0392B;
  --sun: #FFB627;
  --sun-soft: #FFE3A3;
  --sky: #3AA7E0;
  --sky-deep: #0E6FA8;
  --sky-soft: #DDF1FC;
  --leaf: #57B26A;
  --radius-lg: 36px;
  --radius-md: 24px;
  --sticker-shadow: 5px 5px 0 var(--ink);
  --soft-shadow: 0 14px 34px rgba(150, 95, 25, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- accessibility helpers ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 999px; font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 4px solid var(--sky-deep); outline-offset: 3px; border-radius: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 3px dashed var(--sun);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.wordmark {
  font-family: Lexend, sans-serif; font-weight: 800; font-size: 1.6rem;
  margin: 0; letter-spacing: -.5px;
}
.wordmark span { color: var(--coral-deep); }
.wordmark-sm { font-size: 1.3rem; }
.nav-list {
  display: flex; gap: 8px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: var(--ink); text-decoration: none; font-weight: 700;
  padding: 13px 18px; border-radius: 999px; /* RE-AUDIT 2026-10-14: ~48px tap target */
  transition: background .18s ease, transform .18s ease;
}
.nav-list a:hover { background: var(--sun-soft); transform: translateY(-2px); }
.nav-cta {
  background: var(--coral); color: #fff !important;
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-cta:hover { background: var(--coral-deep); }

/* ---------- hero ---------- */
/* Paid Image = Full-Top Hero Law (2026-10-20): the hero art IS the entire top
   of the page — a full-viewport-width banner ~84vh tall — never a small
   polaroid beside the text (the old .hero-photo card was removed). */
.hero { position: relative; padding: 0 0 40px; overflow: hidden; }
.hero-banner {
  position: relative; margin: 0;
  height: min(84vh, 760px); min-height: 430px;
  overflow: hidden;
}
.hero-banner img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
}
.hero-banner .sticker { top: 22px; right: 22px; }
@media (max-width: 640px) {
  .hero-banner { height: 74vh; min-height: 360px; }
}
.hero-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: center;
  padding-top: 44px;
}
.hero-copy { max-width: 44rem; }
.hero-copy .lede { max-width: 56ch; }
.eyebrow {
  display: inline-block; margin: 0 0 18px;
  background: var(--sun); color: var(--ink);
  font-family: Lexend, sans-serif; font-weight: 700; font-size: .95rem;
  padding: 8px 20px; border-radius: 999px;
  border: 3px solid var(--ink);
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 rgba(46, 33, 24, .15);
}
.hero h1 {
  font-family: Lexend, sans-serif; font-weight: 800;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 20px;
}
.hero h1 .hl {
  background: linear-gradient(transparent 55%, var(--sun-soft) 55%, var(--sun-soft) 92%, transparent 92%);
  padding: 0 .08em;
}
.lede { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 28px; max-width: 34ch; }

.hero-form { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-form input[type="email"] {
  flex: 1 1 240px; min-height: 60px;
  font: inherit; padding: 0 22px;
  border: 3px solid var(--ink); border-radius: 999px; background: #fff;
}
.btn {
  font-family: Lexend, sans-serif; font-weight: 700; font-size: 1.05rem;
  min-height: 60px; padding: 0 30px;
  border: 3px solid var(--ink); border-radius: 999px; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, translate .25s ease;
}
.btn-primary {
  background: var(--coral-deep); color: #fff;
  box-shadow: var(--sticker-shadow);
}
.btn-primary:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 7px 8px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-block { width: 100%; }
.micro { font-size: .95rem; color: var(--ink-soft); margin: 10px 0 0; }

/* hero photo — polaroid with tape, gently floating */
.hero-photo { position: relative; margin: 0; justify-self: center; }
.photo-frame {
  background: #fff; padding: 18px 18px 64px;
  border-radius: 28px;
  border: 3px solid var(--ink);
  box-shadow: 10px 12px 0 rgba(46, 33, 24, .12);
  transform: rotate(3deg);
  animation: floaty 6s ease-in-out infinite;
  max-width: 440px;
}
.photo-frame img {
  display: block; width: 100%; height: auto;
  border-radius: 16px; aspect-ratio: 4 / 4.4; object-fit: cover;
}
.photo-frame::before, .photo-frame::after {
  content: ""; position: absolute; top: -16px; width: 110px; height: 34px;
  background: rgba(255, 182, 39, .55);
  border-left: 2px dashed rgba(46,33,24,.25);
  border-right: 2px dashed rgba(46,33,24,.25);
  transform: rotate(-6deg);
}
.photo-frame::before { left: 24px; }
.photo-frame::after { right: 24px; transform: rotate(6deg); }
.photo-caption {
  position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-family: Lexend, sans-serif; font-weight: 700; color: var(--ink-soft);
  margin: 0;
}
.sticker {
  position: absolute; top: -28px; right: -18px; z-index: 2;
  background: var(--sky); color: #fff;
  font-family: Lexend, sans-serif; font-weight: 800; font-size: .95rem;
  padding: 14px 18px; border-radius: 999px;
  border: 3px solid var(--ink);
  transform: rotate(10deg);
  box-shadow: 4px 4px 0 var(--ink);
  animation: wiggle 4s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }
@keyframes wiggle { 0%,100% { transform: rotate(10deg); } 50% { transform: rotate(4deg) scale(1.05); } }

/* decorative paws */
.paw { position: absolute; fill: var(--coral); opacity: .16; pointer-events: none; }
.paw-1 { width: 90px; top: 40px; left: 4%; transform: rotate(-24deg); }
.paw-2 { width: 64px; bottom: 30px; right: 6%; transform: rotate(30deg); fill: var(--sky); }

/* ---------- sample cards ---------- */
.samples { margin-top: 64px; position: relative; }
.samples-label {
  text-align: center; font-family: Lexend, sans-serif; font-weight: 700;
  font-size: 1.15rem; margin: 0 0 26px;
}
.sample-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.twin-card {
  position: relative; margin: 0; background: var(--card);
  border-radius: var(--radius-md); padding: 14px 14px 22px;
  border: 4px solid var(--ink);
  box-shadow: var(--soft-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.twin-card:nth-child(1) { transform: rotate(-2.5deg); border-color: var(--coral); }
.twin-card:nth-child(2) { transform: rotate(1.8deg) translateY(10px); border-color: var(--sun); }
.twin-card:nth-child(3) { transform: rotate(-1.5deg); border-color: var(--sky); }
.twin-card:hover { transform: rotate(0) translateY(-8px) scale(1.02) perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); box-shadow: 0 22px 44px rgba(150, 95, 25, .2); z-index: 2; }
.card-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1;
  object-fit: cover; border-radius: 16px;
}
.card-brand {
  font-family: Lexend, sans-serif; font-weight: 800; font-size: .85rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft);
  margin: 14px 4px 6px;
}
.card-score {
  position: absolute; top: -24px; right: -14px;
  width: 76px; height: 76px; margin: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--sun); color: var(--ink);
  font-family: Lexend, sans-serif; font-weight: 800; font-size: 1.5rem;
  border-radius: 50%; border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(8deg);
}
.card-verdict {
  font-family: Lexend, sans-serif; font-weight: 700; font-size: 1.15rem;
  margin: 0 4px; line-height: 1.35;
}
.card-also {
  font-size: .95rem; font-weight: 700; color: var(--sky-deep);
  margin: 6px 4px 0;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 16px; }
.faq-list details {
  background: var(--card); border: 3px solid var(--ink); border-radius: 20px;
  box-shadow: 4px 4px 0 rgba(46, 33, 24, .12); overflow: hidden;
}
.faq-list details:nth-child(odd) { transform: rotate(-.5deg); }
.faq-list details:nth-child(even) { transform: rotate(.5deg); }
.faq-list summary {
  font-family: Lexend, sans-serif; font-weight: 700; font-size: 1.1rem;
  padding: 18px 24px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 1.7rem; font-weight: 800; line-height: 1;
  color: var(--coral-deep); flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list details > p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); }

/* ---------- sections ---------- */
.section { padding: 84px 0; position: relative; }
.section-alt { background: var(--cream-deep); border-radius: 48px; margin: 0 12px; }
.section h2 {
  font-family: Lexend, sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -1px;
  margin: 0 0 12px; text-align: center;
}
.section-sub { text-align: center; color: var(--ink-soft); font-size: 1.15rem; margin: 0 0 44px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: var(--card); border-radius: var(--radius-md);
  padding: 34px 28px; border: 3px solid var(--ink);
  box-shadow: var(--soft-shadow); position: relative;
  transition: transform .2s ease;
}
.step:hover { transform: translateY(-6px) rotate(-.6deg); }
.step:nth-child(1) .step-num { background: var(--coral); }
.step:nth-child(2) .step-num { background: var(--sun); }
.step:nth-child(3) .step-num { background: var(--sky); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  border: 3px solid var(--ink);
  font-family: Lexend, sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--ink);
  margin-bottom: 18px;
}
.step h3 { font-family: Lexend, sans-serif; font-size: 1.3rem; margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-soft); }

.privacy-box {
  background: var(--sky-soft); border: 3px dashed var(--sky-deep);
  border-radius: var(--radius-md); padding: 36px 40px;
  max-width: 760px; margin: 0 auto; font-size: 1.1rem;
}
.privacy-box p { margin: 0; }
.privacy-box strong { color: var(--sky-deep); }

.share-points { max-width: 720px; margin: 0 auto; display: grid; gap: 20px; }
.share-points p {
  background: var(--card); border-radius: 20px; padding: 22px 26px; margin: 0;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 rgba(46,33,24,.12);
  font-size: 1.05rem;
}
.share-points p:nth-child(1) { transform: rotate(-1deg); }
.share-points p:nth-child(2) { transform: rotate(.8deg); }
.share-points p:nth-child(3) { transform: rotate(-.6deg); }
.share-points p:nth-child(4) { transform: rotate(.7deg); }
.share-points strong { color: var(--coral-deep); }

/* ---------- waitlist ---------- */
.waitlist-inner { max-width: 560px; margin: 0 auto; }
.waitlist-inner h2 { margin-bottom: 32px; }
.waitlist-form {
  background: var(--card); border: 4px solid var(--ink); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: 8px 8px 0 rgba(46,33,24,.12);
  display: grid; gap: 20px;
}
.field { display: grid; gap: 8px; }
.field label { font-family: Lexend, sans-serif; font-weight: 700; }
.field input {
  font: inherit; min-height: 60px; padding: 0 20px;
  border: 3px solid var(--ink); border-radius: 18px; background: var(--cream);
}
.field input::placeholder { color: #A68B6B; }
.form-msg { min-height: 1.6em; margin: 0; font-weight: 700; }
.form-msg.ok { color: #1E7A34; }
.form-msg.err { color: var(--coral-deep); }

/* ---------- footer ---------- */
.site-footer { padding: 56px 0 48px; text-align: center; }
.site-footer .wordmark { margin-bottom: 12px; }
.trust { max-width: 640px; margin: 0 auto 12px; color: var(--ink-soft); font-size: 1rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { order: -1; }
  .photo-frame { max-width: 360px; }
  .sample-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .twin-card:nth-child(2) { transform: rotate(1.8deg); }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .nav-list a:not(.nav-cta) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ================= WOW PASS (2026-10-13 night) =================
   "3d, animation, AI" owner bar. All motion is decorative-only,
   transform/translate/opacity only, progressive enhancement first. */

/* 1. CSS scroll-driven reveals — gentle, not flashy (calm-motion default). */
.reveal {
  animation: rise-in 1.2s ease-out both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}
@keyframes rise-in { from { opacity: 0; translate: 0 8px; } }

/* 2. Hero atmosphere layers: pollen canvas + sun glow. */
#pollen {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}
.hero-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-glow::before {
  content: ""; position: absolute; width: 900px; height: 900px;
  left: 50%; top: -340px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 182, 39, .35), rgba(255, 182, 39, 0) 60%);
}
.hero-glow::after {
  content: ""; position: absolute; width: 700px; height: 700px;
  right: -200px; bottom: -260px;
  background: radial-gradient(circle, rgba(244, 96, 77, .16), rgba(244, 96, 77, 0) 60%);
}
.hero-inner { position: relative; z-index: 1; }
/* Warm glow floating behind the hero photo (Huly-style product glow). */
.hero-photo::before {
  content: ""; position: absolute; inset: 10% -14%; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 182, 39, .45), rgba(255, 182, 39, 0) 65%);
  filter: blur(10px);
}

/* 3. Multi-layer parallax hero — OFF BY DEFAULT (calm-motion pass, 2026-10-14).
   Owner guardrail (Benstinct relaying Bentley, 00:07 ET): these pages are for
   kids with ADHD and reading disabilities — motion calm and purposeful, not
   parallax-heavy. The decorative layers stay in place; only their scroll-driven
   movement is parked. Keyframes preserved so parallax can be restored by
   un-commenting the rules below. */
/*
@supports (animation-timeline: scroll()) {
  .hero-glow { animation: par-glow linear both; animation-timeline: scroll(); }
  .paw-1 { animation: par-paw-1 linear both; animation-timeline: scroll(); }
  .paw-2 { animation: par-paw-2 linear both; animation-timeline: scroll(); }
  .hero-photo { animation: par-photo linear both; animation-timeline: scroll(); }
}
*/
@keyframes par-glow  { from { translate: 0 0; } to { translate: 0 60px; } }
@keyframes par-paw-1 { from { translate: 0 0; } to { translate: 0 140px; } }
@keyframes par-paw-2 { from { translate: 0 0; } to { translate: 0 220px; } }
@keyframes par-photo { from { translate: 0 0; } to { translate: 0 40px; } }

/* 4. IntersectionObserver stagger entrances.
   Hidden state is scoped under .js so no-JS readers see everything. */
.js .stagger > * {
  opacity: 0; translate: 0 8px;
}
/* RE-AUDIT 2026-10-14 fix: the entrance transition must NOT clobber each
   element's natural hover transition (twin-card tilt, step lift, share-point
   lift). The after-state carries a superset so the entrance still animates
   and hovers stay snappy once revealed. */
.js .stagger > *.in {
  opacity: 1; translate: 0 0;
  transition: opacity .8s ease-out, translate .8s ease-out,
              transform .2s ease, box-shadow .25s ease;
}
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1 !important; translate: none !important; transition: none !important; }
}

/* 5. Headline: one gentle fade-in — the calm default (calm-motion pass, 2026-10-14).
   The word-cascade is parked per the owner guardrail; its code stays in
   script.js. Killed under reduced-motion by the global rule below. */
.hero h1 { animation: h1-fade 1.4s ease-out both; }
@keyframes h1-fade { from { opacity: 0; } }
/* Parked: hand-rolled headline words (fallback when GSAP SplitText is unavailable). */
.hero h1 .w { display: inline-block; will-change: transform; }

/* 6. GSAP scrub-beat progress track — shown only when the scrub beat is live. */
.scrub-progress {
  display: none; height: 10px; max-width: 420px; margin: 0 auto 44px;
  border-radius: 999px; background: var(--sun-soft); border: 2px solid var(--ink);
  overflow: hidden;
}
.scrub-progress.on { display: block; }
.scrub-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--sun), var(--coral));
  transform: scaleX(0); transform-origin: left;
}

/* ================= 2030 PASS (2026-10-13 night) =================
   Owner: "Be as creative as you can and make everything look like
   it's from the year 2030." Light-future layer over the sunny dog park:
   aurora washes, holographic accents, frosted glass, luminous edges.
   HARD RULES KEPT: no dark backgrounds, real photos front and center,
   all copy / sections / JS untouched, motion decorative-only. */

:root {
  --holo-text: linear-gradient(100deg, #A93226, #8E44AD 25%, #0E6FA8 50%, #1E7A34 75%, #A93226);
  --holo-bar: linear-gradient(90deg, #F4604D, #FFB627, #3AA7E0, #57B26A, #F4604D);
}

/* --- ambient aurora: fixed color field behind everything (decorative) --- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(44rem 30rem at 10% 6%, rgba(244,96,77,.13), transparent 62%),
    radial-gradient(48rem 34rem at 90% 20%, rgba(58,167,224,.15), transparent 62%),
    radial-gradient(42rem 32rem at 52% 96%, rgba(255,182,39,.17), transparent 62%),
    radial-gradient(30rem 24rem at 80% 68%, rgba(87,178,106,.10), transparent 62%);
}
body::after {
  content: ""; position: fixed; inset: -6%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34rem 26rem at 78% 12%, rgba(142,68,173,.08), transparent 60%),
    radial-gradient(36rem 28rem at 18% 82%, rgba(58,167,224,.10), transparent 60%);
  animation: aurora-drift 28s ease-in-out infinite;
}
@keyframes aurora-drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(2.5%,-2%,0) scale(1.05); }
}

/* --- fine tech grid over the hero, fading out at the edges (decorative) --- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(46,33,24,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,33,24,.055) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 92% 82% at 50% 28%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 92% 82% at 50% 28%, #000 25%, transparent 78%);
}

/* --- sticky header: holographic hairline --- */
.site-header {
  border-bottom: 3px solid transparent;
  background:
    linear-gradient(rgba(255,251,240,.94), rgba(255,251,240,.94)) padding-box,
    var(--holo-bar) border-box;
}

/* --- wordmark goes holographic (deep jewel tones: contrast-safe on cream) --- */
.wordmark span {
  background: linear-gradient(100deg, #C0392B, #0E6FA8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

/* --- eyebrow: future-tech labeling --- */
.eyebrow {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: .82rem;
  box-shadow: 4px 4px 0 rgba(46,33,24,.15), 0 0 26px rgba(255,182,39,.55);
}

/* --- hero headline: holographic "twins." with slow shimmer --- */
.hero h1 .hl {
  background: var(--holo-text);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding: 0 .08em;
  animation: holo-shimmer 7s linear infinite;
}
@keyframes holo-shimmer { to { background-position: 220% center; } }

/* --- section headlines: holographic underline bar --- */
.section h2::after {
  content: ""; display: block; width: 76px; height: 6px;
  margin: 16px auto 0; border-radius: 999px;
  background: var(--holo-bar);
  box-shadow: 0 2px 12px rgba(58,167,224,.4);
}

/* --- frosted glass surfaces (blur the aurora behind them) --- */
.privacy-box, .waitlist-form, .faq-list details, .share-points p {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.45);
  backdrop-filter: blur(16px) saturate(1.45);
}
.privacy-box {
  background: rgba(221,241,252,.55);
  box-shadow: 0 18px 46px rgba(14,111,168,.20);
}
.waitlist-form {
  box-shadow: 0 22px 54px rgba(244,96,77,.16), 8px 8px 0 rgba(46,33,24,.12);
}
.faq-list details:hover {
  box-shadow: 0 12px 32px rgba(58,167,224,.22), 4px 4px 0 rgba(46,33,24,.12);
}
.faq-list summary::after {
  background: linear-gradient(135deg, #F4604D, #0E6FA8);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.share-points p { transition: transform .2s ease, box-shadow .25s ease; }
.share-points p:hover {
  transform: translateY(-4px) rotate(0deg);
  box-shadow: 0 16px 36px rgba(244,96,77,.18), 4px 4px 0 rgba(46,33,24,.12);
}

/* --- twin cards: colored underglow + holographic foil sweep on hover --- */
.twin-card:nth-child(1) { box-shadow: 0 18px 42px rgba(244,96,77,.20), var(--soft-shadow); }
.twin-card:nth-child(2) { box-shadow: 0 18px 42px rgba(255,182,39,.28), var(--soft-shadow); }
.twin-card:nth-child(3) { box-shadow: 0 18px 42px rgba(58,167,224,.22), var(--soft-shadow); }
.twin-card:nth-child(1):hover { box-shadow: 0 26px 56px rgba(244,96,77,.30), 0 22px 44px rgba(150,95,25,.2); }
.twin-card:nth-child(2):hover { box-shadow: 0 26px 56px rgba(255,182,39,.36), 0 22px 44px rgba(150,95,25,.2); }
.twin-card:nth-child(3):hover { box-shadow: 0 26px 56px rgba(58,167,224,.32), 0 22px 44px rgba(150,95,25,.2); }
.twin-card::after {
  content: ""; position: absolute; inset: 5px; border-radius: 19px;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.34) 46%, rgba(58,167,224,.16) 50%, rgba(255,255,255,.34) 54%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .8s ease;
  pointer-events: none;
}
.twin-card:hover::after { transform: translateX(130%); }

/* --- score badges: holographic halo ring, spins while its card is hovered --- */
.card-score::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  padding: 3px; z-index: -1;
  background: conic-gradient(from 0deg, #F4604D, #FFB627, #3AA7E0, #57B26A, #8E44AD, #F4604D);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.twin-card:hover .card-score::after { animation: holo-spin 6s linear infinite; }
@keyframes holo-spin { to { transform: rotate(360deg); } }

/* --- step numbers: holographic gradients + luminous glow --- */
.step:nth-child(1) .step-num { background: linear-gradient(135deg, #F4604D, #FFB627); box-shadow: 0 8px 26px rgba(244,96,77,.45); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, #FFB627, #FFE3A3); box-shadow: 0 8px 26px rgba(255,182,39,.5); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #3AA7E0, #A8DCF7); box-shadow: 0 8px 26px rgba(58,167,224,.5); }

/* --- buttons: luminous glow + AI sheen sweep (also fires on keyboard focus) --- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; width: 55%; left: -75%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  transition: left .65s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-primary:focus-visible::after { left: 135%; }
.btn-primary:hover { box-shadow: 7px 8px 0 var(--ink), 0 0 36px rgba(244,96,77,.5); }
.nav-cta:hover { box-shadow: 3px 3px 0 var(--ink), 0 0 26px rgba(244,96,77,.55); }

/* --- inputs: holographic focus halo (fields feel alive) --- */
.field input:focus, .hero-form input[type="email"]:focus {
  border-color: var(--sky-deep);
  /* RE-AUDIT 2026-10-14 fix: the 2030 pass replaced the solid 4px focus
     outline with a low-opacity halo (weak indicator). Keep the luminosity,
     restore a solid high-contrast ring for keyboard users. */
  outline: 3px solid var(--sky-deep);
  outline-offset: 2px;
  box-shadow: 0 0 24px rgba(58,167,224,.45);
}

/* --- focus glow upgrade (original 4px outline kept, luminosity added) --- */
a:focus-visible, button:focus-visible {
  box-shadow: 0 0 0 6px rgba(58,167,224,.25);
}
summary:focus-visible {
  outline: 4px solid var(--sky-deep); outline-offset: 3px; border-radius: 12px;
  box-shadow: 0 0 0 6px rgba(58,167,224,.25);
}

/* --- hero photo: luminous halo; sticker gets a glow --- */
.photo-frame {
  box-shadow: 10px 12px 0 rgba(46,33,24,.12), 0 0 60px rgba(58,167,224,.22);
}
.sticker {
  box-shadow: 4px 4px 0 var(--ink), 0 0 24px rgba(58,167,224,.55);
}

/* --- footer: holographic divider --- */
.site-footer::before {
  content: ""; display: block; height: 4px; max-width: 1120px;
  margin: 0 auto 52px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, #F4604D, #FFB627, #3AA7E0, transparent);
  opacity: .75;
}

/* --- fallback: gradient text needs background-clip; never hide text --- */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 .hl, .wordmark span {
    background: none; animation: none;
    color: var(--coral-deep); -webkit-text-fill-color: var(--coral-deep);
  }
  .faq-list summary::after {
    background: none; color: var(--coral-deep);
    -webkit-text-fill-color: var(--coral-deep);
  }
}

/* --- Try-it twin tool (candidate build, 2026-10-21) --- */
.twin-tool { background: var(--card); border: 4px solid var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--soft-shadow); }
.twin-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 700px) { .twin-uploads { grid-template-columns: 1fr; } }
.twin-upload label { display: block; font-family: Lexend, sans-serif; font-weight: 700; margin-bottom: 8px; }
.twin-upload input[type="file"] { width: 100%; padding: 12px; border: 3px solid var(--ink); border-radius: 16px; background: var(--cream); }
.twin-preview { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid var(--ink); border-radius: var(--radius-md); margin-top: 12px; }
.twin-result { text-align: center; margin-top: 24px; }
.twin-score-big { font-family: Lexend, sans-serif; font-weight: 800; font-size: 5rem; line-height: 1; color: var(--coral-deep); margin: 0; }
.twin-verdict { font-family: Lexend, sans-serif; font-weight: 700; font-size: 1.4rem; margin: 10px 0 4px; }
.twin-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
