/* Shared pieces for the three previews. Each page sets its own tokens on :root. */
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrumentserif-regular.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(fonts/instrumentserif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter-variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ltr-red: #F0363E; --ltr-orange: #FF6B2C; --ltr-amber: #FF9F1C; --ltr-yellow: #F4D35E; --ltr-cream: #F3DE91;
  --grad: linear-gradient(100deg, #F0363E 0%, #FF6B2C 45%, #FFB23F 80%, #F4D35E 100%);
  --grad-btn: linear-gradient(100deg, #E8323A 0%, #F5502F 55%, #FF7A35 100%);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em, .serif { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
button { font: inherit; cursor: pointer; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); filter: blur(8px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s; }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-words] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(10px); transition: opacity .8s, filter .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
[data-words].in .w { opacity: 1; filter: blur(0); transform: none; }
.w-wrap { display: inline; }

/* gated video (the RizqRise idea: you only see a blurred preview) */
.gate-video { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 9; width: 100%; }
.gate-video video, .gate-video img.poster { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; filter: blur(16px) saturate(1.15); transform: scale(1.02); }
.gate-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 55%, rgba(0,0,0,0) 0%, rgba(0,0,0,.45) 100%); z-index: 1; }
.gate-video .gate-cta { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.play { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.play svg { width: 24px; height: 24px; margin-left: 4px; fill: #fff; }
.lock-note { font-size: 13px; color: rgba(255,255,255,.82); display: flex; gap: 6px; align-items: center; }
.lock-note svg { width: 13px; height: 13px; }
.chapters { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 6px; }
.chapters span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.28); }
.chapters span:first-child { background: rgba(255,255,255,.85); flex: .35; }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: mq 38s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }

/* FAQ */
.faq-item { border-radius: 14px; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: none; border: 0; color: inherit; text-align: left; padding: 18px 20px; font-size: 15px; }
.faq-q i { font-style: normal; font-size: 20px; line-height: 1; transition: transform .3s; opacity: .7; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.faq-a > div { overflow: hidden; padding: 0 20px; opacity: .68; font-size: 14px; line-height: 1.6; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { padding-bottom: 18px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }

/* placeholder marker for things that still need real material */
.todo { outline: 1px dashed rgba(244,211,94,.55); outline-offset: 4px; }

/* email gate modal */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6,6,7,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.gate.open { opacity: 1; pointer-events: auto; }
.gate-card { position: relative; width: min(440px, 100%); padding: 34px 28px 26px; border-radius: 24px; background: #121213; color: #fff; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; transform: translateY(14px) scale(.98); transition: transform .35s cubic-bezier(.2,.7,.2,1); font-family: var(--sans, Inter, system-ui, sans-serif); }
.gate-card::before { content: ""; position: absolute; left: -20%; right: -20%; top: -60%; height: 120%; background: radial-gradient(50% 50% at 50% 50%, rgba(240,54,62,.45), rgba(255,107,44,.18) 45%, transparent 70%); filter: blur(30px); pointer-events: none; }
.gate.open .gate-card { transform: none; }
.gate-x { position: absolute; right: 14px; top: 10px; z-index: 2; background: none; border: 0; color: rgba(255,255,255,.6); font-size: 26px; }
.gate-body, .gate-done { position: relative; }
.gate-done { display: none; text-align: center; padding: 20px 0 8px; }
.gate.sent .gate-body { display: none; } .gate.sent .gate-done { display: block; }
.gate-eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: .02em; color: rgba(255,255,255,.6); }
.gate-title { margin: 0 0 20px; font-size: 32px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.gate-title em { color: #fff; }
.gate-form { display: grid; gap: 10px; }
.gate-form input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 15px; outline: none; }
.gate-form input:focus { border-color: rgba(255,107,44,.7); }
.gate-form button { margin-top: 4px; padding: 15px; border-radius: 12px; border: 0; color: #fff; font-weight: 600; font-size: 15px; background: var(--grad-btn); box-shadow: 0 8px 30px rgba(240,54,62,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.gate-fine { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.5); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-words] .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .marquee-track { animation: none; }
}

/* no selecting or copying page text; form fields stay normal */
html { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
img, video { -webkit-user-drag: none; user-drag: none; }
/* bot trap in the sign-up form */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.gate-form button[disabled] { opacity: .75; cursor: progress; }
