/* Rapidreelz — launching-soon site */
:root {
  --ink: #0b0c10;
  --ink-2: #14151a;
  --ink-3: #1d1f26;
  --sand: #f3eee7;
  --paper: #fbfaf8;
  --flame: #ff4d2e;
  --flame-2: #ff7a45;
  --violet: #7c5cff;
  --text: #f5f3ef;
  --muted: #a9acb5;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --font-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--flame); color: var(--ink-2); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--flame-2); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------------ top bar */
.topbar { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.page--doc .topbar { position: sticky; top: 0; background: rgba(11, 12, 16, .92); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.topbar__inner {
  max-width: 1200px; margin: 0 auto; padding: 1.1rem clamp(1rem, 4vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__word { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.03em; }
.logo--sm .logo__mark { width: 30px; height: 30px; }
.logo--sm .logo__word { font-size: 1.1rem; }
.topbar__nav { display: flex; align-items: center; gap: .5rem; }
.topbar__link {
  text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5rem .95rem;
  border: 1px solid var(--line); border-radius: 999px; transition: background .2s var(--ease), border-color .2s var(--ease);
}
.topbar__link:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); }
.topbar__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.topbar__icon:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 980px);
  display: grid; place-items: center;
  padding: clamp(7rem, 14vh, 9rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 9vh, 6rem);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 46vw; height: 46vw; min-width: 340px; min-height: 340px; left: -12vw; top: -14vw; background: radial-gradient(circle, var(--flame) 0%, rgba(255, 77, 46, 0) 68%); animation: drift 14s var(--ease) infinite alternate; }
.hero__glow--b { width: 42vw; height: 42vw; min-width: 320px; min-height: 320px; right: -12vw; bottom: -16vw; background: radial-gradient(circle, var(--violet) 0%, rgba(124, 92, 255, 0) 68%); opacity: .45; animation: drift 18s var(--ease) infinite alternate-reverse; }
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: .5;
}
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(4vw, 3vw, 0) scale(1.08); } }

.hero__inner { width: 100%; max-width: 820px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sand); padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.eyebrow--dark { color: var(--ink-2); border-color: rgba(20, 21, 26, .12); background: rgba(20, 21, 26, .04); }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(255, 77, 46, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 46, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 77, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 46, 0); } }

.hero__title { margin-top: 1.4rem; font-size: clamp(2.6rem, 8vw, 5.4rem); font-weight: 800; letter-spacing: -0.045em; word-spacing: .08em; }
.nowrap { white-space: nowrap; }
.grad { background: linear-gradient(100deg, var(--flame) 10%, var(--flame-2) 45%, #ffb36b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin: 1.3rem auto 0; max-width: 620px; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); }

/* ------------------------------------------------------------------ countdown */
.countdown { display: flex; justify-content: center; gap: .6rem; margin-top: 2rem; }
.countdown__unit { min-width: 76px; padding: .8rem .6rem; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .04); }
.countdown__unit span { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.countdown__unit small { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

/* ------------------------------------------------------------------ waitlist */
.waitlist { margin: 2.2rem auto 0; max-width: 560px; scroll-margin-top: 6rem; }
.waitlist__field {
  position: relative; display: flex; align-items: center; gap: .4rem;
  padding: .4rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 60px -20px rgba(255, 77, 46, .35);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.waitlist__field:focus-within { border-color: rgba(255, 122, 69, .7); background: rgba(255, 255, 255, .08); }
.waitlist__icon { margin-left: .8rem; color: var(--muted); }
.waitlist__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 .4rem; border: 0; outline: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 1rem;
}
.waitlist__input::placeholder { color: #7d808a; }
.waitlist__note { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
.waitlist__note a { color: var(--sand); }
.waitlist__status { min-height: 1.6rem; margin-top: .8rem; font-weight: 600; }
.waitlist__status.is-success { color: #7ee2a8; }
.waitlist__status.is-error { color: #ff9b85; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn__icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--accent { background: var(--flame); color: var(--ink-2); box-shadow: 0 10px 30px -10px rgba(255, 77, 46, .8); }
.btn--accent:hover { background: var(--flame-2); }
.btn--light { background: var(--sand); color: var(--ink-2); }
.btn--light:hover { background: #fff; }
.btn--ghost { color: var(--text); border-color: rgba(255, 255, 255, .22); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------------ chips */
.chips { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chips li { font-size: .88rem; color: var(--sand); padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); }

/* ------------------------------------------------------------------ features */
.features { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.features__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature {
  padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); border-color: rgba(255, 122, 69, .35); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--flame-2); background: rgba(255, 77, 46, .12); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.feature p { margin-top: .5rem; color: var(--muted); }

/* ------------------------------------------------------------------ CTA band */
.cta-band { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem); background: var(--ink-2); }
.cta-band__inner {
  max-width: 1200px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.2rem); border-radius: 26px; text-align: center;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 77, 46, .28), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(124, 92, 255, .25), transparent 55%), var(--ink-3);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.cta-band p { margin-top: .6rem; color: var(--muted); }
.cta-band__actions { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* ------------------------------------------------------------------ footer */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 3rem clamp(1rem, 4vw, 2rem) 1.6rem; }
.footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__brand { max-width: 380px; }
.footer__tag { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.footer__social { display: flex; gap: .4rem; margin-top: 1rem; }
.footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s; }
.footer__social a:hover { color: var(--text); border-color: rgba(255, 255, 255, .25); }
.footer__links { display: grid; grid-template-columns: repeat(2, minmax(150px, auto)); gap: .55rem 2.2rem; align-content: start; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--text); }
.footer__base { max-width: 1200px; margin: 2.2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; color: #7d808a; font-size: .85rem; }

/* ------------------------------------------------------------------ documents (light) */
.page--doc main { background: var(--paper); color: var(--ink-2); }
.doc { max-width: 780px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem) 4rem; }
.doc__kicker a { color: #5c606b; text-decoration: none; font-size: .92rem; }
.doc__kicker a:hover { color: var(--ink-2); }
.doc__header h1 { margin-top: .8rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--ink-2); }
.doc__meta { margin-top: .6rem; color: #6b6f78; font-size: .9rem; }
.doc__body { margin-top: 2rem; }
.doc__nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(20, 21, 26, .1); display: flex; flex-wrap: wrap; gap: .5rem; }
.doc__nav a { font-size: .9rem; color: var(--ink-2); text-decoration: none; padding: .45rem .85rem; border-radius: 999px; border: 1px solid rgba(20, 21, 26, .14); }
.doc__nav a:hover { background: var(--sand); }

.prose { font-size: 1.02rem; line-height: 1.75; color: #2b2d34; }
.prose .lead { font-size: 1.15rem; color: var(--ink-2); }
.prose h2 { margin: 2.2rem 0 .7rem; font-size: 1.3rem; color: var(--ink-2); }
.prose p + p { margin-top: .9rem; }
.prose ul { padding-left: 1.25rem; margin: .7rem 0; }
.prose li + li { margin-top: .4rem; }
.prose a { color: #c2361b; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink-2); }
.prose .muted { color: #6b6f78; font-size: .95rem; margin-top: 1.5rem; }
.contact-list { list-style: none; padding: 0 !important; margin: 1.2rem 0 !important; display: grid; gap: .7rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(20, 21, 26, .08); margin: 0 !important; }
.contact-list .icon { margin-top: .2rem; color: #c2361b; }

.notfound { min-height: 60vh; max-width: 680px; margin: 0 auto; padding: 5rem 1.2rem; text-align: center; display: grid; justify-items: center; gap: 1rem; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--ink-2); }
.notfound p { color: #4d505a; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 560px) {
  .waitlist__field { flex-direction: column; align-items: stretch; border-radius: 22px; padding: .5rem; }
  .waitlist__icon { display: none; }
  .waitlist__input { height: 50px; padding: 0 .9rem; text-align: center; }
  .waitlist .btn { width: 100%; }
  .countdown__unit { min-width: 64px; }
  .footer__links { grid-template-columns: 1fr 1fr; gap: .55rem 1.2rem; }
  .topbar__link { padding: .45rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
