/* =========================================================
   HotLive — landing page styles (plain CSS, no build step)
   ========================================================= */

:root {
  --ink: #0b0b0e;
  --ink-2: #141418;
  --ink-3: #1d1d23;
  --paper: #f5f3ef;
  --white: #ffffff;
  --hot: #ff3b5c;
  --hot-strong: #d61f45; /* darker red: white text on it passes WCAG AA */
  --hot-soft: rgba(255, 59, 92, 0.16);
  --ember: #ff8a3d;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #85858f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --radius: 22px;
  --radius-lg: 32px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.04em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hot);
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--hot);
  box-shadow: 0 0 16px rgba(255, 59, 92, 0.9);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; line-height: 1;
  border: 1px solid transparent; transition: transform .2s, background-color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 600; opacity: .7; margin-bottom: 3px; }
.btn-label { display: flex; flex-direction: column; text-align: left; }
.btn-primary { background: var(--white); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-hot { background: var(--hot-strong); color: var(--white); }
.btn-hot:hover { transform: translateY(-2px); background: #e62a50; }
.btn-hot small { opacity: 1; }
.btn-ghost { border-color: var(--line-strong); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 14, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; letter-spacing: -0.04em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 24px rgba(255,59,92,.25); }

.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.header-cta { padding: 10px 18px; font-size: 14px; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; position: relative; transition: transform .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; font-size: 16px;
    display: none;
  }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-open .main-nav { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; filter: blur(70px); }
.hero::before { width: 460px; height: 460px; right: -120px; top: 80px; border-radius: 50%; background: var(--hot-soft); }
.hero::after { width: 55%; height: 180px; left: -10%; bottom: 0; transform: rotate(-6deg);
  background: linear-gradient(90deg, transparent, rgba(255,59,92,.14), transparent); }

.hero-grid {
  position: relative; display: grid; align-items: center; gap: 56px;
  grid-template-columns: 1.05fr .95fr; min-height: 720px; padding-block: 72px 96px;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #d4d4d8;
}

.hero h1 { font-size: clamp(56px, 9vw, 112px); font-weight: 900; line-height: .92; letter-spacing: -0.065em; }
.hero h1 .kicker {
  display: block; margin-bottom: 18px;
  font-size: clamp(14px, 1.6vw, 17px); font-weight: 700; letter-spacing: .02em; line-height: 1.4; color: var(--muted);
}
.hero h1 .l2 { display: block; color: var(--dim); }
.hero h1 .l3 { display: block; color: var(--hot); }

.hero-lead { max-width: 540px; margin-top: 28px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero .btn-row { margin-top: 34px; }

.social-proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; font-size: 14px; color: var(--dim); }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); margin-left: -8px; }
.avatars span:first-child { margin-left: 0; background: #3f3f46; }
.avatars span:nth-child(2) { background: #71717a; }
.avatars span:nth-child(3) { background: #d4d4d8; }
.social-proof strong { color: #e4e4e7; }

/* ---------- Live phone preview ---------- */
.live-preview { position: relative; display: flex; justify-content: center; --accent: var(--hot); }
.live-preview .glow {
  position: absolute; inset: 10% 15%; border-radius: 50%;
  background: var(--accent); opacity: .25; filter: blur(80px); transition: background .4s;
}
.phone {
  position: relative; width: min(340px, 100%); aspect-ratio: 9 / 18.5;
  border-radius: 44px; padding: 10px; background: #18181b;
  border: 1px solid var(--line-strong); box-shadow: 0 40px 80px rgba(0,0,0,.55);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #09090b; }

.feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.feed::-webkit-scrollbar { display: none; }
.room { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; background: var(--room-bg, #18181b); }
.room video { width: 100%; height: 100%; object-fit: cover; }

.hud-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.creator-chip { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); }
.creator-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #fff3); transition: background .4s; }
.creator-chip p { font-size: 13px; font-weight: 700; line-height: 1.2; }
.creator-chip span { font-size: 11px; color: #d4d4d8; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--hot-strong); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }

.room-dots { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; }
.room-dots button { width: 5px; height: 22px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, height .2s; }
.room-dots button[aria-current="true"] { background: #fff; height: 34px; }

.hud-bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.comments { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; max-height: 140px; overflow: hidden; justify-content: flex-end; }
.comments p { align-self: flex-start; max-width: 88%; padding: 6px 10px; border-radius: 14px; background: rgba(0,0,0,.42); backdrop-filter: blur(6px); font-size: 12.5px; line-height: 1.35; }
.comments p strong { margin-right: 4px; color: #fda4af; }
.comments p.gift { background: linear-gradient(90deg, rgba(214,31,69,.9), rgba(200,90,30,.85)); }
.comments p.gift strong { color: #fff; }
.comments p.fresh { animation: pop .35s ease-out; }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } }

.composer { display: flex; gap: 8px; }
.comment-form { flex: 1; display: flex; align-items: center; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); padding: 4px 4px 4px 14px; }
.comment-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.comment-form input::placeholder { color: #a1a1aa; }
.comment-form button, .gift-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; }
.comment-form button { background: var(--white); color: var(--ink); }
.comment-form button:disabled { opacity: .35; cursor: default; }
.gift-btn { width: 42px; height: 42px; background: linear-gradient(135deg, var(--hot-strong), var(--ember)); color: #fff; }
.comment-form svg, .gift-btn svg { width: 17px; height: 17px; }

.top-gifter {
  position: absolute; left: -12px; bottom: 22%; padding: 12px 16px; border-radius: 18px;
  background: rgba(20,20,24,.92); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.top-gifter p { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.top-gifter strong { display: block; font-size: 16px; margin-top: 2px; }
.top-gifter span { font-size: 12px; color: #fbbf24; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.section-head h2 { margin-top: 14px; max-width: 680px; font-size: clamp(34px, 5vw, 52px); font-weight: 900; }
.section-head > p { max-width: 380px; font-size: 15px; color: var(--dim); }

.section-paper { background: var(--paper); color: var(--ink); }
.section-paper .eyebrow { color: var(--hot-strong); }
.features-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 48px; }
.features-grid h2 { margin-top: 14px; font-size: clamp(34px, 5vw, 52px); font-weight: 900; }
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e4e4e7; border: 1px solid #e4e4e7; border-radius: var(--radius-lg); overflow: hidden; }
.feature-cards article { background: var(--white); padding: 34px; }
.feature-cards .num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 44px; border-radius: 50%; background: #e4e4e7; font-size: 14px; font-weight: 800; }
.feature-cards article:nth-child(1) .num { background: var(--ink); color: #fff; }
.feature-cards article:nth-child(2) .num { background: var(--hot-strong); color: #fff; }
.feature-cards h3 { font-size: 24px; font-weight: 900; letter-spacing: -0.03em; }
.feature-cards p { margin-top: 10px; color: #52525b; line-height: 1.75; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: border-color .2s, background .2s; }
.steps article:hover { border-color: var(--line-strong); background: rgba(255,255,255,.02); }
.steps .num { font-size: 14px; font-weight: 900; color: var(--hot); }
.steps h3 { margin-top: auto; font-size: 24px; font-weight: 900; }
.steps p { margin-top: 10px; color: var(--muted); }

/* ---------- Trending ---------- */
.trending { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.trending-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.trending h2 { margin-top: 14px; font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: .95; }
.trending h2 span { color: var(--hot); }
.trending-copy > p { margin-top: 20px; max-width: 420px; color: var(--muted); font-size: 17px; }
.live-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; font-weight: 700; color: #e4e4e7; }

.marquee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 620px;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.marquee-col { overflow: hidden; }
.marquee-track { display: flex; flex-direction: column; animation: scroll-up 38s linear infinite; }
.marquee-col.rev .marquee-track { animation-name: scroll-down; animation-duration: 44s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex-direction: column; gap: 14px; padding-bottom: 14px; }
@keyframes scroll-up { to { transform: translateY(-50%); } }
@keyframes scroll-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none !important; } }

.stream-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink-3); --accent: var(--hot); }
.stream-card.short { aspect-ratio: 3 / 3.4; }
.stream-card.medium { aspect-ratio: 3 / 4; }
.stream-card.tall { aspect-ratio: 3 / 4.8; }
.stream-card img { width: 100%; height: 100%; object-fit: cover; }
.stream-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 55%, rgba(0,0,0,.8)); }
.card-top, .card-bottom { position: absolute; left: 12px; right: 12px; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.card-top { top: 12px; }
.card-bottom { bottom: 12px; align-items: flex-end; }
.category { padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.45); font-size: 11px; font-weight: 700; color: var(--accent); }
.card-live { padding: 3px 7px; border-radius: 6px; background: var(--hot-strong); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card-bottom h3 { font-size: 15px; letter-spacing: -0.02em; }
.card-bottom p { font-size: 12px; color: #d4d4d8; }

/* ---------- Download ---------- */
.download { position: relative; overflow: hidden; }
.download-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: clamp(28px, 5vw, 56px);
  border-radius: 36px; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 90% 10%, rgba(255,59,92,.22), transparent 55%), var(--ink-2);
}
.download-card h2 { margin-top: 14px; font-size: clamp(32px, 4.6vw, 48px); font-weight: 900; }
.download-card > div > p { margin-top: 16px; color: var(--muted); max-width: 480px; }
.download-card .btn-row { margin-top: 28px; }
.apk-steps { padding: 26px; border-radius: var(--radius); background: rgba(0,0,0,.3); border: 1px solid var(--line); }
.apk-steps h3 { font-size: 18px; letter-spacing: -0.02em; }
.apk-steps ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.apk-steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: #d4d4d8; font-size: 15px; }
.apk-steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hot-soft); color: var(--hot); font-weight: 800; font-size: 13px; }
.apk-steps .note { margin-top: 18px; font-size: 13px; color: var(--dim); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); transition: border-color .2s; }
.faq-list details[open] { border-color: var(--line-strong); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 700; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--hot); font-weight: 800; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--muted); line-height: 1.75; }
.faq-list details a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hot-strong); color: var(--white); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-block: 80px; }
.cta-band h2 { max-width: 820px; font-size: clamp(40px, 7vw, 76px); font-weight: 900; line-height: .95; letter-spacing: -0.055em; }
.cta-band h2 span { display: block; color: rgba(255,255,255,.85); }
.cta-band .btn { background: var(--white); color: var(--ink); }
.cta-band .btn:hover { transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 40px; padding-block: 56px; }
.footer-grid > div > p { margin-top: 18px; max-width: 360px; font-size: 14px; color: var(--muted); }
.footer-title { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.footer-links { display: grid; gap: 10px; margin-top: 16px; font-size: 14px; color: #d4d4d8; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0 28px; font-size: 13px; color: var(--dim); }

/* ---------- Legal / support pages ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: var(--hot-soft); filter: blur(70px); }
.breadcrumb { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 13px; color: var(--dim); }
.breadcrumb li { list-style: none; display: flex; gap: 8px; }
.breadcrumb li + li::before { content: "/"; }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { position: relative; margin-top: 14px; font-size: clamp(40px, 7vw, 76px); font-weight: 900; letter-spacing: -0.055em; }
.page-hero .lead { position: relative; margin-top: 18px; max-width: 640px; font-size: 18px; color: var(--muted); }
.page-hero .updated { position: relative; margin-top: 14px; font-size: 14px; color: var(--dim); }

.doc-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding-block: 64px 96px; align-items: start; }
.toc { position: sticky; top: 92px; }
.toc nav { display: grid; gap: 2px; padding-left: 14px; border-left: 1px solid var(--line); }
.toc a { padding: 7px 0; font-size: 14px; color: var(--dim); transition: color .2s; }
.toc a:hover, .toc a.active { color: var(--white); }
.toc a.active { box-shadow: -15px 0 0 -13px var(--hot); }

.doc { max-width: 760px; }
.doc > section { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.doc > section:first-child { padding-top: 0; }
.doc > section:last-child { border-bottom: 0; }
.doc h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.doc p, .doc li { color: #c4c4cc; line-height: 1.8; }
.doc h2 + p, .doc h2 + ul { margin-top: 16px; }
.doc ul { display: grid; gap: 10px; list-style: none; }
.doc li { position: relative; padding-left: 22px; }
.doc li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); }
.doc strong { color: var(--white); }
.doc a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.contact-card { padding: 32px !important; margin-top: 34px; border: 1px solid var(--line-strong) !important; border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0, rgba(255,59,92,.18), transparent 60%), var(--ink-2); }
.contact-card h2 { margin-top: 10px; }
.contact-card p { margin-top: 12px; }
.contact-card .btn { margin-top: 20px; text-decoration: none; }

.qa-list { display: grid; gap: 12px; margin-top: 22px; }
.qa { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 90px; background: rgba(255,255,255,.02); }
.qa h3 { font-size: 18px; letter-spacing: -0.02em; }
.qa h3 span { color: var(--hot); }
.qa p { margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 56px 80px; }
  .features-grid, .trending-grid, .download-card { grid-template-columns: 1fr; }
  .doc-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .toc { position: static; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; border: 0; }
  .toc a { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .toc a.active { box-shadow: none; border-color: var(--hot); }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .feature-cards, .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; }
  .steps h3 { margin-top: 36px; }
  .marquee { height: 520px; grid-template-columns: repeat(2, 1fr); }
  .marquee-col:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .top-gifter { left: 0; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}

/* Prevent grid/flex children from forcing horizontal overflow on small screens */
.hero-grid > *, .features-grid > *, .trending-grid > *, .download-card > *, .doc-layout > *, .footer-grid > * { min-width: 0; }
.breadcrumb { padding: 0; margin-top: 0; }
@media (max-width: 720px) { .top-gifter { bottom: auto; top: 18%; padding: 10px 12px; } }

/* Phone: drop the effects that repaint every scroll. Layout and type stay the same. */
@media (max-width: 860px) {
  html { scroll-behavior: auto; }
  .site-header {
    background: #0b0b0e;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero::before, .hero::after, .live-preview .glow, .page-hero::before { display: none; }
  .creator-chip, .comment-form {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, .72);
  }
  .comments p {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, .72);
  }
  .comments p.gift { background: linear-gradient(90deg, rgba(214,31,69,.95), rgba(200,90,30,.92)); }
  .phone { box-shadow: 0 12px 24px rgba(0, 0, 0, .4); }
  .brand img { box-shadow: none; }
}
@media (max-width: 720px) {
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .marquee-track { animation: none; }
  .section { content-visibility: auto; contain-intrinsic-size: auto 640px; }
  .feed { touch-action: pan-y; }
}
