/* ==========================================================================
   ReelStash — marketing site styles
   Mobile-first. No build step. Sections:
   1. Tokens   2. Base   3. Layout   4. Header/Footer   5. Buttons
   6. Hero     7. Sparkles & gems     8. Phone mockup    9. Sections
   10. Cards   11. CTA   12. Document pages   13. Reveal   14. Motion prefs
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --bg-0: #14151F;
  --bg-1: #2B2D42;
  --bg-mid: #1D1E2C;

  --gold-light: #F7E7A1;
  --gold: #E6B94D;
  --gold-deep: #A87B1E;
  --gold-grad: linear-gradient(135deg, #F7E7A1 0%, #E6B94D 48%, #A87B1E 100%);

  --heading: #F4F1EA;
  --text: #BCB6AB;
  --text-dim: #948E84;

  --blue: #3A86FF;
  --purple: #9D4EDD;

  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(230, 185, 77, 0.18);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --max: 1100px;
  --gutter: 16px;
  --section-y: clamp(72px, 11vw, 132px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (min-width: 600px) {
  :root { --gutter: 24px; }
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg-0);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-0);
  background-image: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-mid) 50%, var(--bg-1) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

a {
  color: var(--gold-light);
  text-decoration-color: rgba(247, 231, 161, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover { color: #fff; text-decoration-color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

img, svg { display: block; max-width: 100%; }

/* Decorative glows overflow their sections; keep them from causing sideways scroll */
main,
.site-footer {
  overflow-x: hidden;
  overflow-x: clip;
}

[id] { scroll-margin-top: 84px; }

::selection { background: rgba(230, 185, 77, 0.35); color: #fff; }

.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: var(--gutter);
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #1B1405;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #1B1405; }

/* Shared SVG gradient definitions live in a zero-size inline SVG */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Gold text */
.gold-text {
  background-image: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
}

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
  font-weight: 800;
}
.section-head p { margin: 0; font-size: 1.0625rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold-grad);
  transform: rotate(45deg);
}

/* Soft radial glows for depth */
.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}
.glow--gold {
  width: 900px; height: 700px;
  background: radial-gradient(closest-side, rgba(230, 185, 77, 0.16), rgba(230, 185, 77, 0.05) 55%, transparent);
}
.glow--blue {
  width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(58, 134, 255, 0.10), transparent);
}
.glow--purple {
  width: 760px; height: 760px;
  background: radial-gradient(closest-side, rgba(157, 78, 221, 0.10), transparent);
}

/* 4. Header / Footer ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 21, 31, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(20, 21, 31, 0.82);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand:hover { color: var(--heading); }
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(230, 185, 77, 0.45), 0 4px 14px -4px rgba(230, 185, 77, 0.45);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
}
.site-nav a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold-light); }
.site-nav .btn { display: none; }
.site-nav .btn-gold,
.site-nav .btn-gold:hover { color: #1B1405; padding: 9px 16px; }

@media (min-width: 760px) {
  .site-nav .btn { display: inline-flex; }
}

.site-footer {
  position: relative;
  padding-block: 48px 40px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.footer-inner {
  display: grid;
  gap: 28px;
}
.footer-brand p { margin: 12px 0 0; max-width: 320px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}
.footer-legal p { margin: 0 0 6px; }

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
  .footer-nav { justify-self: end; text-align: right; }
  .footer-links { justify-content: flex-end; }
}
.footer-contact { margin: 14px 0 0; }

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

.btn-gold {
  color: #1B1405;
  background: var(--gold-grad);
  box-shadow:
    0 10px 30px -12px rgba(230, 185, 77, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(90, 60, 10, 0.35);
}
.btn-gold:hover {
  color: #1B1405;
  transform: translateY(-2px);
  box-shadow:
    0 16px 38px -12px rgba(230, 185, 77, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 0 rgba(90, 60, 10, 0.35);
}
.btn-gold:active { transform: translateY(0); }

/* Gold shimmer sweep on hover */
.btn-gold::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10%;
  bottom: -10%;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-20deg) translateX(0);
  opacity: 0;
}
.btn-gold:hover::after,
.btn-gold:focus-visible::after {
  opacity: 1;
  transform: skewX(-20deg) translateX(420%);
  transition: transform 0.9s var(--ease), opacity 0.2s linear;
}

.btn-lg {
  padding: 14px 26px 14px 22px;
  border-radius: 16px;
  font-size: 1.05rem;
}
.btn-icon { width: 26px; height: 26px; flex: none; }
.btn-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.btn-text small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.btn-ghost {
  color: var(--heading);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(230, 185, 77, 0.45);
}
.btn-ghost:hover {
  color: #fff;
  background: rgba(230, 185, 77, 0.1);
  transform: translateY(-2px);
}

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 8vw, 96px) clamp(72px, 10vw, 120px);
  isolation: isolate;
}
.hero > .glow--gold {
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
}
.hero > .glow--purple {
  top: 30%;
  right: -420px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 8vw, 72px);
  align-items: center;
  text-align: center;
}

.hero-copy { max-width: 620px; margin-inline: auto; }

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* Headline highlight: metallic gold with a slow shimmer sweep */
.shimmer-text {
  background-image:
    linear-gradient(100deg, transparent 40%, rgba(255, 252, 238, 0.9) 50%, transparent 60%),
    var(--gold-grad);
  background-size: 250% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 150% 0, 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: shimmer 7s ease-in-out 1.2s infinite;
}
@keyframes shimmer {
  0%   { background-position: 150% 0, 0 0; }
  45%  { background-position: -50% 0, 0 0; }
  100% { background-position: -50% 0, 0 0; }
}

.hero-sub {
  max-width: 34em;
  margin: 0 auto 32px;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.hero-note li { display: inline-flex; align-items: center; gap: 8px; }
.hero-note li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }
  .hero-copy { margin-inline: 0; }
  .hero-sub { margin-inline: 0; }
  .hero-actions { align-items: flex-start; }
  .hero-note { justify-content: flex-start; }
  .hero-visual { min-height: 620px; }
}

/* Vault-dial rings behind the phone */
.vault {
  position: absolute;
  width: min(560px, 125vw);
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.vault::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(230, 185, 77, 0.22), rgba(230, 185, 77, 0.06) 60%, transparent);
}
.vault svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}
.vault .ring-slow { transform-origin: 50% 50%; animation: spin 140s linear infinite; }
.vault .ring-rev  { transform-origin: 50% 50%; animation: spin 200s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 7. Sparkles & gems ------------------------------------------------------ */
.sparkles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.s {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(247, 231, 161, 0.7));
  animation: twinkle var(--d) ease-in-out var(--t) infinite;
  will-change: opacity, transform;
}
.s::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FFF8DA, var(--gold-light) 40%, var(--gold));
}
.s--star::before {
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}
.s--dia::before {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: scaleX(0.7);
}
.s--white { filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.75)); }
.s--white::before { background: #fff; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 0.95; transform: scale(1) rotate(45deg); }
}

.gem {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(230, 185, 77, 0.25));
  animation: float 9s ease-in-out infinite;
}
.gem--cool { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(58, 134, 255, 0.25)); }
.gem svg { width: 100%; height: auto; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 4deg)); }
}

.hero-visual .gem--1 { width: 64px; top: 9%;  left: 6%;  --r: -14deg; }
.hero-visual .gem--2 { width: 44px; bottom: 12%; right: 4%; --r: 12deg; animation-delay: -3s; }
.hero-visual .gem--3 { width: 28px; top: 22%; right: 10%; --r: 18deg; animation-delay: -6s; }

@media (max-width: 599px) {
  .hero-visual .gem--1 { width: 46px; top: 1%; left: 1%; }
  .hero-visual .gem--2 { width: 34px; bottom: 6%; right: 1%; }
  .hero-visual .gem--3 { width: 22px; top: 30%; right: 2%; }
}

@media (min-width: 900px) {
  .hero-visual .gem--1 { left: -2%; }
  .hero-visual .gem--2 { right: -4%; }
}

/* 8. Phone mockup --------------------------------------------------------- */
.phone {
  position: relative;
  z-index: 1;
  width: 272px;
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #2A2B3A, #0E0F17 40%, #1B1C28);
  box-shadow:
    0 0 0 1px rgba(247, 231, 161, 0.35),
    0 0 0 4px #0B0C12,
    0 0 0 5px rgba(230, 185, 77, 0.25),
    0 40px 80px -20px rgba(0, 0, 0, 0.7),
    0 0 90px -10px rgba(230, 185, 77, 0.28);
}
.phone::before { /* side button */
  content: "";
  position: absolute;
  right: -6px;
  top: 120px;
  width: 3px;
  height: 56px;
  border-radius: 2px;
  background: linear-gradient(var(--gold-light), var(--gold-deep));
  opacity: 0.6;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(180deg, #181926, #12131C);
  color: var(--heading);
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
}

/* A real screenshot dropped into assets/ covers the placeholder UI */
.phone-shot {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #05060A;
  box-shadow: inset 0 0 0 2px #1A1B26;
}

.ui {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 38px 14px 14px;
}
.ui-status {
  position: absolute;
  top: 12px;
  left: 22px;
  right: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--heading);
}
.ui-status i {
  display: inline-block;
  width: 14px; height: 7px;
  margin-left: 3px;
  border-radius: 2px;
  background: rgba(244, 241, 234, 0.75);
}
.ui-status i:first-child { width: 10px; opacity: 0.6; }

.ui-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.ui-title img { width: 18px; height: 18px; border-radius: 5px; }
.ui-dots { display: flex; gap: 3px; }
.ui-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }

.ui-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 185, 77, 0.18);
  color: var(--text-dim);
}
.ui-search svg { width: 12px; height: 12px; }

.ui-chips { display: flex; gap: 6px; overflow: hidden; }
.ui-chip {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
}
.ui-chip.is-active {
  color: #1B1405;
  border-color: transparent;
  background: var(--gold-grad);
}

.ui-list { display: grid; gap: 9px; }
.ui-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 7px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ui-thumb {
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 10px;
  background: var(--thumb, linear-gradient(150deg, #E6B94D, #6E4F10));
}
.ui-thumb::after { /* play glyph */
  content: "";
  width: 0; height: 0;
  margin-left: 2px;
  border-left: 9px solid rgba(255, 255, 255, 0.9);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.ui-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--heading);
}
.ui-meta { display: flex; align-items: center; gap: 6px; color: var(--text-dim); font-size: 9.5px; }
.ui-tag {
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(230, 185, 77, 0.14);
  color: var(--gold-light);
  font-weight: 600;
}
.ui-fab {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: var(--gold-grad);
  color: #1B1405;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(230, 185, 77, 0.7);
}

/* 9. Sections ------------------------------------------------------------- */

/* Platforms */
.platforms {
  position: relative;
  padding-block: 0 var(--section-y);
  text-align: center;
}
.platforms-label {
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dim);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
}
.pill::before,
.card::before,
.cta-panel::before,
.contact-card::before {
  /* Thin gold gradient border via mask */
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: var(--gold-grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.pill-gem {
  width: 8px; height: 8px;
  background: var(--gold-grad);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* How it works */
.how > .glow--purple { top: 10%; left: -460px; }

.steps {
  position: relative;
  display: grid;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin-inline: auto;
  text-align: center;
}
.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(247, 231, 161, 0.10), rgba(168, 123, 30, 0.05)), var(--bg-0);
  box-shadow: inset 0 0 0 1px rgba(230, 185, 77, 0.45), 0 0 40px -10px rgba(230, 185, 77, 0.3);
}
.step-icon svg { width: 36px; height: 36px; }
.step-num {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-grad);
  color: #1B1405;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 12px -2px rgba(230, 185, 77, 0.6);
}
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { margin: 0; }

@media (min-width: 820px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .steps::before { /* dashed gold connector */
    content: "";
    position: absolute;
    top: 42px;
    left: 18%;
    right: 18%;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(230, 185, 77, 0.5) 0 6px, transparent 6px 14px);
  }
}

/* 10. Feature cards ------------------------------------------------------- */
.features > .glow--blue { top: 0; right: -380px; }

.card-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}
@media (min-width: 620px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 22px 44px -22px rgba(0, 0, 0, 0.6),
    0 0 36px -8px rgba(230, 185, 77, 0.28);
}
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(230, 185, 77, 0.08);
  box-shadow: inset 0 0 0 1px rgba(230, 185, 77, 0.28);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { margin: 0; font-size: 0.98rem; }

/* 11. CTA ----------------------------------------------------------------- */
.cta { padding-top: 0; }
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 9vw, 96px) clamp(22px, 6vw, 72px);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(230, 185, 77, 0.24), transparent 60%),
    linear-gradient(140deg, rgba(247, 231, 161, 0.10), rgba(168, 123, 30, 0.08) 50%, rgba(157, 78, 221, 0.06)),
    #1A1B27;
  isolation: isolate;
}
.cta-panel::before { opacity: 0.7; z-index: 2; }
.cta-panel h2 {
  font-size: clamp(2rem, 5.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-panel p {
  max-width: 30em;
  margin: 0 auto 32px;
  font-size: 1.08rem;
}
.cta-panel .gem { z-index: -1; opacity: 0.9; }
.cta-panel .gem--1 { width: 72px; top: 14%; left: 6%; --r: -16deg; }
.cta-panel .gem--2 { width: 46px; bottom: 14%; right: 7%; --r: 14deg; animation-delay: -4s; }
.cta-panel .gem--3 { width: 26px; top: 18%; right: 16%; --r: 22deg; animation-delay: -2s; }
@media (max-width: 599px) {
  .cta-panel .gem--1 { width: 44px; top: 5%; left: 5%; }
  .cta-panel .gem--2 { width: 34px; bottom: 5%; right: 5%; }
  .cta-panel .gem--3 { display: none; }
}

/* 12. Document pages (privacy, terms, support) ---------------------------- */
.doc-hero {
  position: relative;
  padding-block: clamp(48px, 9vw, 96px) clamp(28px, 4vw, 40px);
  isolation: isolate;
}
.doc-hero > .glow--gold {
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 560px;
}
.doc-hero h1 {
  position: relative;
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.doc-hero .lead {
  position: relative;
  max-width: 38em;
  margin: 0;
  font-size: 1.12rem;
}
.doc-meta {
  position: relative;
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.doc { padding-bottom: var(--section-y); }
.doc .container,
.doc-hero .container { max-width: calc(760px + var(--gutter) * 2); }

.prose { font-size: 1.05rem; line-height: 1.8; }
.prose h2 {
  margin: 2.4em 0 0.6em;
  padding-top: 1.6em;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 1.4rem;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 1.1rem; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--heading); font-weight: 700; }

.callout {
  margin: 0 0 2em;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: rgba(230, 185, 77, 0.07);
  border: 1px solid rgba(230, 185, 77, 0.28);
  color: var(--heading);
}
.callout p:last-child { margin-bottom: 0; }

/* Support */
.contact-card {
  position: relative;
  display: grid;
  gap: 18px;
  margin-bottom: 56px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(247, 231, 161, 0.08), rgba(255, 255, 255, 0.02));
}
.contact-card h2 { margin: 0 0 6px; font-size: 1.35rem; }
.contact-card p { margin: 0; }
.contact-email { font-weight: 700; color: var(--heading); }
@media (min-width: 640px) {
  .contact-card {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px 34px;
  }
}

.faq-title { margin-bottom: 20px; font-size: 1.6rem; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.faq details[open] {
  background: var(--surface-strong);
  border-color: rgba(230, 185, 77, 0.35);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .faq-body { padding: 0 20px 18px; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* 13. Scroll reveal ------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 14. Motion preferences -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .s { opacity: 0.5; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .btn-gold:hover::after { opacity: 0; }
  .card:hover,
  .btn:hover { transform: none; }
}
