/* ============================================================
   ReviewSX — reviewsx.app landing page
   Brand: purple gradient #5847F0→#7B3DF2→#9A47FF, amber #FF8A1E
   ============================================================ */

:root {
  /* brand — blue→purple gradient, orange accent (2026-06-28 refresh) */
  --blue: #16A6E9;
  --purple: #7C3AF2;
  --p1: #16A6E9;
  --p2: #4D6FF0;
  --p3: #7C3AF2;
  --amber: #F26430;       /* orange accent */
  --amber-lt: #FF8A4D;
  --grad: linear-gradient(120deg, #16A6E9 0%, #4D6FF0 52%, #7C3AF2 100%);

  /* light theme */
  --bg: #FBFAFF;
  --bg-soft: #F3F1FB;
  --surface: #FFFFFF;
  --ink: #211B3D;
  --muted: #6F6890;
  --line: #E7E3F5;
  --shadow: 0 18px 50px -24px rgba(40, 24, 90, 0.30);
  --shadow-sm: 0 8px 24px -14px rgba(40, 24, 90, 0.28);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --ease: cubic-bezier(.2,.7,.3,1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", var(--font);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0A24;
    --bg-soft: #161034;
    --surface: #1A1340;
    --ink: #F4F1FF;
    --muted: #B8B2D6;
    --line: #2C2358;
    --shadow: 0 22px 60px -26px rgba(0, 0, 0, 0.65);
    --shadow-sm: 0 10px 30px -16px rgba(0, 0, 0, 0.6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark--sm { font-size: 1.15rem; }
.wm-s { color: var(--blue); }
.wm-x { color: var(--purple); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s;
  white-space: nowrap;
}
.btn--lg { padding: 14px 28px; font-size: 1.02rem; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(123, 61, 242, 0.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(123, 61, 242, 0.7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--p2); color: var(--p2); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__icon { border-radius: 8px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700;
  color: var(--p2); margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }

.hero__avail {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 18px; padding: 7px 14px 7px 8px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.hero__avail strong {
  background: var(--grad); color: #fff; font-weight: 700;
  padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; letter-spacing: 0.02em;
}
.hero__avail em { font-style: normal; color: var(--purple); font-weight: 700; }

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); margin: 0 0 26px; max-width: 36ch; }
.hero__sub strong { color: var(--ink); }

.ps-strip {
  list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 0; margin: 0 0 30px; font-family: var(--font-display); font-weight: 700;
}
.ps-strip li span {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.86rem;
}
.ps-strip__sep { color: var(--amber); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__cta--center { justify-content: center; }
.hero__note { margin: 16px 0 0; color: var(--muted); font-size: 0.88rem; }

/* hero visual */
.hero__visual { position: relative; }
.proto {
  position: relative; z-index: 2;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.proto__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #D9D3F4; }
@media (prefers-color-scheme: dark){ .dot { background: #3A3270; } }
.proto__url { margin-left: 12px; font-size: 0.8rem; color: var(--muted); }
.proto__body { position: relative; padding: 26px 24px 34px; min-height: 280px; }
.sk { height: 16px; border-radius: 8px; background: var(--bg-soft); margin-bottom: 14px; }
.sk--lg { width: 70%; height: 26px; }
.sk--md { width: 90%; }
.sk--sm { width: 45%; }
.proto__row { display: flex; gap: 14px; margin: 18px 0; }
.sk-card { flex: 1; height: 84px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); }

.pin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50% 50% 50% 2px; transform: rotate(-2deg);
  background: linear-gradient(160deg, var(--amber-lt), var(--amber));
  color: #fff; font-weight: 800; font-size: 0.85rem; font-family: var(--font-display);
  box-shadow: 0 6px 14px -4px rgba(255, 138, 30, 0.6);
}
.pin--inline { width: 22px; height: 22px; font-size: 0.72rem; }
.proto__body > .pin { position: absolute; }
.pin--1 { top: 70px; left: 64%; }
.pin--2 { bottom: 70px; left: 30%; }

.comment {
  position: absolute; right: 18px; bottom: 22px; z-index: 3;
  width: 220px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; box-shadow: var(--shadow-sm);
}
.comment__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.82rem; margin-bottom: 6px; }
.comment__text { margin: 0; font-size: 0.85rem; color: var(--muted); }

.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; z-index: 1; }
.glow--1 { width: 280px; height: 280px; background: var(--p2); top: -40px; right: -30px; }
.glow--2 { width: 220px; height: 220px; background: var(--amber); bottom: -50px; left: -40px; opacity: 0.35; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px;
}
.section__title--center { text-align: center; margin: 0 auto 48px; max-width: 20ch; }

/* problem / solution */
.problem { background: var(--bg-soft); }
.problem__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.problem__col--solution { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.cross-list, .check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cross-list li, .check-list li { position: relative; padding-left: 34px; color: var(--muted); }
.cross-list li strong, .check-list li strong { color: var(--ink); }
.cross-list li::before, .check-list li::before {
  position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.cross-list li::before { content: "\00d7"; background: #FBE3DE; color: #D1421F; }
.check-list li::before { content: "\2713"; background: color-mix(in srgb, var(--p2) 16%, transparent); color: var(--p2); }
@media (prefers-color-scheme: dark){ .cross-list li::before { background: #3A1E1A; color: #FF8A6B; } }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.88em; background: color-mix(in srgb, var(--p2) 12%, transparent); padding: 1px 6px; border-radius: 6px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* audiences */
.aud__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.aud-card--enterprise { background: linear-gradient(160deg, color-mix(in srgb, var(--p1) 8%, var(--surface)), var(--surface)); }
.aud-card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 0 0 10px; }
.aud-card__lede { color: var(--muted); margin: 0 0 22px; }
.aud-card .check-list { margin-bottom: 28px; }
.aud-card .btn { margin-top: auto; align-self: flex-start; }

/* where it works */
.where__lede { text-align: center; color: var(--muted); max-width: 52ch; margin: -28px auto 40px; }
.surfaces { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.surface {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.surface__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.badge {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line);
}
.badge--live { background: var(--grad); color: #fff; border-color: transparent; }
.where__foot { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0; }

/* final cta */
.cta__inner { text-align: center; max-width: 760px; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; }
.cta__sub { color: var(--muted); font-size: 1.1rem; margin: 0 0 30px; }

/* footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { border-radius: 7px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; color: var(--muted); font-weight: 500; }
.footer__links a:hover { color: var(--ink); }
.footer__tagline { color: var(--muted); font-size: 0.86rem; font-weight: 500; }
.footer__copy { width: 100%; margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; }
  .hero__sub { max-width: none; }
  .problem__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .aud__grid { grid-template-columns: 1fr; }
  .surfaces { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .surfaces { grid-template-columns: 1fr; }
  .nav__cta { display: none; }
  .ps-strip { gap: 7px; }
  .footer__links { margin-left: 0; }
}

/* ============================================================
   Demo walkthrough player (overlay → publish → annotate → feedback)
   ============================================================ */
.demo__connect { text-align: center; color: var(--muted); margin: 34px 0 18px; font-weight: 500; }

.walk { max-width: 960px; margin: 0 auto; }

/* step tabs */
.walk__steps { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.walk__step { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.walk__step:hover { color: var(--ink); }
.walk__step.is-active { color: #fff; background: var(--grad); border-color: transparent; }
.walk__num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-size: 0.78rem; font-family: var(--font-display); font-weight: 800; }
.walk__step.is-active .walk__num { background: rgba(255,255,255,0.25); border-color: transparent; color: #fff; }

.walk__progress { max-width: 680px; margin: 16px auto 0; height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.walk__bar { display: block; height: 100%; width: 0; background: var(--grad); }

/* stage + scenes */
.walk__stage { position: relative; height: clamp(380px, 48vw, 470px); margin-top: 20px; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.scene.is-active { opacity: 1; visibility: visible; }

/* ---- VS Code chrome (scenes 1 & 2) ---- */
.vscode { height: 100%; display: flex; flex-direction: column; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #000; box-shadow: 0 26px 60px -28px rgba(10,8,30,0.5); background: #1e1e1e; color: #d4d4d4; text-align: left; }
.vscode__titlebar { display: flex; align-items: center; height: 36px; background: #323233; padding: 0 14px; position: relative; flex-shrink: 0; }
.vscode__lights { display: flex; gap: 8px; }
.vscode__lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.vscode__lights i:nth-child(1){background:#ff5f57;} .vscode__lights i:nth-child(2){background:#febc2e;} .vscode__lights i:nth-child(3){background:#28c840;}
.vscode__title { position: absolute; left: 0; right: 0; text-align: center; font-size: 12.5px; color: #9d9d9d; pointer-events: none; }
.vscode__body { flex: 1; display: flex; min-height: 0; }
.vscode__activity { width: 50px; background: #333; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 14px; flex-shrink: 0; }
.vsa { color: #858585; font-size: 18px; display: flex; align-items: center; justify-content: center; width: 100%; position: relative; }
.vsa--active { color: #fff; }
.vsa--active::before { content: ""; position: absolute; left: 0; top: -2px; bottom: -2px; width: 2px; background: var(--grad); border-radius: 2px; }
.vsa--active img { border-radius: 5px; }
.vscode__editorfade { flex: 1; min-width: 0; background: repeating-linear-gradient(180deg, #1e1e1e 0 22px, #232323 22px 23px); opacity: 0.5; }

/* ReviewSX panel */
.rsx-panel { width: 320px; flex-shrink: 0; background: #1e1e1e; border-right: 1px solid #2a2a2a; display: flex; flex-direction: column; }
.rsx-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; font-size: 11px; letter-spacing: 0.06em; color: #bbb; font-weight: 600; }
.rsx-panel__icons { color: #8a8a8a; letter-spacing: 2px; font-size: 13px; }
.rsx-panel__body { padding: 6px 14px 14px; }
.rsx-h { color: #e6e6e6; font-size: 14px; font-weight: 600; margin: 6px 0 8px; }
.rsx-p { color: #9d9d9d; font-size: 12.5px; line-height: 1.5; margin: 0 0 14px; }
.rsx-btn { width: 100%; border: 0; cursor: pointer; color: #fff; font-family: var(--font); font-weight: 600; font-size: 13px; background: #1c6fb8; padding: 9px 12px; border-radius: 5px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 8px; }
.rsx-label { color: #cbcbcb; font-size: 12.5px; margin: 14px 0 8px; }
.rsx-note { color: #8a8a8a; font-size: 11px; font-style: italic; margin: 12px 0 0; line-height: 1.4; }
.scene.is-active .rsx-btn.is-hot { animation: hotPulse 1.8s ease-out infinite; background: #2484d6; }
@keyframes hotPulse { 0% { box-shadow: 0 0 0 0 rgba(22,166,233,0.55); } 70% { box-shadow: 0 0 0 9px rgba(22,166,233,0); } 100% { box-shadow: 0 0 0 0 rgba(22,166,233,0); } }

/* toast */
.vscode__toast { position: absolute; bottom: 16px; right: 16px; width: 250px; z-index: 6; background: #252526; border: 1px solid #3a3a3a; border-left: 3px solid #28c840; border-radius: 8px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.vscode__toastrow { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #e6e6e6; font-weight: 600; }
.vscode__check { color: #28c840; }
.vscode__link { display: block; margin: 7px 0 2px; font-size: 12.5px; color: #3aa0ff; text-decoration: underline; word-break: break-all; }
.vscode__copy { font-size: 11.5px; color: #9d9d9d; }

/* ---- Browser + sample prototype (scenes 3 & 4) ---- */
.browser { height: 100%; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 60px -28px rgba(10,8,30,0.4); background: #fff; }
.browser__bar { display: flex; align-items: center; gap: 10px; height: 38px; background: #eceaf3; padding: 0 14px; flex-shrink: 0; }
.browser__url { font-size: 12px; color: #6b6b78; background: #fff; padding: 3px 12px; border-radius: 999px; }
.browser__view.samp { flex: 1; position: relative; background: #ffffff; color: #2a2740; padding: 20px 24px; overflow: hidden; }
.samp__top { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.samp__logo { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: #2a2740; margin-right: auto; }
.samp__nav { width: 46px; height: 9px; border-radius: 6px; background: #ece9f6; }
.samp__title { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin: 0 0 16px; color: #2a2740; }
.samp__stats { display: flex; gap: 14px; margin-bottom: 18px; }
.samp__stat { flex: 1; height: 66px; border-radius: 12px; background: #f3f1fb; border: 1px solid #e7e3f5; }
.samp__stat--hot { background: linear-gradient(160deg, #eef4ff, #f4f0ff); border-color: #c9d6ff; }
.samp__chart { height: 110px; border-radius: 12px; background: linear-gradient(180deg, #f7f5fd, #f0edfa); border: 1px solid #e7e3f5; background-image: repeating-linear-gradient(90deg, transparent 0 38px, rgba(124,58,242,0.10) 38px 64px); }

.rsx-overlaybar { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 7px; background: #1a1340; color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12.5px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.5); white-space: nowrap; }
.rsx-overlaybar strong { color: var(--amber-lt); }

.rsx-cursor { position: absolute; top: 44%; left: 16%; width: 20px; height: 20px; z-index: 7; background: #15131f; clip-path: polygon(0 0, 0 78%, 24% 56%, 44% 100%, 60% 92%, 40% 50%, 74% 50%); filter: drop-shadow(0 1px 1px rgba(0,0,0,0.45)); }
.scene--proto .pin { position: absolute; z-index: 6; }
.pin--a { top: 40%; left: 13%; }
.pin--b { top: 60%; left: 57%; }

.rsx-composer { position: absolute; top: 51%; left: 17%; width: 226px; z-index: 8; background: #fff; border: 1px solid #e0dbf2; border-radius: 12px; box-shadow: 0 16px 34px -14px rgba(40,24,90,0.35); padding: 12px; }
.rsx-composer__field { font-size: 12.5px; color: #2a2740; line-height: 1.4; margin-bottom: 10px; }
.rsx-composer__btn { background: var(--grad); color: #fff; border: 0; border-radius: 8px; padding: 6px 14px; font-weight: 600; font-size: 12.5px; cursor: pointer; }

.rsx-thread { position: absolute; top: 26%; right: 18px; width: 236px; z-index: 8; background: #fff; border: 1px solid #e0dbf2; border-radius: 12px; box-shadow: 0 16px 34px -14px rgba(40,24,90,0.35); padding: 13px 14px; }
.rsx-thread__head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #2a2740; }
.rsx-thread__head strong { font-weight: 700; }
.rsx-thread__time { color: #9b94b8; font-size: 11px; margin-left: auto; }
.rsx-thread__msg { font-size: 12.5px; color: #4a4466; margin: 9px 0; line-height: 1.4; }
.rsx-thread__reply { font-size: 12px; color: #2a2740; background: #f3f1fb; border-radius: 8px; padding: 7px 10px; }
.rsx-thread__actions { margin-top: 10px; }
.rsx-thread__resolve { font-size: 12px; font-weight: 600; color: #16a6e9; }
.fb-pin { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 50% 50% 50% 2px; background: linear-gradient(160deg, var(--amber-lt), var(--amber)); color: #fff; font-weight: 800; font-size: 11px; font-family: var(--font-display); flex-shrink: 0; }

.rsx-synced { position: absolute; bottom: 14px; left: 14px; display: flex; align-items: center; gap: 7px; background: #1a1340; color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(0,0,0,0.5); }

/* scene entrance animations (only on the active scene) */
.scene.is-active .vscode__toast.scene-anim { animation: dRise .5s .4s both; }
.scene.is-active .rsx-thread.scene-anim { animation: dRise .5s .3s both; }
.scene.is-active .rsx-synced.scene-anim { animation: dRise .5s .9s both; }
.scene.is-active .rsx-composer.scene-anim { animation: dRise .5s 1.25s both; }
.scene.is-active .rsx-cursor.scene-anim { animation: dCursor 1.5s ease both; }
.scene.is-active .pin--a.scene-anim { animation: dPin .45s 1s both; }
@keyframes dRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dCursor { 0% { opacity: 0; transform: translate(46px, 34px); } 25% { opacity: 1; } 100% { opacity: 1; transform: translate(0,0); } }
@keyframes dPin { 0% { opacity: 0; transform: scale(0) translateY(-10px); } 60% { transform: scale(1.18); } 100% { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .scene.is-active .rsx-btn.is-hot { animation: none; }
  .scene.is-active .scene-anim { animation: none !important; opacity: 1; transform: none; }
  .scene { transition: none; }
}

/* responsive */
@media (max-width: 760px) {
  .walk__stage { height: 400px; }
  .vscode__activity { display: none; }
  .rsx-panel { width: 270px; }
  .vscode__editorfade { display: none; }
  .rsx-composer { left: 12px; }
}
@media (max-width: 560px) {
  .walk__step { padding: 7px 12px; font-size: 0.82rem; }
  .walk__stage { height: 420px; }
  .rsx-panel { width: 100%; border-right: 0; }
  .browser__view.samp { padding: 16px; }
  .rsx-composer { width: 190px; }
  .rsx-thread { width: 200px; right: 10px; }
  .vscode__toast { width: 200px; }
}
