/* ==========================================================================
   SceneComp Web Portal — flagship dark design system
   Pure static CSS (no build step). Works on cPanel/Apache & Cloudflare Pages.
   ========================================================================== */
:root {
  --bg: #0b0b0d;
  --bg-elev: #111114;
  --panel: #151518;
  --panel-2: #1b1b1f;
  --panel-3: #232328;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ededf0;
  --text-2: #c9c9d1;
  --muted: #9d9da8;
  --muted-2: #6c6c78;
  --accent: #4b8bf5;
  --accent-hover: #6a9ff8;
  --accent-ink: #9cc0ff;
  --accent-soft: rgba(75, 139, 245, 0.12);
  --accent-line: rgba(75, 139, 245, 0.38);
  --cyan: #5ed3f3;
  --ok: #3ddc97;
  --ok-soft: rgba(61, 220, 151, 0.12);
  --ok-line: rgba(61, 220, 151, 0.38);
  --warn: #f5b546;
  --warn-soft: rgba(245, 181, 70, 0.12);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --max-w: 1180px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 34px -12px rgba(0, 0, 0, 0.6);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Inter Display", "Inter", "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SF Mono", Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: clip;
}

body {
  background:
    radial-gradient(1200px 520px at 50% -180px, rgba(75, 139, 245, 0.13), transparent 70%),
    radial-gradient(700px 360px at 88% -60px, rgba(94, 211, 243, 0.06), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
}

::selection { background: rgba(75, 139, 245, 0.35); color: #fff; }

a { color: var(--accent-ink); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: #fff; }

img, svg { display: block; }
strong { color: var(--text); font-weight: 600; }
code, kbd {
  font-family: var(--mono);
  font-size: 0.86em;
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-2);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.hidden { display: none !important; }
.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;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(145deg, #6aa2ff 0%, #3a74e8 55%, #2456c9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(75, 139, 245, 0.45), 0 4px 14px -2px rgba(75, 139, 245, 0.55);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 11px;
  border-radius: 7px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav-mobile-cta { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
#nav-auth-actions .btn:not(.btn-primary):not(.btn-ghost) {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  line-height: 28px;
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), top 0.22s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.site-header.is-open .nav-toggle span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 560;
  letter-spacing: -0.005em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.2s ease, transform 0.08s ease;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.btn:active { transform: translateY(0.5px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(180deg, #5a96f7 0%, #3f7ff0 100%);
  border-color: rgba(120, 170, 255, 0.55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px -6px rgba(75, 139, 245, 0.65);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #6ea4fa 0%, #4b8bf5 100%);
  border-color: rgba(150, 190, 255, 0.7);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px -6px rgba(75, 139, 245, 0.75);
}

.btn-light {
  background: #f4f4f6;
  border-color: #f4f4f6;
  color: #111114;
  box-shadow: 0 6px 20px -8px rgba(255, 255, 255, 0.35);
}
.btn-light:hover { background: #fff; border-color: #fff; color: #000; }

.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); border-color: var(--line); color: var(--text); }

.btn-danger {
  background: var(--danger-soft);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fca5a5;
  box-shadow: none;
}
.btn-danger:hover { background: rgba(248, 113, 113, 0.2); border-color: rgba(248, 113, 113, 0.6); color: #fecaca; }

.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 10px; }
.btn-sm { height: 30px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }

.btn-arrow { transition: transform 0.18s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(2px); }

/* ---------- Layout ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.page-main { padding: 56px 0 96px; }

/* ---------- Banners & Alerts ---------- */
.setup-banner {
  background: var(--warn-soft);
  border-bottom: 1px solid rgba(245, 181, 70, 0.3);
  color: #fcd9a0;
  font-size: 12.5px;
  padding: 8px 20px;
  text-align: center;
}
.setup-banner code { background: rgba(0, 0, 0, 0.35); color: #fff; border-color: rgba(255, 255, 255, 0.08); }

.alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid var(--line-2);
  background: var(--panel-2);
  margin-bottom: 16px;
}
.alert-error { background: var(--danger-soft); border-color: rgba(248, 113, 113, 0.32); color: #fecaca; }
.alert-ok { background: var(--ok-soft); border-color: var(--ok-line); color: #b4f5d6; }
.alert-info { background: var(--accent-soft); border-color: var(--accent-line); color: #cfe0ff; }

/* ---------- Pills / Badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 560;
  letter-spacing: 0.005em;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  white-space: nowrap;
}
.pill-accent { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); }
.pill-ok { background: var(--ok-soft); border-color: var(--ok-line); color: #7ff0bd; }
.pill-warn { background: var(--warn-soft); border-color: rgba(245, 181, 70, 0.38); color: #fcd28a; }
.pill-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.tag-pro {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfe0ff;
  background: linear-gradient(180deg, rgba(75, 139, 245, 0.32), rgba(75, 139, 245, 0.16));
  border: 1px solid rgba(110, 160, 255, 0.45);
  vertical-align: 2px;
}

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

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 40%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card-elev { background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)), var(--bg-elev); }
.card-highlight {
  border-color: var(--accent-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 1px rgba(75, 139, 245, 0.12), 0 24px 60px -24px rgba(75, 139, 245, 0.45);
}
.card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 620; letter-spacing: -0.012em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.card-head h2, .card-head h3 { margin: 0; font-size: 15px; font-weight: 620; letter-spacing: -0.01em; }
.card-sub { color: var(--muted); font-size: 13px; margin-top: 2px; }

.icon-tile {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-ink);
  background: linear-gradient(180deg, rgba(75, 139, 245, 0.18), rgba(75, 139, 245, 0.06));
  border: 1px solid rgba(75, 139, 245, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.icon-tile.ok { color: var(--ok); background: linear-gradient(180deg, rgba(61, 220, 151, 0.16), rgba(61, 220, 151, 0.05)); border-color: rgba(61, 220, 151, 0.3); }
.icon-tile.neutral { color: var(--text-2); background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 30%, #b9bcc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead { color: var(--muted); font-size: 17px; line-height: 1.6; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 40px;
  text-align: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 20%, transparent 75%);
}
.hero h1 { font-size: clamp(38px, 6.2vw, 72px); max-width: 920px; margin: 22px auto 20px; }
.hero .lead { max-width: 640px; margin: 0 auto 32px; font-size: 18px; }
.hero-cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { color: var(--ok); }

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 6px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
}
.announce:hover { color: #fff; border-color: var(--line-strong); }
.announce .pill { height: 20px; padding: 0 8px; font-size: 11px; }
.announce .chev { color: var(--muted); margin-right: 6px; }

/* ---------- Product Showcase (Premiere-style panel) ---------- */
.showcase-wrap {
  position: relative;
  margin: 64px auto 0;
  max-width: 1120px;
  text-align: left;
}
.showcase-wrap::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: -40px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(75, 139, 245, 0.28), transparent 70%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}
.showcase {
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-lg);
}
.sc-window {
  border-radius: 13px;
  overflow: hidden;
  background: #121214;
  font-size: 11.5px;
  color: #c9c9d1;
  user-select: none;
}
.sc-titlebar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 36px;
  padding: 0 12px;
  background: #18181b;
  border-bottom: 1px solid #26262b;
  color: var(--muted);
}
.sc-dots { display: flex; gap: 6px; }
.sc-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2d2d33; border: 1px solid #38383f; }
.sc-tabs { display: flex; gap: 2px; margin-left: 6px; }
.sc-tab { padding: 4px 10px; border-radius: 5px; color: var(--muted-2); font-weight: 500; }
.sc-tab.on { color: #e9e9ee; background: #232328; }
.sc-title { flex: 1; text-align: center; color: var(--muted); font-weight: 500; }
.sc-live { display: inline-flex; align-items: center; gap: 6px; color: #7ff0bd; font-family: var(--mono); font-size: 10.5px; }
.sc-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: sc-pulse 2s ease-in-out infinite; }

.sc-body {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 248px;
  border-bottom: 1px solid #26262b;
}
.sc-pane { background: #161619; padding: 10px; }
.sc-pane + .sc-pane { border-left: 1px solid #26262b; }
.sc-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  font-weight: 600;
  margin: 2px 2px 8px;
}
.sc-layer {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 8px;
  border-radius: 5px;
  color: #d6d6dc;
  border: 1px solid transparent;
}
.sc-layer + .sc-layer { margin-top: 2px; }
.sc-layer.on { background: rgba(75, 139, 245, 0.14); border-color: rgba(75, 139, 245, 0.42); color: #fff; }
.sc-layer .ic { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.sc-layer.on .ic { color: var(--accent-ink); }
.sc-layer .nm { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-layer .chip { font-size: 9.5px; color: var(--muted-2); font-family: var(--mono); }
.sc-layer.child { padding-left: 22px; }

.sc-viewer {
  position: relative;
  background: #0d0d0f;
  padding: 14px 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid #26262b;
}
.sc-viewer-bar { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-family: var(--mono); font-size: 10.5px; }
.sc-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1b2e 0%, #1b2a44 38%, #3b3a52 62%, #1a1820 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sc-frame svg.sc-scenery { position: absolute; inset: 0; width: 100%; height: 100%; }
.sc-safe {
  position: absolute;
  inset: 6% 5%;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  pointer-events: none;
}
.sc-3d {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  perspective: 600px;
}
.sc-3d-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 5.4vw, 66px);
  letter-spacing: 0.06em;
  color: #f4f8ff;
  transform: rotateY(-14deg) rotateX(6deg);
  text-shadow:
    1px 1px 0 #9dbaf0, 2px 2px 0 #7d9fdc, 3px 3px 0 #5f83c4, 4px 4px 0 #46679f,
    0 0 18px rgba(110, 170, 255, 0.85), 0 0 42px rgba(75, 139, 245, 0.65), 0 0 90px rgba(94, 211, 243, 0.35);
  animation: sc-glow 4s ease-in-out infinite;
  white-space: nowrap;
}
.sc-bbox {
  position: absolute;
  inset: -8px -14px;
  border: 1px solid rgba(110, 160, 255, 0.9);
  pointer-events: none;
}
.sc-bbox i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border: 1px solid var(--accent);
}
.sc-bbox i:nth-child(1) { left: -3.5px; top: -3.5px; }
.sc-bbox i:nth-child(2) { right: -3.5px; top: -3.5px; }
.sc-bbox i:nth-child(3) { left: -3.5px; bottom: -3.5px; }
.sc-bbox i:nth-child(4) { right: -3.5px; bottom: -3.5px; }
.sc-lower {
  position: absolute;
  left: 7%;
  bottom: 11%;
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  animation: sc-slide 6s var(--ease) infinite;
}
.sc-lower-bar { width: 3px; background: linear-gradient(180deg, var(--cyan), var(--accent)); }
.sc-lower-body {
  padding: 6px 11px 7px;
  background: rgba(14, 16, 22, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
}
.sc-lower-name { font-weight: 700; color: #fff; font-size: clamp(9px, 1.1vw, 13px); letter-spacing: -0.01em; }
.sc-lower-role { color: #a9c6ff; font-size: clamp(7.5px, 0.85vw, 10px); letter-spacing: 0.08em; text-transform: uppercase; }
.sc-caption {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: clamp(8px, 1vw, 12px);
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.sc-caption b { color: #ffd166; font-weight: 800; }
.sc-viewer-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sc-transport { display: flex; align-items: center; gap: 4px; }
.sc-transport span {
  width: 22px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.sc-transport span.on { background: rgba(75, 139, 245, 0.18); color: #fff; }
.sc-tc { font-family: var(--mono); color: #9cc0ff; font-size: 11px; }

.sc-group + .sc-group { margin-top: 10px; padding-top: 10px; border-top: 1px solid #222227; }
.sc-group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e4e4e7;
  font-weight: 600;
  font-size: 11.5px;
  margin-bottom: 7px;
}
.sc-group-title em { font-style: normal; color: var(--muted-2); font-weight: 500; font-size: 10px; }
.sc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.sc-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 7px;
  border-radius: 4px;
  background: #1d1d21;
  border: 1px solid #2a2a30;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #e4e4e7;
}
.sc-field b { font-family: var(--font); font-weight: 600; color: var(--muted-2); font-size: 10px; }
.sc-field.key { border-color: rgba(75, 139, 245, 0.45); }
.sc-slider { margin-top: 6px; }
.sc-slider-row { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.sc-slider-row span:last-child { font-family: var(--mono); color: #e4e4e7; }
.sc-track { position: relative; height: 4px; border-radius: 3px; background: #26262b; }
.sc-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, #3a74e8, var(--cyan)); }
.sc-track i::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px #121214;
}
.sc-toggle-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10.5px; margin-top: 8px; }
.sc-switch { width: 24px; height: 14px; border-radius: 8px; background: var(--accent); position: relative; }
.sc-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.sc-swatch { display: inline-flex; gap: 4px; }
.sc-swatch i { width: 12px; height: 12px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.18); }

/* Timeline */
.sc-timeline { background: #141417; }
.sc-tl-head {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  height: 26px;
  border-bottom: 1px solid #24242a;
}
.sc-tl-head > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-right: 1px solid #24242a;
  color: var(--muted-2);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}
.sc-ruler {
  position: relative;
  background-image: linear-gradient(90deg, #2c2c33 1px, transparent 1px);
  background-size: 10% 7px;
  background-repeat: repeat-x;
  background-position: 0 bottom;
}
.sc-ruler span { position: absolute; top: 5px; font-family: var(--mono); font-size: 9.5px; color: var(--muted-2); transform: translateX(3px); }
.sc-tl-rows { position: relative; }
.sc-row { display: grid; grid-template-columns: 208px minmax(0, 1fr); height: 28px; }
.sc-row + .sc-row { border-top: 1px solid #1e1e23; }
.sc-row-name {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-right: 1px solid #24242a;
  color: #cfcfd6;
  white-space: nowrap;
  overflow: hidden;
}
.sc-row-name i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.sc-lane { position: relative; }
.sc-clip {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 7px;
  display: flex;
  align-items: center;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
}
.sc-clip.c-blue { background: linear-gradient(180deg, rgba(75, 139, 245, 0.55), rgba(58, 116, 232, 0.4)); border-color: rgba(120, 170, 255, 0.55); }
.sc-clip.c-cyan { background: linear-gradient(180deg, rgba(94, 211, 243, 0.38), rgba(60, 170, 210, 0.26)); border-color: rgba(94, 211, 243, 0.45); }
.sc-clip.c-amber { background: linear-gradient(180deg, rgba(245, 181, 70, 0.36), rgba(220, 150, 50, 0.24)); border-color: rgba(245, 181, 70, 0.45); }
.sc-clip.c-green { background: linear-gradient(180deg, rgba(61, 220, 151, 0.3), rgba(40, 180, 120, 0.2)); border-color: rgba(61, 220, 151, 0.4); }
.sc-clip.c-gray { background: linear-gradient(180deg, #34343c, #2a2a31); }
.sc-key {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  transform: rotate(45deg);
  background: #f4f4f6;
  border: 1px solid #121214;
  border-radius: 1px;
  z-index: 2;
}
.sc-key.ease { background: #9cc0ff; }
.sc-key.hold { background: #ffd166; }
.sc-playhead {
  position: absolute;
  top: -26px;
  bottom: 0;
  left: 208px;
  width: 0;
  z-index: 4;
  pointer-events: none;
  animation: sc-play 12s linear infinite;
}
.sc-playhead::before {
  content: "";
  position: absolute;
  left: -0.5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ff5a6a;
  box-shadow: 0 0 8px rgba(255, 90, 106, 0.6);
}
.sc-playhead::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 2px;
  width: 12px;
  height: 12px;
  background: #ff5a6a;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}
.sc-tl-area { position: relative; }
.sc-tl-area .sc-playhead { top: 0; }

@keyframes sc-play { 0% { left: 208px; } 100% { left: calc(100% - 2px); } }
@keyframes sc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes sc-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.18); }
}
@keyframes sc-slide {
  0%, 8% { transform: translateX(-12px); opacity: 0; }
  18%, 82% { transform: translateX(0); opacity: 1; }
  92%, 100% { transform: translateX(-12px); opacity: 0; }
}

/* Spec strip under showcase */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec {
  padding: 22px 20px;
  text-align: left;
}
.spec + .spec { border-left: 1px solid var(--line); }
.spec-k { font-family: var(--font-display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.spec-v { color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 {
  font-family: var(--font-display);
  margin: 12px 0 12px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.section-head.left { text-align: left; margin-left: 0; }

.hairline {
  height: 1px;
  max-width: var(--max-w);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Feature bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .card { padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; transition: border-color 0.2s ease, transform 0.2s var(--ease); }
.bento .card:hover { border-color: var(--line-strong); }
.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .card h3 { font-size: 16.5px; display: flex; align-items: center; gap: 8px; }
.bento .card h3 + p { margin-top: -8px; }
.feature-visual {
  margin-top: auto;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #0f0f12;
  padding: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}
.fv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fv-row + .fv-row { margin-top: 6px; }
.fv-badge { padding: 2px 7px; border-radius: 4px; background: rgba(61, 220, 151, 0.12); color: #7ff0bd; border: 1px solid rgba(61, 220, 151, 0.28); }
.fv-bar { flex: 1; height: 4px; border-radius: 3px; background: #232328; position: relative; overflow: hidden; }
.fv-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #3a74e8, var(--cyan)); border-radius: 3px; }
.fv-curve { width: 100%; height: 64px; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
  position: relative;
}
.step-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-ink);
  height: 24px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.step-card h3 { font-size: 18px; margin-top: 4px; }
.step-visual {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f0f12;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}
.mini-file { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.mini-file .meta { color: var(--muted-2); font-family: var(--mono); font-size: 11px; margin-left: auto; }
.mini-progress { height: 4px; border-radius: 3px; background: #232328; overflow: hidden; }
.mini-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ok), #7ff0bd); }
.mini-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 30px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.mini-btn.google { background: #f4f4f6; color: #18181b; }
.mini-btn.email { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--text-2); }
.mini-status { display: flex; align-items: center; gap: 8px; color: #7ff0bd; font-weight: 600; }
.mini-status .sub { color: var(--muted); font-weight: 400; margin-left: auto; font-size: 11.5px; }

/* Free vs Pro compare */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
}
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row > div { padding: 14px 22px; font-size: 14px; display: flex; flex-direction: column; justify-content: center; }
.compare-row > div:nth-child(2), .compare-row > div:nth-child(3) { text-align: center; align-items: center; }
.compare-row > div:nth-child(3) { background: rgba(75, 139, 245, 0.045); border-left: 1px solid rgba(75, 139, 245, 0.18); }
.compare-row > div:nth-child(2) { border-left: 1px solid var(--line); }
.compare-head > div { padding-top: 22px; padding-bottom: 22px; }
.compare-plan { font-weight: 650; font-size: 15px; display: block; }
.compare-price { color: var(--muted); font-size: 12.5px; display: block; margin-top: 2px; }
.compare-group > div {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.015);
}
.compare-feat { color: var(--text-2); }
.compare-feat small { display: block; color: var(--muted-2); font-size: 12px; margin-top: 1px; }
.yes, .no { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; }
.yes { color: var(--ok); }
.no { color: var(--muted-2); }
.compare-foot > div { padding-top: 18px; padding-bottom: 18px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 15.5px;
  font-weight: 560;
  color: var(--text);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239d9da8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq .faq-a { padding: 0 4px 22px; color: var(--muted); font-size: 14.5px; max-width: 700px; }
.faq .faq-a p { margin: 0 0 8px; }

/* Final CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 64px 32px;
  text-align: center;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(600px 260px at 50% 0%, rgba(75, 139, 245, 0.22), transparent 70%),
    linear-gradient(180deg, #141418, #0f0f12);
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 650; }
.cta-band p { color: var(--muted); margin: 0 auto 28px; max-width: 560px; font-size: 16px; }

/* ---------- Journey (cross-page step indicator) ---------- */
.journey {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.journey li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.journey li + li::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
  margin-right: 0;
}
.journey-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mono);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}
.journey li.is-done { color: var(--muted); }
.journey li.is-done .journey-dot { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); }
.journey li.is-current { color: var(--text); font-weight: 560; }
.journey li.is-current .journey-dot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(75, 139, 245, 0.18); }
.journey.center { justify-content: center; }

/* ---------- Pricing ---------- */
.billing-note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13px;
  margin: -24px 0 36px;
}
.billing-note span { display: inline-flex; align-items: center; gap: 7px; }
.billing-note svg { color: var(--ok); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.price-card { display: flex; flex-direction: column; justify-content: space-between; padding: 26px; }
.price-card .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price-card h3 { font-size: 16px; margin: 0; }
.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin: 18px 0 2px;
  color: #fff;
  line-height: 1.1;
}
.price-period { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); font-size: 13.5px; min-height: 42px; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 26px; border-top: 1px solid var(--line); padding-top: 18px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 13.5px; color: var(--text-2); }
.feature-list .check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ok-soft) no-repeat center / 10px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233ddc97' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  border: 1px solid var(--ok-line);
  font-size: 0;
  color: transparent;
}
.price-card.card-highlight { background: linear-gradient(180deg, rgba(75, 139, 245, 0.09), rgba(75, 139, 245, 0) 45%), var(--panel); }

.lifetime-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 16px; padding: 22px 26px; }
.lifetime-card .lc-left { display: flex; align-items: center; gap: 14px; }

.mor-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
}
.mor-note svg { color: var(--muted-2); flex-shrink: 0; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12.5px; font-weight: 560; color: var(--text-2); margin-bottom: 6px; }
.input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #0e0e11;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus { border-color: var(--accent); background: #101015; box-shadow: 0 0 0 3px rgba(75, 139, 245, 0.2); }

.code-box {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid var(--accent-line);
  background:
    radial-gradient(240px 80px at 50% 0%, rgba(75, 139, 245, 0.22), transparent 70%),
    #0f121a;
  color: #fff;
  margin: 4px 0 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.code-box::before {
  content: "Confirm this matches Premiere Pro";
  display: block;
  margin-bottom: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--muted-2);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: #0e0e11;
  border: 1px solid var(--line-2);
}
.auth-tab {
  height: 32px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active { background: var(--panel-3); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 3px rgba(0, 0, 0, 0.5); }

.btn-google { background: #f4f4f6; border-color: #f4f4f6; color: #18181b; height: 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4); }
.btn-google:hover { background: #fff; border-color: #fff; color: #000; }

.user-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #0f0f12;
  margin-bottom: 14px;
}
.user-chip-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5a96f7, #2f62d6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.user-chip-email { font-size: 13.5px; font-weight: 560; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  flex-shrink: 0;
}
.link-btn:hover { color: var(--text); text-decoration: underline; }

.form-fine, .card .form-fine { margin: 16px 0 0; font-size: 12px; color: var(--muted-2); text-align: center; }
.form-switch, .card .form-switch { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 13.5px; color: var(--muted); }

/* Auth split layout (login / signup) */
.auth-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 24px 88px;
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.auth-card { padding: 30px; }
.auth-card h1 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; font-weight: 650; font-family: var(--font-display); }
.auth-card .auth-sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.auth-aside { padding-top: 54px; }
.auth-aside h2 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.025em; margin: 12px 0 12px; font-weight: 650; line-height: 1.2; }
.auth-aside > p { color: var(--muted); margin: 0 0 24px; }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-list li { display: flex; gap: 14px; align-items: flex-start; }
.aside-list strong { display: block; font-size: 14px; }
.aside-list span.t { color: var(--muted); font-size: 13.5px; }
.aside-quote {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Plugin auth popup ---------- */
.auth-popup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px 20px 0;
}
.auth-popup-header .link-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 12px;
}
.auth-popup-wrap { max-width: 440px; margin: 20px auto 40px; padding: 0 18px; }
.auth-popup-wrap > .card { padding: 28px; }
.popup-foot { text-align: center; color: var(--muted-2); font-size: 12px; margin-top: 18px; }
.popup-foot a { color: var(--muted); }
.popup-foot a:hover { color: var(--text); }

.code-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 560;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: #cfe0ff;
  margin-bottom: 14px;
}
.code-chip strong { font-family: var(--mono); letter-spacing: 0.08em; color: #fff; }

.handoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}
.handoff-node {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  background: #0f0f12;
  color: var(--text-2);
  font-weight: 800;
  font-size: 13px;
}
.handoff-node.pr { color: #c7b6ff; background: linear-gradient(180deg, #1d1530, #140f22); border-color: rgba(160, 130, 255, 0.35); font-family: var(--font-display); letter-spacing: -0.02em; }
.handoff-node.sc { background: linear-gradient(145deg, #6aa2ff 0%, #3a74e8 55%, #2456c9 100%); border-color: rgba(120, 170, 255, 0.6); }
.handoff-line { width: 44px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px); position: relative; }
.handoff-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: sc-handoff 1.8s ease-in-out infinite;
}
@keyframes sc-handoff { 0% { left: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 5px); opacity: 0; } }

.success-badge {
  width: 64px;
  height: 64px;
  margin: 4px auto 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(61, 220, 151, 0.3), rgba(61, 220, 151, 0.08));
  border: 1.5px solid rgba(61, 220, 151, 0.6);
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(61, 220, 151, 0.06), 0 0 40px rgba(61, 220, 151, 0.3);
  animation: sc-pop 0.5s var(--ease) both;
}
@keyframes sc-pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.next-step-box {
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.next-step-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-ink); margin-bottom: 3px; }
.next-step-text { font-size: 13.5px; color: var(--text); line-height: 1.5; }

.linking-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  animation: sc-spin 0.8s linear infinite;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }

/* ---------- Download page ---------- */
.dl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.dl-main { padding: 34px; }
.dl-main h1 { font-family: var(--font-display); margin: 16px 0 10px; font-size: 36px; letter-spacing: -0.03em; font-weight: 650; line-height: 1.1; }
.dl-side {
  padding: 34px 30px;
  border-left: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), #101013;
}
.dl-side h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 0 0 14px; font-weight: 650; }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.req-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: var(--text-2); }
.req-list svg { color: var(--muted); margin-top: 2px; flex-shrink: 0; }
.dl-sha { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--muted-2); word-break: break-all; }
.dl-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.install-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.install-steps li { padding: 22px; }
.install-steps .n { font-family: var(--mono); font-size: 12px; color: var(--accent-ink); }
.install-steps h3 { margin: 10px 0 6px; font-size: 15px; }
.install-steps p { font-size: 13.5px; }

/* ---------- Account Dashboard ---------- */
.account-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.account-side { position: sticky; top: 84px; }
.side-label { font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin: 0 10px 8px; }
.side-nav { display: grid; gap: 2px; margin-bottom: 22px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}
.side-nav a svg { color: var(--muted-2); }
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.side-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.side-nav a.active svg { color: var(--accent-ink); }
.side-help {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12.5px;
  color: var(--muted);
}
.side-help strong { display: block; font-size: 13px; margin-bottom: 4px; }

.account-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.account-id { display: flex; align-items: center; gap: 14px; min-width: 0; }
.account-id .user-avatar { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
.account-header h1 { margin: 0; font-size: 26px; letter-spacing: -0.025em; font-weight: 650; font-family: var(--font-display); }
.account-email { color: var(--muted); font-size: 13.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.acc-section { scroll-margin-top: 90px; }
.acc-stack { display: grid; gap: 16px; margin-top: 16px; }

.plan-card { display: flex; flex-direction: column; }
.plan-name { display: flex; align-items: center; gap: 10px; }
.plan-detail, .card .plan-detail { color: var(--muted); font-size: 13.5px; margin: 0 0 16px; min-height: 40px; }
.ent-list { list-style: none; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.ent { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.ent-ic { width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ent-ic .i-ok { color: var(--ok); }
.ent-ic .i-lock { color: var(--muted-2); display: none; }
.ent-pro .ent-ic .i-ok { display: none; }
.ent-pro .ent-ic .i-lock { display: block; }
.ent-pro { color: var(--muted); }
.ent-pro .tag-pro { margin-left: auto; }
#account-content[data-tier="pro"] .ent-pro { color: var(--text-2); }
#account-content[data-tier="pro"] .ent-pro .i-ok { display: block; }
#account-content[data-tier="pro"] .ent-pro .i-lock { display: none; }
.plan-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.seat-meter { display: flex; gap: 6px; margin: 4px 0 10px; }
.seat-seg {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}
.seat-seg.on { background: linear-gradient(90deg, #3a74e8, var(--cyan)); border-color: rgba(120, 170, 255, 0.5); box-shadow: 0 0 12px -2px rgba(75, 139, 245, 0.6); }
.seat-meter.full .seat-seg.on { background: linear-gradient(90deg, #e59a2f, var(--warn)); border-color: rgba(245, 181, 70, 0.55); box-shadow: 0 0 12px -2px rgba(245, 181, 70, 0.5); }
.seat-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.seat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px 11px 50px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background:
    no-repeat 14px center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cc0ff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4' width='19' height='12.5' rx='2'/%3E%3Cpath d='M8 20.5h8M12 16.5v4'/%3E%3C/svg%3E"),
    #0f0f12;
  margin-bottom: 8px;
}
.seat-name { font-weight: 600; font-size: 13.5px; }
.seat-meta { font-size: 12px; color: var(--muted); }
#acc-seats-list > p { margin: 0; padding: 14px; border-radius: 10px; border: 1px dashed var(--line-strong); color: var(--muted) !important; font-size: 13px !important; }

.guide {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.guide svg { color: var(--accent-ink); flex-shrink: 0; margin-top: 1px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.checklist li { padding: 18px; position: relative; background: #0f0f12; display: flex; flex-direction: column; gap: 6px; }
.checklist li + li { border-left: 1px solid var(--line); }
.check-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.check-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
}
.check-title { font-weight: 600; font-size: 13.5px; color: var(--text); }
.check-text { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.check-link { margin-top: auto; padding-top: 6px; font-size: 12.5px; font-weight: 560; display: inline-flex; align-items: center; gap: 5px; }

.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.mini-card h3 { font-size: 14.5px; margin: 0; }
.mini-card p { font-size: 13px; }
.mini-card .btn { align-self: flex-start; margin-top: auto; }

.guest-card { max-width: 560px; margin: 24px auto; padding: 40px 36px; text-align: center; }
.guest-card h1 { margin: 16px 0 8px; font-size: 26px; letter-spacing: -0.025em; font-family: var(--font-display); font-weight: 650; }
.guest-card > p { margin: 0 auto 24px; color: var(--muted); max-width: 420px; }
.guest-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.guest-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; }
.guest-points div { font-size: 12.5px; color: var(--muted); }
.guest-points strong { display: block; font-size: 13px; margin-bottom: 2px; }

/* ---------- Legal Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { font-family: var(--font-display); font-size: 36px; letter-spacing: -0.03em; margin-top: 0; font-weight: 650; }
.prose h2 { font-size: 18px; margin: 32px 0 10px; color: var(--text); letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; color: var(--muted-2); font-size: 13px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); max-width: 320px; font-size: 13px; line-height: 1.6; }
.footer-col h4 { margin: 0 0 12px; font-size: 12px; font-weight: 650; color: var(--text-2); letter-spacing: 0.02em; }
.footer-col a { display: block; color: var(--muted); padding: 4px 0; font-size: 13px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; }

/* Legacy footer (legal pages) */
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sc-body { grid-template-columns: 180px minmax(0, 1fr) 220px; }
  .sc-tl-head, .sc-row { grid-template-columns: 180px minmax(0, 1fr); }
  @keyframes sc-play { 0% { left: 180px; } 100% { left: calc(100% - 2px); } }
  .sc-playhead { left: 180px; }
  .install-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checklist li:nth-child(3) { border-left: 0; }
  .checklist li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .nav-inner { gap: 12px; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 18px;
    background: #0d0d10;
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }
  .site-header.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.18s ease, transform 0.22s var(--ease), visibility 0s;
  }
  .nav-links a { font-size: 15px; padding: 12px 12px; border-radius: 9px; }
  .nav-mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .nav-links .nav-mobile-cta a { font-size: 14px; padding: 0 14px; height: 42px; display: inline-flex; justify-content: center; }
  .nav-links .nav-mobile-cta a.btn-primary { color: #fff; }
  .nav-links .nav-mobile-cta a.btn-primary:hover { background: linear-gradient(180deg, #6ea4fa 0%, #4b8bf5 100%); }

  .grid-3, .pricing-grid, .grid-2, .acc-grid, .mini-cards { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .span-3, .bento .span-2 { grid-column: auto; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec:nth-child(3) { border-left: 0; }
  .spec:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .sc-body { grid-template-columns: minmax(0, 1fr); }
  .sc-pane.sc-layers, .sc-pane.sc-inspector { display: none; }
  .sc-viewer { border-left: 0; }
  .sc-tabs, .sc-title { display: none; }
  .sc-titlebar { justify-content: space-between; }
  .sc-tl-head, .sc-row { grid-template-columns: 120px minmax(0, 1fr); }
  @keyframes sc-play { 0% { left: 120px; } 100% { left: calc(100% - 2px); } }
  .sc-playhead { left: 120px; }

  .auth-shell { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; }
  .auth-aside { padding-top: 0; }
  .dl-hero { grid-template-columns: minmax(0, 1fr); }
  .dl-side { border-left: 0; border-top: 1px solid var(--line); }
  .account-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .account-side { position: static; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; margin-bottom: 0; padding-bottom: 2px; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { flex-shrink: 0; height: 32px; }
  .side-label, .side-help { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .compare-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr); }
  .compare-row > div { padding: 12px 14px; }
}

@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .nav-inner { padding: 0 16px; height: 56px; }
  .nav-actions .btn-ghost { display: none; }
  #nav-auth-actions .btn:not(.btn-primary):not(.btn-ghost) { max-width: 132px; }
  .container { padding: 0 18px; }
  .page-main { padding: 32px 0 64px; }
  .hero { padding: 48px 0 24px; }
  .hero h1 { margin: 18px auto 16px; }
  .hero .lead { font-size: 16px; margin-bottom: 26px; }
  .hero-cta .btn { width: 100%; }
  .hero-meta { gap: 6px 14px; font-size: 12.5px; }
  .showcase-wrap { margin-top: 40px; }
  .sc-viewer { padding: 10px; }
  .sc-viewer-bar span:last-child { display: none; }
  .sc-row-name { padding: 0 8px; font-size: 10.5px; }
  .sc-tl-head, .sc-row { grid-template-columns: 92px minmax(0, 1fr); }
  .sc-tl-head > div:first-child { padding: 0 8px; }
  @keyframes sc-play { 0% { left: 92px; } 100% { left: calc(100% - 2px); } }
  .sc-playhead { left: 92px; }
  .sc-ruler span:nth-child(even) { display: none; }
  .sc-row:nth-child(n + 5) { display: none; }
  .spec { padding: 18px 14px; }
  .spec-k { font-size: 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .pill { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 26px; padding: 4px 11px; }
  .code-box { font-size: 24px; letter-spacing: 0.1em; }
  .card-head .pill { white-space: nowrap; flex-shrink: 0; }
  .hide-sm { display: none; }
  .sc-row:nth-child(-n + 3) .sc-clip { color: transparent; }
  .compare-foot .btn { padding: 0 10px; }
  .dl-actions .btn { line-height: 1.3; }
  .lifetime-card .lc-left { align-items: flex-start; }
  .journey { font-size: 11.5px; gap: 6px; flex-wrap: wrap; }
  .journey li + li::before { width: 10px; }
  .journey .lbl-long { display: none; }
  .compare-row > div { padding: 11px 10px; font-size: 13px; }
  .compare-feat small { display: none; }
  .compare-head .compare-price { font-size: 11px; }
  .cta-band { padding: 44px 20px; border-radius: 16px; }
  .cta-band .hero-cta .btn { width: 100%; }
  .auth-shell { padding: 20px 16px 56px; }
  .auth-card { padding: 22px; }
  .auth-popup-wrap > .card { padding: 22px; }
  .dl-main { padding: 24px; }
  .dl-main h1 { font-size: 28px; }
  .dl-side { padding: 24px; }
  .dl-actions .btn { width: 100%; white-space: normal; height: auto; min-height: 44px; padding: 10px 16px; text-align: center; }
  .install-steps { grid-template-columns: minmax(0, 1fr); }
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .checklist li + li { border-left: 0; border-top: 1px solid var(--line); }
  .account-header { align-items: flex-start; }
  .account-actions { width: 100%; }
  .account-actions .btn { flex: 1; }
  .guest-card { padding: 30px 20px; }
  .guest-points { grid-template-columns: minmax(0, 1fr); }
  .lifetime-card .btn { width: 100%; }
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .sc-playhead { left: 46%; }
}

/* ---------- Upgrade / Checkout Modal ---------- */
.sc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 6, 9, 0.76);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.sc-modal-card {
  width: min(460px, 100%);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-line);
}
.sc-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.sc-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sc-modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}
.sc-modal-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: #fff;
}
.sc-modal-sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
}
.sc-modal-summary {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f0f12;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
}
.sc-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.sc-modal-row strong {
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-modal-dev {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.025);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.sc-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-modal-btn-row {
  display: flex;
  gap: 8px;
}
