/* ------------------------------------------------------------------
   vs-roassistant.css: page-only rules for /rocode-vs-roassistant
   (2026-10-11). Loaded after /seo-landing.css, which carries the
   homepage look (body.sl). Everything here is prefixed .vsr-.
   Sections: hero, four differences (12 rows in an expander), feature
   loops, connect, pricing, verdict, FAQ (sources + related), start.
   ------------------------------------------------------------------ */

/* ---------- hero: keyword headline with the domain under it, one-line lead ---------- */
.vsr-hero h1 { max-width: none; }
.vsr-hero .sl-mark { margin: 0 .04em; }
.vsr-h1-domain {
  display: block; margin-top: .95em; font-size: .36em; font-weight: 500; font-style: normal; line-height: 1.2;
  letter-spacing: -.01em; color: #8f84a3;
}
.vsr-hero .sl-lead { max-width: 70ch; margin-top: 24px; }
.vsr-hero .sl-hero-visual { max-width: 1040px; }
.vsr-hero .sl-answer, .vsr-hero details.more { width: 100%; text-align: left; }
.vsr-hero .sl-answer { margin-top: 48px; }
.vsr-hero .sl-answer > p:not(.sl-answer-label):not(.sl-answer-date) { font-size: 16px; line-height: 1.6; }
.vsr-hero .sl-answer > p.sl-answer-date { font-size: 13px; }
.vsr-hero details.more { max-width: 760px; margin: 24px auto 0; }
.vsr-hero .sl-vs-facts li { white-space: nowrap; }
@media (max-width: 640px) {
  .vsr-hero .sl-vs-facts li { white-space: normal; }
  .vsr-hero .sl-answer { margin-top: 36px; }
  /* the VS badge overlaps the top of the second tile: give its icon room */
  .vsr-hero .sl-vs-tile { padding: 26px 16px 22px; }
  .vsr-hero .sl-vs-tile + .sl-vs-badge + .sl-vs-tile { padding-top: 44px; }
  .vsr-hero .sl-vs-logo { width: 52px; height: 52px; margin-bottom: 6px; border-radius: 15px; }
  .vsr-hero .sl-vs-logo img { width: 28px; height: 28px; }
  .vsr-hero .sl-vs-logo svg { width: 26px; height: 26px; }
  .vsr-hero .sl-vs-facts { margin-top: 12px; gap: 6px; }
  .vsr-hero .sl-vs-facts li { min-height: 32px; padding: 5px 10px; font-size: 13px; }
}

/* ---------- the four differences: a touch more air in the big answers ---------- */
.vsr-pairs .sl-pair-big { font-size: 24px; }
.vsr-pairs .sl-pair-cell:not(.is-rocode) .sl-pair-big { color: #d9d0e8; }
@media (max-width: 420px) {
  .vsr-pairs .sl-pair-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .vsr-pairs .sl-pair-cell { padding: 12px 12px 14px; }
  .vsr-pairs .sl-pair-big { font-size: 19px; }
  .vsr-pairs .sl-pair-cell p { font-size: 13px; }
}

/* ---------- feature loops: three cards in a row down to tablet width (no orphan card) ---------- */
@media (min-width: 641px) { .vsr-feats.exg { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 900px) {
  body.sl .vsr-feats .exg-body { padding: 14px 14px 16px; }
  body.sl .vsr-feats .exg-prompt { font-size: 13px; }
}
.vsr-feats .exg-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 40px 90px -50px rgba(124, 58, 237, .5); }

/* ---------- how each connects: RoCode's diagram, RoAssistant as one row of chips, then the walkthrough ---------- */
.vsr-flows { display: grid; gap: 40px; max-width: 1040px; margin: 0 auto; }
.vsr-flow-label {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 18px;
  font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; color: #8f84a3;
}
.vsr-flow-label img { display: block; width: 18px; height: 18px; }
.vsr-flow-label.is-rocode { color: #c4b5fd; }
.vsr-flow-label::before, .vsr-flow-label::after { content: ""; flex: 0 1 72px; border-top: 1px solid rgba(255, 255, 255, .08); }
.vsr-flow .v3-node { padding: 26px 18px 22px; }
.vsr-other .vsr-flow-label { margin-bottom: 14px; }
.vsr-other-chips.v3-chips { margin: 0; }
.vsr-other-chips.v3-chips li { color: #cfc3e0; }
.vsr-other-chips.v3-chips svg { color: #b7abc8; }
.vsr-other-chips.v3-chips li.is-unknown { border-style: dashed; color: #9d92b1; }
.vsr-walk { position: relative; max-width: 1040px; margin: 56px auto 0; }
.vsr-walk::before {
  content: ""; position: absolute; inset: -10% -6% 6%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, .10), rgba(124, 58, 237, .03) 55%, transparent 75%);
}
.vsr-walk .sl-frame > video { object-fit: contain; background: #0d0a14; }
/* the walkthrough's glow stays inside the page (it pushed the page wider at 390 and 1024) */
body.sl main > #connect { overflow-x: clip; }
@media (max-width: 1023px) {
  .vsr-flow .v3-link::before { border-top: 0; }
  .vsr-flow .v3-node { padding: 20px 16px 18px; }
  .vsr-flow .v3-link { height: 48px; }
}
@media (max-width: 768px) { .vsr-walk::before { left: 0; right: 0; } }
@media (max-width: 640px) {
  .vsr-walk { margin-top: 40px; }
  .vsr-flows { gap: 32px; }
  /* phones: the diagram as compact rows (icon left) */
  .vsr-flow .v3-flow { max-width: none; }
  .vsr-flow .v3-node { grid-template-columns: 44px minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px 14px; padding: 14px 16px; text-align: left; }
  .vsr-flow .v3-node-ico { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .vsr-flow .v3-node-ico svg { width: 22px; height: 22px; }
  .vsr-flow .v3-node-title { font-size: 16px; }
  .vsr-flow .v3-node-text { font-size: 13.5px; }
  .vsr-flow .v3-link { height: 40px; }
  .vsr-flow .v3-link::before { left: 38px; top: 4px; bottom: 4px; }
  .vsr-flow .v3-link span { justify-self: start; margin-left: 56px; }
  .vsr-other-chips.v3-chips { gap: 8px; }
  .vsr-other-chips.v3-chips li { min-height: 40px; padding: 0 12px; font-size: 13.5px; }
}

/* ---------- pricing: two price cards ---------- */
.vsr-price .mb-card { padding: 26px 24px 24px; }
.vsr-price .mb-price { font-size: 44px; }
.vsr-price .mb-sub { margin-top: 4px; }
.vsr-price .mb-card:not(.is-rocode) .mb-ico { color: #cfc3e0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- verdict: a head row with the tool's icon ---------- */
.vsr-duo-head { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; }
.vsr-duo-head .sl-duo-title { margin: 0; }
.vsr-ico {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; color: #e6def3;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.vsr-ico img { display: block; width: 22px; height: 22px; }
.is-rocode .vsr-ico { background: rgba(139, 92, 246, .15); border-color: rgba(167, 139, 250, .45); box-shadow: 0 0 16px 2px rgba(139, 92, 246, .18); }
.vsr-verdict .sl-ticks { gap: 14px; }
.vsr-nw { white-space: nowrap; }

/* ---------- lists inside the expanders ---------- */
body.sl details.more .vs-list { margin-top: 0; }
body.sl details.more .vs-list li { font-size: 15px; color: var(--rc-text-2); }
body.sl details.more .more-title { margin-top: 4px; }
body.sl details.more .vs-list + .more-title { margin-top: 20px; }
body.sl details.more .compare-card { border-top: 0; }
body.sl details.more .more-body > p + .sl-sources { margin-top: 12px; }
.vsr-more-note { margin-top: 14px; font-size: 13.5px !important; color: var(--rc-text-3) !important; }

/* ---------- FAQ footer: related pages as pills ---------- */
body.sl main > #faq > .container > details.more { max-width: 880px; }
.vsr-related { max-width: 880px; margin: 40px auto 0; text-align: center; }
.vsr-related-label { margin: 0 0 14px; font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: #8f84a3; }

/* ---------- closing cards: the prompt is two lines, so its card is wider and the screen card sits lower ---------- */
.vsr-fa-shot { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--rc-line); background: var(--rc-bg-sunken); }
.vsr-fa-shot { background-position: center; background-size: cover; background-repeat: no-repeat; }
.vsr-fa-shot > video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.vsr-fa-shot .sl-art-tag { left: 10px; right: auto; top: 10px; }
.vsr-fa-ico { flex: none; color: #a78bfa; }
.vsr-final .fa-prompt-text { font-size: 14.5px; }
@media (min-width: 1024px) {
  .vsr-final .fa-prompt { width: 66%; }
  .sl .vsr-final .final-art .fa-game { position: absolute; top: 96px; right: 0; }
}
