/* ReelIQ "Reel Field": the 3D world landing. One fixed canvas, semantic chapters scrolling over it. */
:root { --bg: #08090b; --fg: #f4f5f7; --mut: #a3a8b1; --line: rgba(255,255,255,.12); --cy: #ffffff; --li: #ffffff; --fade: 1; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); font: 400 17px/1.55 var(--riq-sans); -webkit-font-smoothing: antialiased; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--bg); overflow-x: hidden; }
a { color: inherit; }
::selection { background: #fff; color: var(--bg); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* stage */
.field, .poster, .vignette { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.field { display: block; opacity: var(--fade); cursor: default; }
.field.is-hover { cursor: pointer; }
.poster { background: url("/img/world-poster.jpg") center / cover no-repeat, var(--bg); display: none; opacity: var(--fade); }
.no-gl .field { display: none; } .no-gl .poster { display: block; }
.vignette { pointer-events: none; background: radial-gradient(120% 90% at 60% 50%, transparent 45%, rgba(5,6,8,.6) 100%); opacity: var(--fade); }
.vignette::before, .vignette::after { content: ""; position: absolute; inset: 0; transition: opacity .8s ease; }
.vignette::before { background: linear-gradient(90deg, rgba(5,6,8,.92) 0%, rgba(5,6,8,.6) 30%, rgba(5,6,8,0) 52%); }
.vignette::after { background: linear-gradient(270deg, rgba(5,6,8,.92) 0%, rgba(5,6,8,.6) 30%, rgba(5,6,8,0) 52%); opacity: 0; }
[data-side="right"] .vignette::before { opacity: 0; } [data-side="right"] .vignette::after { opacity: 1; }
@media (max-width: 899px) { .vignette::before, .vignette::after { display: none; } }

/* nav */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(16px, 4vw, 48px);
  background: linear-gradient(rgba(5,6,8,.7), rgba(5,6,8,0)); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 28px; font-size: 15px; color: var(--mut); }
.nav__links a { text-decoration: none; transition: color .2s; }
.nav__links a:hover { color: var(--fg); }

/* buttons: a light sweep on hover, a press on click */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px;
  background: #ffffff; color: #0a0b0d; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--riq-ease), box-shadow .35s var(--riq-ease); box-shadow: 0 0 0 0 rgba(75,227,255,0); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s var(--riq-ease); }
.btn:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 14px 40px -12px rgba(255,255,255,.45); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.96); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 0 0 6px rgba(255,255,255,.06); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn--xl { height: 64px; padding: 0 40px; font-size: 19px; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); pointer-events: none; animation: rip .6s var(--riq-ease) forwards; }
@keyframes rip { to { transform: scale(1); opacity: 0; } }

/* chapters */
main { position: relative; z-index: 2; }
.ch { position: relative; min-height: 150vh; min-height: 150svh; display: flex; align-items: flex-start; padding: 0 clamp(16px, 5vw, 72px); pointer-events: none; }
.ch--hero { min-height: 130vh; min-height: 130svh; }
.panel { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 520px; pointer-events: auto; }
.panel--right { margin-left: auto; max-width: 440px; }
.eyebrow { display: flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 500; color: var(--mut); margin-bottom: 18px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 13px; }


h1 { font-size: clamp(44px, 6.4vw, 92px); line-height: .98; letter-spacing: -0.05em; font-weight: 500; margin-bottom: 24px; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 500; margin-bottom: 20px; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: #d2d6dc; max-width: 38ch; }
.lead b { color: #fff; font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--mut); }
.hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mut); pointer-events: none; white-space: nowrap; }
.hint__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* grades */
.grades { list-style: none; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 22px; margin-top: 26px; }
.grades li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #d2d6dc; }
.g { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 10px; border-radius: 9px; font: 600 15px var(--riq-sans); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); }
.g--ap { color: #0a0b0d; background: #fff; box-shadow: none; }


/* price card */
.card { margin-top: 12px; padding: 28px; border-radius: 24px; background: rgba(10,12,16,.72); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(0,0,0,.9); backdrop-filter: blur(16px); }
.amount { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.amount [data-price] { font-size: 56px; font-weight: 500; letter-spacing: -0.04em; }
.amount s { color: var(--mut); font-size: 20px; }
.once { color: var(--mut); font-size: 15px; }
.card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.card li { position: relative; padding-left: 26px; color: #d5d9e1; }
.card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* after the world: solid ground */
.after { position: relative; z-index: 3; background: var(--bg); }
.after::before { content: ""; position: absolute; left: 0; right: 0; top: -240px; height: 240px; background: linear-gradient(rgba(5,6,8,0), var(--bg)); pointer-events: none; }
.sec { max-width: 1120px; margin: 0 auto; padding: clamp(80px, 12vw, 160px) clamp(16px, 4vw, 40px) 0; }
.sec > h2 { max-width: 16ch; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.steps li { padding: 28px; border-radius: 20px; background: #0b0d12; box-shadow: inset 0 0 0 1px var(--line); transition: transform .4s var(--riq-ease), box-shadow .4s var(--riq-ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 30px 60px -30px rgba(0,0,0,.9); }
.steps b { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font: 500 15px var(--riq-sans); margin-bottom: 22px; }
.steps h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--mut); font-size: 15px; }
.steps a { color: #fff; text-underline-offset: 3px; }
.faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--fg); transition: transform .3s var(--riq-ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--mut); padding-bottom: 22px; max-width: 60ch; }
.sec--close { text-align: center; padding-bottom: 40px; }
.sec--close h2 { margin: 0 auto 32px; }
.foot { max-width: 1120px; margin: 0 auto; padding: 80px clamp(16px, 4vw, 40px) 48px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; color: var(--mut); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; } .foot nav a:hover { color: var(--fg); }
.foot p { flex-basis: 100%; }

/* clicked-reel card */
.detail { position: fixed; z-index: 30; right: clamp(16px, 4vw, 48px); bottom: clamp(16px, 5vh, 56px); width: min(360px, calc(100vw - 32px)); padding: 24px; border-radius: 22px;
  background: rgba(10,12,16,.82); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.9); }
.detail__grade { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.detail h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 16px 0 4px; line-height: 1.2; }
.detail__series { color: var(--mut); font-size: 14px; }
.detail dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.detail dt { font-size: 12px; color: var(--mut); }
.detail dd { font-size: 16px; margin-top: 2px; }
.detail__x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.06); color: var(--fg); font-size: 20px; cursor: pointer; }
.detail__x:hover { background: rgba(255,255,255,.12); }

/* before JS runs, and with no motion: everything visible and still */
.js-pending [data-rise] { opacity: 1; }
@media (max-width: 899px) {
  .nav__links { display: none; }
  .ch { align-items: flex-end; }
  .panel, .panel--right { margin: 0; max-width: none; justify-content: flex-end; padding-bottom: 56px; }
  .panel::before { content: ""; position: absolute; left: -24px; right: -24px; bottom: 0; height: 75%; z-index: -1; background: linear-gradient(rgba(5,6,8,0), rgba(5,6,8,.92) 45%); }
  .ch--price .panel { justify-content: flex-end; }
  .hint { display: none; }
  .steps { grid-template-columns: 1fr; }
  .detail dl { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ch { min-height: 100vh; }
  .btn::after, .hint__dot { display: none; animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* used once to render the static poster image */
.poster-mode .nav, .poster-mode main, .poster-mode .after, .poster-mode .vignette { visibility: hidden; }

/* ---- real photography ---- */
.hero-photo { position: fixed; inset: 0; z-index: 1; opacity: var(--hero, 1); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; transform: scale(calc(1.06 - var(--hero-in, 0) * .06)); transform-origin: 70% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,11,.88) 0%, rgba(8,9,11,.55) 34%, rgba(8,9,11,0) 60%), linear-gradient(rgba(8,9,11,0) 70%, rgba(8,9,11,.9)); }
.no-gl .hero-photo { opacity: 1; }
.poster-mode .hero-photo { display: none; }
.shot { margin: 40px 0 0; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -50px rgba(0,0,0,.9); background: #111; }
.shot img { display: block; width: 100%; height: auto; }
.shot--band { margin: 0 0 56px; aspect-ratio: 21 / 9; } .shot--band img { height: 100%; object-fit: cover; }
.sec--product > .lead { margin-top: 4px; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(48px, 8vw, 96px); }
.shot--phone { margin: 0; }
.split__copy h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.08; margin-bottom: 14px; }
.split__copy p { color: #d2d6dc; font-size: 18px; max-width: 38ch; }
@media (max-width: 899px) {
  .hero-photo img { object-position: 84% 30%; }
  .hero-photo::after { background: linear-gradient(rgba(8,9,11,.2) 0%, rgba(8,9,11,.35) 40%, rgba(8,9,11,.95) 78%); }
  .split { grid-template-columns: 1fr; }
  .shot--band { aspect-ratio: 4 / 3; }
}
/* ---- a world you can touch ---- */
html:not(.no-gl) body { cursor: grab; }
html.grabbing, html.grabbing * { cursor: grabbing !important; user-select: none; }
.nav, .panel, .after, .detail { cursor: auto; }
.drag-hint { position: fixed; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px;
  background: rgba(8,9,11,.6); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: #d2d6dc; pointer-events: none;
  opacity: calc(var(--fade) * (1 - var(--hero, 1) * .0)); transition: opacity .4s; white-space: nowrap; }
.no-gl .drag-hint, .poster-mode .drag-hint { display: none; }
@media (hover: none), (max-width: 899px) { .drag-hint { display: none; } }
/* ---- the shared 3D stage ---- */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; opacity: var(--fade); }
.stage-poster { position: fixed; inset: 0; z-index: 0; display: none; opacity: var(--fade); }
.stage-poster img { position: absolute; right: 4vw; top: 50%; transform: translateY(-50%); height: min(86vh, 860px); width: auto; border-radius: 28px; }
.no-gl .stage { display: none; } .no-gl .stage-poster { display: block; }
body.over-3d { cursor: pointer; }
@media (max-width: 899px) { .stage-poster img { right: 50%; top: 6vh; transform: translateX(50%); height: 48vh; } }
/* ---- long text (privacy, terms, support) on the 3D pages ---- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 64px 0 16px; }
.prose h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.015em; margin: 36px 0 10px; }
.prose p, .prose li { color: #c9cdd4; font-size: 17px; line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 0 20px; display: grid; gap: 8px; }
.prose a { color: #fff; text-underline-offset: 3px; }
.prose .updated { color: var(--mut); font-size: 15px; margin-top: 8px; }
.help-list { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }
.help-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.help-list h3 { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.help-list p { color: var(--mut); }
@media (max-width: 899px) { [data-page="home"] .ch--hero { align-items: flex-start; } }

/* top bar: a Dashboard button for buyers, always visible (also on phones) */
.nav__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 480px) {
  .nav { gap: 10px; }
  .nav__actions { gap: 6px; }
  .nav__actions .btn--sm { height: 38px; padding: 0 13px; font-size: 13px; }
  .nav .logo span { display: none; }
}
/* Jazmin-first relaunch: the price beside the buy button, and Jazmin's cyan dot */
.price-line { margin-top: 16px; font-size: 15px; color: var(--mut); }
.price-line s { margin-right: 4px; }
.price-line b { color: #fff; font-weight: 600; font-size: 17px; }
.sec--close .price-line { text-align: center; }
.jz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4be3ff; box-shadow: 0 0 12px #4be3ff; }
