/* ═══════════════════════════════════════════════════════════════════════
   SCREENCHART — Execution mode setup / connection guide (/setup)
   Page-specific styles. Inherits all tokens & components from landing.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── page head ─────────────────────────────────────────────────────── */
.page-head {
  position: relative; overflow: hidden;
  padding: 64px 0 56px; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(120% 130% at 50% -40%, var(--accent-soft), transparent 60%),
    var(--bg);
}
.page-head .ph-grid {
  position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(680px 360px at 50% 30%, #000 0%, transparent 78%);
  mask-image: radial-gradient(680px 360px at 50% 30%, #000 0%, transparent 78%);
}
[data-theme="dark"] .page-head .ph-grid {
  background-image:
    linear-gradient(rgba(120,165,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,165,255,.06) 1px, transparent 1px);
}
.page-head .wrap { position: relative; z-index: 1; }
.head-inner { max-width: 740px; }
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); transition: color .15s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: .5; }
.crumbs .here { color: var(--tx); font-weight: 600; }
.head-inner h1 {
  font-size: 46px; line-height: 1.06; letter-spacing: -.035em; font-weight: 800;
  margin: 14px 0 18px; text-wrap: balance;
}
.head-inner .lede { font-size: 18.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 660px; text-wrap: pretty; }
.head-inner .lede b { color: var(--tx); font-weight: 600; }

/* pre-launch verification notice */
.prelaunch {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 28px;
  padding: 13px 16px; border-radius: var(--r);
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.28);
  font-size: 13.5px; line-height: 1.5; color: var(--tx); max-width: 660px;
}
.prelaunch .ico { font-size: 19px; color: #b45309; flex: 0 0 auto; margin-top: 1px; }
[data-theme="dark"] .prelaunch { background: rgba(245,158,11,.1); }
[data-theme="dark"] .prelaunch .ico { color: #fbbf24; }
.prelaunch b { font-weight: 700; }

/* ── placeholder "verify" marker ───────────────────────────────────── */
.ph {
  border-bottom: 1.5px dotted var(--accent-line);
}
.vtag {
  display: inline-flex; align-items: center; gap: 3px; vertical-align: middle;
  font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; line-height: 1;
  padding: 2px 5px 2px 4px; border-radius: 5px; margin-left: 5px;
  background: rgba(245,158,11,.12); color: #b45309; border: 1px solid rgba(245,158,11,.28);
  white-space: nowrap; cursor: help;
}
.vtag .ico { font-size: 11px; }
[data-theme="dark"] .vtag { color: #fbbf24; background: rgba(245,158,11,.14); }

/* ── generic guide section ─────────────────────────────────────────── */
.guide { padding: 72px 0; }
.guide + .guide { padding-top: 0; }
.guide-wrap { max-width: 880px; margin: 0 auto; }
.guide-head { margin-bottom: 30px; }
.guide-head .eyebrow { display: block; margin-bottom: 12px; }
.guide-head h2 { font-size: 30px; line-height: 1.14; letter-spacing: -.025em; font-weight: 800; margin: 0 0 12px; text-wrap: balance; }
.guide-head p { font-size: 16.5px; color: var(--muted); margin: 0; line-height: 1.6; max-width: 660px; text-wrap: pretty; }
.guide-head p b { color: var(--tx); font-weight: 600; }
.guide-head .anchor-off { position: absolute; margin-top: -90px; }

/* ── two ways to run ───────────────────────────────────────────────── */
.ways {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  max-width: 880px; margin: 0 auto;
}
.way {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 26px 22px; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.way:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.way-top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.way-ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; }
.way-ico .ico { font-size: 24px; }
.way h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin: 0; display: flex; align-items: center; gap: 9px; }
.way p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; line-height: 1.58; }
.way .jump {
  margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.way .jump .ico { font-size: 18px; transition: transform .18s var(--ease); }
.way:hover .jump .ico { transform: translateX(3px); }

/* ── setup tab switcher ────────────────────────────────────────────── */
.setup-tabs-wrap { padding-bottom: 0; }
.setup-tabs {
  display: flex; max-width: 440px; margin: 26px auto 0; gap: 4px; padding: 5px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
}
.setup-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border: none; border-radius: 8px; cursor: pointer;
  font-family: var(--font); font-size: 14.5px; font-weight: 600; color: var(--muted);
  background: none; transition: background .16s var(--ease), color .16s var(--ease);
  white-space: nowrap;
}
.setup-tab .ico { font-size: 19px; }
.setup-tab:hover { color: var(--tx); }
.setup-tab.active { background: var(--surface); color: var(--tx); box-shadow: var(--shadow-sm); }
.setup-panel[hidden] { display: none; }
.guide.guide-intro { padding-bottom: 32px; }
.guide.setup-panel { padding-top: 12px; }

/* ── compact agent grid (install a CLI) ────────────────────────────── */
.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 0;
}
.agent-card {
  display: flex; align-items: center; gap: 12px; position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 13px 14px; text-decoration: none; color: inherit;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}
.agent-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.agent-card-static { cursor: default; }
.agent-card-static:hover { transform: none; box-shadow: none; border-color: var(--border); }
.agent-card .ag-logo {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  background: #fff; border: 1px solid var(--border); display: grid; place-items: center;
}
.agent-card .ag-logo img { width: 22px; height: 22px; object-fit: contain; display: block; }
.agent-card .ag-logo .mono-fallback {
  width: 100%; height: 100%; border-radius: 10px; color: #fff; font-weight: 700; font-size: 16px;
  display: grid; place-items: center; font-family: var(--font);
}
.agent-card .ag-body { flex: 1; min-width: 0; }
.agent-card .ag-name { font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 2px; }
.agent-card .ag-by { font-size: 12px; color: var(--muted); line-height: 1.4; }
.agent-card .ag-go { flex: 0 0 auto; color: var(--muted); display: grid; place-items: center; transition: color .16s var(--ease); }
.agent-card .ag-go .ico { font-size: 17px; }
.agent-card:hover .ag-go { color: var(--accent); }
.agent-card .ag-key {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--accent); white-space: nowrap;
}
.agent-card .ag-key .ico { font-size: 15px; transition: transform .16s var(--ease); }
.agent-card:hover .ag-key .ico { transform: translate(1px, -1px); }

/* ── numbered steps ────────────────────────────────────────────────── */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 2px;
  background: var(--border); border-radius: 2px;
}
.step-item { position: relative; display: flex; gap: 18px; padding: 0 0 26px; }
.step-item:last-child { padding-bottom: 0; }
.step-item .sn {
  position: relative; z-index: 1; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 15px;
  background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px var(--accent);
}
.step-item .sb { padding-top: 5px; flex: 1; min-width: 0; }
.step-item .sb h4 { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 7px; }
.step-item .sb p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.step-item .sb p b { color: var(--tx); font-weight: 600; }
.step-item .sb p + p { margin-top: 8px; }

/* inline menu-path breadcrumb */
.path {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--tx);
  padding: 4px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border);
  vertical-align: middle;
}
.path .ico { font-size: 14px; color: var(--accent); }
.path .pchv { color: var(--muted); font-size: 13px; }
/* small standalone code/key chip */
.kbd-i {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: var(--tx);
  padding: 2px 7px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--border-2);
}

/* ── provider / CLI list ───────────────────────────────────────────── */
.prov-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.prov-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.prov-row .pr-logo {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 11px; background: #fff;
  border: 1px solid var(--border); display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.prov-row .pr-logo img { width: 26px; height: 26px; object-fit: contain; display: block; }
.prov-row .pr-logo .mono-fallback { width: 30px; height: 30px; border-radius: 8px; place-items: center; color:#fff; font-weight:800; font-size:14px; font-family: var(--font); }
.prov-row .pr-main { flex: 1; min-width: 0; }
.prov-row .pr-name { font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.prov-row .pr-by { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.prov-row .pr-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--accent);
  white-space: nowrap; padding: 7px 11px; border-radius: var(--r); border: 1px solid var(--border-2);
  background: var(--surface); transition: all .16s var(--ease);
}
.prov-row .pr-link:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.prov-row .pr-link .ico { font-size: 15px; }

/* status pills */
.st { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.st-launch { background: rgba(5,150,105,.12); color: var(--ok); border: 1px solid rgba(5,150,105,.24); }
.st-planned { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border-2); }

/* ── note / callout strip ──────────────────────────────────────────── */
.note {
  display: flex; align-items: flex-start; gap: 11px; margin-top: 22px;
  padding: 14px 16px; border-radius: var(--r); font-size: 14px; line-height: 1.55; color: var(--tx);
}
.note .ico { font-size: 18px; flex: 0 0 auto; margin-top: 1px; }
.note.note-info { background: var(--accent-soft); border: 1px solid var(--accent-line); }
.note.note-info .ico { color: var(--accent); }
.note.note-privacy { background: rgba(5,150,105,.08); border: 1px solid rgba(5,150,105,.22); }
.note.note-privacy .ico { color: var(--ok); }
.note b { font-weight: 700; }

/* ── troubleshooting list ──────────────────────────────────────────── */
.trouble { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 0; }
.tr-item {
  display: flex; gap: 13px; align-items: flex-start; padding: 18px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
}
.tr-item .tr-ico { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tr-item .tr-ico .ico { font-size: 20px; }
.tr-item h4 { font-size: 15px; font-weight: 700; margin: 1px 0 5px; letter-spacing: -.01em; }
.tr-item p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.tr-item p b { color: var(--tx); font-weight: 600; }

/* ── next steps cross-links ────────────────────────────────────────── */
.next { background: var(--surface); border-top: 1px solid var(--border); padding: 72px 0; }
.next-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 880px; margin: 26px auto 0; }
.next-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 22px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.next-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.next-card .nc-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.next-card .nc-ico .ico { font-size: 22px; }
.next-card h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 0; }
.next-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.next-card .nc-go { margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.next-card .nc-go .ico { font-size: 17px; transition: transform .18s var(--ease); }
.next-card:hover .nc-go .ico { transform: translateX(3px); }

/* ── responsive ────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .head-inner h1 { font-size: 38px; }
  .ways { grid-template-columns: 1fr; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); }
  .trouble { grid-template-columns: 1fr; }
  .next-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .head-inner h1 { font-size: 31px; }
  .head-inner .lede { font-size: 16.5px; }
  .guide { padding: 56px 0; }
  .guide-head h2 { font-size: 25px; }
  .prov-row { flex-wrap: wrap; }
  .prov-row .pr-link { width: 100%; justify-content: center; }
  .agent-grid { grid-template-columns: 1fr; }
  .setup-tab { padding: 10px 12px; font-size: 13.5px; }
}
