@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap");

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe7de;
  --white: #fffefa;
  --ink: #171714;
  --ink-2: #23231f;
  --muted: #6d6c65;
  --line: #cbc7bd;
  --line-dark: #393934;
  --accent: #ff5c35;
  --accent-dark: #d94321;
  --acid: #d7f96f;
  --success: #20825a;
  --sans: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1440px;
  --gutter: clamp(20px, 4vw, 72px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
img, svg { max-width: 100%; }
::selection { color: var(--ink); background: var(--acid); }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 20px; padding: 12px 16px; color: white; background: var(--ink); }
.skip-link:focus { top: 20px; }
.page-shell { width: min(var(--max), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.section-pad { padding-block: clamp(100px, 12vw, 190px); }

/* Global navigation */
.site-header { position: fixed; z-index: 100; top: 0; right: 0; left: 0; height: 82px; border-bottom: 1px solid transparent; transition: height .3s, border-color .3s, background .3s, backdrop-filter .3s; }
.site-header.scrolled { height: 68px; border-color: rgba(23,23,20,.12); background: rgba(244,241,234,.88); backdrop-filter: blur(18px); }
.header-inner { width: min(var(--max),calc(100% - (var(--gutter) * 2))); height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: auto; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 11px; font: 600 17px/1 var(--display); letter-spacing: -.055em; }
.brand-mark { width: 28px; height: 28px; fill: var(--accent); }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a, .sign-in { position: relative; font-size: 13px; font-weight: 500; letter-spacing: -.02em; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 0 22px; border: 1px solid transparent; border-radius: 0; font-size: 13px; font-weight: 600; letter-spacing: -.025em; transition: color .2s, background .2s, border-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; gap: 18px; padding-inline: 18px; font-size: 12px; }
.button-solid, .button-dark { color: var(--white); background: var(--ink); }
.button-solid:hover, .button-dark:hover { background: var(--accent); }
.button-accent { color: var(--ink); background: var(--accent); }
.button-accent:hover { color: white; background: var(--accent-dark); }
.button-light { border-color: var(--line); background: var(--white); }
.button-light:hover { border-color: var(--ink); }
.button-outline-light { color: white; border-color: #5a5a54; background: transparent; }
.button-outline-light:hover { color: var(--ink); border-color: var(--accent); background: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 600; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.menu-toggle { width: 42px; height: 42px; display: none; padding: 0; border: 0; background: transparent; }
.menu-toggle span { width: 22px; height: 1px; display: block; margin: 6px auto; background: var(--ink); transition: transform .2s; }
.menu-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: fixed; z-index: 90; inset: 0; visibility: hidden; padding-top: 82px; background: var(--paper); opacity: 0; transition: opacity .25s, visibility .25s; }
.mobile-nav.open { visibility: visible; opacity: 1; }
.mobile-nav-inner { height: 100%; overflow: auto; padding: 30px var(--gutter) 50px; }
.mobile-nav-inner > a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); font: 500 clamp(28px,7vw,44px)/1 var(--display); letter-spacing: -.055em; }
.mobile-nav-inner > a span { color: var(--muted); font: 500 10px var(--sans); }
.mobile-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 35px; }

/* Home hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding-top: 82px; border-bottom: 1px solid var(--line); }
.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: 140px minmax(0, 1fr) 330px; align-items: center; padding-block: clamp(80px, 10vw, 150px) 80px; }
.hero-index { align-self: end; display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; color: var(--muted); font-size: 10px; line-height: 1.3; text-transform: uppercase; letter-spacing: .12em; }
.hero-main { position: relative; z-index: 2; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 34px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.hero h1 { max-width: 1040px; margin: 0; font: 500 clamp(70px, 8.2vw, 142px)/.84 var(--display); letter-spacing: -.08em; text-wrap: balance; }
.hero h1 span, .display-heading span, .final-cta h2 span { color: var(--accent); }
.hero-copy { max-width: 820px; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 85px); margin-top: 58px; }
.hero-copy p { margin: 0; font-size: 16px; line-height: 1.55; letter-spacing: -.025em; }
.hero-copy p:last-child { color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.hero-orbit { position: absolute; z-index: 1; right: -90px; bottom: 32%; width: 400px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit::after { inset: 38%; }
.orbit-line { position: absolute; top: 50%; right: -50px; left: -50px; border-top: 1px solid var(--line); transform: rotate(-25deg); }
.orbit-core { position: absolute; z-index: 2; inset: 38%; display: grid; place-items: center; border-radius: 50%; background: var(--ink); }
.orbit-core svg { width: 42px; fill: var(--accent); }
.orbit-node { position: absolute; z-index: 3; padding: 7px 10px; border: 1px solid var(--line); background: var(--paper); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.orbit-node::before { content: ""; width: 5px; height: 5px; display: inline-block; margin-right: 6px; background: var(--accent); }
.orbit-node.n1 { top: 10%; left: 10%; }.orbit-node.n2 { top: 31%; right: -6%; }.orbit-node.n3 { right: 4%; bottom: 11%; }.orbit-node.n4 { bottom: 18%; left: -5%; }
.environment-strip { border-top: 1px solid var(--line); }
.environment-strip .page-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.environment-strip span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.environment-strip p { margin: 0; font-size: 12px; font-weight: 500; }
.environment-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }

/* Shared home section language */
.section-label { display: flex; align-items: center; gap: 13px; margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; }
body[data-page="home"] .section-label { visibility: hidden; }
.section-label span { color: var(--accent); }
.section-label.light { color: #85857e; }
.split-heading { display: grid; grid-template-columns: minmax(130px, .28fr) minmax(0, 1fr); gap: clamp(35px, 7vw, 120px); }
.display-heading { max-width: 1080px; margin: 0; font: 500 clamp(54px, 6vw, 98px)/.95 var(--display); letter-spacing: -.07em; }
.section-deck { max-width: 660px; margin: 35px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; letter-spacing: -.03em; }

/* Manifesto */
.manifesto { background: var(--white); }
.prose-columns { max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 70px; }
.prose-columns p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; letter-spacing: -.025em; }
.prose-columns p:last-child { color: var(--ink); font-weight: 500; }
.continuity-sentence { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; margin-top: 105px; padding-block: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 500 clamp(20px, 2vw, 30px) var(--display); letter-spacing: -.05em; }
.continuity-sentence svg { width: 100%; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1; vector-effect: non-scaling-stroke; }
.large-note { max-width: 800px; margin: 54px 0 0; font: 500 clamp(26px, 3vw, 42px)/1.2 var(--display); letter-spacing: -.055em; }

/* Product interface */
.product-stage { color: white; background: var(--ink); }
.stage-heading { display: grid; grid-template-columns: .28fr 1fr; gap: clamp(35px,7vw,120px); margin-bottom: 85px; }
.product-stage .display-heading span { color: #777771; }
.product-interface { overflow: hidden; border: 1px solid #3b3b36; background: #f6f4ee; box-shadow: 0 80px 150px rgba(0,0,0,.34); color: var(--ink); }
.interface-topbar { height: 62px; display: grid; grid-template-columns: 220px 1fr 80px; align-items: center; border-bottom: 1px solid #d7d3ca; background: #eeece5; }
.mini-brand { height: 100%; display: flex; align-items: center; gap: 8px; padding-left: 20px; border-right: 1px solid #d7d3ca; font: 600 12px var(--display); letter-spacing: -.04em; }
.mini-brand svg { width: 18px; fill: var(--accent); }
.workspace-switcher { justify-self: center; font-size: 10px; font-weight: 600; }
.workspace-switcher span { margin-left: 8px; color: var(--muted); }
.interface-user { justify-self: end; padding-right: 20px; }
.interface-user span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--ink); font-size: 8px; }
.interface-body { min-height: 650px; display: grid; grid-template-columns: 220px minmax(420px, 1fr) 300px; }
.interface-sidebar { padding: 28px 14px 16px; border-right: 1px solid #d7d3ca; background: #eeece5; }
.interface-sidebar > p { margin: 0 10px 10px; color: #8b8982; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.interface-sidebar nav { display: grid; gap: 2px; margin-bottom: 28px; }
.interface-sidebar nav a { display: flex; align-items: center; gap: 10px; padding: 10px; color: #686760; font-size: 9px; }
.interface-sidebar nav a.active { color: var(--ink); background: #fffefa; font-weight: 600; }
.interface-sidebar nav i { width: 11px; height: 11px; border: 1px solid #93918a; }
.interface-sidebar nav a.active i { border-color: var(--accent); background: var(--accent); }
.interface-sidebar nav b { margin-left: auto; font-size: 8px; font-weight: 500; }
.sidebar-identity { display: grid; gap: 4px; margin-top: 100px; padding: 16px 10px; border-top: 1px solid #d7d3ca; }
.sidebar-identity span, .sidebar-identity small { color: #8b8982; font-size: 8px; }.sidebar-identity strong { font-size: 9px; }
.interface-canvas { padding: 38px clamp(24px, 3vw, 48px); background: #faf9f5; }
.canvas-heading { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 28px; border-bottom: 1px solid #dedbd2; }
.canvas-heading p { margin: 0 0 10px; color: #8b8982; font-size: 8px; }
.canvas-heading h3 { margin: 0; font: 500 clamp(20px, 2vw, 29px) var(--display); letter-spacing: -.05em; }
.canvas-heading button { padding: 9px 12px; border: 1px solid #d4d1c8; background: transparent; font-size: 8px; }
.model-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 30px 0 42px; padding: 18px; border: 1px solid #dedbd2; background: white; }
.route-model { display: flex; align-items: center; gap: 10px; }
.route-model > span { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: #33332f; font-size: 10px; font-weight: 600; }
.route-model.to > span { background: var(--accent); }
.route-model div { display: grid; gap: 3px; }.route-model small { color: #929087; font-size: 7px; }.route-model strong { font-size: 8px; }
.route-transfer { display: flex; align-items: center; gap: 7px; color: var(--success); font-size: 7px; white-space: nowrap; }
.route-transfer i { height: 1px; flex: 1; background: #d5d2ca; }.route-transfer b { font-weight: 600; }
.conversation { display: grid; gap: 25px; }
.message { max-width: 78%; }.message.request { justify-self: end; }.message.response { justify-self: start; }
.message > span { display: block; margin-bottom: 7px; color: #88867e; font-size: 7px; }
.message p { margin: 0; padding: 16px 18px; border: 1px solid #dedbd2; background: white; font-size: 10px; line-height: 1.55; }
.message.request p { color: white; border-color: var(--ink); background: var(--ink); }
.message-sources { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border: 1px solid #dedbd2; border-top: 0; background: #f0eee8; font-size: 7px; }
.message-sources b { margin-right: 4px; }.message-sources span { padding-left: 7px; border-left: 1px solid #ccc9c0; color: #6f6d67; }
.context-drawer { padding: 28px 20px; border-left: 1px solid #d7d3ca; background: #f1efe9; }
.drawer-heading { display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 600; }
.drawer-heading b { padding: 5px 7px; color: #226848; background: #dcece3; font-size: 7px; }
.drawer-meter { height: 3px; margin: 18px 0 10px; background: #dad7cf; }.drawer-meter div { width: 64%; height: 100%; background: var(--accent); }
.context-drawer > p { margin: 0 0 28px; color: #74726b; font-size: 8px; line-height: 1.55; }
.context-group > small, .not-shared > small { color: #8a8880; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.context-group > div { display: flex; gap: 9px; padding: 12px 0; border-bottom: 1px solid #d8d5cd; }
.context-group i { width: 17px; height: 17px; display: grid; place-items: center; flex: none; border-radius: 50%; color: white; background: var(--success); font-size: 7px; font-style: normal; }
.context-group span { display: grid; gap: 3px; }.context-group strong { font-size: 8px; }.context-group small { color: #8a8880; font-size: 7px; }
.not-shared { margin-top: 24px; padding: 13px; border: 1px solid #d7d3ca; }.not-shared p { margin: 8px 0 0; color: #77756e; font-size: 7px; line-height: 1.55; }
.context-drawer > a { display: flex; justify-content: space-between; margin-top: 25px; padding-bottom: 8px; border-bottom: 1px solid #aaa79e; font-size: 8px; font-weight: 600; }
.platform-features { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid var(--line-dark); }
.platform-features article { min-height: 310px; padding: 26px 28px 0 0; border-right: 1px solid var(--line-dark); }
.platform-features article:not(:first-child) { padding-left: 28px; }
.platform-features article:last-child { border-right: 0; }
.platform-features article > span { color: var(--accent); font-size: 9px; }
.platform-features h3 { margin: 100px 0 15px; font: 500 22px/1.1 var(--display); letter-spacing: -.045em; }
.platform-features p { margin: 0; color: #8e8e87; font-size: 12px; line-height: 1.6; }

/* Workflow */
.how-section { background: var(--paper); }
.flow-experience { margin-top: 100px; border-top: 1px solid var(--line); }
.flow-tabs { display: grid; grid-template-columns: repeat(5,1fr); }
.flow-tabs button { min-height: 150px; display: grid; align-content: start; gap: 6px; padding: 22px 18px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; text-align: left; transition: background .2s; }
.flow-tabs button:first-child { border-left: 1px solid var(--line); }
.flow-tabs button:hover, .flow-tabs button.active { background: var(--white); }
.flow-tabs button.active { border-bottom-color: var(--white); }
.flow-tabs button > span { margin-bottom: 38px; color: var(--accent); font-size: 9px; }.flow-tabs button strong { font: 500 17px var(--display); }.flow-tabs button small { color: var(--muted); font-size: 9px; }
.flow-panel { min-height: 430px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; padding: 60px 7%; background: var(--white); }
.flow-panel[hidden] { display: none; }
.flow-panel > div:first-child > span { color: var(--accent); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.flow-panel h3 { max-width: 520px; margin: 20px 0; font: 500 clamp(34px,3.2vw,52px)/1 var(--display); letter-spacing: -.06em; }
.flow-panel p { max-width: 510px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.flow-visual { position: relative; min-height: 260px; border: 1px solid var(--line); background: var(--paper); }
.source-stack i { position: absolute; width: 180px; height: 110px; display: grid; place-items: center; border: 1px solid var(--line); background: white; font-size: 10px; font-style: normal; box-shadow: 8px 8px 0 var(--paper-2); }
.source-stack i:nth-child(1) { top: 30px; left: 30px; transform: rotate(-5deg); }.source-stack i:nth-child(2) { top: 80px; left: 29%; transform: rotate(3deg); }.source-stack i:nth-child(3) { right: 28px; bottom: 25px; transform: rotate(-2deg); }
.source-stack b, .model-wheel b { position: absolute; z-index: 2; top: 50%; left: 50%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--ink); transform: translate(-50%,-50%); font: 600 25px var(--display); }
.approval-list { display: grid; align-content: center; gap: 8px; padding: 35px; }
.approval-list i { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); background: white; font-size: 10px; font-style: normal; }.approval-list b { width: 22px; height: 22px; display: grid; place-items: center; color: white; background: var(--success); }.approval-list i:last-child b { color: var(--ink); background: var(--accent); }
.model-wheel { border-radius: 50%; }.model-wheel i { position: absolute; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 11px; font-style: normal; }.model-wheel i:nth-child(1) { top: 18px; left: 47%; }.model-wheel i:nth-child(2) { top: 42%; right: 30px; }.model-wheel i:nth-child(3) { bottom: 22px; left: 45%; }.model-wheel i:nth-child(4) { top: 42%; left: 30px; }
.context-bars { display: grid; align-content: center; gap: 18px; padding: 45px; }.context-bars i { width: 92%; height: 22px; display: block; background: var(--ink); }.context-bars i:nth-child(2) { width: 68%; background: var(--accent); }.context-bars i:nth-child(3) { width: 44%; background: #9c9a92; }.context-bars span { margin-top: 15px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.checkpoint { display: grid; place-content: center; text-align: center; }.checkpoint i { width: 70px; height: 70px; display: block; margin: 0 auto 22px; border: 22px solid var(--accent); border-radius: 50%; outline: 1px solid var(--ink); outline-offset: 7px; }.checkpoint b { font: 500 18px var(--display); }.checkpoint span { margin-top: 7px; color: var(--muted); font-size: 9px; }

/* Authority */
.authority-section { color: white; background: var(--ink); }
.authority-title { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 80px; }
.authority-title h2 { margin: 0; font: 500 clamp(54px,6vw,95px)/.95 var(--display); letter-spacing: -.075em; }
.authority-title h2:last-child { color: var(--accent); }
.authority-deck { max-width: 520px; margin: 60px 0 70px 50%; color: #8e8e87; font-size: 17px; line-height: 1.6; }
.authority-list { border-top: 1px solid var(--line-dark); }
.authority-list article { display: grid; grid-template-columns: 80px .8fr 1fr; gap: 40px; align-items: start; padding: 35px 0; border-bottom: 1px solid var(--line-dark); }
.authority-list article > span { color: var(--accent); font-size: 9px; }.authority-list h3 { margin: 0; font: 500 25px var(--display); letter-spacing: -.045em; }.authority-list p { max-width: 620px; margin: 0; color: #8e8e87; font-size: 13px; line-height: 1.65; }
.authority-statement { margin: 80px 0 0; padding-left: calc(50% - 1px); font: 500 clamp(28px,3vw,43px)/1.2 var(--display); letter-spacing: -.055em; }

/* Controls */
.control-section { background: var(--white); }
.control-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 90px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.control-grid article { min-height: 300px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .25s, background .25s; }
.control-grid article:hover { color: white; background: var(--ink); }
.control-grid svg { width: 36px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.control-grid h3 { margin: 92px 0 13px; font: 500 20px var(--display); letter-spacing: -.04em; }.control-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }.control-grid article:hover p { color: #999990; }

/* Audiences */
.audience-section { background: var(--paper-2); }
.audience-section > .page-shell > .display-heading { margin: 40px 0 90px 28%; }
.audience-rows { border-top: 1px solid var(--line); }
.audience-rows article { display: grid; grid-template-columns: .8fr 1.2fr 1fr .65fr; gap: 40px; align-items: start; padding: 45px 0; border-bottom: 1px solid var(--line); }
.audience-name { display: flex; gap: 18px; align-items: baseline; }.audience-name span { color: var(--accent); font-size: 9px; }.audience-name h3 { margin: 0; font: 500 32px var(--display); letter-spacing: -.055em; }
.audience-rows article > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.audience-rows ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.audience-rows li { font-size: 10px; }.audience-rows li::before { content: "—"; margin-right: 8px; color: var(--accent); }
.audience-rows article > a { justify-self: end; display: flex; gap: 15px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 600; }

/* Routing */
.routing-section { color: white; background: #23231f; }
.routing-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(60px,9vw,140px); align-items: center; }
.routing-copy .display-heading { margin: 45px 0 35px; font-size: clamp(52px,5.2vw,82px); }.routing-copy > p:not(.section-label) { max-width: 520px; margin: 0 0 38px; color: #999990; font-size: 15px; line-height: 1.65; }
.routing-board { border: 1px solid #45453f; background: #1c1c19; }
.routing-board-head, .routing-board-foot { min-height: 60px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #3b3b36; font-size: 9px; }.routing-board-head span { color: #8f8f87; text-transform: uppercase; letter-spacing: .1em; }.routing-board-head b { font-weight: 500; }
.routing-row { display: grid; grid-template-columns: 8px 1fr auto; gap: 18px; align-items: center; padding: 25px 24px; border-bottom: 1px solid #3b3b36; }
.routing-row > i { width: 7px; height: 34px; background: var(--accent); }.routing-row > i.reason { background: #cabdff; }.routing-row > i.efficient { background: var(--acid); }.routing-row > i.review { background: #72b9ff; }
.routing-row div { display: grid; gap: 5px; }.routing-row strong { font-size: 11px; }.routing-row small { color: #85857e; font-size: 8px; }.routing-row > span { padding: 7px 9px; border: 1px solid #4b4b45; color: #b7b7af; font-size: 8px; }
.routing-board-foot { border-bottom: 0; }.routing-board-foot span { color: #85857e; }.routing-board-foot b { margin-left: auto; margin-right: 25px; }.routing-board-foot a { color: var(--accent); }

/* Protocol and security */
.protocol-section { background: var(--paper); }
.protocol-levels { margin: 75px 0 35px; border-top: 1px solid var(--line); }
.protocol-levels article { display: grid; grid-template-columns: 55px 1fr auto; gap: 30px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); }
.protocol-levels article > span { color: var(--accent); font-size: 9px; }.protocol-levels h3 { margin: 0 0 7px; font: 500 21px var(--display); letter-spacing: -.04em; }.protocol-levels p { margin: 0; color: var(--muted); font-size: 11px; }.protocol-levels article > b { padding: 7px 9px; border: 1px solid var(--line); font-size: 8px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.security-strip { padding-block: 100px; color: var(--ink); background: var(--accent); }
.security-strip .page-shell { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.security-copy .section-label { color: #72240f; }.security-copy .section-label span { color: var(--ink); }.security-copy h2 { margin: 35px 0 25px; font: 500 clamp(50px,5.3vw,84px)/.95 var(--display); letter-spacing: -.07em; }.security-copy > p:last-child { max-width: 670px; margin: 0; font-size: 15px; line-height: 1.6; }
.security-links { border-top: 1px solid rgba(23,23,20,.4); }.security-links a { display: grid; grid-template-columns: 1fr auto; gap: 7px 30px; padding: 23px 0; border-bottom: 1px solid rgba(23,23,20,.4); }.security-links a > span { color: #72240f; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }.security-links a b { font-size: 13px; }.security-links a i { grid-row: 1/3; grid-column: 2; align-self: center; font-size: 20px; font-style: normal; transition: transform .2s; }.security-links a:hover i { transform: translate(3px,-3px); }

/* Final CTA */
.final-cta { position: relative; overflow: hidden; padding-block: clamp(130px,15vw,220px); color: white; background: var(--ink); }
.final-cta .page-shell { position: relative; z-index: 2; }.final-cta .section-label { color: #85857e; }.final-cta h2 { max-width: 1100px; margin: 50px 0 45px; font: 500 clamp(64px,8vw,126px)/.88 var(--display); letter-spacing: -.08em; }.final-cta p { max-width: 690px; margin: 0 0 45px; color: #92928b; font-size: 17px; line-height: 1.6; }
.final-orbit { position: absolute; right: -13vw; bottom: -28vw; width: 65vw; aspect-ratio: 1; border: 1px solid #33332f; border-radius: 50%; }.final-orbit i { position: absolute; inset: 18%; border: 1px solid #33332f; border-radius: 50%; }.final-orbit i:nth-child(2) { inset: 34%; }.final-orbit i:nth-child(3) { inset: 45%; border-color: var(--accent); }.final-orbit b { position: absolute; top: 50%; left: 50%; color: var(--accent); transform: translate(-50%,-50%); font: 600 70px var(--display); }

/* Interior pages */
.page-hero { padding: 190px 0 125px; }
.page-hero .eyebrow, .eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--accent); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.page-hero .eyebrow::before, .eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.page-hero h1 { max-width: 1100px; margin: 0; font: 500 clamp(62px,7vw,112px)/.9 var(--display); letter-spacing: -.075em; }
.page-hero > p { max-width: 760px; margin: 38px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; letter-spacing: -.025em; }
.page-actions { display: flex; gap: 10px; margin-top: 38px; }
.page-section { padding: 110px 0; border-top: 1px solid var(--line); }
.section-soft { background: var(--paper-2); }
.page-section h2 { max-width: 880px; margin: 0 0 65px; font: 500 clamp(44px,4.5vw,72px)/.98 var(--display); letter-spacing: -.065em; }
.content-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px,8vw,120px); }
.content-columns h3 { margin: 0 0 12px; font: 500 25px var(--display); letter-spacing: -.04em; }
.content-columns p { margin: 0 0 32px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-card { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.22); transition: background .2s; }
.detail-card:hover { background: var(--white); }
.detail-card > span { color: var(--accent); font-size: 9px; font-weight: 600; letter-spacing: .08em; }
.detail-card h3 { margin: 100px 0 13px; font: 500 24px var(--display); letter-spacing: -.045em; }.detail-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.code-panel { overflow: auto; padding: 32px; color: #d9d9d2; background: var(--ink); font: 400 11px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-panel .code-accent { color: var(--accent); }
.control-list { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.control-item { min-height: 270px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-icon { color: var(--accent); font-size: 9px; }.control-item h3 { margin: 90px 0 12px; font: 500 22px var(--display); letter-spacing: -.04em; }.control-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.cert-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }.cert-item { min-height: 290px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.cert-item > span { color: var(--accent); font-size: 9px; }.cert-item h3 { margin: 100px 0 12px; font: 500 24px var(--display); }.cert-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.audiences { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-card { min-height: 550px; display: flex; flex-direction: column; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; }.audience-card.featured { color: white; background: var(--ink); }.audience-card > span { color: var(--accent); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }.audience-card h3 { margin: 70px 0 15px; font: 500 31px/1.05 var(--display); letter-spacing: -.055em; }.audience-card > p { color: var(--muted); font-size: 12px; line-height: 1.65; }.audience-card.featured > p { color: #8e8e87; }.audience-card ul { display: grid; gap: 9px; margin: 25px 0 35px; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; }.audience-card.featured ul { border-color: var(--line-dark); }.audience-card li { font-size: 10px; }.audience-card li::before { content: "—"; margin-right: 7px; color: var(--accent); }.audience-card .button { align-self: flex-start; margin-top: auto; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }.data-table { width: 100%; border-collapse: collapse; background: transparent; }.data-table th, .data-table td { padding: 22px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 12px; }.data-table th { color: var(--muted); font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }.status-ok { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; }.status-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.security-cta { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 45px; border: 1px solid var(--line); background: var(--white); }.security-cta h2 { margin: 0 0 15px; font: 500 40px var(--display); letter-spacing: -.055em; }.security-cta p { max-width: 690px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.security-cta.status-summary { margin-bottom: 30px; }
.accordion { border-top: 1px solid var(--line); }.accordion-item { border-bottom: 1px solid var(--line); }.accordion-item button { width: 100%; display: flex; justify-content: space-between; padding: 23px 0; border: 0; background: transparent; text-align: left; font-size: 13px; font-weight: 600; }.accordion-item button span:last-child { color: var(--accent); font-size: 20px; }.accordion-content { max-height: 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.7; transition: max-height .3s; }.accordion-item.open .accordion-content { max-height: 300px; padding-bottom: 24px; }
.access-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }.access-form { display: grid; gap: 17px; padding: 38px; border: 1px solid var(--line); background: var(--white); }.field { display: grid; gap: 8px; }.field label { font-size: 10px; font-weight: 600; }.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; outline: none; background: var(--paper); font-size: 13px; }.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }.field textarea { min-height: 110px; resize: vertical; }.form-result { padding: 13px; color: #155b3e; background: #dcece3; font-size: 11px; }.form-result a { text-decoration: underline; }
.access-intro { color: var(--muted); line-height: 1.7; }
.signin-hero { max-width: 800px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 80px; padding: 160px 0 120px; }.legal-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 14px; color: var(--muted); font-size: 11px; }.legal-copy { max-width: 820px; }.legal-copy h1 { margin: 0 0 15px; font: 500 clamp(48px,5vw,72px) var(--display); letter-spacing: -.065em; }.legal-copy .updated { color: var(--muted); font-size: 10px; }.legal-copy h2 { margin: 55px 0 15px; font: 500 28px var(--display); letter-spacing: -.04em; }.legal-copy p, .legal-copy li { color: #55544f; font-size: 13px; line-height: 1.75; }

/* Footer */
.site-footer { padding: 90px 0 35px; color: #b0b0a8; background: #10100e; }
.footer-shell { width: min(var(--max),calc(100% - (var(--gutter) * 2))); margin: auto; }
.footer-lead { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 75px; border-bottom: 1px solid #30302c; }.footer-brand { color: white; }.footer-lead p { justify-self: start; margin: 0; color: white; font: 500 clamp(28px,3vw,46px)/1.05 var(--display); letter-spacing: -.06em; }
.footer-links { display: grid; grid-template-columns: 1fr repeat(4, .55fr); gap: 40px; padding: 70px 0; }.footer-links::before { content: ""; }
.footer-column { display: grid; align-content: start; gap: 13px; }.footer-column strong { margin-bottom: 8px; color: #6f6f69; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }.footer-column a { font-size: 11px; }.footer-column a:hover { color: var(--accent); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-top: 25px; border-top: 1px solid #30302c; color: #666660; font-size: 9px; }.footer-bottom a { justify-self: center; color: #9c9c95; }.footer-bottom a i { width: 5px; height: 5px; display: inline-block; margin-right: 7px; border-radius: 50%; background: var(--success); }.footer-bottom span:last-child { justify-self: end; }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero-orbit { animation: orbit 45s linear infinite; }
.hero-orbit .orbit-node, .hero-orbit .orbit-core { animation: orbit 45s linear infinite reverse; }

@media (max-width: 1100px) {
  .desktop-nav { gap: 20px; }
  .hero-grid { grid-template-columns: 90px 1fr; }
  .hero-orbit { right: -180px; opacity: .65; }
  .interface-body { grid-template-columns: 180px minmax(420px,1fr); }
  .interface-topbar { grid-template-columns: 180px 1fr 70px; }
  .context-drawer { grid-column: 1/-1; display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 25px; border-top: 1px solid #d7d3ca; border-left: 0; }
  .context-drawer > a { align-self: end; }
  .platform-features { grid-template-columns: 1fr 1fr; }
  .platform-features article:nth-child(2) { border-right: 0; }
  .platform-features article { border-bottom: 1px solid var(--line-dark); }
  .audience-rows article { grid-template-columns: .7fr 1.3fr 1fr; }.audience-rows article > a { grid-column: 2; justify-self: start; }
  .footer-links { grid-template-columns: repeat(4,1fr); }.footer-links::before { display: none; }
}

@media (max-width: 900px) {
  .site-header, .site-header.scrolled { height: 68px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .sign-in, .header-actions .button { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { padding-top: 68px; }
  .hero { padding-top: 68px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .hero-orbit { right: -240px; bottom: 28%; }
  .hero-main { max-width: 780px; }
  .hero h1 { font-size: clamp(65px,13vw,104px); }
  .split-heading, .stage-heading { grid-template-columns: 1fr; }
  .stage-heading { gap: 35px; }
  .split-heading > .section-label { margin-bottom: 20px; }
  .interface-sidebar { display: none; }
  .interface-body { grid-template-columns: 1fr; }
  .interface-topbar { grid-template-columns: 140px 1fr 60px; }
  .context-drawer { grid-template-columns: 1fr 1fr; }
  .context-drawer .not-shared { margin-top: 0; }
  .flow-tabs { overflow-x: auto; grid-template-columns: repeat(5,160px); }
  .flow-panel { grid-template-columns: 1fr; gap: 45px; }
  .flow-visual { min-height: 240px; }
  .authority-title { grid-template-columns: 1fr; }.authority-deck { margin-left: 0; }.authority-list article { grid-template-columns: 50px .8fr 1fr; }.authority-statement { padding-left: 0; }
  .control-grid { grid-template-columns: 1fr 1fr; }
  .audience-section > .page-shell > .display-heading { margin-left: 0; }
  .audience-rows article { grid-template-columns: 1fr 1.3fr; }.audience-rows ul { grid-column: 2; }.audience-rows article > a { grid-column: 2; }
  .routing-grid, .security-strip .page-shell { grid-template-columns: 1fr; }
  .security-strip .page-shell { gap: 70px; }
  .detail-grid, .control-list, .cert-grid { grid-template-columns: 1fr 1fr; }
  .audiences { grid-template-columns: 1fr; }.audience-card { min-height: 0; }
  .access-layout { grid-template-columns: 1fr; }
  .footer-lead { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  :root { --gutter: 20px; }
  .section-pad { padding-block: 90px; }
  .header-actions { gap: 0; }
  .hero-grid { padding-block: 80px 65px; }
  .hero h1 { font-size: clamp(58px,18vw,80px); line-height: .88; }
  .hero-copy { grid-template-columns: 1fr; gap: 18px; margin-top: 42px; }
  .hero-copy p { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-orbit { width: 310px; right: -220px; bottom: 38%; opacity: .35; }
  .environment-strip { padding-block: 20px; }
  .environment-strip .page-shell { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .environment-strip span { grid-column: 1/-1; }.environment-strip i { display: none; }
  .display-heading { font-size: 50px; }
  .prose-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 45px; }
  .continuity-sentence { grid-template-columns: 1fr; gap: 18px; margin-top: 70px; }.continuity-sentence svg { display: none; }.continuity-sentence span:last-child { color: var(--accent); }
  .product-interface { margin-inline: -20px; border-right: 0; border-left: 0; }
  .interface-topbar { grid-template-columns: 120px 1fr 50px; }
  .mini-brand { padding-left: 14px; }.workspace-switcher { font-size: 8px; }
  .interface-canvas { padding: 25px 16px; }
  .canvas-heading button { display: none; }
  .model-route { grid-template-columns: 1fr; }.route-transfer { padding-left: 15px; }.route-transfer i { display: none; }
  .message { max-width: 92%; }
  .context-drawer { grid-template-columns: 1fr; }
  .context-drawer > p { margin-bottom: 0; }
  .platform-features { grid-template-columns: 1fr; }.platform-features article, .platform-features article:not(:first-child) { min-height: 250px; padding: 24px 0; border-right: 0; }.platform-features h3 { margin-top: 60px; }
  .flow-panel { min-height: 590px; padding: 42px 22px; }.flow-visual { min-height: 210px; }.source-stack i { width: 130px; height: 80px; }.source-stack i:nth-child(2) { left: 24%; }.source-stack i:nth-child(3) { right: 12px; }.context-bars { padding: 30px; }
  .authority-title { margin-top: 50px; }.authority-title h2 { font-size: 51px; }.authority-list article { grid-template-columns: 35px 1fr; gap: 18px; }.authority-list p { grid-column: 2; }
  .control-grid { grid-template-columns: 1fr; }
  .audience-section > .page-shell > .display-heading { margin-top: 35px; margin-bottom: 60px; }
  .audience-rows article { grid-template-columns: 1fr; gap: 24px; }.audience-rows ul, .audience-rows article > a { grid-column: 1; }
  .routing-board { margin-inline: -20px; border-right: 0; border-left: 0; }.routing-row { grid-template-columns: 7px 1fr; }.routing-row > span { grid-column: 2; justify-self: start; }
  .protocol-levels article { grid-template-columns: 35px 1fr; }.protocol-levels article > b { grid-column: 2; justify-self: start; }
  .security-copy h2 { font-size: 50px; }
  .final-cta h2 { font-size: 62px; }.final-cta p { font-size: 15px; }.final-cta .button { width: 100%; }
  .page-hero { padding: 140px 0 85px; }.page-hero h1 { font-size: 58px; }.page-hero > p { font-size: 16px; }.page-actions { align-items: stretch; flex-direction: column; }
  .page-section { padding: 80px 0; }.page-section h2 { font-size: 43px; }
  .content-columns, .detail-grid, .control-list, .cert-grid { grid-template-columns: 1fr; }
  .detail-card, .control-item, .cert-item { min-height: 240px; }.detail-card h3, .control-item h3, .cert-item h3 { margin-top: 65px; }
  .security-cta { grid-template-columns: 1fr; padding: 28px; }
  .legal-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 120px; }.legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .access-form { padding: 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
  .footer-bottom { grid-template-columns: 1fr; gap: 13px; }.footer-bottom a, .footer-bottom span:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Local continuity workspace */
.workspace-body { min-height: 100vh; background: #ece9e1; }
.workspace-header { position: fixed; z-index: 30; top: 0; right: 0; left: 0; height: 68px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); background: rgba(244,241,234,.94); backdrop-filter: blur(18px); }
.workspace-header .brand { padding-left: 24px; }
.workspace-project { display: flex; align-items: center; gap: 10px; padding-left: 24px; border-left: 1px solid var(--line); font-size: 11px; }
.workspace-project span { color: var(--muted); }
.workspace-status { display: flex; align-items: center; gap: 9px; padding-right: 20px; color: var(--muted); font-size: 9px; }
.workspace-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.workspace-status button { margin-left: 14px; padding: 9px 14px; border: 1px solid var(--line); background: var(--white); font-size: 10px; }
.workspace-app { min-height: 100vh; display: grid; grid-template-columns: 240px 1fr; padding-top: 68px; }
.workspace-nav { position: fixed; top: 68px; bottom: 0; left: 0; width: 240px; display: flex; flex-direction: column; padding: 30px 14px; border-right: 1px solid var(--line); background: #e5e2da; }
.workspace-nav > p { margin: 0 10px 10px; color: #8a8881; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.workspace-nav button { display: flex; justify-content: space-between; padding: 12px 11px; border: 0; background: transparent; color: #66645e; text-align: left; font-size: 11px; }
.workspace-nav button.active { color: var(--ink); background: var(--white); font-weight: 600; }
.workspace-nav button b { color: #99968e; font-size: 8px; }
.workspace-nav p:nth-of-type(2) { margin-top: 30px; }
.workspace-nav > a { display: flex; justify-content: space-between; margin-top: auto; padding: 13px 10px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.workspace-nav > a + a { margin-top: 12px; padding-top: 0; border: 0; }
.workspace-content { grid-column: 2; min-width: 0; }
.workspace-view { display: none; min-height: calc(100vh - 68px); padding: clamp(35px,5vw,78px); }
.workspace-view.active { display: block; }
.workspace-title { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 55px; }
.workspace-title > div > span, .setup-panel > div > span { color: var(--accent); font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.workspace-title h1 { max-width: 850px; margin: 14px 0 0; font: 500 clamp(45px,5vw,76px)/.94 var(--display); letter-spacing: -.07em; }
.workspace-title p { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.workspace-primary { min-height: 47px; display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; padding: 0 18px; border: 0; color: var(--ink); background: var(--accent); font-size: 11px; font-weight: 600; }
.setup-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: clamp(30px,5vw,70px); border: 1px solid var(--line); background: var(--white); }
.setup-panel h2, .dashboard-summary h2 { margin: 24px 0 18px; font: 500 clamp(33px,3.5vw,52px)/1 var(--display); letter-spacing: -.06em; }
.setup-panel p { max-width: 480px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.setup-panel form, .workspace-form { display: grid; align-content: start; gap: 9px; }
.setup-panel label, .workspace-form label, .task-composer label { margin-top: 9px; font-size: 9px; font-weight: 600; }
.setup-panel input, .setup-panel textarea, .workspace-form input, .workspace-form textarea, .workspace-form select, .task-composer textarea, .task-options select { width: 100%; min-height: 48px; padding: 13px; border: 1px solid var(--line); border-radius: 0; outline: none; background: var(--paper); font-size: 12px; }
.setup-panel textarea, .workspace-form textarea { min-height: 130px; resize: vertical; }
.setup-panel input:focus, .setup-panel textarea:focus, .workspace-form input:focus, .workspace-form textarea:focus, .task-composer textarea:focus { border-color: var(--accent); }
.setup-panel .workspace-primary, .workspace-form .workspace-primary { justify-self: start; margin-top: 13px; }
.dashboard-summary { display: grid; grid-template-columns: 130px 1fr auto; gap: 35px; align-items: start; padding: 35px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dashboard-summary > span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.dashboard-summary h2 { margin: 0; }
.dashboard-summary button { padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--line); }
.dashboard-grid article { min-height: 220px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dashboard-grid span { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.dashboard-grid strong { display: block; margin: 54px 0 10px; overflow: hidden; font: 500 30px var(--display); letter-spacing: -.05em; text-overflow: ellipsis; }
.dashboard-grid p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.recent-events { margin-top: 50px; }
.recent-events > span { display: block; margin-bottom: 15px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.recent-events #event-list > div { display: grid; grid-template-columns: 7px 1fr auto; gap: 15px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.recent-events i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.recent-events span { display: grid; gap: 3px; }.recent-events strong { font-size: 10px; }.recent-events small, .recent-events time { color: var(--muted); font-size: 8px; }
.workspace-split { display: grid; grid-template-columns: minmax(280px,.65fr) minmax(0,1.35fr); gap: clamp(40px,7vw,100px); align-items: start; }
.workspace-form { position: sticky; top: 110px; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.record-list { display: grid; gap: 12px; }.record-list.wide { max-width: 100%; }
.empty-state { min-height: 140px; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: 10px; }
.record { padding: 25px; border: 1px solid var(--line); background: var(--white); }
.record > div:first-child, .checkpoint-record > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.record h3 { margin: 35px 0 10px; font: 500 23px var(--display); letter-spacing: -.045em; }
.record p { margin: 0 0 18px; color: var(--muted); font-size: 11px; line-height: 1.6; }.record code { color: #8c8981; font: 8px ui-monospace, monospace; }
.record.memory.approved { border-left: 3px solid var(--success); }.record.memory.rejected { opacity: .55; }
.record-actions { display: flex; gap: 8px; margin-top: 20px; }
.record-actions button { padding: 9px 13px; border: 1px solid var(--line); background: var(--paper); font-size: 9px; }.record-actions button:first-child { color: white; border-color: var(--success); background: var(--success); }
.continue-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; }
.task-composer, .context-result { min-height: 450px; padding: 30px; border: 1px solid var(--line); background: var(--white); }
.task-composer { display: grid; align-content: start; gap: 12px; }.task-composer textarea { min-height: 190px; resize: vertical; }
.task-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.task-options label { display: grid; gap: 8px; }
.task-composer .workspace-primary { justify-self: start; margin-top: 10px; }
.context-result-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; text-transform: uppercase; }.context-result h3 { margin: 40px 0 10px; font: 500 28px var(--display); }.context-result > p { color: var(--muted); font-size: 11px; }
.context-record { margin-top: 20px; padding: 15px 0; border-top: 1px solid var(--line); }.context-record span, .context-commitment span { color: var(--muted); font-size: 8px; text-transform: uppercase; }.context-record p { margin: 8px 0 0; font-size: 11px; line-height: 1.5; }
.context-commitment { margin-top: 20px; padding: 15px; background: var(--paper); }.context-commitment code { display: block; overflow-wrap: anywhere; margin-top: 8px; font-size: 8px; }.context-result > button { margin-top: 20px; padding: 9px 12px; border: 1px solid var(--line); background: transparent; font-size: 9px; }
.provider-cards { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.provider-cards article { min-height: 390px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.25); }
.provider-cards article.active { color: white; background: var(--ink); }
.provider-cards article > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 8px; text-transform: uppercase; }.provider-cards i { width: 7px; height: 7px; border-radius: 50%; background: #aaa; }.provider-cards .active i { background: var(--accent); }
.provider-cards h2 { margin: 90px 0 14px; font: 500 29px var(--display); letter-spacing: -.05em; }.provider-cards p { color: var(--muted); font-size: 11px; line-height: 1.6; }.provider-cards small { color: var(--muted); font-size: 8px; }
.provider-cards button { align-self: flex-start; margin-top: auto; padding: 10px 13px; border: 1px solid var(--line); background: transparent; font-size: 9px; }.provider-cards .active button { color: #777; border-color: #444; }
.checkpoint-head { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.checkpoint-head > div { padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.checkpoint-head span { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; }.checkpoint-head strong { display: block; margin-top: 25px; font: 500 25px var(--display); }
.checkpoint-record { padding: 25px; border: 1px solid var(--line); background: var(--white); }.checkpoint-record h3, .checkpoint-record code { display: block; overflow-wrap: anywhere; font: 9px/1.5 ui-monospace, monospace; }.checkpoint-record h3 { margin: 30px 0 12px; }.checkpoint-record p { color: var(--muted); font-size: 9px; }

@media (max-width: 900px) {
  .workspace-header { grid-template-columns: 1fr auto; }.workspace-header .workspace-project { display: none; }
  .workspace-app { grid-template-columns: 74px 1fr; }.workspace-nav { width: 74px; padding-inline: 8px; }.workspace-nav > p, .workspace-nav button span, .workspace-nav > a { display: none; }.workspace-nav button { justify-content: center; min-height: 46px; }.workspace-content { grid-column: 2; }
  .setup-panel, .workspace-split, .continue-layout { grid-template-columns: 1fr; }.workspace-form { position: static; }.dashboard-grid { grid-template-columns: 1fr 1fr; }.provider-cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .workspace-header { height: 60px; }.workspace-header .brand { padding-left: 16px; }.workspace-status span, .workspace-status i { display: none; }.workspace-status { padding-right: 10px; }.workspace-app { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 63px; }.workspace-content { grid-column: 1; }.workspace-nav { position: fixed; z-index: 25; top: auto; right: 0; bottom: 0; width: auto; height: 64px; display: grid; grid-template-columns: repeat(6,1fr); padding: 7px; border-top: 1px solid var(--line); border-right: 0; }.workspace-nav button { min-width: 0; min-height: 48px; }.workspace-nav p, .workspace-nav a { display: none; }.workspace-view { min-height: calc(100vh - 123px); padding: 35px 18px; }.workspace-title { align-items: flex-start; flex-direction: column; margin-bottom: 40px; }.workspace-title h1 { font-size: 49px; }.setup-panel { padding: 25px; }.dashboard-summary { grid-template-columns: 1fr; }.dashboard-grid { grid-template-columns: 1fr; }.task-options, .checkpoint-head { grid-template-columns: 1fr; }
}
