:root {
  --bg: #050816;
  --panel: rgba(13, 20, 42, 0.78);
  --panel-2: rgba(20, 29, 58, 0.72);
  --line: rgba(148, 163, 184, 0.16);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --c-skill: #22d3ee;
  --c-tool: #fb923c;
  --c-memory: #a78bfa;
  --c-knowledge: #a3e635;
  --c-critic: #e879f9;
  --c-role: #fde68a;
  --c-guard: #f43f5e;
  --c-llm: #cbd5e1;
  --c-flow: #38bdf8;
  --c-agent: #34d399;
  --c-planner: #60a5fa;
  --c-tester: #f472b6;
  --c-exit: #f43f5e;
  --c-cmd: #facc15;
  --c-tower: #38bdf8;
  --font: 'Inter', system-ui, sans-serif;
  --display: 'Space Grotesk', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* The shared site header/footer stylesheet forces var(--font-sans) / var(--font-mono) on body,
   headings, form controls and code. Point those at this section's fonts inside its own content. */
.sw-main, .sw-subbar { --font-sans: var(--font); --font-mono: var(--mono); font-family: var(--font); }
.sw-main :is(h1, h2, h3, h4, h5, h6), .sw-kick { --font-sans: var(--display); }
/* Section links, under the shared site header */
.sw-top.sw-subbar { top: var(--nav-height, 74px); z-index: 40; justify-content: center; padding: 8px 28px; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, 0.16), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(167, 139, 250, 0.14), transparent 60%),
              var(--bg);
  color: var(--text);
  font-family: var(--font);
  overflow-x: hidden;
}
.sw-stars {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 72% 12%, #cbd5e1, transparent),
    radial-gradient(1.5px 1.5px at 33% 72%, #e2e8f0, transparent), radial-gradient(1px 1px at 88% 64%, #fff, transparent),
    radial-gradient(1px 1px at 54% 38%, #94a3b8, transparent), radial-gradient(1.5px 1.5px at 8% 88%, #cbd5e1, transparent),
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 64px 64px, 64px 64px;
}

/* Top bar */
.sw-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 28px; background: rgba(5, 8, 22, 0.78); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.sw-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.sw-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.85rem; font-weight: 500; padding: 7px 12px; border-radius: 8px; }
.sw-nav a:hover { background: rgba(255, 255, 255, 0.06); }
.sw-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 -2px 0 var(--c-cmd); }
.sw-nav .sw-nav-cta { background: linear-gradient(135deg, #f59e0b, #facc15); color: #0b1020; font-weight: 700; }

.sw-main { position: relative; z-index: 1; max-width: 1480px; margin: 0 auto; padding: 0 24px 40px; }

/* Hero */
.sw-hero { padding: 56px 0 30px; max-width: 980px; }
.sw-eyebrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-skill); }
.sw-hero h1 { font-family: var(--display); font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; margin: 14px 0 16px; letter-spacing: -0.02em; color: #fff; }
.sw-grad { background: linear-gradient(90deg, var(--c-skill), var(--c-agent) 45%, var(--c-cmd)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-lede { font-size: 1.08rem; line-height: 1.65; color: #cbd5e1; max-width: 820px; margin: 0 0 26px; }
.sw-props { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.sw-props div { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.sw-props b { display: block; font-family: var(--display); color: #fff; font-size: 1rem; margin-bottom: 4px; }
.sw-props span { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

/* Brief */
.sw-brief { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 10px 0 18px; scroll-margin-top: 80px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.sw-brief-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.sw-brief-head h2 { margin: 0; font-family: var(--display); font-size: 1.3rem; color: #fff; }
.sw-brief-head p { margin: 2px 0 0; color: var(--muted); font-size: 0.88rem; }
.sw-step-num { font-family: var(--mono); font-weight: 600; color: var(--c-cmd); font-size: 0.9rem; border: 1px solid rgba(250, 204, 21, 0.4); border-radius: 10px; padding: 8px 10px; }
.sw-brief-grid { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(300px, 1.6fr) auto; gap: 14px; align-items: end; }
.sw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sw-field > span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sw-field select, .sw-field textarea, .sw-launch-opts select {
  width: 100%; font: inherit; font-size: 0.92rem; color: #f8fafc; background: rgba(2, 6, 23, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 12px; padding: 11px 13px; resize: vertical;
}
.sw-field select:focus, .sw-field textarea:focus { outline: none; border-color: var(--c-cmd); box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.18); }
.sw-field optgroup { color: var(--c-skill); background: #0b1020; }
.sw-field option { color: #f8fafc; }
.sw-launch { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.sw-kick {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 14px;
  font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: #0b1020; cursor: pointer; text-decoration: none;
  background: linear-gradient(135deg, #f59e0b, #facc15 55%, #fde68a); box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.5), 0 12px 34px rgba(250, 204, 21, 0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.sw-kick:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.7), 0 16px 40px rgba(250, 204, 21, 0.5); }
.sw-kick:disabled { opacity: 0.55; cursor: progress; transform: none; }
.sw-kick-sm { padding: 11px 20px; font-size: 0.95rem; }
.sw-launch-opts { display: flex; gap: 8px; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.sw-launch-opts label { display: flex; align-items: center; gap: 6px; }
.sw-launch-opts select { width: auto; padding: 5px 8px; border-radius: 8px; font-size: 0.8rem; }
.sw-ghost { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.3); background: transparent; color: #e2e8f0; font: inherit; font-size: 0.82rem; cursor: pointer; text-decoration: none; }
.sw-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* Stepper + caption */
.sw-stepper { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 10px; padding: 0; }
.sw-stepper li { position: relative; padding: 10px 12px 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.sw-stepper li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: rgba(148, 163, 184, 0.25); transition: background 0.3s; }
.sw-stepper b { display: block; font-family: var(--display); font-size: 0.92rem; color: #cbd5e1; }
.sw-stepper span { font-size: 0.74rem; color: var(--muted); }
.sw-stepper li.on { border-color: rgba(250, 204, 21, 0.6); background: rgba(250, 204, 21, 0.08); }
.sw-stepper li.on::before { background: var(--c-cmd); }
.sw-stepper li.on b { color: #fff; }
.sw-stepper li.done::before { background: var(--c-agent); }
.sw-stepper li.done b { color: #a7f3d0; }
.sw-caption { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; background: linear-gradient(90deg, rgba(250, 204, 21, 0.1), rgba(56, 189, 248, 0.06)); border: 1px solid rgba(250, 204, 21, 0.25); min-height: 48px; }
.sw-caption-what { font-family: var(--display); font-size: 1.02rem; color: #fff; }
.sw-caption-why { font-size: 0.86rem; color: #fde68a; }
.sw-caption.flash { animation: swFlash 0.6s ease; }

/* Stage */
.sw-stage { position: relative; border-radius: 22px; padding: 16px; background: rgba(3, 6, 18, 0.6); border: 1px solid var(--line); box-shadow: inset 0 0 120px rgba(56, 189, 248, 0.05); }
.sw-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.25fr); gap: 14px; }
.sw-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); transition: opacity 0.6s, filter 0.6s; }
.sw-col.dim { opacity: 0.55; filter: saturate(0.6); }
.sw-col-head { display: flex; gap: 10px; align-items: center; padding: 2px 4px 6px; }
.sw-col-head h3 { margin: 0; font-family: var(--display); font-size: 1.05rem; color: #fff; }
.sw-col-head p { margin: 1px 0 0; font-size: 0.76rem; color: var(--muted); }
.sw-col-num { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 0.85rem; color: #0b1020; background: linear-gradient(135deg, var(--c-skill), var(--c-memory)); }
.sw-row { position: relative; padding: 10px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.sw-row-head { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 0.9rem; color: #fff; margin-bottom: 8px; }
.sw-row-head small { font-family: var(--font); font-weight: 400; font-size: 0.72rem; color: var(--muted); }
.sw-row-head .sw-state { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; box-shadow: 0 0 10px currentColor; }
.dot.c-skill { background: var(--c-skill); color: var(--c-skill); } .dot.c-tool { background: var(--c-tool); color: var(--c-tool); } .dot.c-memory { background: var(--c-memory); color: var(--c-memory); } .dot.c-critic { background: var(--c-critic); color: var(--c-critic); }
.dot.c-role { background: var(--c-role); color: var(--c-role); } .dot.c-guard { background: var(--c-guard); color: var(--c-guard); } .dot.c-llm { background: var(--c-llm); color: var(--c-llm); } .dot.c-flow { background: var(--c-flow); color: var(--c-flow); } .dot.c-knowledge { background: var(--c-knowledge); color: var(--c-knowledge); }
.dot.c-agent { background: var(--c-agent); color: var(--c-agent); } .dot.c-planner { background: var(--c-planner); color: var(--c-planner); } .dot.c-tester { background: var(--c-tester); color: var(--c-tester); }
.dot.c-exit { background: var(--c-exit); color: var(--c-exit); } .dot.c-tower { background: var(--c-tower); color: var(--c-tower); }
.sw-row.scan { border-color: rgba(250, 204, 21, 0.6); }
.sw-row.scan::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.18), transparent); width: 40%; animation: swScan 1.1s ease-in-out infinite; }
.sw-row.live { border-color: rgba(56, 189, 248, 0.65); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25), 0 0 30px rgba(56, 189, 248, 0.15); }
.sw-row.live .sw-state { color: #0b1020; background: var(--c-tower); border-color: transparent; }
.sw-row.ok .sw-state { color: #0b1020; background: var(--c-agent); border-color: transparent; }
.sw-row.alert { border-color: rgba(244, 63, 94, 0.75); box-shadow: 0 0 30px rgba(244, 63, 94, 0.2); }
.sw-row.alert .sw-state { color: #fff; background: var(--c-exit); border-color: transparent; }

/* Operatives: secret agents and their gear */
.sw-bay { display: flex; flex-wrap: wrap; gap: 4px 2px; }
.op { --c: var(--c-skill); --size: 46px; position: relative; display: flex; flex-direction: column; align-items: center; width: 84px; }
.op.c-skill { --c: var(--c-skill); } .op.c-tool { --c: var(--c-tool); } .op.c-memory { --c: var(--c-memory); } .op.c-knowledge { --c: var(--c-knowledge); } .op.c-critic { --c: var(--c-critic); }
.op.c-role { --c: var(--c-role); } .op.c-guard { --c: var(--c-guard); } .op.c-llm { --c: var(--c-llm); } .op.c-flow { --c: var(--c-flow); } .op.c-agent { --c: var(--c-agent); }
.op.c-planner { --c: var(--c-planner); } .op.c-tester { --c: var(--c-tester); } .op.c-exit { --c: var(--c-exit); } .op.c-cmd { --c: var(--c-cmd); }
.op .bob { width: var(--size); height: var(--size); animation: swBob 2.6s ease-in-out infinite; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 55%, transparent)); }
.op svg { width: 100%; height: 100%; display: block; overflow: visible; }
.op .lbl { margin-top: 2px; max-width: 84px; padding: 2px 6px; border-radius: 6px; font-size: 0.62rem; line-height: 1.25; text-align: center; color: #e2e8f0; background: rgba(2, 6, 23, 0.75); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.sw-bay .op { opacity: 0.85; transition: opacity 0.3s, transform 0.3s; }
.sw-bay .op .bob { animation-duration: 3.4s; }
.sw-bay .op.picked { opacity: 1; transform: translateY(-3px); }
.sw-bay .op.picked .bob { filter: drop-shadow(0 0 14px var(--c)); }
.sw-bay .op.picked .lbl { background: color-mix(in srgb, var(--c) 30%, #020617); color: #fff; }
.sw-bay .op.launched { opacity: 0.22; }
.sw-bay .op.launched .lbl { border-style: dashed; }
.sw-bay .op.skip { opacity: 0.35; }
/* A lesson written back to memory at the end of a mission */
.sw-bay .op.learned { opacity: 0; }
.sw-bay .op.learned.in { opacity: 1; animation: swPop 0.45s ease both; }
.sw-bay .op.learned .lbl { border-style: solid; border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, #020617); color: #fff; }
.sw-bay .op.learned.skip { opacity: 0.35; }
.sw-bay .op.learned.launched { opacity: 0.22; }

/* Flying layer */
.sw-sky { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.op.fly { position: absolute; left: -42px; top: -23px; will-change: transform; z-index: 2; }
.op.fly .bob { animation-duration: 1.3s; filter: drop-shadow(0 0 10px var(--c)) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.op.fly.big { --size: 58px; top: -29px; }
.op.fly.big .lbl { font-size: 0.68rem; font-weight: 700; }
.op.fly.c-cmd { --size: 62px; top: -31px; }
.op.fly.small .lbl { opacity: 0; transition: opacity 0.4s; }
.op.fly.flash .bob { animation: swRed 0.4s ease 3; }
.op.fly.work .bob { filter: drop-shadow(0 0 18px var(--c)) brightness(1.3); }
.op.fly.merge { transition: opacity 0.4s, filter 0.4s; opacity: 0; }
.sw-ring { position: absolute; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; border: 2px solid var(--c, #facc15); animation: swRing 0.9s ease-out forwards; pointer-events: none; }
.sw-beam { position: absolute; width: 2px; margin-left: -1px; background: linear-gradient(var(--c-cmd), transparent); opacity: 0.7; transform-origin: top; animation: swBeam 0.6s ease forwards; pointer-events: none; }

/* Assembly deck */
.sw-row.sw-hide { display: none; }
.sw-row.sw-reveal { animation: swReveal 0.6s ease both; }
.sw-missile { position: absolute; left: -16px; top: -4px; width: 32px; height: 8px; border-radius: 3px 8px 8px 3px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, #f97316, #fde68a 60%, #fff); box-shadow: 0 0 12px #facc15, 0 0 26px #f97316; }
.sw-missile::before { content: ""; position: absolute; right: 100%; top: 1px; width: 72px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.9)); filter: blur(1.5px); }
.sw-shard { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #fde68a; box-shadow: 0 0 8px #f97316; pointer-events: none; }
.sw-wait { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); font-style: italic; padding: 10px 2px; }
.sw-agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sw-agent { position: relative; padding: 6px; border-radius: 12px; border: 1px dashed rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.04); min-height: 150px; visibility: hidden; }
.sw-agent.show { visibility: visible; animation: swBoom 0.55s cubic-bezier(.2, .9, .3, 1.3) both; }
.sw-agent.ready { border-style: solid; border-color: rgba(52, 211, 153, 0.7); background: rgba(52, 211, 153, 0.08); }
.sw-agent .sw-slot { margin: 0 auto 4px; width: 100%; height: 80px; }
.sw-agent h5 { margin: 0; font-family: var(--display); font-size: 0.88rem; color: #fff; text-align: center; }
.sw-agent p { margin: 2px 0 6px; font-size: 0.68rem; color: var(--muted); text-align: center; line-height: 1.35; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
.sw-chip { font-size: 0.6rem; padding: 2px 6px; border-radius: 999px; border: 1px solid; animation: swPop 0.35s ease both; }
.sw-chip.c-skill { color: var(--c-skill); border-color: color-mix(in srgb, var(--c-skill) 50%, transparent); }
.sw-chip.c-tool { color: var(--c-tool); border-color: color-mix(in srgb, var(--c-tool) 50%, transparent); }
.sw-chip.c-memory { color: var(--c-memory); border-color: color-mix(in srgb, var(--c-memory) 50%, transparent); }
.sw-chip.c-role { color: var(--c-role); border-color: color-mix(in srgb, var(--c-role) 50%, transparent); }
.sw-chip.c-guard { color: var(--c-guard); border-color: color-mix(in srgb, var(--c-guard) 50%, transparent); }
.sw-chip.c-knowledge { color: var(--c-knowledge); border-color: color-mix(in srgb, var(--c-knowledge) 50%, transparent); }
.sw-slot { width: 64px; height: 56px; flex: none; border-radius: 12px; border: 1px dashed rgba(148, 163, 184, 0.25); }
.sw-deck-body { display: flex; gap: 10px; align-items: flex-start; }
.sw-list { margin: 0; padding-left: 18px; font-size: 0.78rem; color: #cbd5e1; line-height: 1.5; min-width: 0; }
.sw-list li { animation: swType 0.4s ease both; transition: color 0.3s; }
.sw-list li.now { color: #fff; font-weight: 600; }
.sw-list li.did { color: #a7f3d0; }
.sw-list li em { display: block; font-style: normal; font-size: 0.72rem; color: var(--c-planner); }
.sw-tests li.fail { color: #fecdd3; }
.sw-tests li.fail::before { content: "✗"; color: var(--c-exit); font-weight: 700; }
.sw-tests { list-style: none; padding-left: 0; }
.sw-tests li::before { content: "○"; display: inline-block; width: 18px; color: var(--c-tester); }
.sw-tests li.pass::before { content: "✓"; color: var(--c-agent); font-weight: 700; }
.sw-exit { font-size: 0.82rem; color: #fff; line-height: 1.5; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(244, 63, 94, 0.35); background: rgba(244, 63, 94, 0.07); align-self: center; }
.sw-exit:empty { display: none; }
.sw-exit small { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--muted); }
.sw-exit.met { border-color: rgba(52, 211, 153, 0.6); background: rgba(52, 211, 153, 0.1); }

/* Control tower */
.sw-gov-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 6px 4px 0; border-top: 1px dashed rgba(56, 189, 248, 0.35); font-size: 0.72rem; color: var(--muted); }
.sw-gov-tag span { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-tower); }
.sw-trow-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.sw-pad { position: relative; height: 92px; border-radius: 12px; overflow: hidden; background:
  radial-gradient(circle at center, rgba(56, 189, 248, 0.12) 0 2px, transparent 3px),
  repeating-radial-gradient(circle at center, transparent 0 18px, rgba(56, 189, 248, 0.14) 18px 19px),
  rgba(2, 6, 23, 0.7); border: 1px solid rgba(56, 189, 248, 0.2); }
.sw-row.live .sw-pad::after { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -120px 0 0 0; transform-origin: 0 100%; background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.35), transparent 30%); animation: swSweep 2s linear infinite; border-radius: 0 100% 0 0; }
.sw-feed { font-family: var(--mono); font-size: 0.7rem; line-height: 1.55; color: #cbd5e1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 92px; overflow: hidden; }
.sw-feed .ln { animation: swType 0.35s ease both; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-feed .ln b { color: #fff; font-weight: 600; }
.sw-feed .ln .k { color: var(--c-tower); }
.sw-feed .ln.ok { color: #a7f3d0; }
.sw-feed .ln.bad { color: #fecdd3; }
.sw-feed .ln.bad .k { color: var(--c-exit); }
.sw-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sw-metric { padding: 6px 8px; border-radius: 8px; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--line); }
.sw-metric span { display: block; font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font); }
.sw-metric strong { font-family: var(--mono); font-size: 0.95rem; color: #fff; }
.sw-spark { width: 100%; height: 26px; margin-top: 4px; }
.sw-spark polyline { fill: none; stroke: var(--c-tower); stroke-width: 1.6; }
.sw-hitl { font-family: var(--font); font-size: 0.78rem; color: #fff; line-height: 1.45; }
.sw-hitl-actions { display: flex; gap: 6px; align-items: center; margin-top: 6px; pointer-events: auto; flex-wrap: wrap; }
.sw-hitl-actions button { font: inherit; font-size: 0.74rem; font-weight: 700; border-radius: 8px; padding: 5px 12px; cursor: pointer; border: 1px solid; }
.sw-hitl-actions .yes { background: var(--c-agent); color: #052e16; border-color: var(--c-agent); }
.sw-hitl-actions .no { background: transparent; color: #fecdd3; border-color: rgba(244, 63, 94, 0.6); }
.sw-hitl-actions small { color: var(--muted); font-size: 0.68rem; }
.sw-countdown { height: 3px; border-radius: 3px; background: rgba(148, 163, 184, 0.2); margin-top: 6px; overflow: hidden; }
.sw-countdown span { display: block; height: 100%; background: var(--c-cmd); width: 100%; transform-origin: left; }

/* Results */
.sw-results { position: relative; margin-top: 14px; border-radius: 18px; padding: 16px 18px; min-height: 120px; background: var(--panel); border: 1px solid var(--line); transition: border-color 0.5s, box-shadow 0.5s; }
.sw-results-empty { display: flex; gap: 12px; align-items: center; }
.sw-results-empty h3 { margin: 0; font-family: var(--display); color: #fff; font-size: 1.05rem; }
.sw-results-empty p { margin: 2px 0 0; color: var(--muted); font-size: 0.8rem; }
.sw-results.landed { border-color: rgba(52, 211, 153, 0.6); box-shadow: 0 0 60px rgba(52, 211, 153, 0.15); }
.sw-res-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.sw-res-badge { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; color: #052e16; background: var(--c-agent); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.sw-res-head { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fff; margin: 8px 0 14px; line-height: 1.2; }
.sw-res-note { margin: -8px 0 10px; font-size: 0.78rem; color: var(--muted); }
.sw-res-learn p { margin: 0 0 6px; font-size: 0.84rem; line-height: 1.55; color: #e2e8f0; }
.sw-res-learn b { color: var(--c-memory); }
.sw-landing { height: 64px; position: relative; }
.sw-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.sw-kpi { padding: 14px; border-radius: 14px; background: linear-gradient(160deg, rgba(52, 211, 153, 0.12), rgba(56, 189, 248, 0.05)); border: 1px solid rgba(52, 211, 153, 0.3); animation: swPop 0.45s ease both; }
.sw-kpi strong { display: block; font-family: var(--display); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.sw-kpi span { font-size: 0.78rem; color: #a7f3d0; }
.sw-res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.sw-res-box { padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); animation: swPop 0.45s ease both; }
.sw-res-box h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sw-res-box ul { margin: 0; padding-left: 18px; font-size: 0.84rem; line-height: 1.6; color: #e2e8f0; }
.sw-res-box ul.chk { list-style: none; padding-left: 0; }
.sw-res-box ul.chk li::before { content: "✓ "; color: var(--c-agent); font-weight: 700; }
.sw-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sw-stats div { font-size: 0.72rem; color: var(--muted); }
.sw-stats b { display: block; font-family: var(--mono); font-size: 1rem; color: #fff; }

/* Pitch */
.sw-pitch { margin: 56px 0 10px; }
.sw-pitch h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem); color: #fff; margin: 10px 0 20px; }
.sw-pitch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.sw-pitch-grid article { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.sw-pitch-grid b { font-family: var(--mono); color: var(--c-cmd); font-size: 0.8rem; }
.sw-pitch-grid h4 { margin: 8px 0 6px; font-family: var(--display); font-size: 1.1rem; color: #fff; }
.sw-pitch-grid p { margin: 0; color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }
.sw-explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.sw-explain > div { padding: 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.sw-explain h3 { margin: 0 0 10px; font-family: var(--display); font-size: 1.1rem; color: #fff; }
.sw-explain p { margin: 0 0 10px; color: #cbd5e1; font-size: 0.9rem; line-height: 1.6; }
.sw-explain dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.88rem; line-height: 1.5; }
.sw-explain dt { font-family: var(--display); font-weight: 600; }
.sw-explain dt.c-skill { color: var(--c-skill); } .sw-explain dt.c-tool { color: var(--c-tool); } .sw-explain dt.c-knowledge { color: var(--c-knowledge); } .sw-explain dt.c-memory { color: var(--c-memory); }
.sw-explain dd { margin: 0; color: #cbd5e1; }
.sw-pitch-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }

@keyframes swReveal { from { opacity: 0; transform: translateY(-10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes swBoom { 0% { opacity: 0; transform: scale(0.3); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.8); } 60% { opacity: 1; transform: scale(1.06); box-shadow: 0 0 30px 6px rgba(250, 204, 21, 0.35); } 100% { transform: none; box-shadow: 0 0 0 0 transparent; } }
@keyframes swBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes swScan { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@keyframes swRing { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes swBeam { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes swPop { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes swType { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes swSweep { to { transform: rotate(360deg); } }
@keyframes swRed { 50% { filter: drop-shadow(0 0 16px #f43f5e) brightness(1.4); } }
@keyframes swFlash { from { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.5); } to { box-shadow: 0 0 0 14px rgba(250, 204, 21, 0); } }

@media (max-width: 1180px) { .sw-cols { grid-template-columns: 1fr 1fr; } .sw-tower { grid-column: 1 / -1; } }
@media (max-width: 900px) { .sw-brief-grid { grid-template-columns: 1fr; } .sw-stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sw-stepper span { display: none; } }
@media (max-width: 420px) { .sw-agents { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); } }
@media (max-width: 720px) {
  .sw-main { padding: 0 16px 32px; } .sw-top { padding: 10px 16px; } .sw-nav a:not(.sw-nav-cta) { display: none; }
  .sw-cols { grid-template-columns: 1fr; } .sw-trow-body { grid-template-columns: 120px minmax(0, 1fr); } .sw-stage { padding: 10px; }
  .sw-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .op .bob, .sw-row.scan::after, .sw-row.live .sw-pad::after { animation: none !important; } }

/* Agentic Development hub */
.hub-path { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 10px 0 40px; }
.hub-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; text-decoration: none; color: inherit; background: var(--panel); border: 1px solid var(--line); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.hub-card:hover { transform: translateY(-4px); border-color: rgba(250, 204, 21, 0.5); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4); }
.hub-card > b { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-cmd); }
.hub-card h2 { margin: 0; font-family: var(--display); font-size: 1.5rem; color: #fff; }
.hub-card p { margin: 0; color: #cbd5e1; font-size: 0.92rem; line-height: 1.6; flex: 1; }
.hub-go { margin-top: 8px; font-family: var(--display); font-weight: 600; color: var(--c-agent); }
.hub-icons { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 120px; margin-bottom: 6px; border-radius: 14px;
  background: radial-gradient(circle at 50% 70%, rgba(52, 211, 153, 0.14), transparent 60%), var(--panel-2); border: 1px solid var(--line); padding-bottom: 10px; }
.hub-icons .op { width: auto; --size: 56px; }
.hub-icons .op.lead { --size: 84px; }
