/* =====================================================================
   page.css — light subpage layer for /hizmetler/<slug>/ (Stage 07).
   Loads AFTER tokens.css + base.css. NO sections.css on subpages:
   the few shared classes used here (nav, foot-*) are mirrored below
   so service pages stay light (no universe/GSAP, no bento machinery).
   Everything via var(--*); the ONLY literal product colors live inside
   the .dash scope (Meta/Google panel recreations — contract-mandated).
   ===================================================================== */

/* ---------------- Static header (homepage .nav, permanently "scrolled") ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 3vw, 40px);
  background: rgba(5, 6, 11, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.nav__brand { display: flex; align-items: center; gap: 0.6rem; }
.nav__brand img { width: 34px; height: 34px; }
.nav__word { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.12em; font-size: 0.95rem; }
.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }
.nav__cta { padding: 0.55rem 1.15rem; font-size: var(--fs-sm); }
.nav__home {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.05rem; border: 1px solid var(--color-line); border-radius: 999px;
  font-size: var(--fs-sm); color: var(--color-muted);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.nav__home:hover, .nav__home:focus-visible { color: var(--color-ink); border-color: var(--color-faint); }
@media (max-width: 640px) { .nav__word { display: none; } }

/* ---------------- Page scaffolding ---------------- */
.page-main { position: relative; z-index: var(--z-content); }
.section--tight { padding-block: calc(var(--section-y) * 0.55); }

/* Section head (mirrors homepage sec-head rhythm) */
.p-head h2 { font-size: var(--fs-h2); margin-top: var(--space-sm); max-width: 22ch; letter-spacing: -0.01em; }
.p-head p { margin-top: var(--space-md); color: var(--color-muted); max-width: 58ch; }

/* SSS / FAQ — native <details>, JS yok (GEO + öne çıkan snippet dostu) */
.faq { max-width: 62rem; margin-inline: auto; display: grid; gap: var(--space-sm); }
.faq__item { border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-glass); }
.faq__item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: var(--space-md);
  padding: var(--space-md); font-weight: 600; color: inherit;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; font-size: 1.35em; line-height: 1; color: var(--color-faint);
  transition: transform var(--dur-fast) var(--ease-cinematic);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 var(--space-md) var(--space-md); color: var(--color-muted); max-width: 72ch; }
.faq__a p { margin: 0; }

/* ---------------- Hero ---------------- */
.page-hero { position: relative; padding-top: clamp(7.5rem, 18vh, 11rem); padding-bottom: var(--space-xl); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-xl); align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); color: var(--color-faint); margin-bottom: var(--space-md); }
.crumbs a { transition: color var(--dur-fast); }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--color-ink); }
.crumbs [aria-current] { color: var(--color-muted); }
.page-hero h1 { font-size: var(--fs-h2); margin-top: var(--space-sm); max-width: 17ch; letter-spacing: -0.015em; }
.page-hero .lede { margin-top: var(--space-md); font-size: var(--fs-lead); color: var(--color-muted); max-width: 52ch; }
.page-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.page-hero__art {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 30px 80px -40px rgba(108, 60, 240, 0.45);
}
.page-hero__art img { aspect-ratio: 4 / 3; }
.page-hero__art figcaption {
  position: absolute; left: var(--space-sm); bottom: var(--space-sm);
  padding: 0.25rem 0.75rem; border-radius: 999px;
  font-size: var(--fs-xs); letter-spacing: var(--track-chip); font-weight: 600;
  color: var(--color-ink); background: rgba(5, 6, 11, 0.66);
  border: 1px solid var(--color-line);
}

/* ---------------- Reveal-in (tiny inline IO adds .is-in) ---------------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-cinematic), transform var(--dur-slow) var(--ease-cinematic);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------- Capabilities ("Yapabileceklerimiz") ---------------- */
.page-banner { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); margin-top: var(--space-xl); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-xl); }
.cap {
  padding: var(--space-lg); border-radius: var(--radius-lg);
  background: var(--color-surface); border: 1px solid var(--color-line);
  transition: border-color var(--dur-fast), transform var(--dur-fast) var(--ease-cinematic);
}
.cap:hover { border-color: rgba(108, 60, 240, 0.45); transform: translateY(-3px); }
.cap h3 { font-size: var(--fs-base); }
.cap p { margin-top: 0.4rem; font-size: var(--fs-sm); color: var(--color-muted); }
.cap--wild {
  background: linear-gradient(135deg, rgba(108, 60, 240, 0.22), rgba(56, 106, 246, 0.14));
  border-color: rgba(108, 60, 240, 0.4);
}
.cap--wild h3 { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- Process steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-xl); list-style: none; padding: 0; }
.steps--four { grid-template-columns: repeat(4, 1fr); }
.step { padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h3);
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin-top: var(--space-sm); font-size: var(--fs-lead); }
.step p { margin-top: var(--space-xs); font-size: var(--fs-sm); color: var(--color-muted); }

/* ---------------- Video slots (contract: poster + "YAKINDA" fallback) ---------------- */
.page-video {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--color-line); background: var(--color-surface);
}
.page-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--color-bg); }
.page-video--portrait video { aspect-ratio: 9 / 16; }
.page-video__badge {
  position: absolute; top: var(--space-sm); right: var(--space-sm); z-index: 2;
  display: none; padding: 0.3rem 0.8rem; border-radius: 999px;
  font-size: var(--fs-xs); letter-spacing: var(--track-chip); font-weight: 600;
  color: var(--color-action-contrast); background: linear-gradient(135deg, var(--color-violet), var(--color-blue));
}
.page-video--soon .page-video__badge { display: inline-block; }
.page-video--soon video { pointer-events: none; }
.page-video__label {
  display: flex; justify-content: space-between; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-xs); color: var(--color-faint); border-top: 1px solid var(--color-line);
}
.video-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-xl); }
.video-duo--portrait { max-width: 46rem; margin-inline: auto; }

/* ---------------- Live-proof / quiet info cards ---------------- */
.proof-card { margin-top: var(--space-lg); padding: var(--space-lg); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); justify-content: space-between; }
.proof-card p { color: var(--color-muted); max-width: 46ch; margin-top: var(--space-xs); }
.ref-quiet { text-align: center; padding: var(--space-xl) var(--space-lg); border: 1px dashed var(--color-line); border-radius: var(--radius-lg); }
.ref-quiet p { margin-top: var(--space-sm); color: var(--color-faint); max-width: 52ch; margin-inline: auto; }

/* ---------------- Brand / identity showcase ---------------- */
.board-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); margin-top: var(--space-xl); position: relative; }
.board-figure figcaption {
  position: absolute; left: var(--space-sm); bottom: var(--space-sm);
  padding: 0.25rem 0.75rem; border-radius: 999px; font-size: var(--fs-xs);
  color: var(--color-muted); background: rgba(5, 6, 11, 0.66); border: 1px solid var(--color-line);
}
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-top: var(--space-xl); }
.dd { padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-line); }
.dd--no { border-style: dashed; }
.dd__tag { display: inline-block; font-weight: 600; font-size: var(--fs-xs); letter-spacing: var(--track-chip); }
.dd--ok .dd__tag { color: var(--color-cyan); }
.dd--no .dd__tag { color: var(--color-faint); }
.dd__stage {
  margin-top: var(--space-sm); display: grid; place-items: center;
  aspect-ratio: 16 / 7; border-radius: var(--radius);
  background: var(--color-bg); border: 1px solid var(--color-line); overflow: hidden;
}
.dd__stage img { width: 3.5rem; height: auto; }
.dd--no .dd__stage img { transform: scaleX(1.7) rotate(-6deg); opacity: 0.55; filter: blur(0.5px); }
.dd p { margin-top: var(--space-sm); font-size: var(--fs-sm); color: var(--color-muted); }
.swatch-row { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-md); }
.swatch { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-xs); color: var(--color-muted); }
.swatch i { width: 1.4rem; height: 1.4rem; border-radius: 6px; border: 1px solid var(--color-line); }
.tone-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.tone-row span { padding: 0.35rem 0.9rem; border-radius: 999px; border: 1px solid var(--color-line); font-size: var(--fs-sm); color: var(--color-muted); }
.cal-table { width: 100%; border-collapse: collapse; margin-top: var(--space-md); font-size: var(--fs-sm); }
.cal-table th, .cal-table td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-line); }
.cal-table th { font-weight: 600; color: var(--color-faint); font-size: var(--fs-xs); letter-spacing: var(--track-chip); }
.cal-table td { color: var(--color-muted); }
.cal-status { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: var(--fs-xs); border: 1px solid var(--color-line); white-space: nowrap; }
.cal-status--live { color: var(--color-cyan); border-color: rgba(0, 212, 255, 0.35); }
.cal-note { margin-top: var(--space-sm); font-size: var(--fs-xs); color: var(--color-faint); }

/* ---------------- Agentic: human-approval flow + honest limits ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }
.flow__node {
  position: relative; padding: var(--space-md); text-align: center;
  background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius);
}
.flow__node strong { display: block; font-family: var(--font-display); font-size: var(--fs-base); }
.flow__node span { display: block; margin-top: 0.3rem; font-size: var(--fs-xs); color: var(--color-muted); }
.flow__node:not(:last-child)::after {
  content: "→"; position: absolute; right: calc(var(--space-lg) * -0.72); top: 50%;
  transform: translateY(-50%); color: var(--color-faint); font-size: var(--fs-lead);
}
.flow__node--human {
  border-color: rgba(108, 60, 240, 0.5);
  background: linear-gradient(135deg, rgba(108, 60, 240, 0.18), rgba(56, 106, 246, 0.1));
}
.limits {
  margin-top: var(--space-xl); padding: var(--space-lg);
  border: 1px solid var(--color-line); border-left: 3px solid var(--color-violet);
  border-radius: var(--radius-lg); background: var(--color-surface);
}
.limits h3 { font-size: var(--fs-lead); }
.limits p { margin-top: var(--space-sm); color: var(--color-muted); max-width: 72ch; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  border-radius: var(--radius-zone); padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-lg);
  background: linear-gradient(135deg, var(--color-violet), var(--color-blue));
  color: var(--color-action-contrast);
}
.cta-band h2 { font-size: var(--fs-h2); letter-spacing: -0.01em; }
.cta-band p { margin-top: var(--space-sm); opacity: 0.88; max-width: 46ch; margin-inline: auto; }
.cta-band__row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.cta-band .btn--primary { background: var(--color-action-contrast); color: var(--color-bg); }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--color-action-contrast); }
.cta-band .btn--ghost:hover { border-color: var(--color-action-contrast); }

/* ---------------- Footer (static mirror of homepage foot-*) ---------------- */
footer {
  position: relative; z-index: var(--z-content); overflow: hidden;
  background: var(--color-bg); border-top: 1px solid var(--color-line);
  padding-block: var(--space-xl) var(--space-lg); margin-top: var(--section-y);
}
.foot-watermark {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 36%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 19vw, 22rem); line-height: 0.8; letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.06; white-space: nowrap; pointer-events: none; user-select: none;
}
.foot-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-lg); }
.foot-brand { display: inline-flex; align-items: center; gap: var(--space-sm); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lead); }
.foot-brand img { width: 2.125rem; height: auto; }
.foot-pitch { margin-top: var(--space-md); color: var(--color-muted); max-width: 40ch; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.foot-list a { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-muted); transition: color var(--dur-fast); }
.foot-list a:hover, .foot-list a:focus-visible { color: var(--color-ink); }
.foot-list svg { width: 1.1rem; height: 1.1rem; color: var(--color-cyan); flex: none; }
.foot-bottom {
  position: relative; margin-top: var(--space-xl); padding-top: var(--space-md);
  border-top: 1px solid var(--color-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-md);
  color: var(--color-faint); font-size: var(--fs-sm);
}

/* =====================================================================
   DASHBOARD RECREATIONS (ads page only) — faithful-feeling product UI.
   System font stack on purpose (product chrome, not brand type).
   Literal colors are the contract exception: Meta #1877F2; Google
   #1a73e8 / #34a853 / #fbbc04 / #ea4335 — used sparingly, scoped here.
   ===================================================================== */
.dash {
  --d-bg: #ffffff; --d-bg-soft: #f0f2f5; --d-ink: #1c2b33; --d-muted: #64676b;
  --d-line: #e4e6eb; --d-accent: #1877f2; --d-ok: #1877f2;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  position: relative; overflow: hidden;
  background: var(--d-bg); color: var(--d-ink);
  border-radius: var(--radius); border: 1px solid var(--color-line);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.dash--google { --d-bg-soft: #f8f9fa; --d-ink: #202124; --d-muted: #5f6368; --d-line: #dadce0; --d-accent: #1a73e8; --d-ok: #34a853; }
.dash + .dash { margin-top: var(--space-lg); }
.dash__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--d-line); }
.dash__logo { font-weight: 700; font-size: 0.95rem; letter-spacing: -0.01em; color: var(--d-accent); }
.dash__account { font-size: 0.78rem; color: var(--d-muted); }
.dash__range { margin-left: auto; font-size: 0.78rem; color: var(--d-muted); padding: 0.25rem 0.7rem; border: 1px solid var(--d-line); border-radius: 6px; background: var(--d-bg-soft); white-space: nowrap; }
.dash__tabs { display: flex; gap: 1.4rem; padding: 0 1.1rem; border-bottom: 1px solid var(--d-line); font-size: 0.85rem; color: var(--d-muted); overflow-x: auto; }
.dash__tabs span { padding: 0.7rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.dash__tabs .is-on { color: var(--d-accent); border-bottom-color: var(--d-accent); font-weight: 600; }
.dash__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; padding: 1rem 1.1rem; background: var(--d-bg-soft); }
.dash__metric { background: var(--d-bg); border: 1px solid var(--d-line); border-radius: 8px; padding: 0.75rem 0.9rem; }
.dash__metric small { display: block; font-size: 0.72rem; color: var(--d-muted); }
.dash__metric strong { display: block; margin-top: 0.15rem; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.dash__metric em { font-style: normal; display: inline-block; margin-top: 0.2rem; font-size: 0.72rem; font-weight: 600; color: var(--d-ok); }
.dash__tablewrap { overflow-x: auto; }
.dash__table { width: 100%; border-collapse: collapse; font-size: 0.82rem; min-width: 620px; }
.dash__table th {
  text-align: right; font-size: 0.72rem; font-weight: 600; color: var(--d-muted);
  padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--d-line); white-space: nowrap;
}
.dash__table td { text-align: right; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--d-line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dash__table th:first-child, .dash__table td:first-child { text-align: left; }
.dash__table tbody tr:hover { background: var(--d-bg-soft); }
.dash__table tfoot td { font-weight: 700; background: var(--d-bg-soft); border-bottom: 0; }
.dash__dot { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--d-ok); margin-right: 0.45rem; }
.dash__chip-warn {
  display: inline-block; margin-left: 0.45rem; padding: 0.05rem 0.45rem;
  font-size: 0.66rem; font-weight: 600; border-radius: 4px;
  color: #7a5b00; background: rgba(251, 188, 4, 0.18); border: 1px solid #fbbc04;
}
.dash__note { display: block; text-align: right; padding: 0.5rem 0.9rem; font-size: 0.7rem; color: var(--d-muted); border-top: 1px solid var(--d-line); background: var(--d-bg); }
.dash-caption { margin-top: var(--space-sm); font-size: var(--fs-xs); color: var(--color-faint); }

/* ---------------- Utilities ---------------- */
.p-head + .page-video, .p-head + .dash { margin-top: var(--space-xl); }
.cal-wrap { margin-top: var(--space-lg); }
.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;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .page-hero__art { max-width: 34rem; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps--four { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .flow__node::after { display: none; }
  .dd-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cap-grid, .steps, .steps--four, .video-duo, .flow { grid-template-columns: 1fr; }
  .video-duo--portrait { max-width: 22rem; }
  .dash__cards { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: var(--space-xs); }
  .cta-band { border-radius: var(--radius-lg); }
}

/* ---------------- Reduced motion: reveals instant, hovers calm ---------------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .cap, .cap:hover, .nav__home { transition: none; transform: none; }
}

/* ================= MAREVIA canlı demo — kaydırmalı scrub sahnesi =================
   MDS-HR5: kareler canvas'a çizilir. .demo--static (reduced-motion / yeteneksiz
   tarayıcı / JS yok) klasik oynatıcılara düşer. */
.demo { position: relative; background: var(--color-bg); }
.demo__intro { padding: calc(var(--space-xl) * 1.05) 0 var(--space-lg); max-width: 46rem; }
.demo__intro h2 { font-family: var(--font-display); font-size: var(--fs-h2); margin: var(--space-xs) 0 var(--space-sm); }
.demo__intro p { color: var(--color-muted); max-width: 40rem; }

.demo-stage { position: relative; height: 300vh; }
.demo-stage__sticky { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: clip; }
.demo-stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: var(--color-bg); }
.demo-stage__scrim { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(to top, rgba(5, 6, 11, 0.66), rgba(5, 6, 11, 0) 36%),
  linear-gradient(to bottom, rgba(5, 6, 11, 0.38), rgba(5, 6, 11, 0) 20%); }

.demo-beat { position: absolute; left: clamp(1.25rem, 6vw, 5.5rem); bottom: 11vh;
  max-width: 34rem; opacity: 0; transform: translateY(14px);
  will-change: opacity, transform; pointer-events: none; }
.demo-beat .chip { margin-bottom: var(--space-xs); }
.demo-beat h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem); letter-spacing: 0.01em;
  color: var(--color-ink); text-wrap: balance;
  text-shadow: 0 2px 24px rgba(5, 6, 11, 0.55); }
.demo-beat p { color: color-mix(in srgb, var(--color-ink) 84%, transparent);
  margin-top: 0.5rem; font-size: var(--fs-lead); text-shadow: 0 1px 16px rgba(5, 6, 11, 0.5); }

.demo-progress { position: absolute; right: clamp(1.1rem, 4vw, 3.2rem); top: 50%;
  translate: 0 -50%; width: 2px; height: 28vh; border-radius: 2px;
  background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.demo-progress i { display: block; width: 100%; height: 100%;
  background: var(--gradient-brand); transform-origin: top; transform: scaleY(0); }

.demo-hint { position: absolute; left: 50%; bottom: 4vh; translate: -50% 0;
  font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-muted); opacity: 1; transition: opacity 0.4s ease; }

.demo-note { padding: var(--space-md) 0 0; color: var(--color-faint); font-size: var(--fs-xs); }
.demo-fallback { display: none; padding-top: var(--space-lg); }
.demo-fallback .page-video + .page-video { margin-top: var(--space-lg); }

.demo--static .demo-stage, .demo--static .demo-hint { display: none; }
.demo--static .demo-fallback { display: block; }

@media (max-width: 640px) {
  .demo-stage { height: 240vh; }
  .demo-beat { bottom: 14vh; right: 1.25rem; }
  .demo-beat h3 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  .demo .demo-stage, .demo .demo-hint { display: none; }
  .demo .demo-fallback { display: block; }
}
