/* ==========================================================
   RAJU X MOVIES – landing page styles
   Mobile-first. Black + red (#e5092f), glass cards, soft glow.
   ========================================================== */

:root {
  --bg: #000;
  --red: #e5092f;
  --red-hi: #ff2a4d;
  --red-lo: #a10722;
  --red-deep: #3a0009;
  --text: #f5f5f7;
  --muted: #a4a4ae;
  --line: rgba(255, 255, 255, .09);
  --glass: rgba(255, 255, 255, .045);
  --glass-hi: rgba(255, 255, 255, .08);

  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.ico {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

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

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 10px; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 800; letter-spacing: .04em; font-size: .95rem; line-height: 1;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--red-hi) 0%, var(--red) 55%, var(--red-lo) 100%);
  box-shadow: 0 10px 30px -8px rgba(229, 9, 47, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -8px rgba(255, 42, 77, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text);
  background: var(--glass);
  border-color: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass-hi); border-color: rgba(229, 9, 47, .7); transform: translateY(-2px); }
.btn-sm { padding: .68rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn-xl { padding: 1.3rem 2.6rem; font-size: 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(0, 0, 0, .82); border-bottom-color: rgba(229, 9, 47, .3); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; }
.brand-logo { border-radius: 50%; box-shadow: 0 0 0 1px rgba(229, 9, 47, .5), 0 0 22px rgba(229, 9, 47, .45); }
.brand-name {
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 1.45rem; letter-spacing: .04em; line-height: 1; white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--red); }

.nav-panel {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  padding: 1rem 1.25rem 1.5rem;
  background: #08080a;
  border-bottom: 1px solid rgba(229, 9, 47, .3);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-links { display: grid; gap: .25rem; }
.nav-links a { display: block; padding: .85rem .5rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav-links a:hover, .nav-links a.is-active { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); border-radius: 50%;
}
.menu-btn .ico { width: 22px; height: 22px; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 420px) {
  .brand-name { display: none; }
}

@media (min-width: 880px) {
  .menu-btn { display: none; }
  .nav-panel {
    position: static; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links { display: flex; gap: .4rem; }
  .nav-links a { padding: .5rem 1rem; border: 0; border-radius: 999px; font-size: .95rem; }
  .nav-links a:hover { background: var(--glass); }
  .nav-links a.is-active { background: var(--glass-hi); box-shadow: inset 0 -2px 0 var(--red); }
  .nav { justify-content: flex-start; }
  .nav-panel { margin-inline: auto; }
  .nav-actions { margin-left: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: clip;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(229, 9, 47, .32), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(229, 9, 47, .16), transparent 70%),
    #000;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { position: relative; z-index: 5; }

.hero-title { display: grid; gap: .1em; line-height: .86; font-family: var(--font-display); font-style: italic; font-weight: 800; }
.hero-title-main {
  font-size: clamp(4.6rem, 21vw, 9.5rem);
  letter-spacing: -.005em;
  background: linear-gradient(180deg, #fff 0%, #dcdde3 42%, #7e818b 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 26px rgba(229, 9, 47, .35));
  padding-right: .1em;
}
.hero-title-main .x {
  background: linear-gradient(180deg, var(--red-hi), var(--red) 55%, var(--red-lo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.hero-title-sub {
  display: flex; align-items: center; gap: 1rem;
  font-size: clamp(1.7rem, 7vw, 3.1rem); letter-spacing: .32em; color: #fff;
}
.hero-title-sub::before, .hero-title-sub::after { content: ""; height: 2px; flex: 1; max-width: 5rem; background: linear-gradient(90deg, transparent, var(--red)); }
.hero-title-sub::after { background: linear-gradient(270deg, transparent, var(--red)); }
.hero-title-sub span { padding-left: .32em; }

.hero-tagline { margin-top: 1.6rem; font-size: clamp(1.3rem, 4vw, 1.75rem); font-weight: 800; letter-spacing: -.01em; }
.hero-text { margin-top: .9rem; max-width: 54ch; color: var(--muted); font-size: 1.05rem; }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-cta .btn { flex: 1 1 15rem; }

.hero-facts { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; }
.hero-facts dt { font-size: .8rem; color: var(--muted); }
.hero-facts dd { font-weight: 800; font-size: 1.05rem; }

/* hero load-in: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .18s; }
  .hero-copy > :nth-child(4) { animation-delay: .26s; }
  .hero-copy > :nth-child(5) { animation-delay: .34s; }
  .phone { animation: phone-in 1s .2s var(--ease) both; }
  .stage-logo { animation: logo-in 1s .5s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(-1deg); } }
  @keyframes logo-in { from { opacity: 0; transform: scale(.85); } }
}

/* hero stage: phone + film strips + logo badge */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 480px; padding-block: 1.5rem; }
.beam {
  position: absolute; inset: -10% -20% 0;
  background: conic-gradient(from 180deg at 50% -10%, transparent 148deg, rgba(229, 9, 47, .28) 172deg, rgba(229, 9, 47, .05) 180deg, rgba(229, 9, 47, .28) 188deg, transparent 212deg);
  filter: blur(12px);
  pointer-events: none;
}
.strip {
  position: absolute; width: 92px; top: -12%; height: 124%;
  background:
    repeating-linear-gradient(180deg, rgba(229, 9, 47, .16) 0 72px, transparent 72px 88px) center / calc(100% - 44px) 100% no-repeat,
    linear-gradient(180deg, #0d0d10, #050506);
  border: 1px solid rgba(255, 255, 255, .07);
  opacity: .9;
}
.strip::before, .strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect x='6' y='5' width='10' height='12' rx='3' fill='%23fff' fill-opacity='.2'/%3E%3C/svg%3E") repeat-y;
}
.strip::before { left: 0; }
.strip::after { right: 0; }
.strip-a { right: 4%; transform: rotate(13deg); }
.strip-b { left: 2%; transform: rotate(-9deg); opacity: .55; }

.phone {
  position: relative; z-index: 2;
  width: min(272px, 70vw); aspect-ratio: 9 / 18.6;
  padding: 9px;
  background: linear-gradient(160deg, #2a2a30, #0a0a0c 40%, #1b1b20);
  border-radius: 44px;
  transform: rotate(-3deg);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -20px rgba(229, 9, 47, .55), 0 30px 60px -10px rgba(0, 0, 0, .9);
}
.phone-notch { position: absolute; z-index: 3; top: 17px; left: 50%; width: 74px; height: 20px; transform: translateX(-50%); background: #000; border-radius: 99px; }
.screen {
  height: 100%; padding: 44px 14px 12px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #14060a 0%, #050506 45%);
  border-radius: 36px; overflow: hidden;
}
.app-top { display: flex; align-items: center; gap: 8px; }
.app-logo { border-radius: 50%; }
.app-name { flex: 1; font-family: var(--font-display); font-style: italic; font-weight: 800; letter-spacing: .05em; font-size: 1.05rem; line-height: 1; }
.app-name em { color: var(--red); }
.app-search { width: 17px; height: 17px; color: var(--muted); }
.app-banner {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  height: 120px; padding: 12px; border-radius: 16px;
  background: linear-gradient(200deg, rgba(229, 9, 47, .9), rgba(90, 3, 17, .95) 55%, #120306);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.app-banner strong { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1; letter-spacing: .02em; }
.app-banner-tag { position: absolute; top: 10px; left: 12px; padding: 2px 8px; border-radius: 99px; font-size: .6rem; font-weight: 800; background: rgba(0, 0, 0, .45); }
.app-play { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 4px 10px; border-radius: 99px; font-size: .68rem; font-weight: 800; background: #fff; color: #000; }
.app-play .ico { width: 10px; height: 10px; }
.app-tabs { display: flex; gap: 6px; }
.app-tabs span { padding: 4px 10px; border-radius: 99px; font-size: .66rem; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .06); }
.app-tabs .on { color: #fff; background: var(--red); }
.app-row-title { font-size: .72rem; font-weight: 800; }
.app-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { aspect-ratio: 2 / 3; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.t1 { background: linear-gradient(160deg, #ff2a4d, #3a0009); }
.t2 { background: linear-gradient(160deg, #6b6f7b, #15161a); }
.t3 { background: linear-gradient(160deg, #ff7a3d, #4a0d0d); }
.t4 { background: linear-gradient(160deg, #b30b28, #0b0204); }
.t5 { background: linear-gradient(160deg, #e8e9ee, #4a4c55); }
.t6 { background: linear-gradient(160deg, #e5092f, #1a1a20); }
.app-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 9px 0 2px; border-top: 1px solid var(--line); }
.app-nav .ico { width: 19px; height: 19px; color: var(--muted); }
.app-nav .on { color: var(--red-hi); }

.stage-logo {
  position: absolute; z-index: 3; left: 0; bottom: 4%;
  width: clamp(118px, 32vw, 190px); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(229, 9, 47, .6), 0 0 60px rgba(229, 9, 47, .65), 0 20px 40px rgba(0, 0, 0, .7);
}

@media (min-width: 560px) {
  .hero-cta .btn { flex: 0 0 auto; }
  .stage-logo { left: 8%; }
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 2rem; }
  .hero-stage { min-height: 620px; }
  .phone { width: 300px; }
  .stage-logo { left: 0; bottom: 8%; width: 200px; }
}

/* ---------- App info ---------- */
.info { padding-bottom: clamp(1rem, 3vw, 2rem); }
.info-panel { display: grid; grid-template-columns: 1fr; border-radius: var(--r-lg); overflow: hidden; margin-top: -1.5rem; position: relative; z-index: 4; }
.info-panel li { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--line); }
.info-panel li:last-child { border-bottom: 0; }
.info-icon {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff;
  background: linear-gradient(160deg, rgba(255, 42, 77, .9), rgba(161, 7, 34, .9));
  box-shadow: 0 8px 22px -6px rgba(229, 9, 47, .65), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.info-icon .ico { width: 24px; height: 24px; }
.info-title { font-size: 1rem; font-weight: 800; line-height: 1.25; }
.info-text { font-size: .875rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

@media (min-width: 640px) {
  .info-panel { grid-template-columns: 1fr 1fr; }
  .info-panel li:nth-child(odd) { border-right: 1px solid var(--line); }
  .info-panel li:nth-child(3) { border-bottom: 0; }
}
@media (min-width: 1040px) {
  .info-panel { grid-template-columns: repeat(4, 1fr); }
  .info-panel li { border-bottom: 0; border-right: 1px solid var(--line); }
  .info-panel li:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 4rem); }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.h2 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(2.5rem, 7vw, 4.2rem); line-height: .95; letter-spacing: .005em; }
.lead { margin-top: .9rem; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; gap: 1rem; }
.feature {
  position: relative; overflow: hidden; padding: 1.7rem; border-radius: var(--r-lg);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.feature::before {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 9, 47, .32), transparent 68%); pointer-events: none;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(229, 9, 47, .55); background: var(--glass-hi); }
.f-icon {
  position: relative; width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.2rem;
  border-radius: 16px; color: var(--red-hi);
  background: rgba(229, 9, 47, .12); border: 1px solid rgba(229, 9, 47, .4);
}
.f-icon .ico { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.85rem; line-height: 1; letter-spacing: .01em; }
.feature p { margin-top: .6rem; color: var(--muted); }

.f-movies {
  background:
    linear-gradient(135deg, rgba(229, 9, 47, .18), transparent 60%),
    var(--glass);
}
.f-movies h3 { font-size: 2.6rem; }
.f-movies p { max-width: 34ch; font-size: 1.05rem; }
.f-movies::before { width: 340px; height: 340px; right: -110px; top: -120px; }
.f-premium {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(229, 9, 47, .3), rgba(58, 0, 9, .35) 55%, var(--glass));
  border-color: rgba(229, 9, 47, .4);
}
.f-premium .f-icon { margin: 0; background: linear-gradient(160deg, var(--red-hi), var(--red-lo)); color: #fff; border: 0; box-shadow: 0 10px 28px -6px rgba(229, 9, 47, .7); }
.f-premium p { max-width: 60ch; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .f-movies { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; }
  .f-premium { grid-column: 1 / -1; padding: 2rem 2.2rem; flex-wrap: nowrap; }
}

/* ---------- Download ---------- */
.dl-card {
  position: relative; overflow: hidden;
  display: grid; gap: 2rem; align-items: center; justify-items: center; text-align: center;
  padding: clamp(2.8rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  border: 1px solid rgba(229, 9, 47, .45);
  background:
    radial-gradient(70% 90% at 15% 50%, rgba(229, 9, 47, .38), transparent 70%),
    linear-gradient(135deg, #1c0007 0%, #000 48%, #37000f 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 40px 100px -30px rgba(229, 9, 47, .55);
}
.dl-card::before, .dl-card::after {
  content: ""; position: absolute; left: 0; right: 0; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='22'%3E%3Crect x='7' y='5' width='12' height='12' rx='3' fill='%23fff' fill-opacity='.14'/%3E%3C/svg%3E") repeat-x;
}
.dl-card::before { top: 0; }
.dl-card::after { bottom: 0; }
.dl-logo-wrap { position: relative; }
.dl-logo {
  width: clamp(150px, 40vw, 250px); height: auto; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(229, 9, 47, .7), 0 0 90px rgba(229, 9, 47, .7);
}
.dl-body { display: grid; justify-items: center; }
.dl-body .lead { margin-bottom: 1.8rem; }
.dl-body .btn { width: 100%; max-width: 26rem; }
.dl-meta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.dl-meta li {
  display: grid; gap: 2px; min-width: 7.5rem; padding: .7rem 1.1rem; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}
.dl-meta span { font-size: .78rem; color: var(--muted); }
.dl-meta strong { font-size: 1rem; }

@media (min-width: 860px) {
  .dl-card { grid-template-columns: auto 1fr; gap: 4rem; text-align: left; justify-items: start; }
  .dl-body { justify-items: start; }
  .dl-meta { justify-content: flex-start; }
  .dl-body .btn { width: auto; max-width: none; }
}

/* ---------- Install steps ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; border-radius: var(--r-lg); }
.step-num {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 1.1rem;
  border-radius: 50%; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.6rem; line-height: 1; color: #fff;
  background: linear-gradient(160deg, var(--red-hi), var(--red-lo));
  box-shadow: 0 8px 22px -6px rgba(229, 9, 47, .7);
}
.step h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.step p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: calc(1.6rem + 23px); left: calc(1.6rem + 58px); right: -1.6rem; height: 2px; z-index: 1;
    background: repeating-linear-gradient(90deg, rgba(229, 9, 47, .7) 0 6px, transparent 6px 12px);
  }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 1rem 4rem; }
.faq-list { display: grid; gap: .8rem; align-content: start; }
.faq { border-radius: var(--r-md); transition: border-color .25s, background .25s; }
.faq[open] { border-color: rgba(229, 9, 47, .5); background: var(--glass-hi); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 800; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 22px; height: 22px; color: var(--red-hi); transition: transform .3s var(--ease); }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq p { padding: 0 1.4rem 1.3rem; color: var(--muted); max-width: 62ch; }
.faq p a { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

@media (min-width: 940px) {
  .faq-wrap { grid-template-columns: 1fr 1.3fr; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 2rem); margin-bottom: 0; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #000, #0a0205); padding-top: clamp(2.5rem, 6vw, 4rem); }
.footer-grid { display: grid; gap: 2rem; align-items: start; }
.footer-brand p { margin-top: .9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.footer-links a { color: var(--muted); font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-base { margin-top: 2.5rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.4fr auto auto; gap: 3rem; align-items: center; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: min(92vw, 30rem); padding: .95rem 1.2rem; border-radius: 16px; text-align: center; font-weight: 600; font-size: .92rem;
  background: rgba(14, 14, 18, .92); border: 1px solid rgba(229, 9, 47, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(229, 9, 47, .6);
  transform: translateX(-50%);
}
.toast[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-in .35s var(--ease) both; }
  @keyframes toast-in { from { opacity: 0; transform: translate(-50%, 12px); } }
}

/* ---------- Document pages (privacy) ---------- */
.doc { padding-block: clamp(3rem, 8vw, 5.5rem); }
.doc-card { max-width: 46rem; margin-inline: auto; padding: clamp(1.6rem, 5vw, 3rem); border-radius: var(--r-lg); }
.doc h1 { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(2.6rem, 8vw, 4rem); line-height: .95; }
.doc .updated { margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.doc h2 { margin-top: 2.2rem; font-size: 1.2rem; font-weight: 800; }
.doc p, .doc li { margin-top: .7rem; color: #cfcfd6; }
.doc ul { list-style: disc; padding-left: 1.3rem; }
.doc a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.doc .back { display: inline-flex; margin-bottom: 1.5rem; color: var(--muted); font-weight: 700; }
.doc .back:hover { color: #fff; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
