:root {
  color-scheme: dark;
  --ink: #eef4ff;
  --muted: #8f9db3;
  --navy: #07111f;
  --navy-2: #0a1728;
  --panel: rgba(14, 29, 48, 0.78);
  --line: rgba(166, 193, 229, 0.14);
  --cyan: #58dcff;
  --violet: #8f7cff;
  --gold: #e4bd73;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--navy); min-width: 320px; }
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; opacity: .55;
  background: radial-gradient(circle at 15% 10%, rgba(61, 122, 255, .13), transparent 32%),
              radial-gradient(circle at 88% 30%, rgba(111, 78, 255, .11), transparent 30%),
              linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 52px 52px, 52px 52px;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 50; padding: 12px 16px; background: white; color: #07111f; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(7,17,31,.78); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1.05; gap: 5px; }
.brand strong { letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.brand-mark { width: 34px; height: 34px; position: relative; display: inline-grid; place-items: center; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 1px solid rgba(88,220,255,.55); border-radius: 50%; }
.brand-mark::before { width: 26px; height: 26px; }
.brand-mark::after { width: 12px; height: 12px; background: rgba(88,220,255,.12); }
.brand-mark i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); position: absolute; box-shadow: 0 0 10px var(--cyan); }
.brand-mark i:nth-child(1) { transform: translate(0,-15px); }.brand-mark i:nth-child(2) { transform: rotate(120deg) translateY(-15px); }.brand-mark i:nth-child(3) { transform: rotate(240deg) translateY(-15px); }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
nav > a { color: #b8c5d9; text-decoration: none; font-size: 13px; }
nav > a:hover, nav > a:focus-visible { color: white; }
.live-pill, .protected-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #b8c5d9; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.live-pill span { width: 7px; height: 7px; border-radius: 50%; background: #ffd166; box-shadow: 0 0 12px #ffd166; }
.live-pill.online span { background: #59e29a; box-shadow: 0 0 12px #59e29a; }
.live-pill.offline span { background: #ff6775; box-shadow: 0 0 12px #ff6775; }

main { overflow: hidden; }
.hero { max-width: 1500px; min-height: 720px; margin: 0 auto; padding: 96px clamp(24px, 6vw, 96px) 76px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.eyebrow { margin: 0 0 20px; color: #9fb3cf; font-size: 11px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.eyebrow i { width: 30px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.hero h1, .section-heading h2, .governance-section h2 { margin: 0; letter-spacing: -.055em; font-weight: 650; line-height: .98; }
.hero h1 { font-size: clamp(54px, 7vw, 104px); max-width: 900px; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(105deg, #eef4ff 5%, #78dfff 45%, #9b88ff 92%); -webkit-background-clip: text; background-clip: text; }
.hero-lede { margin: 30px 0; max-width: 690px; color: #aab8cc; line-height: 1.75; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; border-radius: 10px; text-decoration: none; border: 1px solid var(--line); color: white; font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: linear-gradient(135deg, #2874ff, #6c5cff); border-color: rgba(138, 162, 255, .55); box-shadow: 0 14px 38px rgba(58, 82, 238, .28); }
.button.ghost { background: rgba(255,255,255,.025); }
.hero-stats { display: flex; gap: 40px; margin: 54px 0 0; }
.hero-stats div { padding-right: 36px; border-right: 1px solid var(--line); }.hero-stats div:last-child { border: 0; }
.hero-stats dt { font-size: 22px; font-weight: 700; }.hero-stats dd { margin: 5px 0 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { width: min(42vw, 590px); aspect-ratio: 1; margin: auto; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle, rgba(57,133,255,.22), rgba(31,43,99,.06) 48%, transparent 70%); filter: blur(3px); }
.orbital { position: absolute; border: 1px solid rgba(113,166,255,.25); border-radius: 50%; }
.orbital::before, .orbital::after { content: ""; width: 6px; height: 6px; position: absolute; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); top: 50%; }
.orbital-one { inset: 10%; animation: spin 24s linear infinite; }.orbital-one::before { left: -3px; }.orbital-one::after { right: -3px; }
.orbital-two { inset: 24%; border-style: dashed; animation: spinReverse 18s linear infinite; }.orbital-two::before { top: -3px; left: 50%; }
.core { width: 190px; height: 190px; border-radius: 50%; border: 1px solid rgba(117,180,255,.5); background: rgba(8,21,39,.86); box-shadow: inset 0 0 45px rgba(63,124,255,.15), 0 0 70px rgba(66,116,255,.2); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 2; }
.core::before, .core::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(133,99,255,.25); border-radius: 50%; }.core::after { inset: 28px; border-style: dashed; }
.core-kicker { font-size: 9px; color: var(--cyan); letter-spacing: .2em; z-index: 1; }.core strong { font-size: 30px; letter-spacing: .08em; margin: 7px 0; z-index: 1; }.core small { color: var(--muted); z-index: 1; }
.satellite { position: absolute; width: 86px; height: 86px; padding: 4px; border-radius: 50%; background: rgba(10,23,40,.96); border: 1px solid rgba(125,170,255,.34); box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 3; }
.satellite img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }.satellite span { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); font-size: 9px; letter-spacing: .12em; color: #a9bbd3; }
.sat-a { top: 3%; left: 43%; }.sat-b { right: 0; top: 43%; }.sat-c { bottom: 2%; left: 45%; }.sat-d { left: 1%; top: 45%; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes spinReverse { to { transform: rotate(-360deg); } }

.process-strip { max-width: 1320px; margin: 0 auto 120px; padding: 20px 26px; border: 1px solid var(--line); background: rgba(9,22,39,.7); border-radius: 16px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 20px; box-shadow: var(--shadow); }
.process-strip div { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: center; }.process-strip span { grid-row: 1/3; color: var(--cyan); font-size: 11px; }.process-strip strong { font-size: 13px; }.process-strip small { color: var(--muted); }.process-strip > i { color: #52647c; font-style: normal; }

.council-section, .foundry-section, .governance-section { max-width: 1420px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 70px) 130px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; }
.section-heading h2, .governance-section h2 { font-size: clamp(40px, 5vw, 68px); }.section-heading > div > p:last-child, .governance-section > div > p:last-child { color: var(--muted); line-height: 1.65; max-width: 660px; }
.search-box { width: min(100%, 330px); height: 45px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: rgba(255,255,255,.025); }
.search-box svg { width: 17px; stroke: #71829b; fill: none; stroke-width: 1.8; }.search-box input { width: 100%; border: 0; outline: 0; color: white; background: transparent; }.search-box input::placeholder { color: #6f7d91; }
.agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.agent-card { min-height: 405px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, rgba(15,31,50,.9), rgba(8,19,33,.96)); cursor: pointer; isolation: isolate; transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease; }
.agent-card::after { content: ""; position: absolute; inset: auto -20% -35% 20%; height: 55%; background: radial-gradient(circle, color-mix(in srgb, var(--agent-accent) 24%, transparent), transparent 68%); z-index: -1; }
.agent-card:hover, .agent-card:focus-visible { transform: translateY(-7px); border-color: color-mix(in srgb, var(--agent-accent) 52%, #49617e); box-shadow: 0 24px 55px rgba(0,0,0,.28); outline: none; }
.agent-card:nth-child(13) { grid-column: 2 / span 2; }
.agent-portrait { height: 235px; overflow: hidden; position: relative; }.agent-portrait::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0a1727); }
.agent-portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }.agent-card:hover img { transform: scale(1.045); }
.agent-meta { padding: 0 20px 20px; position: relative; margin-top: -12px; z-index: 1; }.agent-meta > span { color: var(--agent-accent); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }.agent-meta h3 { margin: 6px 0 5px; font-size: 21px; letter-spacing: .025em; }.agent-meta h3 small { display: block; color: #9aa9bc; font-size: 12px; font-weight: 500; margin-top: 4px; letter-spacing: 0; }.agent-meta p { margin: 10px 0 0; color: #8190a4; font-size: 12px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.agent-badge { position: absolute; top: 13px; right: 13px; z-index: 2; padding: 6px 8px; border-radius: 999px; background: rgba(4,12,23,.72); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.loading-copy { color: var(--muted); grid-column: 1/-1; text-align: center; padding: 60px; }
.agent-progress { display: grid; gap: 7px; margin-top: 14px; }.progress-heading { display: flex; justify-content: space-between; align-items: center; color: #9aabc2; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }.progress-heading b { color: var(--cyan); font-size: 10px; }.progress-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }.progress-track i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 10px rgba(88,220,255,.4); transition: width .45s ease; }.agent-progress small { color: #71839a; font-size: 9px; }.agent-progress p { margin: 3px 0 0; color: #91a1b6; font-size: 10px; line-height: 1.5; }.agent-progress.compact { margin-top: 12px; gap: 5px; }

.workspace-section { padding: 110px max(24px, calc((100vw - 1280px)/2)) 130px; background: linear-gradient(180deg, rgba(9,20,36,.15), rgba(13,28,48,.86) 18%, #091524); border-block: 1px solid var(--line); }
.section-heading.inverse .eyebrow { color: var(--cyan); }.protected-pill svg { width: 16px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.workspace-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 18px; min-height: 620px; }
.task-panel, .result-panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(6,17,30,.78); box-shadow: var(--shadow); }
.task-panel { padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.panel-topline { display: flex; align-items: center; gap: 12px; color: var(--cyan); font-size: 10px; letter-spacing: .15em; }.panel-topline i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(88,220,255,.4), transparent); }
.task-panel label { display: grid; gap: 8px; }.task-panel label > span:first-child { font-size: 12px; font-weight: 700; }.task-panel label > small { color: #687991; font-size: 10px; }
.field-control { display: flex; align-items: center; border: 1px solid rgba(149,180,218,.17); border-radius: 10px; background: rgba(255,255,255,.025); overflow: hidden; transition: border-color .2s; }.field-control:focus-within { border-color: rgba(88,220,255,.55); }
.field-control input, .field-control textarea { width: 100%; color: white; background: transparent; border: 0; outline: 0; padding: 13px 14px; }.field-control input::placeholder, .field-control textarea::placeholder { color: #627187; }
.secret-field button { margin-right: 8px; border: 0; color: #98a9c1; background: transparent; cursor: pointer; font-size: 11px; }
.textarea-control { display: grid; }.textarea-control textarea { resize: vertical; min-height: 160px; line-height: 1.6; }.textarea-control b { color: #64758d; font-size: 9px; text-align: right; padding: 0 12px 10px; font-weight: 500; }
.brief-presets { display: flex; flex-wrap: wrap; gap: 7px; }.brief-presets button, .result-actions button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #8fa0b8; background: rgba(255,255,255,.025); cursor: pointer; font-size: 10px; }.brief-presets button:hover { color: white; border-color: #526784; }
.submit-button { width: 100%; border: 0; margin-top: auto; }.submit-button:disabled { cursor: wait; filter: grayscale(.25); opacity: .72; }
.result-panel { min-width: 0; overflow: hidden; display: flex; flex-direction: column; }.result-header { min-height: 64px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.result-header > div:first-child { display: flex; align-items: center; gap: 9px; }.result-dot { width: 7px; height: 7px; border-radius: 50%; background: #596a82; }.result-dot.active { background: #59e29a; box-shadow: 0 0 12px #59e29a; }.result-header strong { font-size: 12px; }.result-actions { display: flex; gap: 7px; }.result-actions button:disabled { opacity: .35; cursor: not-allowed; }
.result-empty { flex: 1; display: grid; place-items: center; align-content: center; text-align: center; padding: 40px; }.result-empty h3 { margin: 28px 0 8px; }.result-empty p { max-width: 390px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.empty-rings { width: 90px; height: 90px; position: relative; border: 1px dashed rgba(88,220,255,.3); border-radius: 50%; display: grid; place-items: center; animation: spin 18s linear infinite; }.empty-rings::before { content: ""; width: 44px; height: 44px; border: 1px solid rgba(142,115,255,.45); border-radius: 50%; }.empty-rings span, .empty-rings i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.empty-rings span { top: -4px; }.empty-rings i { bottom: 15px; right: 6px; background: var(--violet); }
.result-content { padding: 24px; overflow: auto; max-height: 760px; }.result-summary { padding: 18px; border: 1px solid rgba(88,220,255,.18); border-radius: 12px; background: rgba(40,83,132,.12); }.result-summary > span { color: var(--cyan); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }.result-summary p { white-space: pre-wrap; line-height: 1.7; color: #dce7f7; font-size: 13px; }
.routing-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin: 18px 0; }.routing-row span { padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line); color: #99aac2; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }.routing-row span.primary-agent { color: #07111f; background: var(--cyan); border-color: var(--cyan); font-weight: 800; }
.output-block { margin-top: 15px; }.output-block h3 { margin: 0 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #8495ac; }.output-block pre { margin: 0; padding: 16px; border-radius: 11px; background: rgba(0,0,0,.18); border: 1px solid var(--line); color: #becce0; white-space: pre-wrap; word-break: break-word; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }.status-tag { display: inline-flex; margin-left: auto; border-radius: 999px; padding: 5px 8px; color: #59e29a; border: 1px solid rgba(89,226,154,.3); font-size: 9px; text-transform: uppercase; }
.learning-card, .feedback-card { margin-top: 15px; padding: 16px; border: 1px solid rgba(143,124,255,.25); border-radius: 12px; background: linear-gradient(135deg, rgba(89,72,188,.12), rgba(21,87,119,.08)); }
.learning-heading { display: flex; align-items: center; gap: 11px; }.learning-heading > div { flex: 1; }.learning-heading h3, .feedback-card h3 { margin: 0; font-size: 12px; }.learning-heading p, .feedback-card > p { margin: 4px 0 0; color: #8798b0; font-size: 10px; line-height: 1.5; }.learning-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); border: 1px solid rgba(88,220,255,.3); background: rgba(88,220,255,.07); }.learning-state { padding: 5px 8px; border: 1px solid rgba(143,124,255,.32); border-radius: 999px; color: #bdb2ff; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }.learning-state.learned { color: #61e7a1; border-color: rgba(89,226,154,.34); }.learning-state.exploration { color: #ffd17c; border-color: rgba(255,209,124,.34); }
.learning-metrics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }.learning-metrics span { padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: #9bacc3; font-size: 9px; }.learning-boundary { margin: 12px 0 0; padding-top: 11px; border-top: 1px solid var(--line); color: #71839d; font-size: 10px; line-height: 1.55; }
.feedback-card { border-color: var(--line); background: rgba(255,255,255,.018); }.feedback-comment { width: 100%; margin-top: 12px; padding: 10px 11px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; outline: 0; color: white; background: rgba(0,0,0,.16); font-size: 11px; line-height: 1.5; }.feedback-comment:focus { border-color: rgba(88,220,255,.45); }.feedback-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }.feedback-actions button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #9eafc5; background: transparent; cursor: pointer; font-size: 9px; }.feedback-actions button:hover, .feedback-actions button.selected { color: white; border-color: rgba(88,220,255,.45); background: rgba(88,220,255,.09); }.feedback-actions button:disabled { cursor: default; opacity: .55; }.feedback-status { display: block; min-height: 14px; margin-top: 9px; color: #71dba5; font-size: 9px; }
.loading-state .empty-rings { animation-duration: 2s; }.loading-state h3::after { content: ""; animation: dots 1.4s steps(4,end) infinite; } @keyframes dots { 0%{content:""}25%{content:"."}50%{content:".."}75%,100%{content:"..."} }
.error-box { padding: 18px; border: 1px solid rgba(255,103,117,.28); background: rgba(255,66,85,.08); border-radius: 12px; color: #ffc2c9; line-height: 1.6; font-size: 13px; }

.learning-records { margin-top: 15px; padding: 16px; border: 1px solid rgba(88,220,255,.2); border-radius: 12px; background: rgba(14,42,62,.3); }.learning-records > h3 { margin: 0 0 12px; font-size: 12px; }.learning-records article { padding: 12px 0; border-top: 1px solid var(--line); }.learning-records article:first-of-type { border-top: 0; padding-top: 0; }.learning-records strong { color: var(--cyan); font-size: 10px; letter-spacing: .08em; }.learning-records p { margin: 6px 0 0; color: #a3b2c6; font-size: 10px; line-height: 1.55; }
.created-agent-card { display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; margin-top: 15px; padding: 12px; border: 1px solid rgba(89,226,154,.25); border-radius: 12px; background: rgba(34,110,76,.1); }.created-agent-card img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; }.created-agent-card span { color: #65e5a3; font-size: 8px; text-transform: uppercase; letter-spacing: .13em; }.created-agent-card h3 { margin: 4px 0; font-size: 15px; }.created-agent-card p, .created-agent-card small { margin: 0; color: #8fa1b8; font-size: 10px; line-height: 1.45; }

.foundry-section { max-width: none; padding-top: 120px; padding-inline: max(24px, calc((100vw - 1280px)/2)); background: radial-gradient(circle at 85% 18%, rgba(111,78,255,.12), transparent 28%); }.foundry-section > .section-heading, .foundry-grid { max-width: 1280px; margin-inline: auto; }.foundry-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 18px; align-items: start; }.foundry-form, .registry-panel { border: 1px solid var(--line); border-radius: 18px; background: rgba(7,18,32,.83); box-shadow: var(--shadow); }.foundry-form { padding: 28px; display: grid; gap: 19px; }.foundry-form > label:not(.switch-row), .foundry-options > label:not(.switch-row) { display: grid; gap: 8px; }.foundry-form label > span:first-child, .foundry-options label > span:first-child { font-size: 12px; font-weight: 700; }.switch-row { display: flex; align-items: flex-start; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); cursor: pointer; }.switch-row input { margin-top: 3px; accent-color: #5edfff; }.switch-row span { display: grid; gap: 4px; }.switch-row b { font-size: 11px; }.switch-row small { color: #73849c; font-size: 9px; line-height: 1.4; }.switch-row.compact { min-height: 62px; }.foundry-form fieldset { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 11px; }.foundry-form legend { padding: 0 7px; color: #9bacc2; font-size: 10px; }.skill-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }.skill-option { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.025); cursor: pointer; }.skill-option input { grid-row: 1/3; accent-color: var(--cyan); }.skill-option span { font-size: 10px; font-weight: 750; }.skill-option small { color: #718199; font-size: 8px; }.foundry-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.foundry-options select { min-height: 62px; width: 100%; padding: 0 12px; color: white; border: 1px solid var(--line); border-radius: 10px; background: #0b1a2c; outline: 0; }.foundry-options select:focus { border-color: rgba(88,220,255,.55); }.foundry-status { min-height: 16px; margin: -5px 0 0; color: #8192aa; font-size: 10px; line-height: 1.5; }
.registry-panel { min-width: 0; overflow: hidden; }.registry-header { min-height: 64px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.registry-header > div { display: flex; align-items: center; gap: 9px; }.registry-header strong { font-size: 12px; }.registry-header button, .derived-actions button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #9aabc2; background: rgba(255,255,255,.025); cursor: pointer; font-size: 9px; }.registry-header button:hover, .derived-actions button:hover { color: white; border-color: rgba(88,220,255,.42); }.registry-list { display: grid; gap: 12px; padding: 16px; max-height: 840px; overflow: auto; }.registry-empty { min-height: 300px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 30px; }.registry-empty h3 { margin: 0 0 8px; }.registry-empty p { max-width: 370px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }.derived-card { display: grid; grid-template-columns: 146px 1fr; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }.derived-card > img { width: 146px; height: 100%; min-height: 192px; object-fit: cover; border-radius: 10px; background: #10233a; }.derived-body { min-width: 0; padding: 5px 5px 5px 0; }.derived-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.derived-top span { color: #71849e; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; }.derived-top h3 { margin: 5px 0 2px; font-size: 18px; }.derived-top code { color: #6ecfea; font-size: 8px; word-break: break-all; }.derived-status { padding: 5px 7px; border: 1px solid rgba(89,226,154,.25); border-radius: 999px; color: #67dca1; font-size: 8px; text-transform: uppercase; }.derived-skills { margin: 12px 0 0; color: #b4a9ff; font-size: 9px; line-height: 1.45; }.derived-objective { margin: 7px 0 0; color: #8a9ab0; font-size: 10px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }.derived-actions { display: flex; gap: 7px; margin-top: 13px; }

.governance-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; padding-top: 130px; }.governance-cards { display: grid; gap: 12px; }.governance-cards article { padding: 23px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.018); }.governance-cards span { grid-row: 1/3; color: var(--cyan); font-size: 11px; }.governance-cards h3 { margin: 0; font-size: 16px; }.governance-cards p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
footer { max-width: 1420px; margin: 0 auto; padding: 32px clamp(24px, 5vw, 70px); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #718199; font-size: 11px; } footer .brand { color: #cfd8e8; } footer > a:last-child { text-decoration: none; color: #9eb2cc; }

dialog { width: min(880px, calc(100% - 30px)); padding: 0; color: white; border: 1px solid rgba(149,180,218,.22); border-radius: 20px; background: #091627; box-shadow: 0 40px 100px rgba(0,0,0,.6); overflow: hidden; grid-template-columns: .85fr 1.15fr; }
dialog[open] { display: grid; animation: dialogIn .24s ease-out; } dialog::backdrop { background: rgba(1,6,14,.76); backdrop-filter: blur(8px); }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: white; background: rgba(5,13,24,.7); cursor: pointer; font-size: 20px; }.dialog-portrait { min-height: 440px; }.dialog-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }.dialog-copy { padding: 55px 42px 40px; }.dialog-copy h2 { margin: 0 0 18px; font-size: 42px; letter-spacing: .04em; }.dialog-copy > p:not(.eyebrow) { color: #a8b6ca; line-height: 1.7; }.dialog-foundation { margin-top: 17px; padding: 9px 11px; border: 1px solid rgba(143,124,255,.28); border-radius: 9px; color: #bcb3ff; background: rgba(93,74,183,.09); font-size: 9px; line-height: 1.5; }.dialog-learning > .agent-progress { margin-top: 18px; }.dialog-copy dl { margin: 25px 0 0; display: grid; gap: 17px; }.dialog-copy dl div { padding-top: 15px; border-top: 1px solid var(--line); }.dialog-copy dt { color: #6f8098; font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }.dialog-copy dd { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 72px; }.hero-copy { display: grid; justify-items: center; }.eyebrow { justify-content: center; }.hero-visual { width: min(80vw, 570px); }.agent-grid { grid-template-columns: repeat(3, 1fr); }.agent-card:nth-child(13) { grid-column: 2; }.workspace-grid, .foundry-grid { grid-template-columns: 1fr; }.result-panel { min-height: 560px; }.governance-section { grid-template-columns: 1fr; gap: 35px; }.governance-section > div:first-child { text-align: center; }.governance-section .eyebrow { justify-content: center; }.governance-section > div > p:last-child { margin-inline: auto; }
}
@media (max-width: 760px) {
  .site-header { height: 70px; padding-inline: 18px; }.site-header nav > a { display: none; }.live-pill { padding: 7px 9px; }.brand small { display: none; }
  .hero { min-height: auto; padding: 70px 22px; }.hero h1 { font-size: clamp(47px, 14vw, 70px); }.hero-lede { font-size: 15px; }.hero-stats { gap: 16px; }.hero-stats div { padding-right: 16px; }.hero-visual { margin-top: 25px; width: min(94vw, 500px); }.satellite { width: 66px; height: 66px; }.core { width: 150px; height: 150px; }
  .process-strip { margin: 0 20px 90px; grid-template-columns: 1fr 1fr; }.process-strip > i { display: none; }.process-strip div { padding: 10px; }
  .section-heading { align-items: stretch; flex-direction: column; }.section-heading .eyebrow { justify-content: flex-start; }.section-heading h2 { font-size: 43px; }.search-box { width: 100%; }
  .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }.agent-card:nth-child(13) { grid-column: 1/-1; }.agent-card { min-height: 295px; }.agent-portrait { height: 185px; }.agent-meta { padding-inline: 15px; }.agent-meta p { display: none; }
  .workspace-section, .foundry-section { padding-top: 80px; }.protected-pill { align-self: flex-start; }.task-panel, .foundry-form { padding: 20px; }.result-header { padding-inline: 14px; }.result-content { padding: 16px; }.foundry-options { grid-template-columns: 1fr; }.derived-card { grid-template-columns: 100px 1fr; }.derived-card > img { width: 100px; min-height: 160px; }
  .governance-section { padding-top: 90px; padding-bottom: 90px; }.governance-section h2 { font-size: 46px; }
  footer { flex-direction: column; text-align: center; }
  dialog[open] { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }.dialog-portrait { min-height: 300px; max-height: 360px; }.dialog-copy { padding: 32px 24px; }
}
@media (max-width: 450px) {
  .hero-actions { width: 100%; }.hero-actions .button { width: 100%; }.hero-stats { width: 100%; justify-content: space-between; }.hero-stats dt { font-size: 18px; }.hero-stats dd { font-size: 9px; }
  .satellite { width: 58px; height: 58px; }.satellite span { font-size: 7px; }.core { width: 128px; height: 128px; }.core strong { font-size: 24px; }
  .agent-grid { grid-template-columns: 1fr; }.agent-card:nth-child(13) { grid-column: auto; }.agent-portrait { height: 250px; }.agent-meta p { display: -webkit-box; }
  .result-actions button { padding: 6px 8px; }.brief-presets { display: grid; grid-template-columns: 1fr 1fr; }.brief-presets button:last-child { grid-column: 1/-1; }
  .skill-picker { grid-template-columns: 1fr; }.derived-card { grid-template-columns: 1fr; }.derived-card > img { width: 100%; height: 220px; }.created-agent-card { grid-template-columns: 58px 1fr; }.created-agent-card img { width: 58px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
