/* public-site/pages.css — THE MARKETING PAGES. Loads after site.css.
 *
 * The product pages (/streaming, /chat, /bot) are SHOWCASE pages (the sc-
 * blocks): a tilted hero shot, big alternating moments, a promise band and a
 * card grid. The older feature rows below (pg-row) are reused by the plain pages. The
 * other marketing pages (/pricing, /downloads, /cloud-studio, /about, /contact,
 * /switch and /use-cases/*) use the "page" blocks further down: the same hero,
 * then calm single-column sections, cards and a closing call to action.
 *
 * One stylesheet for every marketing page built from the ONE feature list
 * (site-features.js): a hero with a real product image, then a calm two-column
 * body. The left column is a sticky "On this page" index (desktop) or a
 * collapsed list (phone); the right column holds one section per feature
 * group, each feature an anchored block whose id is the anchor in
 * site-features.js (pages.test.js pins that).
 *
 * Same tokens, type and spacing as the home page (site.css + home.css). */

/* ── Hero ── */
.pg-hero { padding: 48px 0 0; }
.pg-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.pg-eyebrow {
  margin: 0; font: 600 13px/1.4 var(--site-mono); letter-spacing: .1em;
  text-transform: uppercase; color: var(--site-accent-soft);
}
.pg-h1 {
  margin: 0; font-family: var(--site-serif); font-weight: 600;
  font-size: clamp(48px, 6.4vw, 92px); line-height: .96; letter-spacing: -.01em;
  max-width: 940px; text-wrap: balance;
}
.pg-sub { margin: 0; font-size: 20px; color: var(--site-dim); max-width: 680px; }
.pg-ctas { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.site .pg-text-link { color: var(--site-text); font-weight: 600; min-height: 48px; display: inline-flex; align-items: center; padding: 0 4px; }
.site .pg-text-link:hover { color: var(--site-accent-hover); }
.pg-note { margin: 0; font-size: 14px; color: var(--site-faint); max-width: 720px; }

.pg-hero-shot-wrap { max-width: 1320px; margin: 0 auto; padding: 44px var(--site-gutter) 0; }
.pg-hero-shot {
  margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--site-line);
  background: var(--site-surface); box-shadow: 0 50px 140px rgba(0, 0, 0, .65);
}
.pg-hero-shot img { display: block; width: 100%; height: auto; }

/* ── Body: sticky index + sections ── */
.pg-layout {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px;
  align-items: start; padding-top: 112px;
}
.pg-toc {
  position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto;
  padding-right: 4px; font-size: 15px;
}
.pg-toc-h, .pg-toc-m summary {
  margin: 0 0 8px; font: 600 12px/1.4 var(--site-mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--site-faint);
}
.pg-toc ul, .pg-toc-m ul { list-style: none; margin: 0; padding: 0; }
.pg-toc-group { margin: 18px 0 2px; font-weight: 700; color: var(--site-text); font-size: 14px; }
.site .pg-toc-link {
  display: flex; align-items: center; min-height: 44px; padding: 4px 12px;
  border-left: 2px solid var(--site-line); color: var(--site-dim); line-height: 1.3;
}
.site .pg-toc-link:hover { color: var(--site-text); border-left-color: var(--site-accent); }
.pg-toc-m { display: none; }

.pg-group { padding-bottom: 104px; scroll-margin-top: 24px; }
.pg-group + .pg-group { padding-top: 8px; }
.pg-h2 {
  margin: 0; font-family: var(--site-serif); font-weight: 600;
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1; text-wrap: balance;
}
.pg-lede { margin: 14px 0 0; color: var(--site-dim); font-size: 18px; max-width: 620px; }

/* One feature. With a screenshot it is a two-column row; without one it is a
   card in a two-up grid, so a long list never reads as a wall of text. */
.pg-feature { scroll-margin-top: 24px; }
.pg-feature p { margin: 0; color: var(--site-dim); }
.pg-h3 { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.25; letter-spacing: -.005em; }
.pg-feature-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pg-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px;
  align-items: center; padding: 56px 0; border-top: 1px solid var(--site-line);
}
.pg-group-head + .pg-row { margin-top: 40px; }
.pg-row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } /* the shot keeps the wide column */
.pg-row--flip .pg-feature-text { order: 2; }
.pg-row--flip .pg-shot { order: 1; }
.pg-shot {
  margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--site-line);
  background: var(--site-surface);
}
.pg-shot img { display: block; width: 100%; height: auto; }

.pg-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px;
  padding-top: 40px; margin-top: 16px; border-top: 1px solid var(--site-line);
}
.pg-group-head + .pg-grid { margin-top: 40px; }
.pg-grid .pg-feature { display: flex; flex-direction: column; gap: 12px; }

.site .pg-guide {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  min-height: 44px; font-weight: 600; text-decoration: none;
}
.pg-guide svg { flex: none; transition: transform .15s ease; }
.pg-guide:hover svg { transform: translateX(2px); }
.pg-links { display: flex; flex-wrap: wrap; gap: 0 22px; }

/* Platform marks inside the multistream block (the same marks as the home page row). */
.pg-plats { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pg-plats li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--site-text); }
.pg-plats svg { width: 20px; height: 20px; flex: none; }
.pg-plats .pg-plat-custom { font-weight: 600; color: var(--site-dim); }
.pg-plats .pg-plat-custom svg { color: var(--site-accent-soft); }

/* ── Closing call to action (the home page's CTA, shared) ── */
.pg-cta { padding: 64px 0 120px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.pg-cta h2 {
  margin: 0; font-family: var(--site-serif); font-weight: 600;
  font-size: clamp(48px, 6.5vw, 96px); line-height: .95; text-wrap: balance;
}
.pg-cta p { margin: 0; color: var(--site-faint); font-size: 15px; }

/* ── Plain marketing pages (no feature index) ── */
.pg-hero--plain { padding-bottom: 8px; }
.pg-page { padding-top: 96px; }
.pg-section { padding-bottom: 104px; scroll-margin-top: 24px; }
.pg-section > .pg-lede + * { margin-top: 36px; }
.pg-prose { max-width: 720px; }
.pg-prose p { margin: 0; color: var(--site-dim); }
.pg-prose p + p { margin-top: 16px; }
.pg-prose .pg-lede { margin-top: 14px; }
.pg-h2 + .pg-prose, .pg-h2 + .pg-cards, .pg-h2 + .pg-steps, .pg-h2 + .pg-faq, .pg-h2 + .pg-contact { margin-top: 32px; }
.pg-cards + .pg-note { margin-top: 24px; }

/* Cards: price tiers, downloads, products. Two or three across, one on phones. */
.pg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pg-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: var(--site-surface); border: 1px solid var(--site-line); border-radius: 14px;
}
.pg-card--accent { border-color: var(--site-accent-line); }
.pg-card p { margin: 0; color: var(--site-dim); }
.pg-card .pg-h3 { font-size: 22px; }
.pg-card-kicker {
  margin: 0; font: 600 12px/1.4 var(--site-mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--site-accent-soft);
}
.pg-card-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.pg-card-note { font-size: 14px; color: var(--site-faint) !important; }
.pg-price { margin: 0; font-family: var(--site-serif); font-weight: 600; font-size: 52px; line-height: 1; color: var(--site-text); }
.pg-price small { font-family: var(--site-sans); font-size: 16px; font-weight: 500; color: var(--site-dim); margin-left: 6px; }
.pg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-list li { position: relative; padding-left: 22px; color: var(--site-dim); }
.pg-list li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--site-accent);
}

/* Numbered steps. */
.pg-steps { list-style: none; margin: 0; padding: 0; counter-reset: pg-step; display: grid; gap: 28px; max-width: 760px; }
.pg-steps > li { counter-increment: pg-step; position: relative; padding-left: 56px; }
.pg-steps > li::before {
  content: counter(pg-step); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font: 700 15px/1 var(--site-mono); color: var(--site-accent-soft);
  border: 1px solid var(--site-accent-line);
}
.pg-steps .pg-h3 { font-size: 20px; }
.pg-steps p { margin: 6px 0 0; color: var(--site-dim); }

/* A row with a screenshot on a plain page reuses .pg-row; this drops its top rule. */
.pg-section .pg-row:first-of-type { border-top: 0; padding-top: 32px; }

/* Questions. */
.pg-faq { max-width: 820px; border-top: 1px solid var(--site-line); }
.pg-faq details { border-bottom: 1px solid var(--site-line); }
.pg-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 19px; font-weight: 600; color: var(--site-text);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; flex: none; font: 400 26px/1 var(--site-sans); color: var(--site-accent-soft); }
.pg-faq details[open] summary::after { content: "\2212"; }
.pg-faq details p { margin: 0 0 22px; color: var(--site-dim); max-width: 720px; }

/* Contact rows: a label and an address or link. */
.pg-contact { list-style: none; margin: 0; padding: 0; max-width: 820px; border-top: 1px solid var(--site-line); }
.pg-contact li {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 32px;
  padding: 24px 0; border-bottom: 1px solid var(--site-line);
}
.pg-contact .pg-h3 { font-size: 20px; }
.pg-contact p { margin: 4px 0 0; color: var(--site-dim); }
.site .pg-contact-link { font-size: 19px; font-weight: 600; word-break: break-word; }

/* ══════════════ SHOWCASE PAGES (/streaming, /chat, /bot) ══════════════ */
.sc-hero { position: relative; padding: 64px 0 0; text-align: center; }
.sc-hero::before {
  content: ""; position: absolute; left: 50%; top: 260px; width: min(1100px, 100%); height: 720px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 140, 50, .2), transparent);
}
.sc-hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.sc-h1 {
  margin: 0; font-family: var(--site-serif); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(50px, 7.4vw, 112px); line-height: .92; max-width: 1000px; text-wrap: balance;
}
.sc-lede { margin: 0; max-width: 660px; font-size: 20px; color: var(--site-dim); }
.sc-hero .pg-ctas { justify-content: center; }
.sc-stage { position: relative; max-width: 1228px; margin: 0 auto; padding: 56px var(--site-gutter) 0; }
.sc-stage .tilt-target { position: relative; transform: rotateX(2deg); }
.sc-hero-shot {
  margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--site-line-strong);
  background: var(--site-surface); box-shadow: 0 60px 160px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .5);
}
.sc-hero-shot img { display: block; width: 100%; height: auto; }
/* A phone held sideways as the hero (/irl): the screenshot is the screen, the frame is drawn around it. */
.sc-stage--phone-land .tilt-target { max-width: 900px; margin: 0 auto; }
.sc-phone-land { margin: 0; border-radius: 34px; padding: 10px; background: var(--site-ink); border: 1px solid var(--site-line-strong); box-shadow: 0 60px 160px rgba(0, 0, 0, .7); }
.sc-phone-land img { display: block; width: 100%; height: auto; border-radius: 24px; }
@media (min-width: 1000px) {
  .sc-stage--phone-land .sc-chip--a { left: -24px; top: 18%; }
  .sc-stage--phone-land .sc-chip--b { right: -24px; top: 54%; }
  .sc-stage--phone-land .sc-chip--c { left: 10%; bottom: -22px; }
}
/* A phone as the hero (/irl): the phone frame centred, the chips floating either side of it. */
.sc-stage--phone .tilt-target { max-width: 340px; margin: 0 auto; }
.sc-stage--phone .sc-phone { width: 340px; }
@media (min-width: 1000px) {
  .sc-stage--phone .sc-chip--a { left: auto; right: calc(100% + 24px); top: 30%; }
  .sc-stage--phone .sc-chip--b { right: auto; left: calc(100% + 96px); top: 62%; }
  .sc-stage--phone .sc-chip--c { left: auto; right: calc(100% + 8px); bottom: 14%; }
}
.sc-chip {
  position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: rgba(23, 19, 15, .92); border: 1px solid var(--site-line-strong); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; color: var(--site-dim); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
  animation: sc-bob 5s ease-in-out infinite;
}
.sc-chip b { color: var(--site-text); }
.sc-chip--a { left: -14px; top: 26%; }
.sc-chip--b { right: -14px; top: 44%; animation-delay: 1.2s; }
.sc-chip--c { left: 8%; bottom: -22px; animation-delay: 2.4s; }
.sc-ok { color: var(--site-ok); }
.sc-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--site-accent); }
.sc-dot--tw { background: var(--site-twitch); }
.sc-dot--yt { background: var(--site-youtube); }
.sc-dot--kk { background: var(--site-kick); }
.sc-dot--tt { background: var(--site-tiktok); }
@keyframes sc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Big moments: one large visual and short copy, alternating sides. */
.sc-moment { padding-top: 150px; scroll-margin-top: 24px; }
.sc-m-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.sc-m-grid--rev { flex-direction: row-reverse; }
.sc-m-copy { flex: 1 1 380px; min-width: 0; }
.sc-m-copy p { margin: 0 0 16px; color: var(--site-dim); font-size: 19px; max-width: 520px; }
.sc-h2 {
  margin: 12px 0 18px; font-family: var(--site-serif); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(40px, 5vw, 68px); line-height: 1; text-wrap: balance;
}
.sc-m-vis { flex: 1.4 1 520px; min-width: 0; }
.sc-ticks { list-style: none; padding: 0; margin: 22px 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.sc-ticks li { display: flex; gap: 10px; align-items: baseline; }
.sc-ticks li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px;
  background: var(--site-accent); transform: translateY(-2px);
}

/* A real screenshot with an orange callout pointing at what matters. */
.sc-shot { position: relative; margin: 0; }
.sc-shot img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--site-line-strong); box-shadow: 0 40px 110px rgba(0, 0, 0, .6);
}
.sc-callout {
  position: absolute; z-index: 1; background: var(--site-accent); color: var(--site-on-accent);
  font-weight: 700; font-size: 14px; line-height: 1.25; padding: 8px 12px; border-radius: 10px;
  box-shadow: 0 12px 30px rgba(255, 140, 50, .35); white-space: nowrap;
}
.sc-callout::after {
  content: ""; position: absolute; left: 18px; bottom: -5px; width: 10px; height: 10px;
  background: var(--site-accent); transform: rotate(45deg);
}

/* Diagram panels, drawn in the app's own colours. */
.sc-panel {
  position: relative; overflow: hidden; border-radius: 20px; padding: 28px;
  background: linear-gradient(180deg, var(--site-surface), var(--site-ink)); border: 1px solid var(--site-line);
}
.sc-panel svg { display: block; width: 100%; height: auto; }
.sc-flow { stroke-dasharray: 5 9; animation: sc-flow 1s linear infinite; }
@keyframes sc-flow { to { stroke-dashoffset: -28; } }
.sc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.sc-tile { background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.sc-tile b { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sc-tile-s { display: block; margin-top: 4px; font-family: var(--site-mono); font-size: 12.5px; color: var(--site-faint); }

.sc-cloud { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.sc-node {
  background: var(--site-surface-2); border: 1px solid var(--site-line-strong); border-radius: 14px;
  padding: 18px; text-align: center; font-weight: 600;
}
.sc-node small { display: block; margin-top: 4px; font-weight: 400; color: var(--site-faint); font-size: 13px; }
.sc-gpu {
  width: 164px; height: 164px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, rgba(255, 157, 77, .28), rgba(255, 157, 77, .05) 60%, transparent 70%);
  border: 1px solid var(--site-accent-line); font-weight: 700; animation: sc-glow 3s ease-in-out infinite;
}
.sc-gpu small { display: block; font: 500 12px/1.5 var(--site-mono); color: var(--site-accent-soft); }
@keyframes sc-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 157, 77, 0); } 50% { box-shadow: 0 0 60px 6px rgba(255, 157, 77, .25); } }
.sc-price {
  display: inline-flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 8px 0 18px; padding: 10px 14px;
  border-radius: 12px; background: var(--site-surface); border: 1px solid var(--site-line); color: var(--site-dim);
}
.sc-price b { font-size: 28px; color: var(--site-text); letter-spacing: -.02em; }

/* The phone, drawn from the real app's Camera tab. */
.sc-phone-wrap { display: flex; justify-content: center; }
.sc-phone-pos { position: relative; }
.sc-phone {
  position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 19.5; border-radius: 44px;
  border: 10px solid var(--site-ink); overflow: hidden; box-shadow: 0 50px 120px rgba(0, 0, 0, .7);
  background: radial-gradient(60% 40% at 50% 42%, rgba(240, 200, 160, .45), transparent 70%), linear-gradient(180deg, var(--site-surface-2), var(--site-ink));
}
.sc-ph-top { position: absolute; top: 18px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; font-size: 11px; }
.sc-pill { background: rgba(14, 11, 9, .7); border: 1px solid var(--site-line); border-radius: 999px; padding: 4px 9px; font-family: var(--site-mono); }
.sc-pill--live { background: var(--site-live); border-color: transparent; font: 700 11px/1.4 var(--site-sans); color: var(--site-text); }
.sc-ph-chat { position: absolute; left: 12px; right: 56px; bottom: 112px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.sc-ph-chat p { margin: 0; background: rgba(14, 11, 9, .62); padding: 5px 9px; border-radius: 9px; animation: sc-pop .5s both; }
.sc-ph-chat p:nth-child(2) { animation-delay: .9s; }
.sc-ph-chat p:nth-child(3) { animation-delay: 1.8s; }
.sc-ph-chat p:nth-child(4) { animation-delay: 2.7s; }
@keyframes sc-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sc-ph-dock { position: absolute; left: 12px; right: 12px; bottom: 22px; display: flex; gap: 8px; align-items: center; }
.sc-ph-dock i { width: 40px; height: 40px; border-radius: 50%; background: rgba(14, 11, 9, .7); border: 1px solid var(--site-line); }
.sc-ph-end {
  margin-left: auto; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 13px;
  background: rgba(240, 80, 95, .18); border: 1px solid rgba(240, 80, 95, .6); color: var(--site-text);
}
.sc-pip {
  position: absolute; right: -76px; top: 90px; width: 196px; aspect-ratio: 16 / 9; border-radius: 12px;
  border: 1px solid var(--site-line-strong); box-shadow: 0 30px 70px rgba(0, 0, 0, .6);
  background: radial-gradient(50% 60% at 45% 55%, rgba(240, 200, 160, .4), transparent 70%), var(--site-surface-2);
  display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding: 8px; font-size: 11px;
}
.sc-pip span { background: rgba(14, 11, 9, .75); padding: 3px 8px; border-radius: 999px; }

/* A window drawn from the real Pyre.Chat look: the player (or mosaic) beside the feed. */
.sc-win { border-radius: 16px; overflow: hidden; border: 1px solid var(--site-line-strong); background: var(--site-ink); box-shadow: 0 40px 110px rgba(0, 0, 0, .6); }
.sc-win-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--site-line); font-size: 13px; color: var(--site-faint); }
.sc-win-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--site-line-strong); }
.sc-watch { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.sc-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; align-content: start; }
.sc-tv {
  position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden;
  background: radial-gradient(60% 70% at 40% 55%, rgba(240, 200, 160, .3), transparent 70%), var(--site-surface-2);
  border: 1px solid var(--site-line); animation: sc-tv 6s ease-in-out infinite;
}
.sc-tv:nth-child(2) { animation-delay: 1.5s; }
.sc-tv:nth-child(3) { animation-delay: 3s; }
.sc-tv:nth-child(4) { animation-delay: 4.5s; }
@keyframes sc-tv { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.sc-tv span { position: absolute; left: 6px; bottom: 6px; display: flex; align-items: center; gap: 5px; font-size: 11px; background: rgba(14, 11, 9, .75); padding: 2px 7px; border-radius: 999px; }
.sc-tv .sc-snd { left: auto; right: 6px; color: var(--site-accent-soft); }
.sc-feed { border-left: 1px solid var(--site-line); padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; min-width: 0; }
.sc-feed p { margin: 0; padding: 5px 8px; border-left: 3px solid var(--site-line-strong); border-radius: 4px; background: rgba(255, 255, 255, .03); color: var(--site-dim); animation: sc-pop .5s both; }
.sc-feed p b { color: var(--site-text); }
.sc-feed p.tw { border-left-color: var(--site-twitch); }
.sc-feed p.yt { border-left-color: var(--site-youtube); }
.sc-feed p.kk { border-left-color: var(--site-kick); }
.sc-feed p.tt { border-left-color: var(--site-tiktok); }
.sc-feed p:nth-child(2) { animation-delay: .8s; }
.sc-feed p:nth-child(3) { animation-delay: 1.6s; }
.sc-feed p:nth-child(4) { animation-delay: 2.4s; }
.sc-feed p:nth-child(5) { animation-delay: 3.2s; }

/* Devices (web, Windows, Android, extension). */
.sc-devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sc-device { background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 14px; padding: 18px; }
.sc-device b { display: block; font-size: 16px; }
.sc-device span { display: block; margin-top: 4px; color: var(--site-faint); font-size: 14px; }
.sc-device svg { display: block; width: 28px; height: 28px; color: var(--site-accent-soft); margin-bottom: 10px; }

/* One command, answered on every platform. */
.sc-ask { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--site-dim); }
.sc-replies { display: grid; gap: 10px; margin-top: 16px; }
.sc-reply { display: flex; align-items: center; gap: 10px; background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 12px; padding: 10px 14px; font-size: 14px; color: var(--site-dim); animation: sc-pop .5s both; }
.sc-reply:nth-child(2) { animation-delay: .6s; }
.sc-reply:nth-child(3) { animation-delay: 1.2s; }
.sc-reply b { color: var(--site-text); }
.sc-cmd { font-family: var(--site-mono); color: var(--site-accent-soft); }

/* Filters: the types, and what a filter can do. */
.sc-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.sc-filter { border: 1px solid var(--site-line); border-radius: 999px; padding: 8px 12px; font-size: 13px; text-align: center; color: var(--site-dim); background: var(--site-surface-2); }
.sc-filter--hit { border-color: var(--site-accent-line); color: var(--site-text); animation: sc-hit 3s ease-in-out infinite; }
@keyframes sc-hit { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 157, 77, 0); } 50% { box-shadow: 0 0 24px 2px rgba(255, 157, 77, .35); } }
.sc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sc-action { font: 600 13px/1 var(--site-mono); padding: 9px 12px; border-radius: 8px; border: 1px solid var(--site-line-strong); color: var(--site-text); }
.sc-panel-h { margin: 0 0 12px; font: 600 12px/1.4 var(--site-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--site-faint); }
.sc-panel-h + * { margin-top: 0; }
.sc-panel * + .sc-panel-h { margin-top: 22px; }

/* The promise band. */
.sc-band { margin-top: 150px; background: var(--site-accent); color: var(--site-on-accent); }
.sc-band-inner { display: flex; flex-wrap: wrap; gap: 24px 64px; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.sc-band-inner > div { flex: 1 1 220px; }
.sc-band b { display: block; font-size: clamp(34px, 4vw, 52px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sc-band span { font-weight: 500; }

/* Everything else: a compact card grid. Each card carries its feature anchor. */
.sc-more { padding-top: 140px; }
.sc-more .sc-h2 { margin-top: 0; }
.sc-grid { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sc-card {
  display: flex; flex-direction: column; background: var(--site-surface); border: 1px solid var(--site-line);
  border-radius: 14px; padding: 20px; scroll-margin-top: 24px; transition: border-color .2s ease;
}
.sc-card:hover { border-color: var(--site-accent-line); }
.sc-card--img { grid-column: span 2; padding: 0; overflow: hidden; }
.sc-card--img img { display: block; width: 100%; height: 200px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--site-line); }
.sc-card--img .sc-card-body { padding: 18px 20px 14px; }
.sc-card-body { display: flex; flex-direction: column; flex: 1; }
.sc-ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 157, 77, .12); display: grid; place-items: center; color: var(--site-accent-soft); margin-bottom: 12px; }
.sc-ic svg { width: 20px; height: 20px; }
.sc-card-h { margin: 0; font-size: 17px; font-weight: 700; }
.sc-card p { margin: 4px 0 0; color: var(--site-faint); font-size: 14.5px; }
.site .sc-card-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; font-size: 14.5px; font-weight: 600; }
.sc-cta { padding-top: 150px; }

@media (max-width: 860px) {
  .sc-moment { padding-top: 110px; }
  .sc-m-grid, .sc-m-grid--rev { flex-direction: column; align-items: stretch; gap: 36px; }
  .sc-m-vis, .sc-m-copy { flex: 1 1 auto; }
  .sc-watch { grid-template-columns: minmax(0, 1fr); }
  .sc-feed { border-left: 0; border-top: 1px solid var(--site-line); }
  .sc-band { margin-top: 110px; }
  .sc-more { padding-top: 110px; }
  .sc-cta { padding-top: 110px; }
}
@media (max-width: 620px) {
  .sc-hero { padding-top: 36px; }
  .sc-lede { font-size: 18px; }
  .sc-stage { padding-top: 36px; }
  .sc-chip { font-size: 12.5px; padding: 8px 10px; }
  .sc-chip--a, .sc-chip--b { display: none; }
  .sc-chip--c { left: 50%; right: auto; bottom: -18px; translate: -50% 0; }
  .sc-card--img { grid-column: auto; }
  .sc-cloud { grid-template-columns: minmax(0, 1fr); }
  .sc-gpu { margin: 0 auto; }
  .sc-pip { display: none; }
  .sc-panel { padding: 18px; }
  .sc-devices { grid-template-columns: minmax(0, 1fr); }
  /* On a phone the callout sits above the shot instead of covering it. */
  .sc-callout { position: relative; left: auto !important; top: auto !important; display: inline-block; margin: 0 0 12px; font-size: 12.5px; padding: 6px 10px; }
  .sc-shot { display: flex; flex-direction: column; align-items: flex-start; }
  .sc-shot .sc-callout { order: -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-chip, .sc-flow, .sc-gpu, .sc-ph-chat p, .sc-tv, .sc-feed p, .sc-reply, .sc-filter--hit { animation: none !important; }
  .sc-card { transition: none; }
}

/* ── Narrower screens ── */
@media (max-width: 1079px) {
  .pg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 64px; }
  .pg-toc { display: none; }
  .pg-toc-m {
    display: block; margin-bottom: 56px; border: 1px solid var(--site-line);
    border-radius: 12px; background: var(--site-surface);
  }
  .pg-toc-m summary {
    margin: 0; padding: 0 16px; min-height: 52px; display: flex; align-items: center;
    cursor: pointer; color: var(--site-dim);
  }
  .pg-toc-m nav { padding: 0 16px 14px; }
  .pg-toc-m .pg-toc-group { margin-top: 12px; }
}
@media (max-width: 860px) {
  .pg-row, .pg-row--flip { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 44px 0; }
  .pg-row--flip .pg-feature-text, .pg-row--flip .pg-shot { order: 0; }
  .pg-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg-cards, .pg-cards--2 { grid-template-columns: minmax(0, 1fr); }
  .pg-contact li { grid-template-columns: minmax(0, 1fr); }
  .pg-page { padding-top: 64px; }
}
@media (max-width: 560px) {
  .pg-hero { padding-top: 28px; }
  .pg-sub { font-size: 18px; }
  .pg-hero-shot-wrap { padding-top: 32px; }
  .pg-hero-shot { border-radius: 10px; }
  .pg-group { padding-bottom: 80px; }
  .pg-h3 { font-size: 21px; }
  .pg-cta { padding: 40px 0 88px; }
  .pg-section { padding-bottom: 80px; }
  .pg-card { padding: 22px; }
  .pg-price { font-size: 44px; }
  .pg-steps > li { padding-left: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-guide svg { transition: none; }
  .pg-guide:hover svg { transform: none; }
}

/* ── Legal pages (/privacy, /terms, /delete-account) ──
   Calm long-form reading: the plain hero, then a contents list beside one
   column of text held to about 70 characters a line. No motion, no imagery.
   The words are pinned by marketing-pages.test.js; only the dress lives here. */
.lg-hero .pg-hero-copy { gap: 16px; }
.pg-h1.lg-h1 { font-size: clamp(44px, 5.2vw, 72px); line-height: 1; }
.pg-sub.lg-lede { font-size: 19px; max-width: 64ch; }

.lg-layout {
  display: grid; grid-template-columns: 240px minmax(0, 70ch); gap: 80px;
  align-items: start; padding-top: 72px; padding-bottom: 128px;
}
.lg-toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.lg-toc-h {
  margin: 0 0 12px; font: 600 12px/1.4 var(--site-mono); letter-spacing: .08em;
  text-transform: uppercase; color: var(--site-faint);
}
.lg-toc ol { list-style: none; margin: 0; padding: 0; }
.site .lg-toc-link {
  display: flex; align-items: baseline; gap: 12px; min-height: 40px; padding: 9px 12px;
  border-left: 2px solid var(--site-line); color: var(--site-dim); font-size: 15px; line-height: 1.35;
}
.site .lg-toc-link:hover { color: var(--site-text); border-left-color: var(--site-accent); }
.lg-toc-num { flex: none; font: 600 12px/1.35 var(--site-mono); color: var(--site-faint); }

.lg-doc { font-size: 17px; line-height: 1.75; color: var(--site-dim); }
.lg-section { scroll-margin-top: 24px; padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--site-line); }
.lg-section:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.lg-section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.lg-num { flex: none; font: 600 13px/1 var(--site-mono); letter-spacing: .06em; color: var(--site-accent-soft); }
.lg-h2 {
  margin: 0; font-family: var(--site-serif); font-weight: 600; color: var(--site-text);
  font-size: clamp(32px, 3.2vw, 42px); line-height: 1.08; text-wrap: balance;
}
.lg-h3 { margin: 36px 0 10px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--site-text); }
.lg-section-head + .lg-h3 { margin-top: 8px; }
.lg-doc p { margin: 0 0 18px; }
.lg-doc p:last-child { margin-bottom: 0; }
.lg-doc strong { color: var(--site-text); font-weight: 600; }
.lg-doc code {
  font: 500 .88em/1 var(--site-mono); color: var(--site-text);
  background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 5px; padding: 2px 6px;
}
.site .lg-doc a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.lg-list { margin: 0 0 18px; padding-left: 1.3em; }
.lg-list li { padding-left: .3em; }
.lg-list li + li { margin-top: 8px; }
.lg-list li::marker { color: var(--site-accent-soft); }

@media (max-width: 1079px) {
  .lg-layout { grid-template-columns: minmax(0, 70ch); gap: 0; padding-top: 48px; }
  .lg-toc {
    position: static; max-height: none; overflow: visible; margin-bottom: 56px;
    padding: 18px 16px 10px; border: 1px solid var(--site-line); border-radius: 12px; background: var(--site-surface);
  }
}
@media (max-width: 560px) {
  .pg-sub.lg-lede { font-size: 18px; }
  .lg-layout { padding-top: 36px; padding-bottom: 88px; }
  .lg-toc { margin-bottom: 44px; }
  .lg-doc { font-size: 16.5px; line-height: 1.7; }
  .lg-section { padding-top: 44px; margin-top: 44px; }
  .lg-section-head { flex-direction: column; gap: 8px; }
  .lg-h3 { font-size: 18px; margin-top: 30px; }
}

/* ── About (/about) ── a calm, personal page: one story column, two short
   lists whose lead phrase carries the point, and a plain email link. */
.page-about .ab-story { padding-bottom: 88px; }
.page-about .ab-story .pg-lede { margin-top: 0; font-size: 21px; color: var(--site-text); line-height: 1.5; }
.ab-points { list-style: none; margin: 32px 0 0; padding: 0; max-width: 720px; display: flex; flex-direction: column; }
.ab-points li { padding: 18px 0 18px 26px; position: relative; color: var(--site-dim); border-top: 1px solid var(--site-line); }
.ab-points li:last-child { border-bottom: 1px solid var(--site-line); }
.ab-points li::before {
  content: ""; position: absolute; left: 2px; top: calc(18px + .62em); width: 8px; height: 8px;
  border-radius: 50%; background: var(--site-accent);
}
.ab-points strong { color: var(--site-text); font-weight: 600; }
.site .ab-mail { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 18px; }
@media (max-width: 560px) {
  .page-about .ab-story .pg-lede { font-size: 19px; }
  .ab-points li { padding: 16px 0 16px 24px; }
  .ab-points li::before { top: calc(16px + .62em); }
}

/* ══════════════ /ads: the Ad Manager landing page ══════════════ */
.ad-hour { padding: 18px 18px 14px; }
.ad-hour-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.ad-hour-h b { font-size: 17px; }
.ad-hour-h span { color: var(--site-faint); font-size: 13px; font-family: var(--site-mono); }
.ad-meter { height: 10px; border-radius: 999px; background: var(--site-surface-2); border: 1px solid var(--site-line); overflow: hidden; position: relative; }
.ad-meter i { position: absolute; left: 0; top: 0; bottom: 0; width: 69%; background: linear-gradient(90deg, var(--site-accent), var(--site-accent-soft)); border-radius: 999px; }
.ad-meter em { position: absolute; top: -6px; bottom: -6px; left: 100%; width: 2px; background: var(--site-live); }
.ad-meter-l { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--site-faint); }
.ad-meter-l b { color: var(--site-text); }
.ad-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13px; color: var(--site-dim); }
.ad-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ad-legend i { width: 14px; height: 8px; border-radius: 3px; display: inline-block; }
.ad-moments { display: grid; gap: 10px; }
.ad-moment { display: flex; align-items: center; gap: 14px; background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 12px; padding: 12px 14px; }
.ad-moment b { display: block; font-size: 15px; }
.ad-moment span { display: block; color: var(--site-faint); font-size: 13.5px; margin-top: 2px; }
.ad-moment .ad-sw { margin-left: auto; flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--site-accent); position: relative; }
.ad-moment .ad-sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--site-ink); }
.ad-moment .ad-sw--off { background: var(--site-line-strong); }
.ad-moment .ad-sw--off::after { right: auto; left: 3px; background: var(--site-surface); }
.ad-modes { display: grid; gap: 12px; }
.ad-mode { border: 1px solid var(--site-line); border-radius: 14px; padding: 16px 18px; background: var(--site-surface-2); }
.ad-mode--on { border-color: var(--site-accent-line); box-shadow: 0 0 0 3px rgba(255, 157, 77, .12); }
.ad-mode b { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.ad-mode b small { font: 600 11px/1 var(--site-mono); color: var(--site-accent-soft); border: 1px solid var(--site-accent-line); border-radius: 999px; padding: 4px 8px; }
.ad-mode p { margin: 6px 0 0; color: var(--site-dim); font-size: 14.5px; }
.ad-big { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: flex-end; padding: 22px 22px 18px; }
.ad-big b { font-family: var(--site-serif); font-size: 84px; line-height: .9; letter-spacing: -.02em; color: var(--site-text); }
.ad-big small { display: block; font-size: 14px; color: var(--site-faint); margin-top: 8px; }
.ad-meter-svg { display: block; width: 100%; height: auto; margin: 4px 0 14px; }
.ad-games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ad-game { background: var(--site-surface-2); border: 1px solid var(--site-line); border-radius: 14px; padding: 16px 18px; }
.ad-game b { display: block; font-size: 16px; }
.ad-game span { display: block; margin-top: 4px; color: var(--site-faint); font-size: 13.5px; }
.ad-game .sc-ok { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-family: var(--site-mono); }
.ad-snooze { display: grid; gap: 10px; }
.ad-snooze p { margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--site-surface-2); border: 1px solid var(--site-line); font-size: 14.5px; color: var(--site-dim); }
.ad-snooze p b { color: var(--site-text); }
.ad-snooze p.ad-snooze--x { border-color: var(--site-accent-line); }
@media (max-width: 560px) { .ad-games { grid-template-columns: 1fr; } .ad-big b { font-size: 64px; } }
