:root {
  --blue: #246bfd;
  --blue-hover: #1554d8;
  --blue-soft: #e9f0ff;
  --blue-pale: #f3f6ff;
  --green: #16a36a;
  --green-bright: #11875a;
  --green-soft: #e7f7f0;
  --red: #d93025;
  --red-soft: #fce8e6;
  --yellow: #f9ab00;
  --yellow-soft: #fef7e0;
  --ink: #10233f;
  --muted: #526178;
  --quiet: #758196;
  --line: #d9e0ea;
  --line-soft: #e8edf3;
  --surface: #ffffff;
  --surface-alt: #f6f8fc;
  --canvas: #ffffff;
  --shadow: 0 1px 2px rgba(60, 64, 67, .1), 0 2px 10px rgba(60, 64, 67, .08);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Roboto, Arial, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body, button, a { font-size: 16px; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
p { color: var(--muted); line-height: 1.65; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Arial, system-ui, sans-serif; }
h1 { margin-bottom: 28px; font-size: clamp(3.5rem, 7vw, 6.4rem); font-weight: 500; line-height: .98; letter-spacing: -.06em; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.5vw, 4.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.045em; }
h3 { font-size: 1.18rem; font-weight: 600; line-height: 1.3; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(11, 87, 208, .28); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: -60px; left: 18px; padding: 12px 16px; color: #fff; border-radius: 8px; background: var(--blue); }
.skip-link:focus { top: 18px; }

.event-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 20px;
  color: #3c4043;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-alt);
  font-size: .74rem;
  letter-spacing: .01em;
}
.event-bar strong { color: #174ea6; font-weight: 600; }
.event-bar strong button { padding: 0; cursor: pointer; color: inherit; border: 0; background: transparent; font-size: inherit; font-weight: inherit; }
.event-bar strong button:hover { text-decoration: underline; }
.event-separator { width: 1px; height: 14px; background: var(--line); }
.google-dots { display: inline-flex; align-items: center; gap: 3px; }
.google-dots i { width: 6px; height: 6px; border-radius: 50%; background: #4285f4; }
.google-dots i:nth-child(2) { background: #ea4335; }
.google-dots i:nth-child(3) { background: #fbbc04; }
.google-dots i:nth-child(4) { background: #34a853; }
.google-dots.small i { width: 5px; height: 5px; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  max-width: var(--max);
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 0 28px;
  border-bottom: 1px solid transparent;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 1px 5px rgba(60,64,67,.09); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-name { color: var(--ink); font-size: 1.35rem; font-weight: 650; letter-spacing: -.035em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-block;
  flex: none;
  object-fit: contain;
}
.site-header .brand { gap: 13px; }
.site-header .brand-name { font-size: 1.52rem; letter-spacing: -.04em; }
.site-header .brand-mark { width: 48px; height: 48px; }
.brand-version { margin-left: -5px; padding: 4px 7px; color: #174ea6; border: 1px solid #c8d8f5; border-radius: 999px; background: var(--blue-pale); font-size: .6rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.brand-mark.mini { width: 28px; height: 28px; }
.brand-mark.large { width: 66px; height: 66px; margin-bottom: 24px; }
.brand-lockup { width: 156px; height: 156px; display: block; margin: 0 auto 18px; object-fit: contain; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-links a, .text-button { padding: 11px 14px; color: var(--muted); border-radius: 999px; font-size: .88rem; font-weight: 500; }
.nav-links a:hover, .text-button:hover { color: var(--blue); background: var(--blue-pale); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .005em;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 1px 2px rgba(11,87,208,.22); }
.button-primary:hover { background: var(--blue-hover); box-shadow: 0 2px 7px rgba(11,87,208,.24); }
.button-outline { color: var(--blue); border-color: #747775; background: #fff; }
.button-outline:hover { border-color: var(--blue); background: var(--blue-pale); }
.button-quiet { color: #315b91; border-color: transparent; background: transparent; }
.button-quiet:hover { color: var(--blue); border-color: #c8d3e1; background: var(--blue-pale); }
.button-small { min-height: 40px; padding: 0 20px; font-size: .87rem; }
.full-width { width: 100%; }

.hero { max-width: 1360px; margin: 0 auto; padding: 96px 32px 88px; }
.hero-grid { display: grid; grid-template-areas: "copy visual" "conversion visual"; grid-template-columns: minmax(0, .9fr) minmax(560px, 1.1fr); grid-template-rows: auto auto; align-items: center; column-gap: 64px; }
.hero-copy { grid-area: copy; align-self: end; max-width: 720px; }
.hero-conversion { grid-area: conversion; align-self: start; }
.hero h1 { font-size: clamp(3.5rem, 5.7vw, 5.7rem); }
.eyebrow { margin-bottom: 18px; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-lede { max-width: 700px; margin: 0 0 32px; font-size: clamp(1.06rem, 1.7vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
.hero-note { margin: 18px 0 0; color: var(--quiet); font-size: .84rem; }
.hero-note span { margin-right: 5px; color: var(--green); font-weight: 700; }
.email-visual { position: relative; grid-area: visual; overflow: hidden; min-height: 620px; padding: 20px; border: 1px solid #d6deea; border-radius: 32px; background: linear-gradient(145deg,#f4f7fb,#fff 58%); box-shadow: 0 30px 80px rgba(16,35,63,.16); }
.email-visual::before { position: absolute; top: -135px; right: -110px; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle,rgba(66,133,244,.16),rgba(66,133,244,0) 68%); content: ""; }
.teammate-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 2px 15px; }
.teammate-header > div { display: flex; align-items: center; gap: 10px; }
.teammate-header img { width: 38px; height: 38px; padding: 3px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); object-fit: contain; }
.teammate-header b, .teammate-header small { display: block; }
.teammate-header b { color: var(--ink); font-size: .78rem; }
.teammate-header small { margin-top: 2px; color: var(--quiet); font-size: .58rem; }
.teammate-live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; color: var(--green-bright); border: 1px solid #bce2d0; border-radius: 999px; background: #eff9f4; font-size: .57rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.teammate-live i { width: 7px; height: 7px; border-radius: 50%; background: #26a66b; box-shadow: 0 0 0 4px rgba(38,166,107,.1); }
.email-message { position: relative; z-index: 2; padding: 17px 18px; border: 1px solid #dfe5ed; border-radius: 18px; background: #fff; box-shadow: 0 7px 22px rgba(16,35,63,.055); }
.email-meta { display: flex; align-items: center; gap: 10px; }
.email-avatar { width: 32px; height: 32px; display: grid; flex: none; place-items: center; color: #fff; border-radius: 10px; background: #ea4335; font-size: .65rem; font-weight: 800; }
.rally-avatar { padding: 3px; background: #fff; box-shadow: inset 0 0 0 1px #e3e8ef; }
.rally-avatar img { width: 100%; height: 100%; object-fit: contain; }
.email-meta b, .email-meta small { display: block; }
.email-meta b { color: #253952; font-size: .7rem; }
.email-meta small { margin-top: 2px; color: #8793a4; font-size: .52rem; }
.email-meta > strong { margin-left: auto; padding: 5px 7px; color: var(--green-bright); border-radius: 999px; background: var(--green-soft); font-size: .49rem; text-transform: uppercase; letter-spacing: .05em; }
.email-subject { margin: 13px 0 7px; color: var(--ink); font-size: .78rem; font-weight: 750; line-height: 1.35; }
.email-message > p:not(.email-subject) { margin: 0; color: #596a80; font-size: .65rem; line-height: 1.48; }
.email-context { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.email-context span { padding: 5px 7px; color: #526986; border: 1px solid #dce3ec; border-radius: 999px; background: #f8fafc; font-size: .5rem; font-weight: 700; }
.teammate-work { position: relative; z-index: 2; margin: 10px 9px; padding: 12px 13px; border: 1px solid #cad9f4; border-radius: 15px; background: #eef4ff; }
.work-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.work-label span { color: #5e7190; font-size: .5rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.work-label b { color: #174ea6; font-size: .57rem; }
.teammate-work ol { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin: 0; padding: 0; list-style: none; }
.teammate-work li { position: relative; min-height: 41px; display: flex; align-items: center; gap: 6px; padding: 7px; border: 1px solid #d6e1f5; border-radius: 10px; background: rgba(255,255,255,.8); }
.teammate-work li:not(:last-child)::after { position: absolute; z-index: 3; top: 50%; right: -7px; color: #7a99cf; content: "›"; transform: translateY(-52%); }
.teammate-work li span { width: 20px; height: 20px; display: grid; flex: none; place-items: center; color: #fff; border-radius: 7px; background: var(--blue); font-size: .48rem; font-weight: 800; }
.teammate-work li b { color: #415775; font-size: .52rem; }
.teammate-work li.is-verified { border-color: #b8ddca; background: #f1faf5; }
.teammate-work li.is-verified span { background: var(--green); }
.email-response { border-color: #b8ddca; background: linear-gradient(150deg,#f8fcfa,#fff 52%); }
.email-deliverable { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; margin-top: 11px; padding: 10px; border: 1px solid #dce5df; border-radius: 12px; background: #fff; }
.email-deliverable > span { width: 32px; height: 32px; display: grid; place-items: center; color: #fff; border-radius: 9px; background: var(--blue); font-size: .7rem; }
.email-deliverable b, .email-deliverable small { display: block; }
.email-deliverable b { color: #30465f; font-size: .62rem; }
.email-deliverable small { margin-top: 3px; color: var(--quiet); font-size: .5rem; }
.email-receipt { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.email-receipt span { padding: 5px 7px; color: #36705a; border-radius: 999px; background: #e9f6ef; font-size: .48rem; font-weight: 700; }
.email-visual > footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 3px 0; color: #738197; font-size: .55rem; }
.email-visual > footer b { color: var(--blue); }
.mission-visual { position: relative; grid-area: visual; overflow: hidden; min-height: 580px; padding: 22px; color: #fff; border: 1px solid #263e60; border-radius: 32px; background: radial-gradient(circle at 50% 42%, rgba(36,107,253,.18), transparent 34%), linear-gradient(145deg, #0d1d34, #102846 72%, #0d213c); box-shadow: 0 32px 80px rgba(16,35,63,.25); }
.mission-visual::before { position: absolute; top: -120px; right: -110px; width: 310px; height: 310px; border: 1px solid rgba(120,168,255,.12); border-radius: 50%; content: ""; box-shadow: 0 0 0 46px rgba(120,168,255,.025), 0 0 0 92px rgba(120,168,255,.018); }
.mission-topbar { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 16px; color: #8fa2bc; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; }
.mission-topbar span { display: inline-flex; align-items: center; gap: 8px; color: #b8f1d8; font-weight: 750; }
.mission-topbar span i { width: 7px; height: 7px; border-radius: 50%; background: #50dc9b; box-shadow: 0 0 0 5px rgba(80,220,155,.1); animation: mission-live 2.4s ease-in-out infinite; }
.mission-topbar b { font-size: .6rem; font-weight: 650; }
.mission-topbar .relay-label { color: #a7b9d1; letter-spacing: .055em; }
.mission-topbar .relay-label i { display: inline; width: auto; height: auto; margin: 0 2px; color: #6fa5ff; border-radius: 0; background: none; box-shadow: none; font-style: normal; animation: none; }
.mission-goal { position: relative; z-index: 4; min-height: 54px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; padding: 10px 14px; border: 1px solid rgba(142,177,232,.22); border-radius: 14px; background: rgba(255,255,255,.065); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.mission-step-label { display: inline-flex; align-items: center; gap: 8px; color: #94a8c4; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .075em; }
.mission-step-label b { width: 20px; height: 20px; display: grid; place-items: center; color: #fff; border-radius: 7px; background: var(--blue); font-size: .6rem; }
.mission-goal p { margin: 0; color: #fff; font-size: .8rem; font-weight: 620; line-height: 1.3; letter-spacing: -.01em; }
.mission-goal > small { display: none; }
.mission-network { position: relative; z-index: 2; height: 350px; margin: 4px 0 2px; }
.mission-network::before { position: absolute; top: 148px; left: 50%; width: 276px; height: 276px; border: 1px solid rgba(132,169,226,.08); border-radius: 50%; content: ""; transform: translate(-50%, -50%); }
.access-ring { position: absolute; z-index: 3; top: 148px; left: 50%; width: 218px; height: 218px; border: 1px solid rgba(120,168,255,.24); border-radius: 50%; box-shadow: inset 0 0 32px rgba(36,107,253,.035), 0 0 0 7px rgba(36,107,253,.025); transform: translate(-50%, -50%); }
.access-ring::before { position: absolute; inset: -2px; border: 2px solid transparent; border-top-color: rgba(110,160,255,.52); border-right-color: rgba(80,220,155,.2); border-radius: inherit; content: ""; animation: mission-access-boundary 14s ease-in-out infinite; }
.access-ring-label { position: absolute; z-index: 2; top: 25px; left: 50%; display: grid; gap: 1px; padding: 3px 7px; border-radius: 7px; background: rgba(13,29,52,.88); text-align: center; transform: translateX(-50%); white-space: nowrap; }
.access-ring-label b { color: #a9c6ef; font-size: .42rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.access-ring-label small { color: #637c9d; font-size: .34rem; }
.orbit-asset { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px 4px 4px; color: #b8c8dc; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(15,39,69,.97); box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: .4rem; font-weight: 650; white-space: nowrap; animation: mission-system-use 14s ease-in-out infinite; }
.orbit-asset i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #fff; }
.orbit-asset img { width: 14px; height: 14px; display: block; object-fit: contain; }
.workspace-orbit { top: -15px; left: 50%; transform: translateX(-50%); animation-delay: 5.1s; }
.bigquery-orbit { top: 50%; right: -29px; transform: translateY(-50%); animation-delay: 5.9s; }
.slack-orbit { top: 50%; left: -23px; transform: translateY(-50%); animation-delay: 6.7s; }
.rally-core { position: absolute; z-index: 5; top: 148px; left: 50%; width: 118px; height: 118px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(120,168,255,.42); border-radius: 50%; background: #10233f; box-shadow: 0 0 0 9px rgba(36,107,253,.08), 0 18px 38px rgba(0,0,0,.24); transform: translate(-50%, -50%); animation: mission-core-evidence 14s ease-in-out infinite; }
.core-orbit { position: absolute; inset: -14px; border: 2px solid rgba(120,168,255,.14); border-top-color: #78a8ff; border-right-color: rgba(80,220,155,.65); border-radius: 50%; animation: mission-control-rotate 12s linear infinite, mission-control-pulse 14s ease-in-out infinite; }
.governance-marker { position: absolute; z-index: 2; inset: -15px; pointer-events: none; animation: mission-governance-marker 12s linear infinite; }
.governance-marker::before { position: absolute; top: -5px; left: 50%; width: 15px; height: 17px; display: grid; place-items: center; color: #fff; clip-path: polygon(50% 0, 91% 18%, 82% 70%, 50% 100%, 18% 70%, 9% 18%); background: linear-gradient(145deg, #78a8ff, #35c98a); box-shadow: 0 0 12px rgba(80,220,155,.4); content: "✓"; font-size: 7px; font-weight: 850; line-height: 1; transform: translateX(-50%); animation: mission-governance-symbol 12s linear infinite; }
.rally-core img { width: 43px; height: 43px; margin-bottom: 3px; padding: 2px; border-radius: 13px; background: #fff; object-fit: contain; }
.rally-core strong, .rally-core small { display: block; }
.rally-core strong { font-size: .78rem; letter-spacing: -.01em; }
.rally-core small { color: #8ea2bf; font-size: .48rem; }
.core-state { position: relative; width: 100%; height: 10px; display: block; margin-top: 2px; }
.core-state small { position: absolute; inset: 0; color: #8ea2bf; font-size: .44rem; line-height: 10px; text-align: center; opacity: 0; white-space: nowrap; }
.core-state-default { animation: mission-core-state-default 14s linear infinite; }
.core-state-accepted { color: #8ee2ba !important; animation: mission-core-state-accepted 14s linear infinite; }
.core-state-routing { color: #9fc0f5 !important; animation: mission-core-state-routing 14s linear infinite; }
.model-node { position: absolute; z-index: 6; min-width: 150px; display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 9px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(20,42,72,.96); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.model-node::after { position: absolute; inset: -1px; pointer-events: none; border: 1px solid transparent; border-radius: inherit; content: ""; animation: mission-node 14s ease-in-out infinite; }
.model-node .model-avatar { width: 35px; height: 35px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 11px; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.18), inset 0 0 0 1px rgba(10,35,67,.04); }
.model-node .model-avatar img { width: 22px; height: 22px; display: block; object-fit: contain; }
.model-node p, .model-node strong, .model-node small { display: block; margin: 0; }
.model-node small { margin-bottom: 2px; color: #879bb7; font-size: .5rem; }
.model-node strong { color: #fff; font-size: .7rem; }
.node-state { position: absolute; top: -8px; right: 9px; padding: 4px 6px; color: #aef0d2; border: 1px solid rgba(80,220,155,.16); border-radius: 999px; background: #153b37; font-size: .43rem; font-style: normal; font-weight: 750; text-transform: uppercase; letter-spacing: .055em; opacity: .35; animation: mission-state 14s ease-in-out infinite; }
.gemini-node { top: 22px; left: 3px; }
.gemini-node .model-avatar img { width: 25px; height: 25px; }
.gemini-node::after, .gemini-node .node-state { animation-delay: .4s; }
.claude-node { top: 22px; right: 3px; }
.claude-node .model-avatar { background: #f7f3ee; }
.claude-node .model-avatar img { width: 23px; height: 23px; }
.claude-node::after, .claude-node .node-state { animation-delay: 4s; }
.openai-node { right: 50%; bottom: 0; transform: translateX(50%); }
.openai-node .model-avatar img { width: 25px; height: 25px; }
.openai-node::after, .openai-node .node-state { animation-delay: 7.6s; }
.network-line { position: absolute; z-index: 1; top: 148px; left: 50%; width: 145px; height: 1px; overflow: visible; background: linear-gradient(90deg, rgba(120,168,255,.5), rgba(120,168,255,.07)); transform-origin: left center; }
.network-line::after { position: absolute; top: -4px; left: 105px; width: 7px; height: 7px; border: 1px solid rgba(120,168,255,.46); border-radius: 50%; background: #102846; box-shadow: 0 0 0 3px rgba(36,107,253,.04); content: ""; animation: mission-policy-gate 14s ease-in-out infinite; }
.network-line i, .line-gemini::before, .line-claude::before, .line-openai::before { position: absolute; top: -4px; left: 0; width: 9px; height: 9px; opacity: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: #8eb8ff; box-shadow: 0 0 0 5px rgba(120,168,255,.12), 0 0 18px rgba(120,168,255,.72); animation: mission-packet 14s ease-in-out infinite; }
.line-gemini { transform: rotate(215deg); }
.line-gemini i, .line-gemini::after { animation-delay: 0s; }
.line-gemini::before { background: #50dc9b; box-shadow: 0 0 0 5px rgba(80,220,155,.12), 0 0 18px rgba(80,220,155,.72); content: ""; animation-name: mission-return-packet; animation-delay: 2.3s; }
.line-claude { transform: rotate(-35deg); }
.line-claude i, .line-claude::after { animation-delay: 3.6s; }
.line-claude::before { background: #50dc9b; box-shadow: 0 0 0 5px rgba(80,220,155,.12), 0 0 18px rgba(80,220,155,.72); content: ""; animation-name: mission-return-packet; animation-delay: 5.9s; }
.line-openai { width: 170px; transform: rotate(90deg); }
.line-openai i, .line-openai::after { animation-delay: 7.2s; }
.line-openai::before { background: #50dc9b; box-shadow: 0 0 0 5px rgba(80,220,155,.12), 0 0 18px rgba(80,220,155,.72); content: ""; animation-name: mission-return-packet; animation-delay: 9.5s; }
.mission-outcome { position: relative; z-index: 5; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 14px 15px; border: 1px solid rgba(80,220,155,.26); border-radius: 17px; background: linear-gradient(90deg, rgba(22,163,106,.17), rgba(22,163,106,.07)); box-shadow: 0 12px 30px rgba(0,0,0,.13); animation: mission-result 14s ease-in-out infinite; }
.outcome-check { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(80,220,155,.08); font-size: .9rem; font-weight: 800; }
.mission-outcome small, .mission-outcome strong, .mission-outcome p { display: block; margin: 0; }
.mission-outcome small { margin-bottom: 2px; color: #92cdb5; font-size: .5rem; text-transform: uppercase; letter-spacing: .065em; }
.mission-outcome strong { color: #fff; font-size: .74rem; }
.mission-outcome p { margin-top: 3px; color: #8fae9f; font-size: .5rem; line-height: 1.3; }
.outcome-status { padding: 5px 8px; color: #b8f1d8; border-radius: 999px; background: rgba(22,163,106,.2); font-size: .48rem; text-transform: uppercase; letter-spacing: .055em; }
.mission-rule { position: relative; z-index: 5; margin: 12px 2px 0; color: #778ca8; font-size: .54rem; line-height: 1.35; text-align: center; }
.mission-rule span { margin-right: 6px; color: #a9bdd6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-proof { max-width: none; display: grid; grid-template-columns: repeat(4, 1fr); margin: 68px auto 0; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.hero-proof div { min-height: 118px; padding: 24px; border-right: 1px solid var(--line-soft); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { display: block; color: var(--blue); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }
.hero-proof span { display: block; margin-top: 8px; color: var(--muted); font-size: .76rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .055em; }

.story-section { max-width: 1320px; margin: 0 auto; padding: 118px 32px 130px; }
.story-heading { max-width: 1240px; margin-bottom: 58px; }
.story-heading h2 { max-width: none; white-space: nowrap; }
.story-heading h2 span { color: var(--blue); }
.story-heading > p:not(.eyebrow) { max-width: 790px; font-size: 1.12rem; }
.story-heading > p:last-child { margin-bottom: 0; }
.story-flow { display: grid; grid-template-columns: 1fr 46px 1fr 46px 1fr; align-items: stretch; }
.story-flow article { min-height: 296px; display: flex; flex-direction: column; padding: 28px 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 10px 32px rgba(60,64,67,.06); }
.story-flow .rally-step { border-color: #b8cdfb; background: var(--blue-pale); }
.story-flow .verified-step { border-color: #bce5d2; background: #f2fbf7; }
.story-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.story-kicker .label { color: #174ea6; font-size: .76rem; font-weight: 750; letter-spacing: .065em; }
.verified-step .story-kicker .label { color: #137333; }
.story-step { width: 31px; height: 31px; display: grid; flex: none; place-items: center; color: var(--blue); border-radius: 10px; background: var(--blue-soft); font-size: .65rem; font-weight: 750; }
.verified-step .story-step { color: var(--green-bright); background: var(--green-soft); }
.story-flow h3 { max-width: 310px; margin: 0 0 18px; font-size: 1.35rem; line-height: 1.35; }
.story-flow small { display: block; margin-top: 8px; color: var(--quiet); font-size: .78rem; line-height: 1.5; }
.story-arrow { display: grid; place-items: center; color: #aab3c0; font-size: 1.35rem; }
.story-thesis { max-width: 820px; margin: 42px auto 0; padding: 18px 22px; border-radius: 999px; background: #f6f8fc; text-align: center; }
.story-thesis b { color: var(--ink); font-size: .92rem; }
.a2a-proof { max-width: 1120px; display: grid; grid-template-columns: 160px minmax(0, 1fr) 278px; align-items: center; gap: 28px; margin: 32px auto 0; padding: 24px 26px; border: 1px solid #d4e2fb; border-radius: 24px; background: linear-gradient(135deg, #f8faff 0%, #fff 62%); box-shadow: 0 8px 28px rgba(40,116,215,.07); }
.a2a-brand { display: flex; align-items: center; gap: 13px; }
.a2a-brand img { width: 52px; height: 52px; flex: none; }
.a2a-brand span, .a2a-brand small, .a2a-brand b { display: block; }
.a2a-brand small { margin-bottom: 4px; color: var(--quiet); font-size: .58rem; font-weight: 700; letter-spacing: .075em; line-height: 1.25; text-transform: uppercase; }
.a2a-brand b { color: #2874d7; font-size: 1rem; line-height: 1.15; }
.a2a-brand:hover b { color: var(--blue-hover); }
.a2a-copy { min-width: 0; }
.a2a-copy h3 { margin: 0 0 7px; font-size: 1.12rem; }
.a2a-copy p { margin: 0 0 9px; font-size: .8rem; line-height: 1.52; }
.a2a-copy p a, .a2a-source { color: #1967d2; font-weight: 650; text-decoration: underline; text-decoration-color: #aecbfa; text-underline-offset: 3px; }
.a2a-source { font-size: .7rem; text-decoration: none; }
.a2a-source:hover, .a2a-copy p a:hover { color: var(--blue-hover); text-decoration-color: currentColor; }
.a2a-timeline { display: grid; gap: 12px; margin: 0; padding: 0 0 0 22px; border-left: 1px solid var(--line); list-style: none; }
.a2a-timeline li { display: grid; grid-template-columns: 82px 1fr; align-items: baseline; gap: 8px; }
.a2a-timeline time { color: #2874d7; font-size: .64rem; font-weight: 750; text-transform: uppercase; }
.a2a-timeline span { color: var(--muted); font-size: .67rem; line-height: 1.35; }

.workspace-section { padding: 90px max(24px, calc((100vw - var(--max)) / 2)); background: var(--surface-alt); }
.workspace-heading { max-width: var(--max); display: grid; grid-template-columns: 1fr 440px; align-items: end; gap: 56px; margin: 0 auto 36px; }
.workspace-heading h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); }
.workspace-heading > p { margin: 0; font-size: 1.05rem; }
.app-window { max-width: var(--max); height: 760px; margin: 0 auto; overflow: hidden; border: 1px solid #c7cacf; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(60,64,67,.16); }
.app-topbar { height: 72px; display: grid; grid-template-columns: 44px 138px minmax(260px, 650px) 1fr; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--line-soft); }
.app-brand { display: flex; align-items: center; gap: 9px; color: #3c4043; font-size: 1.08rem; }
.app-brand b { font-weight: 500; }
.icon-button { width: 40px; height: 40px; display: inline-grid; flex: none; place-items: center; cursor: pointer; color: var(--muted); border: 0; border-radius: 50%; background: transparent; }
.icon-button:hover { background: #f1f3f4; }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.search-box { height: 48px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; padding: 0 15px; color: #6f7478; border-radius: 12px; background: #f1f3f4; font-size: .9rem; }
.search-box svg { width: 21px; height: 21px; fill: none; stroke: #5f6368; stroke-width: 1.8; }
.search-box input { min-width: 0; padding: 0; color: #3c4043; border: 0; outline: 0; background: transparent; font: inherit; }
.search-box input::placeholder { color: #6f7478; opacity: 1; }
.search-box:focus-within { background: #fff; box-shadow: inset 0 0 0 2px #d2e3fc, 0 1px 4px rgba(60,64,67,.14); }
.search-box kbd { padding: 4px 7px; color: var(--quiet); border: 1px solid var(--line); border-radius: 5px; background: #fff; font: .7rem Arial, sans-serif; }
.app-actions { display: flex; align-items: center; justify-content: flex-end; gap: 3px; }
.app-actions .icon-button:first-child { font-weight: 600; }
.app-avatar { width: 34px; height: 34px; display: inline-grid; margin-left: 6px; place-items: center; color: #fff; border-radius: 50%; background: #315b91; font-size: .82rem; font-weight: 700; }
.console-live { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: #6f7478; border-radius: 999px; background: #f1f3f4; font-size: .62rem; font-weight: 600; white-space: nowrap; }
.console-live i { width: 7px; height: 7px; border-radius: 50%; background: #9aa0a6; }
.console-live.is-live { color: #137333; background: var(--green-soft); }
.console-live.is-live i { background: var(--green); box-shadow: 0 0 0 3px rgba(52,168,83,.13); }
.console-live.is-error { color: #b3261e; background: var(--red-soft); }
.console-live.is-error i { background: var(--red); }
.app-body { height: calc(100% - 72px); display: grid; grid-template-columns: 88px 270px minmax(480px, 1fr) 280px; }

.app-rail { padding: 18px 8px; border-right: 1px solid var(--line-soft); background: var(--surface-alt); }
.compose-button { width: 68px; min-height: 58px; display: grid; place-items: center; gap: 2px; margin: 0 auto 22px; padding: 8px; cursor: pointer; color: var(--blue); border: 0; border-radius: 18px; background: var(--blue-soft); box-shadow: 0 1px 2px rgba(60,64,67,.12); font-size: .68rem; font-weight: 600; }
.compose-button:hover { background: #dbe7fb; }
.compose-button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }
.app-rail nav { display: grid; gap: 4px; }
.app-rail nav a, .app-rail nav button { width: 100%; min-height: 55px; display: grid; place-items: center; gap: 2px; padding: 6px 2px; cursor: pointer; color: var(--muted); border: 0; border-radius: 14px; background: transparent; font-size: .65rem; }
.app-rail nav a:hover, .app-rail nav a.active, .app-rail nav button:hover { color: var(--blue); background: var(--blue-soft); }
.rail-icon { font-size: 1.12rem; line-height: 1; }

.run-list { min-width: 0; overflow: hidden; border-right: 1px solid var(--line-soft); background: #fff; }
.pane-heading { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px 0 22px; border-bottom: 1px solid var(--line-soft); }
.pane-heading h3 { margin: 0 0 3px; font-size: 1.18rem; font-weight: 500; }
.pane-heading span { color: var(--quiet); font-size: .7rem; }
.source-badge { width: max-content; padding: 4px 7px; color: #5f6368 !important; border-radius: 999px; background: #f1f3f4; font-size: .56rem !important; font-weight: 700; letter-spacing: .04em; }
.source-badge.live { color: #137333 !important; background: var(--green-soft); }
.run-results { height: calc(100% - 76px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c6cacf transparent; }
.run-row { width: 100%; min-height: 132px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 18px 16px; cursor: pointer; color: inherit; border: 0; border-bottom: 1px solid var(--line-soft); background: #fff; font: inherit; text-align: left; }
.run-row:hover { background: #f8fafd; }
.run-row:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--blue); outline-offset: -2px; }
.run-row.selected { background: var(--blue-pale); box-shadow: inset 3px 0 var(--blue); }
.run-avatar, .message-avatar { display: inline-grid; place-items: center; color: #fff; border-radius: 50%; font-size: .78rem; font-weight: 700; }
.run-avatar { width: 36px; height: 36px; }
.human { background: #315b91; }
.gemini, .coordinator { background: #4285f4; }
.claude { background: #d96c5f; }
.openai { background: #202124; }
.recovery { color: #5f4500; background: #f9ab00; }
.run-copy { min-width: 0; }
.run-copy > span:first-child { display: flex; justify-content: space-between; gap: 6px; }
.run-copy b { overflow: hidden; color: #3c4043; font-size: .84rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.run-copy time { flex: none; color: var(--quiet); font-size: .65rem; }
.run-copy p { display: -webkit-box; overflow: hidden; margin: 6px 0 9px; font-size: .72rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.status-chip { width: max-content; display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .65rem; font-weight: 600; white-space: nowrap; }
.status-chip.complete { color: var(--green); background: var(--green-soft); }
.status-chip.review { color: #8a5d00; background: var(--yellow-soft); }
.status-chip.blocked { color: var(--red); background: var(--red-soft); }

.thread-pane { min-width: 0; display: grid; grid-template-rows: 76px minmax(0, 1fr) 68px; background: #fff; }
.thread-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line-soft); }
.thread-header > div { display: flex; align-items: center; min-width: 0; }
.thread-header h3 { overflow: hidden; margin: 0 0 4px; font-size: .98rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.thread-header p { margin: 0; color: var(--quiet); font-size: .68rem; }
.back-mobile { display: none; margin-right: 10px; font-size: 1.6rem; }
.thread-stream { overflow-y: auto; padding: 24px 24px 34px; scrollbar-width: thin; scrollbar-color: #c6cacf transparent; }
.thread-message { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; margin-bottom: 16px; }
.message-avatar { width: 32px; height: 32px; margin-top: 2px; font-size: .7rem; }
.message-card { padding: 14px 15px; border: 1px solid var(--line-soft); border-radius: 4px 16px 16px 16px; background: #fff; box-shadow: 0 1px 2px rgba(60,64,67,.07); }
.human-message { border: 0; background: #f1f3f4; box-shadow: none; }
.coordinator-message { border-color: #d2e3fc; background: #f8faff; }
.recovery-message { border-color: #fdd663; background: #fffbef; }
.verification-message { border-color: #ceead6; background: #f7fcf8; }
.message-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.message-meta > div { display: flex; align-items: center; gap: 7px; }
.message-meta b { color: #3c4043; font-size: .74rem; font-weight: 600; }
.message-meta time, .message-meta div > span:not(.verified-mark) { color: var(--quiet); font-size: .63rem; }
.verified-mark { padding: 3px 6px; color: var(--blue); border-radius: 999px; background: var(--blue-soft); font-size: .58rem; font-weight: 600; }
.message-card > p { margin: 0; color: #4f5458; font-size: .75rem; line-height: 1.55; }
.message-card > .message-narrative { white-space: pre-line; }
.report-message { border-color: #c4eed0; background: linear-gradient(145deg, #f7fcf8, #fff); }
.report-copy h4 { margin: 13px 0 5px; color: #3c4043; font-size: .7rem; }
.report-copy h4:first-child { margin-top: 0; }
.report-copy p { margin: 0 0 5px; color: #4f5458; font-size: .68rem; line-height: 1.5; }
.report-copy .report-line { padding-left: 8px; }
.message-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.message-tags span { padding: 4px 7px; color: var(--blue); border: 1px solid #d2e3fc; border-radius: 999px; background: #fff; font-size: .57rem; font-weight: 600; }
.code-receipt { margin-top: 11px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 9px; background: #fff; }
.code-receipt > div { min-height: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; padding: 0 10px; font-size: .62rem; }
.code-receipt > div + div { border-top: 1px solid var(--line-soft); }
.file-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.code-receipt code { overflow: hidden; color: #3c4043; text-overflow: ellipsis; white-space: nowrap; }
.diff, .test-line > span, .test-line b { color: var(--green); }
.state-update { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 9px; border-radius: 8px; background: #f8f9fa; font-size: .58rem; }
.state-update span { color: var(--quiet); }
.state-update b { padding: 4px 7px; color: #8a5d00; border-radius: 999px; background: var(--yellow-soft); font-weight: 600; }
.state-evidence { width: 100%; overflow-wrap: anywhere; color: #5f6368; line-height: 1.45; }
.verification-receipt { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 12px; padding: 9px; border-radius: 9px; background: var(--green-soft); }
.verification-receipt > span { width: 22px; height: 22px; display: grid; flex: none; place-items: center; color: #fff; border-radius: 50%; background: var(--green); font-size: .7rem; }
.verification-receipt b, .verification-receipt small { display: block; }
.verification-receipt b { color: var(--green); font-size: .67rem; }
.verification-receipt small { margin-top: 2px; color: #4f7057; font-size: .56rem; }
.receipt-evidence { width: 100%; margin: 0 0 0 31px; color: #4f7057; font-size: .58rem; line-height: 1.45; overflow-wrap: anywhere; }
.thread-footer { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; padding: 0 18px; border-top: 1px solid var(--line-soft); background: var(--surface-alt); }
.policy-icon { color: var(--blue); font-size: 1.2rem; }
.thread-footer p { margin: 0; }
.thread-footer b, .thread-footer span { display: block; }
.thread-footer b { color: #3c4043; font-size: .68rem; }
.thread-footer p span { margin-top: 2px; color: var(--quiet); font-size: .57rem; }
.thread-footer button { padding: 8px 11px; cursor: pointer; color: var(--blue); border: 0; border-radius: 7px; background: transparent; font-size: .65rem; font-weight: 600; }
.thread-footer button:hover { background: var(--blue-soft); }
.live-provenance { padding: 5px 8px; color: #137333; border-radius: 999px; background: var(--green-soft); font-size: .54rem !important; font-weight: 700; letter-spacing: .05em; }

.detail-pane { min-width: 0; overflow-y: auto; padding: 18px; border-left: 1px solid var(--line-soft); background: var(--surface-alt); }
.detail-heading { display: flex; align-items: center; justify-content: space-between; }
.label { margin: 0; color: var(--quiet); font-size: .63rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.completion-ring { position: relative; width: 110px; height: 110px; display: grid; margin: 16px auto 20px; place-items: center; }
.completion-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.completion-ring circle { fill: none; stroke-width: 8; }
.ring-track { stroke: #e3e7e4; }
.ring-value { stroke: var(--green); stroke-dasharray: 245; stroke-dashoffset: 0; stroke-linecap: round; }
.completion-ring > div { text-align: center; }
.completion-ring strong, .completion-ring span { display: block; }
.completion-ring strong { font-size: 1.45rem; font-weight: 500; }
.completion-ring span { color: var(--quiet); font-size: .65rem; }
.value-receipt-group { margin: 0 0 14px; }
.value-receipt-group > .label { margin-bottom: 8px; }
.value-receipt-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--line-soft); gap: 1px; }
.value-receipt-grid div { min-height: 68px; display: flex; flex-direction: column; justify-content: center; padding: 11px; background: #fff; }
.value-receipt-grid strong, .value-receipt-grid span { display: block; }
.value-receipt-grid strong { color: var(--blue); font-size: 1.05rem; font-weight: 600; }
.value-receipt-grid span { margin-top: 3px; color: var(--quiet); font-size: .52rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .045em; }
.invariant-box { padding: 14px; border: 1px solid #d2e3fc; border-radius: 12px; background: #fff; }
.invariant-box span, .invariant-box code, .invariant-box small { display: block; }
.invariant-box span { color: var(--blue); font-size: .6rem; font-weight: 600; text-transform: uppercase; }
.invariant-box code { margin: 8px 0; color: #174ea6; font-size: .87rem; }
.invariant-box small { color: var(--quiet); font-size: .57rem; }
.invariant-box .continuity-proof { margin-top: 10px; padding-top: 10px; border-top: 1px solid #d2e3fc; color: #7a5b00; }
.detail-group { margin-top: 22px; }
.detail-group > .label { margin-bottom: 10px; }
.agent-row { min-height: 47px; display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 9px; border-top: 1px solid var(--line-soft); }
.agent-dot { width: 8px; height: 8px; border-radius: 50%; }
.agent-dot.google { background: #4285f4; }
.agent-dot.anthropic { background: #d96c5f; }
.agent-dot.openai { background: #202124; }
.agent-dot.other { background: #246bfd; }
.agent-row b, .agent-row small { display: block; }
.agent-row b { color: #3c4043; font-size: .65rem; }
.agent-row small, .agent-row > span:last-child { color: var(--quiet); font-size: .55rem; }
.checklist-row { min-height: 53px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.check-state { width: 19px; height: 19px; display: grid; place-items: center; color: #8a5d00; border-radius: 50%; background: var(--yellow-soft); font-size: .62rem; font-weight: 700; }
.check-state.done { color: #fff; background: var(--green); }
.checklist-row b, .checklist-row small { display: block; }
.checklist-row b { display: -webkit-box; overflow: hidden; color: #3c4043; font-size: .62rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.checklist-row small { margin-top: 3px; color: var(--quiet); font-size: .52rem; }
.detail-empty { color: var(--quiet); font-size: .62rem; line-height: 1.45; }
.cloud-evidence > div { min-height: 52px; display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 7px; padding: 0 7px; border: 1px solid var(--line-soft); background: #fff; }
.cloud-evidence > div:first-of-type { border-radius: 10px 10px 0 0; }
.cloud-evidence > div:last-child { border-top: 0; border-radius: 0 0 10px 10px; }
.cloud-evidence p { margin: 0; }
.cloud-evidence b, .cloud-evidence small { display: block; }
.cloud-evidence b { color: #3c4043; font-size: .63rem; }
.cloud-evidence small { margin-top: 2px; color: var(--quiet); font-size: .53rem; }
.green-check { color: var(--green); font-weight: 700; }

.console-loading, .console-empty, .console-error { min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; color: var(--quiet); text-align: center; }
.console-loading.large, .console-empty, .console-error { min-height: 100%; }
.console-loading i { width: 22px; height: 22px; margin-bottom: 12px; border: 3px solid #d2e3fc; border-top-color: var(--blue); border-radius: 50%; animation: console-spin .8s linear infinite; }
.console-loading b, .console-empty b, .console-error b { color: #3c4043; font-size: .72rem; }
.console-loading span, .console-empty p, .console-error p { max-width: 290px; margin: 6px 0 0; font-size: .62rem; line-height: 1.5; }
.empty-icon, .error-icon { width: 32px; height: 32px; display: grid; margin-bottom: 12px; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.error-icon { color: var(--red); background: var(--red-soft); font-weight: 700; }
.console-error button { margin-top: 12px; padding: 7px 11px; cursor: pointer; color: var(--blue); border: 0; border-radius: 7px; background: var(--blue-soft); font: inherit; font-size: .62rem; font-weight: 600; }
@keyframes console-spin { to { transform: rotate(360deg); } }
@keyframes rally-handoff {
  0%, 14%, 86%, 100% { left: 7px; transform: translateX(0) scale(1); }
  43%, 57% { left: calc(100% - 17px); transform: translateX(0) scale(1); }
  47%, 53% { left: calc(100% - 17px); transform: translateX(0) scale(1.22); }
}
@keyframes mission-live { 50% { opacity: .55; transform: scale(.82); } }
@keyframes mission-packet {
  0% { left: 0; opacity: 0; transform: scale(.7); }
  2% { opacity: 1; }
  7% { left: calc(100% - 7px); opacity: 1; transform: scale(1); }
  9%, 100% { left: calc(100% - 7px); opacity: 0; transform: scale(1.15); }
}
@keyframes mission-return-packet {
  0% { left: calc(100% - 7px); opacity: 0; transform: scale(.7); }
  2% { opacity: 1; }
  7% { left: 0; opacity: 1; transform: scale(1); }
  9%, 100% { left: 0; opacity: 0; transform: scale(1.15); }
}
@keyframes mission-node {
  0%, 22%, 100% { border-color: transparent; box-shadow: none; }
  5%, 17% { border-color: rgba(120,168,255,.7); box-shadow: 0 0 0 4px rgba(36,107,253,.1), 0 0 24px rgba(36,107,253,.16); }
}
@keyframes mission-state {
  0%, 22%, 100% { opacity: .3; }
  5%, 17% { opacity: 1; box-shadow: 0 0 16px rgba(80,220,155,.14); }
}
@keyframes mission-policy-gate {
  0%, 21%, 100% { border-color: rgba(120,168,255,.4); background: #102846; box-shadow: 0 0 0 3px rgba(36,107,253,.04); }
  7%, 17% { border-color: #78a8ff; background: #78a8ff; box-shadow: 0 0 0 5px rgba(120,168,255,.12); }
}
@keyframes mission-access-boundary {
  0%, 33%, 70%, 100% { border-top-color: rgba(110,160,255,.35); border-right-color: rgba(80,220,155,.12); box-shadow: none; }
  40%, 64% { border-top-color: #78a8ff; border-right-color: #50dc9b; box-shadow: 0 0 22px rgba(80,220,155,.1), inset 0 0 20px rgba(36,107,253,.05); }
}
@keyframes mission-system-use {
  0%, 20%, 100% { color: #b8c8dc; border-color: rgba(255,255,255,.11); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
  5%, 15% { color: #fff; border-color: rgba(80,220,155,.66); box-shadow: 0 0 0 4px rgba(80,220,155,.08), 0 8px 24px rgba(0,0,0,.22); }
}
@keyframes mission-control-rotate { to { transform: rotate(360deg); } }
@keyframes mission-governance-marker { to { transform: rotate(360deg); } }
@keyframes mission-governance-symbol { to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes mission-control-pulse {
  0%, 28%, 72%, 100% { opacity: .7; box-shadow: none; }
  36%, 66% { opacity: 1; box-shadow: 0 0 18px rgba(120,168,255,.18); }
}
@keyframes mission-core-evidence {
  0%, 19%, 27%, 45%, 53%, 71%, 79%, 100% { border-color: rgba(120,168,255,.42); box-shadow: 0 0 0 9px rgba(36,107,253,.08), 0 18px 38px rgba(0,0,0,.24); }
  21%, 25%, 47%, 51%, 73%, 77% { border-color: rgba(80,220,155,.82); box-shadow: 0 0 0 9px rgba(80,220,155,.08), 0 0 30px rgba(80,220,155,.16), 0 18px 38px rgba(0,0,0,.24); }
}
@keyframes mission-core-state-default {
  0%, 19%, 30%, 45%, 56%, 71%, 79%, 100% { opacity: 1; }
  21%, 28%, 47%, 54%, 73%, 77% { opacity: 0; }
}
@keyframes mission-core-state-accepted {
  0%, 19%, 27%, 45%, 53%, 71%, 79%, 100% { opacity: 0; }
  21%, 25%, 47%, 51%, 73%, 77% { opacity: 1; }
}
@keyframes mission-core-state-routing {
  0%, 25%, 30%, 51%, 56%, 100% { opacity: 0; }
  27%, 28%, 53%, 54% { opacity: 1; }
}
@keyframes mission-result {
  0%, 76%, 100% { border-color: rgba(80,220,155,.22); box-shadow: 0 12px 30px rgba(0,0,0,.13); }
  82%, 95% { border-color: rgba(80,220,155,.68); box-shadow: 0 12px 30px rgba(0,0,0,.13), 0 0 0 6px rgba(80,220,155,.08), 0 0 30px rgba(80,220,155,.1); }
}
.section { max-width: 1240px; margin: 0 auto; padding: 130px 32px; }
.section-heading { max-width: 850px; margin-bottom: 54px; }
.section-heading > p:last-child { max-width: 720px; margin-bottom: 0; font-size: 1.08rem; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered > p:last-child { margin-left: auto; margin-right: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { min-height: 278px; padding: 30px 32px; border-radius: 28px; }
.feature-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.feature-card h3 { margin: 0 0 12px; font-size: 1.4rem; }
.feature-card p { margin: 0; font-size: .95rem; }
.feature-label { font-size: .76rem !important; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
.feature-icon { width: 42px; height: 42px; display: grid; flex: none; place-items: center; border-radius: 14px; font-size: 1.25rem; }
.blue-card { background: #e8f0fe; }
.blue-card .feature-icon { color: #174ea6; background: #d2e3fc; }
.blue-card .feature-label { color: #174ea6; }
.yellow-card { background: #fef7e0; }
.yellow-card .feature-icon { color: #8a5d00; background: #feefc3; }
.yellow-card .feature-label { color: #8a5d00; }
.green-card { background: #e6f4ea; }
.green-card .feature-icon { color: #137333; background: #ceead6; }
.green-card .feature-label { color: #137333; }

.connector-section { position: relative; max-width: none; overflow: hidden; padding-right: max(32px, calc((100vw - 1240px) / 2)); padding-bottom: 90px; padding-left: max(32px, calc((100vw - 1240px) / 2)); background: #10233f; }
.connector-section::before { content: ""; position: absolute; top: -360px; right: -240px; width: 760px; height: 760px; border: 1px solid rgba(121,165,255,.14); border-radius: 50%; box-shadow: 0 0 0 90px rgba(121,165,255,.025), 0 0 0 180px rgba(121,165,255,.018); pointer-events: none; }
.connector-section > * { position: relative; }
.connector-section .eyebrow { color: #8eb4ff; }
.connector-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr); gap: 80px; align-items: end; max-width: none; }
.connector-heading h2 { margin: 0; color: #fff; }
.connector-heading h2 span { color: #8eb4ff; }
.connector-heading-copy { padding: 0 0 8px; }
.connector-heading-copy > p { margin: 0; color: #b9c7d9; font-size: .95rem; line-height: 1.65; }
.protocol-key { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.protocol-key > span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; color: #9fb0c6; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.04); font-size: .66rem; }
.protocol-key b { color: #e8eef7; letter-spacing: .04em; }
.protocol-dot { width: 7px; height: 7px; border-radius: 50%; }
.mcp-dot { background: #6ea0ff; box-shadow: 0 0 0 4px rgba(110,160,255,.1); }
.a2a-dot { background: #4fc795; box-shadow: 0 0 0 4px rgba(79,199,149,.1); }
.connector-families { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.connector-family { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 26px; background: rgba(255,255,255,.042); box-shadow: 0 24px 70px rgba(2,12,27,.16); }
.connector-family > header { min-height: 110px; display: flex; align-items: center; gap: 16px; padding: 24px; border-bottom: 1px solid rgba(255,255,255,.09); background: linear-gradient(135deg, rgba(255,255,255,.045), transparent); }
.family-number { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; color: #adc8ff; border: 1px solid rgba(121,165,255,.32); border-radius: 12px; background: rgba(66,133,244,.11); font: 650 .69rem/1 var(--mono, monospace); }
.connector-family header p { margin: 0 0 5px; color: #7f93ae; font-size: .58rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.connector-family header h3 { margin: 0; color: #f7f9fc; font-size: 1.04rem; }
.operations-family .family-number { color: #ffd28a; border-color: rgba(251,188,4,.28); background: rgba(251,188,4,.08); }
.intelligence-family .family-number { color: #8ce0bd; border-color: rgba(52,168,83,.28); background: rgba(52,168,83,.08); }
.connector-list { padding: 8px; }
.connector-entry { min-width: 0; padding: 17px 16px 14px; border-radius: 18px; transition: background .2s ease, transform .2s ease; }
.connector-entry + .connector-entry { border-top: 1px solid rgba(255,255,255,.075); border-top-left-radius: 0; border-top-right-radius: 0; }
.connector-entry:hover { background: rgba(255,255,255,.045); transform: translateY(-1px); }
.connector-brand { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; align-items: start; }
.brand-plate { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid rgba(16,35,63,.08); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(2,12,27,.14); }
.brand-plate img { width: 25px; height: 25px; display: block; object-fit: contain; }
.brand-plate.wide-mark img { width: 30px; }
.connector-brand h4, .agent-connection h4 { margin: 2px 0 5px; color: #fff; font-size: .91rem; letter-spacing: -.01em; }
.connector-brand p { min-height: 45px; margin: 0; color: #9fb0c6; font-size: .68rem; line-height: 1.45; }
.connector-meta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; align-items: center; margin: 14px 0 0 59px; }
.readiness { width: max-content; display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #b6d4ff; border-radius: 999px; background: rgba(66,133,244,.13); font-size: .52rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.readiness::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6ea0ff; }
.readiness.live-ready { color: #a9eccf; background: rgba(22,163,106,.16); }
.readiness.live-ready::before { background: #4fc795; box-shadow: 0 0 0 3px rgba(79,199,149,.1); }
.guardrail { min-width: 0; overflow: hidden; color: #70849e; font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.connector-meta a, .agent-protocol a { color: #8eb4ff; font-size: .58rem; font-weight: 700; white-space: nowrap; }
.connector-meta a:hover, .agent-protocol a:hover { color: #fff; }
.agent-network { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.55fr); gap: 38px 44px; margin-top: 26px; padding: 34px; border: 1px solid rgba(110,160,255,.26); border-radius: 28px; background: linear-gradient(125deg, rgba(66,133,244,.13), rgba(16,35,63,.3) 42%, rgba(52,168,83,.06)); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.network-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: #91b6ff; font-size: .6rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.network-eyebrow span { width: 18px; height: 2px; background: #6ea0ff; }
.agent-network-intro h3 { max-width: 340px; margin: 0; color: #fff; font-size: 1.45rem; line-height: 1.18; letter-spacing: -.025em; }
.agent-network-intro > p:not(.network-eyebrow) { max-width: 350px; margin: 14px 0 0; color: #aebed2; font-size: .78rem; line-height: 1.55; }
.network-rule { display: grid; gap: 4px; margin-top: 25px; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.network-rule b { color: #dce7f6; font-size: .66rem; }
.network-rule span { color: #8195ae; font-size: .62rem; line-height: 1.45; }
.agent-network-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.agent-connection { min-width: 0; display: flex; flex-direction: column; padding: 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(4,18,37,.35); }
.agent-connection-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.agent-connection .brand-plate { width: 42px; height: 42px; border-radius: 13px; }
.agent-connection .brand-plate img { width: 23px; height: 23px; }
.agent-connection .protocol-plate { background: #edf4ff; }
.agent-connection h4 { margin-top: 20px; }
.agent-connection > p { min-height: 76px; margin: 0; color: #9fb0c6; font-size: .66rem; line-height: 1.5; }
.candidate-ready { color: #e0c993; background: rgba(249,171,0,.11); }
.candidate-ready::before { background: #f9ab00; }
.agent-protocol { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.075); }
.agent-protocol > span { color: #7f93ae; font-size: .55rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.architecture-section { max-width: none; padding-left: max(32px, calc((100vw - 1240px) / 2)); padding-right: max(32px, calc((100vw - 1240px) / 2)); background: var(--surface-alt); }
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line); }
.flow-grid article { min-height: 238px; padding: 26px 28px; background: #fff; }
.flow-kicker { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; }
.flow-kicker .label { color: var(--ink); font-size: .76rem; font-weight: 750; letter-spacing: .065em; }
.flow-grid article:nth-child(1) .flow-kicker .label { color: #174ea6; }
.flow-grid article:nth-child(2) .flow-kicker .label { color: #a50e0e; }
.flow-grid article:nth-child(3) .flow-kicker .label { color: #8a5d00; }
.flow-grid article:nth-child(4) .flow-kicker .label { color: #137333; }
.flow-grid h3 { margin: 0 0 10px; font-size: 1.24rem; }
.flow-grid article > p:last-child { margin-bottom: 0; font-size: .88rem; }
.flow-number { width: 29px; height: 29px; display: grid; flex: none; place-items: center; border-radius: 50%; font-size: .68rem; font-weight: 750; }
.flow-number.blue { color: #174ea6; background: #d2e3fc; }
.flow-number.red { color: #a50e0e; background: #fad2cf; }
.flow-number.yellow { color: #8a5d00; background: #feefc3; }
.flow-number.green { color: #137333; background: #ceead6; }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.eval-card, .test-card { min-height: 390px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.card-header > div { display: flex; align-items: center; gap: 10px; }
.card-header b { font-weight: 600; }
.eval-row { min-height: 82px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border-top: 1px solid var(--line-soft); }
.eval-row b, .eval-row span { display: block; }
.eval-row b { font-size: .88rem; }
.eval-row span { margin-top: 4px; color: var(--quiet); font-size: .7rem; }
.eval-row strong { color: var(--green); font-size: 1.15rem; font-weight: 600; }
.terminal-icon { color: var(--blue); font: 600 .9rem ui-monospace, SFMono-Regular, Menlo, monospace; }
.test-card pre { margin: 0; padding: 24px; overflow: auto; color: #3c4043; border-radius: 14px; background: #f8fafd; font: .8rem/1.85 ui-monospace, SFMono-Regular, Menlo, monospace; }
.test-card code { font: inherit; }

.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust-domain { --trust-accent: #246bfd; --trust-soft: #edf3ff; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 14px 38px rgba(16,35,63,.055); }
.trust-domain > header { min-height: 126px; display: flex; align-items: center; gap: 18px; padding: 24px 28px; background: linear-gradient(135deg, var(--trust-soft), #fff 78%); }
.trust-domain-icon { width: 48px; height: 48px; display: grid; flex: none; place-items: center; color: #fff; border-radius: 15px; background: var(--trust-accent); box-shadow: 0 8px 20px color-mix(in srgb, var(--trust-accent) 22%, transparent); font-size: 1.3rem; }
.trust-domain-label { margin: 0 0 5px; color: var(--trust-accent); font-size: .68rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.trust-domain > header h3 { margin: 0; font-size: 1.28rem; letter-spacing: -.018em; }
.trust-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.trust-control { min-height: 164px; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 13px; padding: 24px 25px 26px; }
.trust-control + .trust-control { border-left: 1px solid var(--line-soft); }
.trust-control > span { width: 30px; height: 30px; display: grid; place-items: center; color: var(--trust-accent); border-radius: 10px; background: var(--trust-soft); font-size: .88rem; font-weight: 700; }
.trust-control h4 { margin: 3px 0 8px; font-family: Arial, system-ui, sans-serif; font-size: .94rem; line-height: 1.3; }
.trust-control p { margin: 0; font-size: .78rem; line-height: 1.58; }
.runtime-domain { --trust-accent: #a86800; --trust-soft: #fff7df; }
.authority-domain { --trust-accent: #b3261e; --trust-soft: #fff0ee; }
.recovery-domain { --trust-accent: #137333; --trust-soft: #e9f7ee; }

.faq-section { padding-top: 80px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
summary { position: relative; padding: 22px 56px 22px 22px; cursor: pointer; color: #3c4043; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; top: 18px; right: 22px; color: var(--blue); content: "+"; font-size: 1.35rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 22px; font-size: .9rem; }
details p a { color: #1967d2; font-weight: 600; text-decoration: underline; text-decoration-color: #aecbfa; text-underline-offset: 3px; }
details p a:hover { color: var(--blue-hover); text-decoration-color: currentColor; }

.final-cta { padding: 130px 32px; background: var(--blue-pale); text-align: center; }
.final-cta > div { max-width: 950px; margin: 0 auto; }
.final-cta .brand-mark { margin-left: auto; margin-right: auto; }
.final-cta h2 span { color: var(--blue); }
.final-cta > div > p:not(.eyebrow) { max-width: 670px; margin: 0 auto 30px; font-size: 1.05rem; }
.final-cta .hero-actions { justify-content: center; }
.a2a-trust { max-width: var(--max); min-height: 84px; display: flex; align-items: center; justify-content: center; gap: 28px; margin: 0 auto; padding: 18px 32px; border-top: 1px solid var(--line-soft); }
.trust-badges { display: flex; align-items: center; gap: 10px; }
.a2a-trust-badge, .webmcp-trust-badge { display: inline-flex; flex: none; align-items: center; gap: 11px; padding: 10px 14px 10px 11px; border: 1px solid #d4e2fb; border-radius: 14px; background: #f8faff; }
.a2a-trust-badge:hover, .webmcp-trust-badge:hover { border-color: #aecbfa; background: var(--blue-pale); }
.a2a-trust-badge img { width: 34px; height: 34px; }
.webmcp-mark { width: 34px; height: 34px; display: grid; flex: none; place-items: center; border-radius: 10px; background: linear-gradient(145deg, #e8f0fe, #e6f4ea); }
.webmcp-mark svg { width: 24px; height: 24px; fill: none; stroke: #1967d2; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.a2a-trust-badge span, .a2a-trust-badge b, .a2a-trust-badge small, .webmcp-trust-badge span, .webmcp-trust-badge b, .webmcp-trust-badge small { display: block; }
.a2a-trust-badge b, .webmcp-trust-badge b { color: #174ea6; font-size: .78rem; line-height: 1.25; }
.a2a-trust-badge small, .webmcp-trust-badge small { margin-top: 2px; color: var(--quiet); font-size: .61rem; }
.a2a-trust > p { margin: 0; color: var(--quiet); font-size: .7rem; text-align: right; }
.a2a-trust > p span { display: block; }
.a2a-trust > p span + span { margin-top: 5px; }
.a2a-trust > p a { color: #1967d2; font-weight: 600; }
.a2a-trust > p a:hover { color: var(--blue-hover); text-decoration: underline; }
.site-footer { max-width: var(--max); min-height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin: 0 auto; padding: 0 32px; border-top: 1px solid var(--line-soft); }
.site-footer p { margin: 0; color: var(--quiet); font-size: .73rem; text-align: center; }
.site-footer > div { display: flex; justify-content: flex-end; gap: 20px; color: var(--muted); font-size: .8rem; }

.setup-dialog { width: min(730px, calc(100% - 28px)); max-height: calc(100vh - 28px); overflow: auto; padding: 40px; color: var(--ink); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(60,64,67,.28); }
.setup-dialog::backdrop { background: rgba(32,33,36,.56); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; cursor: pointer; color: var(--muted); border: 0; border-radius: 50%; background: #f1f3f4; font-size: 1.4rem; }
.setup-dialog h2 { max-width: 590px; font-size: clamp(2rem, 5vw, 3.25rem); }
.setup-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 28px 0; padding: 4px; border-radius: 999px; background: #f1f3f4; }
.setup-tabs button { min-height: 44px; cursor: pointer; color: var(--muted); border: 0; border-radius: 999px; background: transparent; font-weight: 600; }
.setup-tabs button.is-active { color: var(--blue); background: #fff; box-shadow: var(--shadow); }
.setup-panel[hidden] { display: none; }
.setup-promise { display: grid; gap: 5px; margin-bottom: 24px; padding: 18px; border-radius: 14px; background: var(--blue-pale); }
.setup-promise b { color: var(--blue); }
.setup-promise span { color: var(--muted); font-size: .85rem; }
.webmcp-ready { display: flex; align-items: center; gap: 12px; margin: -8px 0 20px; padding: 12px 14px; border: 1px solid #d4e2fb; border-radius: 13px; background: #f8faff; }
.webmcp-ready > span { flex: none; padding: 5px 9px; color: #174ea6; border-radius: 999px; background: #e8f0fe; font-size: .65rem; font-weight: 700; letter-spacing: .02em; }
.webmcp-ready p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.webmcp-ready.is-connected { border-color: #b7dfc4; background: var(--green-soft); }
.webmcp-ready.is-connected > span { color: #137333; background: #ceead6; }
.webmcp-task-receipt { margin: -4px 0 20px; overflow: hidden; border: 1px solid #b7d4ff; border-radius: 16px; background: linear-gradient(145deg, #f8faff, #f5fbf7); box-shadow: 0 12px 30px rgba(36,107,253,.08); }
.webmcp-task-receipt[hidden] { display: none; }
.webmcp-task-receipt > header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid #dce8fb; background: rgba(255,255,255,.7); }
.webmcp-task-receipt > header > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.webmcp-task-mark { width: 38px; height: 38px; display: grid; flex: none; place-items: center; color: #174ea6; border-radius: 12px; background: linear-gradient(145deg, #d2e3fc, #ceead6); font-size: 1rem; }
.webmcp-task-receipt header p, .webmcp-task-receipt header h3 { margin: 0; }
.webmcp-task-receipt header p { color: #5f7190; font-size: .56rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.webmcp-task-receipt header h3 { margin-top: 3px; color: #20334f; font-size: .82rem; }
.webmcp-task-state { flex: none; padding: 6px 9px; color: #8a5d00; border-radius: 999px; background: var(--yellow-soft); font-size: .58rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.webmcp-task-state.is-ready { color: #137333; background: #ceead6; }
.webmcp-task-state.needs-attention { color: #b3261e; background: #fce8e6; }
.webmcp-task-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #dce8fb; }
.webmcp-task-facts > div { min-width: 0; padding: 12px 13px; }
.webmcp-task-facts > div + div { border-left: 1px solid #dce8fb; }
.webmcp-task-facts span, .webmcp-task-facts b { display: block; }
.webmcp-task-facts span { color: #6e7e96; font-size: .53rem; font-weight: 650; letter-spacing: .055em; text-transform: uppercase; }
.webmcp-task-facts b { margin-top: 4px; overflow: hidden; color: #334765; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.webmcp-collaboration-trace { padding: 12px 15px 14px; border-bottom: 1px solid #dce8fb; background: rgba(255,255,255,.46); }
.webmcp-collaboration-trace > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.webmcp-collaboration-trace > header b { color: #334765; font-size: .65rem; }
.webmcp-collaboration-trace > header span { color: #77859a; font-size: .54rem; }
.webmcp-collaboration-trace ol { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.webmcp-trace-event { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.webmcp-trace-event > span:first-child { width: 20px; height: 20px; display: grid; place-items: center; color: #174ea6; border-radius: 50%; background: #e8f0fe; font-size: .55rem; font-weight: 750; }
.webmcp-trace-event.is-human > span:first-child { color: #137333; background: #ceead6; }
.webmcp-trace-event p { min-width: 0; margin: 0; color: #526178; font-size: .6rem; line-height: 1.35; }
.webmcp-trace-event p b { color: #334765; }
.webmcp-trace-event time { color: #8793a5; font-size: .5rem; white-space: nowrap; }
.webmcp-task-receipt > p { margin: 0; padding: 12px 15px 14px; color: #526178; font-size: .68rem; line-height: 1.5; }
.job-draft-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.job-draft-fields label { display: grid; gap: 7px; }
.job-draft-fields label > span { color: #3c4043; font-size: .72rem; font-weight: 600; }
.job-draft-fields label small { color: var(--quiet); font-size: .62rem; font-weight: 400; }
.job-field-wide { grid-column: 1 / -1; }
.job-draft-fields input, .job-draft-fields textarea { width: 100%; padding: 11px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; outline: 0; background: #fff; font: inherit; font-size: .82rem; line-height: 1.45; }
.job-draft-fields textarea { min-height: 96px; resize: vertical; }
.job-draft-fields input:focus, .job-draft-fields textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.14); }
.job-draft-fields input::placeholder, .job-draft-fields textarea::placeholder { color: #9aa0a6; }
.advanced-job { padding: 0; border: 1px solid var(--line-soft); border-radius: 12px; background: #f8fafc; }
.advanced-job summary { padding: 11px 12px; cursor: pointer; color: #526178; font-size: .7rem; font-weight: 650; }
.advanced-job[open] summary { border-bottom: 1px solid var(--line-soft); }
.advanced-job label { padding: 12px; }
.continuity-setting { margin-bottom: 24px; padding: 18px; border: 1px solid #fdd663; border-radius: 14px; background: #fffbef; }
.continuity-setting label { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; }
.toggle-copy { display: grid; gap: 4px; }
.toggle-copy b { color: #5f4500; font-size: .9rem; }
.toggle-copy > span { color: var(--muted); font-size: .78rem; line-height: 1.45; }
.continuity-setting small { display: block; margin-top: 12px; padding-top: 10px; color: #7a5b00; border-top: 1px solid #fdd663; font-size: .68rem; line-height: 1.45; }
.switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch > span { position: absolute; inset: 0; border-radius: 999px; background: #bdc1c6; transition: background .2s ease; }
.switch > span::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(60,64,67,.35); content: ""; transition: transform .2s ease; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid rgba(66,133,244,.28); outline-offset: 2px; }
.setup-panel ol { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.setup-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; }
.setup-panel li > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); border-radius: 50%; background: var(--blue-soft); font-size: .8rem; font-weight: 700; }
.setup-panel li b { font-size: .9rem; }
.setup-panel li p { margin: 4px 0 0; font-size: .8rem; }
.setup-note { margin: 12px 0 0; color: var(--quiet); font-size: .72rem; text-align: center; }
.provider-list { display: grid; gap: 10px; margin-bottom: 24px; }
.provider-list > div { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line-soft); border-radius: 14px; }
.provider-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 12px; font-weight: 700; }
.google-mark { background: #4285f4; }
.anthropic-mark { background: #d96c5f; }
.openai-mark { background: #202124; }
.xai-provider-mark { background: #162337; }
.cloudflare-mark { background: #f48120; }
.resend-mark { background: #202124; }
.provider-list b, .provider-list p { margin: 0; }
.provider-list b { font-size: .85rem; }
.provider-list p { margin-top: 3px; font-size: .7rem; line-height: 1.4; }
.provider-status { padding: 5px 8px; color: var(--green); border-radius: 999px; background: var(--green-soft); font-size: .6rem; font-weight: 600; }
.muted-status { color: var(--muted); background: #f1f3f4; }

/* Rally v2: the original product with a compact, native WebMCP task composer. */
.webmcp-sprint { max-width: 1240px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); align-items: center; gap: 64px; margin: 0 auto; padding: 108px 32px; border-bottom: 1px solid var(--line-soft); }
.webmcp-sprint-copy h2 { margin-bottom: 20px; }
.webmcp-sprint-copy > p:not(.eyebrow, .webmcp-sprint-boundary) { margin-bottom: 22px; font-size: 1rem; }
.webmcp-v2-runtime { width: max-content; display: inline-flex; align-items: center; gap: 10px; padding: 9px 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; background: var(--surface-alt); }
.webmcp-v2-runtime > i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--yellow); }
.webmcp-v2-runtime > span { display: grid; gap: 1px; }
.webmcp-v2-runtime b { color: var(--ink); font-size: .78rem; }
.webmcp-v2-runtime small { color: var(--muted); font-size: .72rem; }
.webmcp-v2-runtime.is-connected { border-color: #b7dfc4; background: var(--green-soft); }
.webmcp-v2-runtime.is-connected > i { background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,106,.1); }
.webmcp-sprint-boundary { margin: 18px 0 0; padding-left: 14px; color: var(--muted); border-left: 3px solid var(--blue); font-size: .82rem; line-height: 1.55; }
.webmcp-sprint-boundary b { color: var(--ink); }
.webmcp-preset-grid { display: grid; gap: 12px; }
.webmcp-preset { width: 100%; min-height: 118px; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 20px; cursor: pointer; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; }
.webmcp-preset:hover { border-color: #aecbfa; box-shadow: 0 10px 28px rgba(16,35,63,.1); transform: translateY(-1px); }
.webmcp-preset > span:nth-child(2) { min-width: 0; display: grid; gap: 5px; }
.webmcp-preset small, .webmcp-preset b, .webmcp-preset em { display: block; }
.webmcp-preset small { color: var(--blue); font-size: .76rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.webmcp-preset b { color: var(--ink); font-size: 1rem; line-height: 1.35; }
.webmcp-preset em { color: var(--muted); font-size: .78rem; font-style: normal; line-height: 1.4; }
.webmcp-preset-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--blue); border-radius: 14px; background: var(--blue-soft); font-size: 1rem; font-weight: 750; }

.webmcp-work-dialog { width: min(1180px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(60,64,67,.28); }
.webmcp-work-dialog::backdrop { background: rgba(32,33,36,.56); backdrop-filter: blur(3px); }
.webmcp-dialog-heading { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 22px; padding: 30px 72px 24px 30px; }
.webmcp-dialog-heading .brand-mark { margin: 0; }
.webmcp-dialog-heading h2 { margin-bottom: 9px; font-size: clamp(2rem, 4vw, 3rem); }
.webmcp-dialog-heading p:last-child { max-width: 780px; margin: 0; font-size: .92rem; }
.webmcp-dialog-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--surface-alt); }
.webmcp-dialog-tabs button { min-height: 64px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 14px; cursor: pointer; color: var(--muted); border: 1px solid transparent; border-radius: 14px; background: transparent; text-align: left; }
.webmcp-dialog-tabs button:hover { color: #174ea6; background: var(--blue-pale); }
.webmcp-dialog-tabs button.is-active { color: #174ea6; border-color: #c8d8f5; background: #fff; box-shadow: var(--shadow); }
.webmcp-dialog-tabs button > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); font-weight: 750; }
.webmcp-dialog-tabs button > span:last-child { display: grid; gap: 2px; }
.webmcp-dialog-tabs b { color: inherit; font-size: .86rem; }
.webmcp-dialog-tabs small { color: var(--muted); font-size: .74rem; }
.webmcp-dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.webmcp-v2-stage { min-width: 0; background: #fff; }
.webmcp-turn-strip { min-height: 54px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; color: var(--muted); border-bottom: 1px solid var(--line-soft); background: var(--surface-alt); font-size: .76rem; }
.webmcp-turn-strip span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.webmcp-turn-strip i { width: 22px; height: 22px; display: grid; place-items: center; color: var(--blue); border-radius: 7px; background: var(--blue-soft); font-size: .7rem; font-style: normal; font-weight: 750; }
.webmcp-turn-strip b { color: var(--quiet); }
.webmcp-workflow-panel { padding: 24px; }
.webmcp-workflow-panel[hidden] { display: none; }
.webmcp-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.webmcp-panel-heading > div { min-width: 0; }
.webmcp-panel-heading p { margin: 0 0 6px; color: var(--blue); font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.webmcp-panel-heading h3 { margin: 0 0 7px; color: var(--ink); font-size: 1.24rem; letter-spacing: -.02em; }
.webmcp-panel-heading div > span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.webmcp-panel-heading code { color: var(--ink); font-size: .78rem; }
.webmcp-editor-grid { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(320px, 1.22fr); gap: 14px; }
.webmcp-brief-fields, .webmcp-artifact-editor { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-alt); }
.webmcp-brief-fields { display: flex; flex-direction: column; }
.webmcp-brief-fields > label, .webmcp-inline-fields label { display: grid; gap: 7px; margin-bottom: 14px; color: var(--ink); font-size: .8rem; font-weight: 650; }
.webmcp-brief-fields label > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.webmcp-brief-fields label small { color: var(--muted); font-size: .74rem; font-weight: 500; }
.webmcp-brief-fields input, .webmcp-brief-fields select, .webmcp-brief-fields textarea, .webmcp-artifact-editor input, .webmcp-artifact-editor textarea { width: 100%; min-height: 44px; padding: 10px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 9px; outline: 0; background: #fff; font: inherit; font-size: .84rem; line-height: 1.5; }
.webmcp-brief-fields textarea, .webmcp-artifact-editor textarea { resize: vertical; }
.webmcp-brief-fields input:focus, .webmcp-brief-fields select:focus, .webmcp-brief-fields textarea:focus, .webmcp-artifact-editor input:focus, .webmcp-artifact-editor textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(66,133,244,.14); }
.webmcp-inline-fields { display: grid; grid-template-columns: 1.35fr .65fr; gap: 10px; }
.webmcp-form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 6px; }
.webmcp-form-actions .button { min-height: 42px; padding: 0 12px; font-size: .78rem; }
.webmcp-form-actions .button[disabled] { cursor: wait; opacity: .65; transform: none; }
.webmcp-artifact-editor { background: #fff; }
.webmcp-artifact-editor > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.webmcp-artifact-editor label { color: var(--ink); font-size: .8rem; font-weight: 650; }
.webmcp-artifact-editor > div span { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.webmcp-artifact-editor > textarea:last-child { min-height: 330px; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; }
.webmcp-article-editor { display: grid; gap: 8px; }
.webmcp-article-editor > div { margin: 2px 0 0; }
.webmcp-article-editor > textarea:last-child { min-height: 235px; }
.webmcp-route-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1.3fr auto 1fr; align-items: center; gap: 6px; margin-bottom: 14px; padding: 10px; border: 1px solid #c8d8f5; border-radius: 13px; background: var(--blue-pale); }
.webmcp-route-strip > span { min-height: 46px; display: grid; align-content: center; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.webmcp-route-strip b { color: var(--ink); font-size: .76rem; }
.webmcp-route-strip small { color: var(--muted); font-size: .72rem; }
.webmcp-route-strip > i { color: var(--muted); font-size: .82rem; font-style: normal; }
.webmcp-boundary-note { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid #b7dfc4; border-radius: 12px; background: var(--green-soft); }
.webmcp-boundary-note > span { width: 32px; height: 32px; display: grid; place-items: center; color: var(--green-bright); border-radius: 9px; background: #fff; font-size: .9rem; font-weight: 800; }
.webmcp-boundary-note p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.webmcp-boundary-note b { color: var(--ink); }
.webmcp-v2-receipt { min-width: 0; border-left: 1px solid var(--line-soft); background: var(--surface-alt); }
.webmcp-receipt-heading { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.webmcp-receipt-heading p, .webmcp-receipt-heading h3 { margin: 0; }
.webmcp-receipt-heading p { color: var(--blue); font-size: .72rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.webmcp-receipt-heading h3 { margin-top: 4px; color: var(--ink); font-size: .86rem; }
.webmcp-receipt-heading > span { flex: none; padding: 6px 8px; color: var(--muted); border-radius: 999px; background: #f1f3f4; font-size: .72rem; font-weight: 700; }
.webmcp-receipt-heading > span.is-staged { color: #7a5b00; background: var(--yellow-soft); }
.webmcp-receipt-heading > span.is-ready { color: #137333; background: var(--green-soft); }
.webmcp-receipt-heading > span.needs-attention { color: #b3261e; background: var(--red-soft); }
.webmcp-receipt-summary { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.webmcp-receipt-summary p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.webmcp-receipt-facts { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-soft); }
.webmcp-receipt-facts > div { min-width: 0; padding: 12px 14px; background: #fff; }
.webmcp-receipt-facts > div:nth-child(even) { border-left: 1px solid var(--line-soft); }
.webmcp-receipt-facts > div:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
.webmcp-receipt-facts span, .webmcp-receipt-facts b { display: block; }
.webmcp-receipt-facts span { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.webmcp-receipt-facts b { margin-top: 4px; overflow: hidden; color: var(--ink); font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.webmcp-review-checks { padding: 14px; border-bottom: 1px solid var(--line-soft); }
.webmcp-review-heading { display: flex; justify-content: space-between; gap: 10px; }
.webmcp-review-heading b { color: var(--ink); font-size: .78rem; }
.webmcp-review-heading span { color: var(--muted); font-size: .72rem; }
.webmcp-review-checks ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.webmcp-review-checks li { display: grid; grid-template-columns: 20px 1fr; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.webmcp-review-checks li span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--muted); border-radius: 50%; background: #e9eef4; font-size: .7rem; font-weight: 800; }
.webmcp-review-checks li.is-passed span { color: #137333; background: #ceead6; }
.webmcp-work-dialog .webmcp-collaboration-trace { padding: 14px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.webmcp-work-dialog .webmcp-trace-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.webmcp-work-dialog .webmcp-trace-heading b { color: var(--ink); font-size: .78rem; }
.webmcp-work-dialog .webmcp-trace-heading span { color: var(--muted); font-size: .72rem; }
.webmcp-work-dialog .webmcp-collaboration-trace ol { max-height: 168px; overflow-y: auto; }
.webmcp-work-dialog .webmcp-trace-event { grid-template-columns: 24px minmax(0, 1fr) auto; }
.webmcp-work-dialog .webmcp-trace-event > span:first-child { width: 24px; height: 24px; font-size: .7rem; }
.webmcp-work-dialog .webmcp-trace-event p { color: var(--muted); font-size: .74rem; }
.webmcp-work-dialog .webmcp-trace-event time { color: var(--muted); font-size: .7rem; }
.webmcp-trace-empty { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.webmcp-effect-grid { display: flex; flex-wrap: wrap; gap: 5px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.webmcp-effect-grid span { padding: 5px 6px; color: var(--muted); border-radius: 6px; background: #e9eef4; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; }
.webmcp-effect-grid b { color: var(--ink); }
.webmcp-recording-note { margin: 0; padding: 14px 14px 16px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.webmcp-recording-note b { color: var(--ink); }
.webmcp-dialog-boundary { margin: 0; padding: 14px 24px 16px; color: var(--muted); border-top: 1px solid var(--line-soft); background: var(--surface-alt); font-size: .78rem; line-height: 1.5; }
.webmcp-dialog-boundary b { color: var(--ink); }

@media (max-width: 1180px) {
  .hero-grid { column-gap: 42px; }
  .connector-heading { gap: 48px; }
  .connector-families { grid-template-columns: 1fr 1fr; }
  .intelligence-family { grid-column: 1 / -1; }
  .intelligence-family .connector-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .intelligence-family .connector-entry + .connector-entry { border-top: 0; border-left: 1px solid rgba(255,255,255,.075); border-radius: 0; }
  .agent-network { grid-template-columns: 1fr; }
  .agent-network-intro { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(320px, 1fr); column-gap: 28px; }
  .agent-network-intro .network-eyebrow { grid-column: 1 / -1; }
  .agent-network-intro > p:not(.network-eyebrow) { margin-top: 0; }
  .network-rule { grid-column: 1 / -1; }
  .story-flow { grid-template-columns: 1fr 34px 1fr 34px 1fr; }
  .story-flow article { min-height: 286px; padding: 24px; }
  .a2a-proof { grid-template-columns: 150px minmax(0, 1fr); }
  .a2a-timeline { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .a2a-timeline li { grid-template-columns: auto 1fr; }
  .app-body { grid-template-columns: 78px 250px minmax(420px, 1fr); }
  .detail-pane { display: none; }
  .app-topbar { grid-template-columns: 44px 128px minmax(240px, 580px) 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { padding-top: 84px; }
  .hero-grid { grid-template-areas: "copy" "visual" "conversion"; grid-template-columns: 1fr; grid-template-rows: auto; gap: 42px; }
  .hero-copy { max-width: 760px; }
  .mission-visual, .email-visual { width: 100%; max-width: 680px; }
  .email-visual { min-height: 620px; }
  .hero-conversion { width: 100%; max-width: 680px; }
  .story-section { padding-top: 96px; padding-bottom: 100px; }
  .story-heading h2 { white-space: normal; }
  .story-flow { grid-template-columns: 1fr; gap: 14px; }
  .story-flow article { min-height: auto; }
  .story-arrow { height: 24px; transform: rotate(90deg); }
  .story-thesis { border-radius: 22px; }
  .workspace-heading { grid-template-columns: 1fr; gap: 12px; }
  .workspace-heading > p { max-width: 620px; }
  .app-window { height: 720px; }
  .app-topbar { grid-template-columns: 40px 110px 1fr auto; padding: 0 12px; }
  .search-box { min-width: 0; }
  .search-box kbd { display: none; }
  .app-actions .icon-button { display: none; }
  .app-body { grid-template-columns: 74px 230px minmax(400px, 1fr); overflow-x: auto; }
  .hero-proof, .flow-grid { grid-template-columns: 1fr 1fr; }
  .hero-proof div:nth-child(2) { border-right: 0; }
  .hero-proof div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .flow-grid article { min-height: 230px; }
  .proof-grid, .faq-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .webmcp-sprint { grid-template-columns: 1fr; gap: 40px; }
  .webmcp-dialog-layout { grid-template-columns: 1fr; }
  .webmcp-v2-receipt { border-top: 1px solid var(--line-soft); border-left: 0; }
  .webmcp-editor-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .event-bar { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .event-separator, .event-bar strong { display: none; }
  .site-header { min-height: 68px; padding: 0 16px; }
  .site-header .brand { gap: 9px; }
  .site-header .brand > .brand-mark { width: 40px; height: 40px; }
  .site-header .brand-name { font-size: 1.2rem; }
  .brand-version { font-size: .52rem; }
  .text-button { display: none; }
  .button-small { min-height: 38px; padding: 0 16px; }
  .header-actions .button-primary { display: none; }
  .hero { padding: 80px 20px 68px; text-align: left; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-lede { margin-left: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero .button { width: 100%; }
  .mission-visual { min-height: 500px; padding: 18px; border-radius: 24px; }
  .email-visual { min-height: 0; padding: 16px; border-radius: 24px; }
  .teammate-work ol { grid-template-columns: 1fr 1fr; }
  .teammate-work li:nth-child(2)::after { display: none; }
  .email-visual > footer { align-items: flex-start; flex-direction: column; gap: 6px; }
  .mission-topbar b { display: none; }
  .mission-goal { min-height: 52px; gap: 10px; padding: 9px 11px; }
  .mission-goal p { font-size: .7rem; }
  .mission-network { height: 320px; margin-right: -6px; margin-left: -6px; }
  .mission-network::before { top: 128px; width: 224px; height: 224px; }
  .access-ring { top: 128px; width: 182px; height: 182px; }
  .access-ring-label { top: 21px; }
  .orbit-asset { gap: 3px; padding: 3px 5px 3px 3px; font-size: .34rem; }
  .orbit-asset i { width: 20px; height: 20px; }
  .orbit-asset img { width: 12px; height: 12px; }
  .workspace-orbit { top: -13px; }
  .bigquery-orbit { right: -23px; }
  .slack-orbit { left: -19px; }
  .rally-core { top: 128px; width: 102px; height: 102px; }
  .rally-core img { width: 38px; height: 38px; }
  .rally-core small { display: none; }
  .model-node { min-width: 130px; grid-template-columns: 31px 1fr; gap: 7px; padding: 9px; }
  .model-node .model-avatar { width: 31px; height: 31px; }
  .model-node small { font-size: .44rem; }
  .model-node strong { font-size: .64rem; }
  .gemini-node { top: 12px; left: 0; }
  .claude-node { top: 12px; right: 0; }
  .openai-node { bottom: 2px; }
  .network-line { top: 128px; width: 118px; }
  .network-line::after { left: 87px; }
  .line-openai { width: 150px; }
  .mission-outcome { grid-template-columns: 36px 1fr; }
  .outcome-status { display: none; }
  .hero-proof { grid-template-columns: 1fr 1fr; margin-top: 54px; text-align: left; }
  .hero-proof div { min-height: 104px; padding: 18px; }
  .hero-proof strong { font-size: 1.55rem; }
  .story-section { padding: 82px 20px 90px; }
  .story-heading { margin-bottom: 38px; }
  .story-heading > p:not(.eyebrow) { font-size: 1rem; }
  .story-flow article { min-height: 240px; padding: 24px; border-radius: 22px; }
  .story-flow h3 { font-size: 1.2rem; }
  .story-thesis { margin-top: 28px; padding: 16px 18px; text-align: left; }
  .a2a-proof { grid-template-columns: 1fr; gap: 20px; margin-top: 18px; padding: 22px; border-radius: 20px; }
  .a2a-timeline { grid-column: auto; grid-template-columns: 1fr; }
  .a2a-timeline li { grid-template-columns: 90px 1fr; }
  .workspace-section { padding: 70px 12px; }
  .workspace-heading { padding: 0 10px; }
  .app-window { height: 750px; border-radius: 16px; }
  .app-topbar { grid-template-columns: 36px 1fr auto; height: 64px; padding: 0 10px; }
  .app-topbar > .app-brand { justify-self: start; }
  .search-box { display: none; }
  .app-body { height: calc(100% - 64px); display: block; overflow: hidden; }
  .app-rail, .run-list, .detail-pane { display: none; }
  .thread-pane { height: 100%; grid-template-rows: 74px minmax(0, 1fr) 66px; }
  .thread-header { padding: 0 14px; }
  .thread-header .status-chip { display: none; }
  .back-mobile { display: inline; }
  .thread-stream { padding: 18px 14px 30px; }
  .thread-message { grid-template-columns: 30px minmax(0, 1fr); gap: 8px; }
  .message-avatar { width: 28px; height: 28px; }
  .message-card { padding: 12px; }
  .thread-footer { padding: 0 12px; }
  .thread-footer button { display: none; }
  .console-live span { display: none; }
  .console-live { padding: 7px; }
  .section { padding: 90px 20px; }
  .architecture-section { padding-left: 20px; padding-right: 20px; }
  .connector-section { padding-left: 20px; padding-right: 20px; }
  .connector-heading { grid-template-columns: 1fr; gap: 28px; }
  .connector-heading-copy { max-width: 620px; }
  .connector-families { grid-template-columns: 1fr; }
  .connector-family > header { min-height: 96px; padding: 20px; }
  .intelligence-family { grid-column: auto; }
  .intelligence-family .connector-list { display: block; }
  .intelligence-family .connector-entry + .connector-entry { border-top: 1px solid rgba(255,255,255,.075); border-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
  .agent-network { grid-template-columns: 1fr; padding: 24px; }
  .agent-network-intro { display: block; }
  .agent-network-intro > p:not(.network-eyebrow) { margin-top: 14px; }
  .agent-network-list { grid-template-columns: 1fr; }
  .agent-connection > p { min-height: 0; margin-bottom: 20px; }
  .connector-meta { grid-template-columns: auto auto; justify-content: space-between; }
  .connector-meta .guardrail { grid-column: 1 / -1; grid-row: 2; }
  .section-heading { margin-bottom: 36px; }
  .feature-card { padding: 26px; border-radius: 22px; }
  .feature-kicker { margin-bottom: 24px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid article { min-height: auto; padding: 26px; }
  .flow-kicker { margin-bottom: 22px; }
  .proof-grid { gap: 14px; }
  .proof-grid, .eval-card, .test-card { min-width: 0; }
  .eval-card, .test-card { min-height: auto; padding: 20px; overflow: hidden; border-radius: 18px; }
  .test-card pre { max-width: 100%; padding: 16px; font-size: .66rem; }
  .card-header { flex-wrap: wrap; }
  .trust-domain > header { min-height: 0; padding: 22px; }
  .trust-controls { grid-template-columns: 1fr; }
  .trust-control { min-height: 0; padding: 22px; }
  .trust-control + .trust-control { border-top: 1px solid var(--line-soft); border-left: 0; }
  .final-cta { padding: 90px 20px; }
  .final-cta .button { width: 100%; }
  .a2a-trust { min-height: 0; align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px 20px; }
  .trust-badges { width: 100%; flex-wrap: wrap; }
  .a2a-trust-badge, .webmcp-trust-badge { flex: 1 1 250px; }
  .a2a-trust > p { text-align: left; }
  .site-footer { min-height: 0; grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .site-footer > div { flex-wrap: wrap; justify-content: flex-start; gap: 10px 14px; }
  .setup-dialog { padding: 28px 20px; }
  .setup-tabs { grid-template-columns: 1fr; border-radius: 16px; }
  .setup-tabs button { border-radius: 12px; }
  .job-draft-fields { grid-template-columns: 1fr; }
  .job-field-wide { grid-column: auto; }
  .webmcp-ready { align-items: flex-start; flex-direction: column; }
  .webmcp-task-receipt > header { align-items: flex-start; flex-direction: column; }
  .webmcp-task-facts { grid-template-columns: 1fr 1fr; }
  .webmcp-task-facts > div:nth-child(3) { border-left: 0; border-top: 1px solid #dce8fb; }
  .webmcp-task-facts > div:nth-child(4) { border-top: 1px solid #dce8fb; }
  .provider-list > div { grid-template-columns: 38px 1fr; }
  .provider-status { display: none; }
  .webmcp-sprint { gap: 34px; padding: 78px 20px; }
  .webmcp-v2-runtime { width: 100%; border-radius: 14px; }
  .webmcp-preset { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 12px; padding: 16px; }
  .webmcp-preset-icon { width: 42px; height: 42px; }
  .webmcp-work-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 18px; }
  .webmcp-dialog-heading { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 24px 54px 20px 18px; }
  .webmcp-dialog-heading .brand-mark { width: 48px; height: 48px; }
  .webmcp-dialog-heading h2 { font-size: 2rem; }
  .webmcp-dialog-tabs { gap: 4px; padding: 4px; }
  .webmcp-dialog-tabs button { min-height: 72px; grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 8px 4px; text-align: center; }
  .webmcp-dialog-tabs button > span:first-child { width: 30px; height: 30px; }
  .webmcp-dialog-tabs small { display: none; }
  .webmcp-turn-strip { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: 8px; padding: 12px; }
  .webmcp-turn-strip > b { display: none; }
  .webmcp-workflow-panel { padding: 20px 12px; }
  .webmcp-panel-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .webmcp-inline-fields, .webmcp-form-actions { grid-template-columns: 1fr; }
  .webmcp-form-actions .button { width: 100%; }
  .webmcp-route-strip { grid-template-columns: 1fr; }
  .webmcp-route-strip > i { transform: rotate(90deg); text-align: center; }
  .webmcp-artifact-editor > textarea:last-child { min-height: 330px; }
  .webmcp-dialog-boundary { padding: 14px 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .console-loading i, .handoff-lane::after, .mission-visual *, .mission-visual *::before, .mission-visual *::after { animation: none; }
}
