:root {
  --void: #0C0A07;
  --text: #F6EEE0;
  --muted: #A2917A;
  --line: rgba(246,238,224,.12);
  --gold: #F59E0B;
  --gold-hi: #FFD27A;
  --molten: linear-gradient(118deg, #C2410C 0%, #F59E0B 48%, #FFD27A 100%);
  --ease-out: cubic-bezier(.16,1,.3,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--void); color: var(--text); font-family: "General Sans", system-ui, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; line-height: 1.0; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; background: var(--molten); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.7rem; border-radius: 100px; font-weight: 600;
  background: var(--molten); color: #1A0E03;
  box-shadow: 0 8px 30px rgba(245,158,11,.3);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(245,158,11,.45); filter: brightness(1.05); }
.btn:active { transform: scale(.97); transition-duration: 90ms; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(246,238,224,.28); box-shadow: none; }
.btn--ghost:hover { border-color: var(--gold-hi); background: rgba(246,238,224,.05); filter: none; }
.contact__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: .3rem 0 1rem; }

/* ============================================================
   Top nav — mirrors the React <Header /> on the tab pages so the
   homepage doesn't feel like a different site. Sticky-positioned,
   transparent when at the page top of the hero, glass-frosted as
   soon as the user scrolls a few px (matches the React header's
   `glass` class behavior).
   ============================================================ */
.app-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), backdrop-filter 220ms var(--ease-out);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.app-nav.is-glass {
  background: rgba(13,10,8,.85);
  border-bottom-color: rgba(234,226,215,.12);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.app-nav__inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 2rem);
}
.app-nav__brand { display: flex; align-items: center; gap: .55rem; }
.app-nav__mark {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem; border-radius: 7px;
  background: var(--molten); color: #1A0E03;
  font-family: "Clash Display"; font-weight: 700; font-size: 1.05rem;
}
.app-nav__brand-text {
  font-family: "Clash Display"; font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.015em; color: #F6EEE0;
}
.app-nav__links { display: flex; align-items: center; gap: 1.75rem; }
.app-nav__link {
  position: relative; font-size: .875rem; font-weight: 500;
  color: rgba(246,238,224,.65); transition: color 220ms var(--ease-out);
}
.app-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--molten); border-radius: 1px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}
.app-nav__link:hover { color: #F6EEE0; }
.app-nav__link:hover::after,
.app-nav__link[data-active="true"]::after { transform: scaleX(1); }
.app-nav__link[data-active="true"] { color: #F6EEE0; }
.app-nav__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.25rem; border-radius: 100px;
  background: var(--molten); color: #1A0E03;
  font-family: "Clash Display"; font-weight: 600; font-size: .875rem;
  box-shadow: 0 8px 30px rgba(245,158,11,.3);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), filter 220ms var(--ease-out);
}
.app-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(245,158,11,.45); filter: brightness(1.05); }
.app-nav__cta:active { transform: scale(.97); transition-duration: 90ms; }
.app-nav__cta-icon { width: 16px; height: 16px; flex: none; }
.app-nav__actions { display: flex; align-items: center; gap: .6rem; }
.app-nav__login {
  display: inline-flex; align-items: center;
  padding: .5rem 1.1rem; border-radius: 100px;
  border: 1px solid rgba(245,158,11,.5); color: #FFD27A;
  font-family: "Clash Display"; font-weight: 600; font-size: .875rem;
  transition: background 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.app-nav__login:hover { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.85); }

/* Inquiry modal (replaces mailto: CTAs — submits to /api/inquiry) */
.inq { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1.2rem; }
.inq[aria-hidden="false"] { display: flex; }
.inq__overlay { position: absolute; inset: 0; background: rgba(6,4,2,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.inq__dialog { position: relative; width: min(92vw, 520px); max-height: 90vh; overflow: auto; background: #15110b; border: 1px solid rgba(245,158,11,.25); border-radius: 20px; padding: 2rem; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.inq__x { position: absolute; top: .8rem; right: 1rem; background: none; border: 0; color: #A2917A; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.inq__x:hover { color: #F6EEE0; }
.inq__title { font-family: "Clash Display"; font-size: 1.6rem; font-weight: 600; color: #F6EEE0; margin: 0 0 .3rem; }
.inq__sub { color: rgba(246,238,224,.7); font-size: .95rem; margin: 0 0 1.3rem; }
.inq__form { display: flex; flex-direction: column; gap: .9rem; }
.inq__rowgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 520px) { .inq__rowgrid { grid-template-columns: 1fr; } }
.inq__form label { display: flex; flex-direction: column; gap: .35rem; font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(246,238,224,.55); }
.inq__form input, .inq__form textarea { background: rgba(246,238,224,.05); border: 1px solid rgba(246,238,224,.16); border-radius: 10px; color: #F6EEE0; padding: .7rem .85rem; font: inherit; font-size: .95rem; text-transform: none; letter-spacing: normal; outline: none; width: 100%; }
.inq__form input:focus, .inq__form textarea:focus { border-color: rgba(245,158,11,.6); }
.inq__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq__submit { margin-top: .4rem; align-self: flex-start; cursor: pointer; border: 0; }
.inq__status { font-size: .88rem; min-height: 1.1em; margin: .2rem 0 0; color: rgba(246,238,224,.7); }
.inq__status--ok { color: #5EC98F; }
.inq__status--err { color: #e3766c; }
/* Mobile nav: hamburger + slide-in drawer (hidden on desktop) */
.app-nav__cta-m { display: none; }
.app-nav__burger { display: none; }
.nav-drawer { display: none; }

@media (max-width: 820px) {
  .app-nav__links { display: none; }
  .app-nav__login { display: none; }              /* moved into the drawer */
  .app-nav__brand-text { font-size: 1.1rem; }
  .app-nav__cta { padding: .42rem 1rem; font-size: .82rem; }
  .app-nav__cta-d { display: none; }
  .app-nav__cta-m { display: inline; }
  .app-nav { z-index: 70; }                        /* keep burger above the drawer scrim */

  .app-nav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 0 11px; border-radius: 999px;
    border: 1px solid rgba(246,238,224,.18); background: none; cursor: pointer;
  }
  .app-nav__burger span { display: block; height: 2px; width: 100%; border-radius: 2px; background: #F6EEE0; transition: transform .25s var(--ease-out), opacity .2s var(--ease-out); }
  .app-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .app-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .app-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-drawer { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
  .nav-drawer.open { pointer-events: auto; }
  .nav-drawer__scrim { position: absolute; inset: 0; background: rgba(12,10,7,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s var(--ease-out); }
  .nav-drawer.open .nav-drawer__scrim { opacity: 1; }
  .nav-drawer__panel {
    position: absolute; right: 0; top: 0; height: 100%; width: min(86vw, 360px);
    background: #0C0A07; border-left: 1px solid rgba(246,238,224,.08);
    display: flex; flex-direction: column; gap: .15rem; padding: 5.5rem 1.5rem 2rem;
    transform: translateX(100%); transition: transform .3s var(--ease-out); overflow-y: auto;
  }
  .nav-drawer.open .nav-drawer__panel { transform: translateX(0); }
  .nav-drawer__link { font-family: "Clash Display"; font-weight: 600; font-size: 1.55rem; color: #F6EEE0; text-decoration: none; padding: .5rem 0; }
  .nav-drawer__link[data-active="true"] { color: #FFD27A; }
  .nav-drawer__cta { margin-top: 1.25rem; align-self: flex-start; }
  .nav-drawer__login { margin-top: .85rem; align-self: flex-start; color: #A2917A; text-decoration: none; font-size: .95rem; }
}

/* Reviews marquee */
.reviews .eyebrow { margin-bottom: 1rem; }
.marquee { height: 60vh; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 86%, transparent); }
.marquee__track { display: flex; flex-direction: column; gap: .9rem; animation: revscroll 30s linear infinite; }
@keyframes revscroll { from { transform: translateY(-50%); } to { transform: translateY(0); } }
html.js .marquee__track { animation: none; }  /* JS drives the transform (auto + scroll-boost) */
.rev { background: rgba(28,21,13,.92); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.rev__stars { color: var(--gold-hi); letter-spacing: 2px; font-size: .85rem; margin-bottom: .4rem; }
.rev blockquote { font-family: "Clash Display"; font-weight: 500; font-size: 1rem; line-height: 1.25; }
.rev figcaption { color: var(--muted); font-size: .8rem; margin-top: .5rem; }
.sample-note { color: var(--muted); font-size: .72rem; margin-top: .8rem; opacity: .75; font-style: italic; }

/* Examples (live previews) */
.examples .eyebrow { text-align: center; }
.ex-title { font-size: clamp(1.8rem, 4vw, 3rem); text-align: center; margin: .2rem 0 1.7rem; font-family: "Clash Display"; font-weight: 600; }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ex { display: block; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(28,21,13,.92); transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out); }
.ex:hover { transform: translateY(-6px); border-color: rgba(245,158,11,.55); }
.ex__frame { display: block; position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #15100A; }
.ex__frame iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: top left; pointer-events: none; }
.ex__cap { display: block; padding: .85rem 1rem 1rem; }
.ex__cap b { font-family: "Clash Display"; font-weight: 600; font-size: 1rem; display: block; }
.ex__cap span { color: var(--muted); font-size: .82rem; }
@media (max-width: 820px) { .ex-grid { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- Base / no-JS / reduced fallback (normal scroll, everything visible) ---------- */
.stage { position: relative; }
.vid { display: block; width: 100%; height: 60vh; background: #0C0A07 center/cover no-repeat; }
.stage__scrim, .hud, .hint { display: none; }
.panel { max-width: 760px; margin: 0 auto; padding: 4.5rem clamp(1.2rem,5vw,2rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; font-weight: 600; color: var(--gold-hi); margin-bottom: 1rem; }
.panel__title { font-size: clamp(2.6rem, 7vw, 5.5rem); margin-bottom: 1.3rem; }
.panel__lead { color: rgba(246,238,224,.82); font-size: clamp(1.05rem,1.6vw,1.25rem); max-width: 38ch; margin-bottom: 2rem; }
.panel .btn { margin-top: .5rem; }
.panel__contact { margin-top: 1rem; color: var(--muted); font-size: .9rem; }

.feats { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.feats li { display: flex; flex-direction: column; gap: .25rem; }
.feats b { font-family: "Clash Display"; font-weight: 600; font-size: 1.2rem; }
.feats span { color: var(--muted); font-size: .98rem; max-width: 40ch; }

.plans { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.6rem; }
.plan { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(13,9,5,.42), rgba(13,9,5,.3)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: border-color 220ms var(--ease-out); }
.plan--pop { border-color: rgba(245,158,11,.5); box-shadow: 0 16px 50px rgba(245,158,11,.16); }
.plan:hover { border-color: rgba(245,158,11,.45); }
.plan__head { width: 100%; display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }
.plan__id { flex: 1; min-width: 0; }
.plan__id b { font-family: "Clash Display"; font-weight: 600; font-size: 1.05rem; display: block; }
.plan__desc { color: var(--muted); font-size: .84rem; }
/* Solid bright gold — was a molten gradient clipped to text, but the
   dark-orange end of that gradient (#C2410C) disappeared against bright
   video frames. Solid #FFD27A holds contrast everywhere in the scrub. */
.plan__p { font-family: "Clash Display"; font-weight: 600; font-size: 1.35rem; white-space: nowrap; text-align: right; color: #FFD27A; }
.plan__p small { display: block; font-family: "General Sans"; font-weight: 500; font-size: .76rem; color: rgba(246,238,224,.85); }
.plan__chev { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
.plan__head[aria-expanded="true"] .plan__chev { transform: rotate(180deg); }
.plan__feats { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 340ms var(--ease-out); }
.plan__feats > ul { overflow: hidden; list-style: none; margin: 0; padding: 0 1.1rem; }
.plan__head[aria-expanded="true"] + .plan__feats { grid-template-rows: 1fr; }
.plan__head[aria-expanded="true"] + .plan__feats > ul { padding-bottom: 1rem; }
.plan__feats li { position: relative; padding: .28rem 0 .28rem 1.35rem; font-size: .9rem; color: var(--text); }
.plan__feats li::before { content: ""; position: absolute; left: 0; top: .72em; width: .42rem; height: .42rem; border-radius: 50%; background: var(--molten); }
.plan__feats li em { background: none; -webkit-text-fill-color: var(--muted); color: var(--muted); font-weight: 600; font-style: normal; }

/* ---------- Demos page (normal scroll) ---------- */
.demos-page { background: var(--void); }
.demos { max-width: 1180px; margin: 0 auto; padding: 8rem clamp(1.2rem,5vw,3rem) 5rem; }
.demos__head { text-align: center; margin-bottom: clamp(2.5rem,6vh,4rem); }
.demos__head h1 { font-size: clamp(2.4rem,6vw,4.4rem); margin: .3rem 0 1rem; }
.demos__head p { color: var(--muted); max-width: 52ch; margin: 0 auto; font-size: 1.05rem; }
.demos__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.6rem; }
.demo { display: block; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(28,21,13,.92); transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out); }
.demo:hover { transform: translateY(-6px); border-color: rgba(245,158,11,.55); box-shadow: 0 24px 70px rgba(245,158,11,.16); }
.demo__frame { display: block; position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #15100A; }
.demo__frame iframe { position: absolute; top: 0; left: 0; width: 400%; height: 400%; border: 0; transform: scale(.25); transform-origin: top left; pointer-events: none; }
.demo__cap { display: block; padding: 1.1rem 1.2rem 1.3rem; }
.demo__cap b { font-family: "Clash Display"; font-weight: 600; font-size: 1.15rem; display: block; }
.demo__cap .loc { display: block; color: var(--muted); font-size: .9rem; }
.demo__open { display: inline-block; margin-top: .7rem; color: var(--gold-hi); font-weight: 600; font-size: .9rem; }
.demos__back { display: block; text-align: center; margin-top: 3rem; color: var(--muted); }
.demos__back:hover { color: var(--text); }

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 8rem clamp(1.2rem,5vw,3rem) 4rem; }
.legal h1 { font-size: clamp(2.2rem,5vw,3.4rem); margin-bottom: .5rem; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.6rem; }
.legal h2 { font-family: "Clash Display"; font-weight: 600; font-size: 1.35rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: rgba(246,238,224,.82); font-size: 1rem; }
.legal p { margin-bottom: .9rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: .9rem; }
.legal li { margin-bottom: .4rem; }
.legal a { color: var(--gold-hi); }
.legal__back { display: inline-block; margin-top: 1.5rem; color: var(--muted); }
.legal__back:hover { color: var(--text); }

/* ---------- Shared site footer (demos + legal pages) ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: 2rem clamp(1.2rem,5vw,3rem) 3rem; display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; justify-content: center; color: var(--muted); font-size: .85rem; }
.site-footer a { color: var(--muted); transition: color 200ms var(--ease-out); }
.site-footer a:hover { color: var(--text); }
.site-footer .sep { opacity: .5; }

/* Legal links inside the locked contact panel */
.panel__contact a { color: var(--gold-hi); }

/* ---------- Locked experience (JS on, motion ok) ----------
   Body scrolls natively now — locked.js only "captures" wheel/touch while
   the user is at the page top with progress < 1. Once they finish the
   scrub, they native-scroll past the hero into the post-hero content.
   The .stage is sticky-pinned to the top of its 100vh wrapper, so it
   stays full-viewport while the user scrolls through the hero and then
   scrolls off naturally once they pass into the next section. */
html.js body.locked-page { overflow-x: hidden; }
html.js .stage-wrap { position: relative; height: 100vh; }
html.js .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
html.js .vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; will-change: opacity; background-size: cover; background-position: center;
}
html.js .stage__scrim {
  display: block; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,10,7,.78) 0%, transparent 34%, transparent 66%, rgba(12,10,7,.78) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(12,10,7,.6) 100%);
}
html.js .panel {
  position: absolute; top: 50%; z-index: 10; margin: 0; padding: 0;
  width: min(40vw, 460px); opacity: 0; pointer-events: none;
  will-change: transform, opacity; text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
html.js .panel[data-side="right"] { right: clamp(1.5rem, 6vw, 6.5rem); }
html.js .panel[data-side="left"] { left: clamp(1.5rem, 6vw, 6.5rem); }
html.js .panel[data-side="center"] { left: 50%; width: min(92vw, 1060px); text-shadow: none; }
html.js .reviews { width: min(34vw, 380px); }
/* Centered reviews: a narrow column floating over the molten "ball", smaller cards, shorter marquee */
html.js .reviews[data-side="center"] { width: min(92vw, 420px); text-shadow: 0 2px 30px rgba(0,0,0,.5); }
html.js .reviews[data-side="center"] .eyebrow { text-align: center; }
html.js .reviews[data-side="center"] .marquee { height: 46vh; }
html.js .reviews[data-side="center"] .rev { padding: .7rem .9rem; border-radius: 12px; }
html.js .reviews[data-side="center"] .rev__stars { font-size: .76rem; margin-bottom: .3rem; }
html.js .reviews[data-side="center"] .rev blockquote { font-size: .9rem; line-height: 1.2; }
html.js .reviews[data-side="center"] .rev figcaption { font-size: .73rem; margin-top: .35rem; }
/* Centered contact finale: emerges from the bloom, text + buttons centered */
html.js .contact[data-side="center"] { width: min(92vw, 640px); text-align: center; text-shadow: 0 2px 36px rgba(0,0,0,.65); }
html.js .contact[data-side="center"] .panel__lead { margin-left: auto; margin-right: auto; }
html.js .contact[data-side="center"] .contact__actions { justify-content: center; }

/* Readability without a box: a soft dark halo hugs the text glyphs themselves (a "blob" around
   the words), so the animated video stays fully visible all around the text. */
html.js .panel__title, html.js .eyebrow, html.js .panel__lead,
html.js .feats b, html.js .feats span,
html.js .panel__contact, html.js .panel__contact a,
html.js .plan__id b, html.js .plan__desc, html.js .plan__p, html.js .plan__feats li {
  text-shadow: 0 0 8px rgba(7,5,2,.94), 0 0 18px rgba(7,5,2,.82), 0 1px 3px rgba(7,5,2,.96);
}
html.js .feats span { color: rgba(246,238,224,.92); }
html.js .plan__desc { color: rgba(246,238,224,.85); }
html.js .panel__lead { color: rgba(246,238,224,.96); }
html.js .panel__contact { color: rgba(246,238,224,.88); }
html.js .eyebrow { color: #FFE3AE; }

/* No box behind the text — the background visual stays fully visible. The per-glyph
   text halo above carries readability over the bright animation. */
html.js .panel::before { display: none; }
html.js .panel__lead { margin-bottom: 1.8rem; }

html.js .hud { display: block; position: absolute; left: 0; right: 0; bottom: 1.6rem; z-index: 20; }
html.js .dots { display: flex; gap: .6rem; justify-content: center; }
html.js .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(246,238,224,.22); transition: background 300ms var(--ease-out), transform 300ms var(--ease-out); }
html.js .dots i.on { background: var(--gold); transform: scale(1.35); }
html.js .hint {
  display: flex; position: absolute; left: 50%; transform: translateX(-50%); bottom: 3.2rem; z-index: 20;
  flex-direction: column; align-items: center; gap: .6rem; color: var(--muted);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; transition: opacity 500ms var(--ease-out);
}
html.js .hint__wheel { width: 22px; height: 36px; border: 1.5px solid rgba(246,238,224,.35); border-radius: 100px; position: relative; }
html.js .hint__wheel > span { position: absolute; top: 7px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 100px; background: var(--gold-hi); animation: wheel 1.6s var(--ease-out) infinite; }
@keyframes wheel { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 100%{opacity:0;transform:translateY(12px)} }
html.js .hint.gone { opacity: 0; pointer-events: none; }

html.js .panel__title { font-size: clamp(2.4rem, 5.5vw, 5rem); }
/* Pricing slide carries the most content — shrink its heading so the whole panel fits one screen */
html.js #pricing { width: min(42vw, 500px); }
html.js #pricing .panel__title { font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.05; margin-bottom: 1rem; }
html.js #pricing .eyebrow { margin-bottom: .7rem; }

@media (max-width: 820px) {
  html.js .panel { width: min(82vw, 460px); }
  html.js .panel[data-side="right"], html.js .panel[data-side="left"] { left: 50%; right: auto; text-align: center; }
  html.js .reviews { width: min(82vw, 380px); }
  html.js .panel[data-side="center"] { width: 86vw; }
  html.js .reviews[data-side="center"] { width: min(90vw, 400px); }
  html.js .reviews[data-side="center"] .marquee { height: 42vh; }
  /* Pricing carries the most content — give it a proper mobile width and tighten it so all tiers fit one screen */
  html.js #pricing { width: min(92vw, 440px); }
  html.js #pricing .eyebrow { margin-bottom: .5rem; }
  html.js #pricing .panel__title { margin-bottom: .55rem; }
  html.js #pricing .panel__lead { font-size: .9rem; line-height: 1.45; margin-bottom: .85rem; }
  html.js #pricing .plans { gap: .45rem; margin-bottom: .8rem; }
  html.js #pricing .plan__head { padding: .7rem .9rem; gap: .6rem; }
  html.js #pricing .plan__id b { font-size: .98rem; }
  html.js #pricing .plan__desc { font-size: .78rem; }
  html.js #pricing .plan__feats li { font-size: .82rem; padding-top: .2rem; padding-bottom: .2rem; }
  html.js #pricing .panel__contact { font-size: .8rem; margin-top: .6rem; }
}

/* ---------- Reduced motion: unlock, show stacked content (no scroll-jacking) ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js body.locked-page { height: auto; overflow: auto; }
  html.js .stage { position: static; height: auto; display: flex; flex-direction: column; }
  html.js .vid { position: relative; opacity: 1; height: 52vh; }
  html.js .stage__scrim, html.js .hud, html.js .hint { display: none; }
  html.js .panel { position: static; left: auto !important; right: auto !important; opacity: 1; transform: none !important; width: 100%; max-width: 820px; margin: 0 auto; padding: 4rem clamp(1.2rem,5vw,2rem); pointer-events: auto; text-shadow: none; }
  html.js .reviews { width: 100% !important; }
  html.js .marquee { height: auto; }
  html.js .marquee__track { animation: none; }
}

/* ============================================================
   Post-hero sections (below the locked scrub)
   These render only after the user scrolls past the hero zone.
   ============================================================ */
.post-hero { background: var(--void); color: var(--text); position: relative; z-index: 2; }
.ph-section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid rgba(246,238,224,.06); }
.ph-container { max-width: 1100px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 2rem); }
.ph-eyebrow { color: #FFE3AE; font-family: "Clash Display"; font-weight: 600; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; margin: 0 0 .9rem; }
.ph-h2 { font-family: "Clash Display"; font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 1rem; }
.ph-lead { color: rgba(246,238,224,.72); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 56ch; margin: 0 0 2rem; }
.ph-center { text-align: center; }
.ph-center .ph-lead { margin-left: auto; margin-right: auto; }

/* Demo preview strip — browser-chrome cards with scaled iframes */
.ph-demos-strip {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2.5rem;
}
.ph-demo {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: rgba(28,21,13,.92);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  transition: border-color 280ms var(--ease-out), transform 280ms var(--ease-out);
  color: inherit; text-decoration: none;
}
.ph-demo:hover { border-color: rgba(245,158,11,.45); transform: translateY(-4px); }
.ph-demo__chrome {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem; border-bottom: 1px solid rgba(246,238,224,.08);
  background: rgba(246,238,224,.04);
}
.ph-demo__dots { display: flex; gap: .35rem; flex: none; }
.ph-demo__dots span { display: block; width: .7rem; height: .7rem; border-radius: 50%; }
.ph-demo__dots span:nth-child(1) { background: rgba(255,107,107,.6); }
.ph-demo__dots span:nth-child(2) { background: rgba(245,158,11,.6); }
.ph-demo__dots span:nth-child(3) { background: rgba(74,222,128,.6); }
.ph-demo__bar {
  flex: 1; text-align: center; font-size: .78rem; color: #A2917A;
  background: rgba(12,10,7,.6); border-radius: 6px; padding: .25rem .6rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ph-demo__frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden; background: #15100A;
}
.ph-demo__frame iframe {
  position: absolute; top: 0; left: 0;
  width: 180%; height: 180%;
  border: 0; transform: scale(0.5556); transform-origin: top left;
  pointer-events: none;
}
.ph-demo__shield { position: absolute; inset: 0; z-index: 10; }
.ph-demo__hover {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 280ms var(--ease-out);
  pointer-events: none;
}
.ph-demo__hover-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #F6EEE0; color: #0C0A07; font-weight: 600; font-size: .85rem;
  padding: .6rem 1.25rem; border-radius: 100px; box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0; transform: scale(.92);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.ph-demo__hover-pill svg { width: 16px; height: 16px; flex: none; }
.ph-demo:hover .ph-demo__hover { background: rgba(0,0,0,.3); }
.ph-demo:hover .ph-demo__hover-pill { opacity: 1; transform: scale(1); }
.ph-demo__cap {
  padding: .85rem 1rem 1rem; display: flex; align-items: center; justify-content: space-between;
}
.ph-demo__cap b { font-family: "Clash Display"; font-weight: 600; font-size: 1rem; }
.ph-demo__cap span { color: #A2917A; font-size: .82rem; }
@media (max-width: 820px) {
  .ph-demos-strip { grid-template-columns: 1fr; }
}
.ph-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.5rem; }

/* Social proof / stats strip */
.ph-stats { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; margin-top: 2rem; }
.ph-stat__num { font-family: "Clash Display"; font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.2rem); background: var(--molten); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.ph-stat__label { color: rgba(246,238,224,.72); font-size: .92rem; margin-top: .5rem; }
/* Centered hero stat (100% custom) sitting above the supporting 3-up row. */
.ph-stat-feature { text-align: center; margin-top: 2.25rem; }
.ph-stat-feature .ph-stat__num { font-size: clamp(4rem, 11vw, 7rem); }
.ph-stat-feature .ph-stat__label { font-size: 1.05rem; }
.ph-stats--3 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }

/* FAQ accordion */
.ph-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .5rem; }
.ph-faq-item { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, rgba(246,238,224,.05), rgba(246,238,224,.015)); overflow: hidden; transition: border-color 220ms var(--ease-out); }
.ph-faq-item[open] { border-color: rgba(245,158,11,.4); }
.ph-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-family: "Clash Display"; font-weight: 600; font-size: 1.02rem; }
.ph-faq-item summary::-webkit-details-marker { display: none; }
.ph-faq-item summary::after { content: "+"; color: #FFD27A; font-size: 1.4rem; line-height: 1; transition: transform 300ms var(--ease-out); }
.ph-faq-item[open] summary::after { transform: rotate(45deg); }
.ph-faq-item p { margin: 0 1.4rem 1.2rem; color: rgba(246,238,224,.78); font-size: .98rem; line-height: 1.6; }

/* Final CTA */
.ph-final {
  position: relative; overflow: hidden; text-align: center;
  border-top: 1px solid rgba(246,238,224,.06);
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.ph-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(245,158,11,.16) 0%, transparent 70%);
}
.ph-final > * { position: relative; z-index: 1; }

/* Footer */
.ph-footer { border-top: 1px solid rgba(246,238,224,.06); padding: 3rem 0 2rem; }
.ph-footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr repeat(2, 1fr); margin-bottom: 2.5rem; }
.ph-footer h4 { font-family: "Clash Display"; font-weight: 600; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #FFE3AE; margin: 0 0 1rem; }
.ph-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.ph-footer a { color: rgba(246,238,224,.72); text-decoration: none; font-size: .94rem; transition: color 160ms; }
.ph-footer a:hover { color: #FFD27A; }
.ph-footer-brand p { color: rgba(246,238,224,.6); font-size: .94rem; max-width: 32ch; margin: 0; }
.ph-footer-bottom { border-top: 1px solid rgba(246,238,224,.06); padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgba(246,238,224,.5); font-size: .85rem; }

@media (max-width: 820px) {
  .ph-footer-grid { grid-template-columns: 1fr 1fr; }
  .ph-footer-brand { grid-column: 1 / -1; }
}
