:root {
  --bg:#0b0c0f;
  --paper:#121419;
  --panel:#121419;
  --panel-soft:#181b21;
  --border:#252830;
  --line:#252830;
  --text:#f0eef1;
  --muted:#92959f;
  --soft:#92959f;
  --accent:#ee9dbc;
  --accent-ink:#22171f;
  --blue:#ee9dbc;
  --blue-strong:#fac0d7;
  --shadow:none;
  --radius:6px;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:14px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  color-scheme:dark;
}
a {
  color:inherit;
  text-decoration:none;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color:transparent;
}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #ee9dbc;
  outline-offset:4px;
}
p {
  margin-top:0;
}
h1,h2,h3 {
  line-height:1.15;
  letter-spacing:-.045em;
}
h3 {
  font-size:18px;
  margin:0 0 10px;
}
.shell {
  max-width:1280px;
  margin:auto;
  padding:0 40px 36px;
}
.skip-link {
  position:fixed;
  left:16px;
  top:-80px;
  z-index:100;
  background:var(--accent);
  color:white;
  padding:12px 20px;
}
.skip-link:focus {
  top:10px;
}
.topbar {
  position:sticky;
  top:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:84px;
  border-bottom:1px solid var(--line);
  background:#0b0c0f;
  backdrop-filter:blur(12px);
}
.brand {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.brand-mark {
  position:relative;
  width:28px;
  height:32px;
  border:1.5px solid var(--accent);
  transform:skewY(-15deg);
}
.brand-mark:before,.brand-mark:after {
  content:"";
  position:absolute;
  left:5px;
  right:-6px;
  top:5px;
  bottom:-6px;
  border:1.5px solid var(--accent);
  background:var(--bg);
}
.brand-mark:after {
  left:10px;
  right:-11px;
  top:10px;
  bottom:-11px;
}
.brand-name {
  font-size:19px;
  font-weight:650;
  letter-spacing:-.06em;
  margin-left:10px;
  white-space:nowrap;
}
.brand p {
  display:none;
}
.nav,.topbar-actions {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.topbar>.nav {
  margin-left:auto;
}
.nav a,.nav-menu summary,.topbar-actions>a {
  padding:9px 11px;
  border-radius:4px;
  font-size:13px;
  line-height:1.4;
}
.nav a:hover,.nav-menu summary:hover,.topbar-actions>a:hover {
  background:#181b21;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 17px;
  border:1px solid var(--border);
  border-radius:5px;
  background:transparent;
  color:var(--text);
  font-size:13px;
  font-weight:550;
  line-height:1.5;
  cursor:pointer;
  transition:background .18s,border-color .18s,transform .18s;
}
.button:hover {
  background:#181b21;
  border-color:#4a414b;
  transform:translateY(-1px);
}
.button.primary,.topbar-actions>.primary {
  background:var(--accent);
  border-color:var(--accent);
  color:var(--accent-ink);
}
.button.primary:hover {
  background:#fac0d7;
}
.nav-menu {
  position:relative;
}
.nav-menu summary {
  list-style:none;
  cursor:pointer;
}
.nav-menu summary::-webkit-details-marker {
  display:none;
}
.nav-menu summary:after {
  content:"⌄";
  margin-left:8px;
}
.nav-menu-panel {
  position:absolute;
  right:0;
  top:calc(100% + 12px);
  width:310px;
  max-height:75vh;
  overflow:auto;
  padding:8px;
  border:1px solid var(--border);
  border-radius:6px;
  background:var(--paper);
  box-shadow:0 14px 36px #00000055;
  animation:menu-in .15s ease both;
}
.nav-menu-panel a {
  display:grid;
  gap:3px;
  padding:12px;
}
.nav-menu-panel span {
  font-size:12px;
  color:var(--muted);
}
.nav-menu-panel strong {
  font-size:14px;
  font-weight:600;
}
.eyebrow {
  color:var(--muted);
  font:11px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:20px;
}
.hero {
  padding:58px 0 46px;
  margin-bottom:40px;
  border-bottom:1px solid var(--line);
}
.hero-inner,.hero:has(>.hero-copy) {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:64px;
  align-items:start;
}
.hero h1, .hero h2 {
  font-size:clamp(36px,4.3vw,62px);
  max-width:16ch;
  font-weight:500;
  margin:0 0 22px;
  line-height:1.06;
}
.hero p {
  color:var(--muted);
  max-width:62ch;
}
.hero-copy {
  animation:fade-up .6s ease both;
}
.hero-visual {
  min-width:0;
  border-top:1px solid var(--accent);
  animation:fade-up .75s .08s ease both;
}
.runtime-strip {
  display:flex;
  justify-content:space-between;
  gap:8px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  color:var(--soft);
  font:10px/1.4 ui-monospace,monospace;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.hero-flow {
  display:grid;
}
.flow-card {
  display:grid;
  grid-template-columns:95px 1fr;
  gap:14px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.flow-index {
  color:var(--soft);
  font:10px/1.6 ui-monospace,monospace;
  padding-top:3px;
}
.flow-card strong {
  display:block;
  font-size:15px;
  line-height:1.3;
  letter-spacing:-.025em;
  margin-bottom:6px;
}
.flow-card p {
  font-size:12px;
  line-height:1.6;
  margin:0;
}
.signal-stack {
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  padding-top:18px;
}
.signal-line {
  font-size:11px;
  color:var(--muted);
}
.signal-line strong {
  display:inline-block;
  min-width:95px;
  font-weight:600;
  color:var(--text);
  padding-right:12px;
}
.public-rail {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:30px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.public-rail strong {
  display:block;
  font-size:13px;
  margin-bottom:5px;
}
.public-rail p {
  font-size:12px;
  margin:0;
}
.grid {
  display:grid;
  gap:0 32px;
  min-width:0;
}
.grid.two {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.grid.three {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.grid.four {
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.split {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:42px;
}
.split>.grid {
  align-content:start;
}
.card,.surface-block,.metric {
  min-width:0;
  padding:24px 0;
  border-top:1px solid var(--line);
}
a.card {
  transition:background .2s;
}
a.card:hover {
  background:#121419;
}
.card h3,.metric h3 {
  font-size:17px;
}
.subtle,.card p,.metric p {
  color:var(--muted);
  margin:0;
}
.stat {
  font-size:34px;
  line-height:1.2;
  letter-spacing:-.055em;
  font-weight:500;
  margin-bottom:8px;
  overflow-wrap:anywhere;
}
.workspace-head {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:start;
  padding-top:40px;
  margin-bottom:28px;
}
.workspace-head h1, .workspace-head h2 {
  font-size:34px;
  margin:0 0 10px;
  font-weight:550;
}
.workspace-head>.nav {
  justify-content:flex-end;
}
.workspace-head p {
  max-width:60ch;
}
.workspace-nav {
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  padding:14px 0;
  margin-bottom:26px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-size:13px;
}
.workspace-nav a:hover {
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:5px;
}
.list {
  display:grid;
  gap:0;
}
.item {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  overflow-wrap:anywhere;
}
.item .meta,.badge-row,.meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:9px;
  color:var(--soft);
  font-size:11px;
  line-height:1.5;
}
.badge {
  display:inline-flex;
  padding:4px 8px;
  border:1px solid var(--border);
  border-radius:3px;
  background:transparent;
  max-width:100%;
  overflow-wrap:anywhere;
}
.badge-row button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}
.section-title {
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:end;
  margin:54px 0 20px;
}
.section-title h2 {
  font-size:clamp(25px,3vw,38px);
  font-weight:500;
  margin:0 0 12px;
}
.section-title p {
  max-width:72ch;
}
.section-title>.button {
  flex-shrink:0;
}
.detail-block {
  padding:28px 0;
  border-top:1px solid var(--line);
}
.detail-grid {
  display:grid;
  grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);
  gap:38px;
}
.terminal-surface {
  border-top:1px solid var(--line);
}
.terminal-row {
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:20px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:13px;
}
.terminal-row>span {
  font:11px/1.7 ui-monospace,monospace;
  color:var(--soft);
}
.capability-ledger {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 40px;
  border-top:1px solid var(--line);
}
.capability-group {
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.capability-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 18px;
  margin:0;
  padding:0;
  list-style:none;
  font-size:13px;
  color:var(--muted);
}
.capability-list li:before {
  content:"—";
  margin-right:8px;
  color:#ee9dbc;
}
form {
  display:grid;
  gap:12px;
}
label {
  font-size:12px;
  color:var(--muted);
}
input,textarea,select {
  width:100%;
  max-width:100%;
  padding:11px 12px;
  border:1px solid #30333c;
  border-radius:4px;
  background:var(--paper);
  color:var(--text);
  min-width:0;
}
textarea {
  min-height:120px;
  resize:vertical;
}
input::placeholder,textarea::placeholder {
  color:#777c87;
}
.empty {
  padding:20px 16px;
  background:#121419;
  color:var(--muted);
  font-size:13px;
  border-left:2px solid #434750;
}
.warning {
  font-size:12px;
  color:#e7bd6d;
}
.flash {
  margin:22px 0;
  padding:14px 16px;
  border-left:3px solid #8ad0b0;
  background:#18251f;
}
.flash.error {
  border-color:#ee9dbc;
  background:#34242f;
}
.code-block {
  min-width:0;
  padding:18px;
  border-radius:4px;
  background:#121419;
  color:#f0eef1;
  font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  overflow-x:auto;
}
code {
  font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;
  overflow-wrap:anywhere;
}
.copy-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:start;
}
.copy-button {
  min-height:40px;
  font-size:11px;
  padding:8px 12px;
}
.compact-table {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.compact-table th,.compact-table td {
  text-align:left;
  padding:16px 20px 16px 0;
  vertical-align:top;
  border-bottom:1px solid var(--line);
  overflow-wrap:anywhere;
}
.compact-table th {
  font:11px/1.5 ui-monospace,monospace;
  color:var(--soft);
  font-weight:400;
}
.timeline-item {
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:28px;
  padding:24px 0;
  border-top:1px solid var(--line);
}
.timeline-date {
  color:var(--muted);
  font:12px/1.8 ui-monospace,monospace;
}
.footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  align-items:center;
  padding-top:24px;
  margin-top:80px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.footer .nav a {
  font-size:11px;
  padding:6px;
}
.footer-wordmark {
  font-size:18px;
  letter-spacing:-.05em;
}
.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;
}
/* The home poster is a single edge-to-edge plane;
the illustration explains the memory layers. */
.home-hero {
  position:relative;
  margin:0 calc(50% - 50vw);
  background:#0b0c0f;
  color:#f0eef1;
  overflow:hidden;
}
.home-hero-inner {
  max-width:1280px;
  min-height:min(680px,calc(100svh - 84px));
  margin:auto;
  padding:64px 40px 52px;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:44px;
}
.home-title {
  font-weight:500;
  font-size:clamp(70px,8.4vw,120px);
  line-height:.9;
  letter-spacing:-.085em;
  margin:0 0 30px;
}
.home-intro {
  font-size:clamp(19px,2.05vw,27px);
  line-height:1.3;
  font-weight:400;
  letter-spacing:-.035em;
  max-width:21ch;
  margin:0 0 18px;
}
.home-description {
  font-size:14px;
  line-height:1.65;
  color:#92959f;
  max-width:43ch;
  margin:0 0 28px;
}
.home-hero .eyebrow {
  color:#ee9dbc;
}
.home-hero .button.primary {
  background:#ee9dbc;
  color:#0b0c0f;
  border-color:#ee9dbc;
}
.home-hero .button.primary:hover {
  background:white;
}
.home-hero .text-link {
  color:#ee9dbc;
}
.home-actions {
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.text-link {
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:5px;
  transition:text-underline-offset .2s;
}
.text-link:hover {
  text-underline-offset:8px;
}
.home-art {
  width:100%;
  height:auto;
  overflow:visible;
  animation:fade-up .9s .1s both;
}
.home-copy {
  animation:fade-up .75s ease both;
}
.home-art text {
  font-family:ui-monospace,SFMono-Regular,monospace;
}
.home-art .layer {
  transition:transform .4s;
}
.home-art:hover .layer-top {
  transform:translateY(-9px);
}
.home-art:hover .layer-bottom {
  transform:translateY(9px);
}
.home-art-caption {
  color:#92959f;
  font:10px/1.5 ui-monospace,monospace;
  letter-spacing:.08em;
  margin-top:12px;
  text-align:center;
}
.home-support {
  padding:38px 0;
  display:flex;
  gap:30px;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.home-support p {
  font-size:16px;
  max-width:61ch;
  margin:0;
}
.home-section {
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:80px;
  padding:86px 0;
  border-bottom:1px solid var(--line);
}
.home-section h2 {
  font-size:clamp(32px,4vw,48px);
  font-weight:500;
  max-width:12ch;
  margin:0 0 20px;
}
.home-sticky {
  position:sticky;
  top:125px;
  align-self:start;
}
.home-step {
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:20px;
  border-top:1px solid var(--line);
  padding:26px 0;
}
.home-step:first-child {
  border-top:1px solid var(--accent);
}
.home-step>span {
  font:12px/1.6 ui-monospace,monospace;
  color:var(--soft);
}
.home-step h3 {
  font-size:22px;
  font-weight:500;
}
.home-step p {
  color:var(--muted);
  font-size:14px;
  max-width:51ch;
  margin:0;
}
.home-boundary {
  background:#121419;
  margin:0 calc(50% - 50vw);
  padding:68px max(40px,calc((100vw - 1200px)/2));
}
.home-boundary h2 {
  font-size:clamp(30px,4vw,48px);
  font-weight:500;
  max-width:17ch;
  margin:0 0 34px;
}
.home-boundary-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
}
.home-boundary p {
  color:var(--muted);
  max-width:55ch;
}
.home-final {
  padding:74px 0 0;
  display:flex;
  gap:30px;
  justify-content:space-between;
  align-items:center;
}
.home-final h2 {
  font-size:clamp(30px,4vw,48px);
  font-weight:500;
  margin:0 0 12px;
}
.home-final p {
  color:var(--muted);
  margin:0;
}
.fade-reveal {
  animation:fade-up .55s both;
}
@keyframes fade-up {
  from {
    opacity:0;
    transform:translateY(16px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}
@keyframes menu-in {
  from {
    opacity:0;
    transform:translateY(-5px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
}
@media(max-width:1080px) {
  .topbar {
    gap:10px;
  }
  .topbar-actions {
    gap:0;
  }
  .topbar-actions>.primary {
    display:none;
  }
  .hero-inner,.hero:has(>.hero-copy) {
    gap:36px;
  }
  .home-hero-inner {
    gap:20px;
  }
  .home-section {
    gap:40px;
  }
  .grid.three {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .detail-grid {
    grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);
  }
}
@media(max-width:700px) {
  html {
    scroll-padding-top:140px;
  }
  .shell {
    padding:0 20px 26px;
  }
  .topbar {
    min-height:105px;
    flex-wrap:wrap;
    gap:0;
    padding:12px 0 8px;
  }
  .brand-name {
    font-size:18px;
  }
  .brand-mark {
    width:21px;
    height:24px;
  }
  .topbar-actions {
    margin-left:auto;
    order:1;
  }
  .topbar>.nav {
    order:2;
    width:100%;
    justify-content:space-between;
    margin:8px 0 0;
    gap:0;
  }
  .topbar>.nav>a,.nav-menu summary {
    padding:8px 10px;
  }
  .nav-menu-panel {
    position:fixed;
    left:20px;
    right:20px;
    top:106px;
    width:auto;
    max-height:calc(100svh - 125px);
  }
  .hero {
    padding:36px 0;
    margin-bottom:28px;
  }
  .hero-inner,.hero:has(>.hero-copy) {
    grid-template-columns:1fr;
    gap:30px;
  }
  .hero h1, .hero h2 {
    font-size:39px;
    max-width:18ch;
  }
  .hero-visual {
    margin-top:8px;
  }
  .hero p {
    font-size:14px;
  }
  .flow-card {
    grid-template-columns:86px 1fr;
  }
  .public-rail {
    gap:12px;
  }
  .public-rail p {
    font-size:11px;
  }
  .grid.two,.grid.three,.split,.detail-grid,.capability-ledger {
    grid-template-columns:1fr;
  }
  .grid.four {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 20px;
  }
  .split {
    gap:20px;
  }
  .copy-row {
    grid-template-columns:minmax(0,1fr);
  }
  .copy-button {
    justify-self:start;
  }
  .section-title {
    align-items:start;
    flex-direction:column;
    margin-top:40px;
  }
  .section-title h2 {
    font-size:29px;
  }
  .terminal-row {
    grid-template-columns:1fr;
    gap:6px;
  }
  .workspace-head {
    flex-direction:column;
    padding-top:26px;
  }
  .workspace-head>.nav {
    justify-content:start;
  }
  .workspace-head h1, .workspace-head h2 {
    font-size:29px;
  }
  .workspace-nav {
    gap:12px 20px;
  }
  .stat {
    font-size:29px;
  }
  .compact-table {
    display:block;
    max-width:100%;
    overflow-x:auto;
  }
  .compact-table th,.compact-table td {
    min-width:100px;
  }
  .timeline-item {
    grid-template-columns:1fr;
    gap:12px;
  }
  .home-hero-inner {
    padding:35px 20px 26px;
    min-height:calc(100svh - 110px);
    grid-template-columns:1fr;
    gap:4px;
    position:relative;
    align-content:start;
  }
  .home-title {
    font-size:clamp(64px,16vw,104px);
    margin-bottom:24px;
  }
  .home-hero .eyebrow {
    margin-bottom:22px;
    font-size:10px;
  }
  .home-intro {
    font-size:22px;
    max-width:22ch;
  }
  .home-description {
    font-size:13px;
    max-width:40ch;
    margin-bottom:22px;
  }
  .home-art-wrap {
    max-width:240px;
    justify-self:end;
    margin-top:-3px;
  }
  .home-art-caption {
    display:none;
  }
  .home-support {
    align-items:start;
    flex-direction:column;
    gap:20px;
    padding:28px 0;
  }
  .home-support p {
    font-size:14px;
  }
  .home-section {
    padding:48px 0;
    grid-template-columns:1fr;
    gap:20px;
  }
  .home-sticky {
    position:static;
  }
  .home-section h2 {
    max-width:17ch;
    font-size:37px;
  }
  .home-step {
    padding:22px 0;
  }
  .home-boundary {
    padding:46px 20px;
  }
  .home-boundary-grid {
    grid-template-columns:1fr;
    gap:25px;
  }
  .home-boundary h2 {
    font-size:36px;
  }
  .home-final {
    align-items:start;
    flex-direction:column;
    padding-top:44px;
  }
  .footer {
    margin-top:55px;
  }
  .footer .nav {
    gap:5px!important;
  }
  .capability-list {
    grid-template-columns:1fr;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  .home-sticky {
    position:static;
  }
}

/* Kai reference: compact dark surfaces, pink action, thin structural rules. */
.shell { max-width:1400px; }
.topbar { min-height:76px; backdrop-filter:none; }
.brand-mark { display:none; }
.brand-name { margin:0; font-size:26px; font-weight:650; letter-spacing:-.07em; }
.brand-name>span { color:var(--accent); }
.nav a,.nav-menu summary,.topbar-actions>a { font-size:12px; }
.topbar>.nav>a[aria-current="page"] { border-radius:0; border-bottom:2px solid var(--accent); }
.button { min-height:38px; font-weight:500; font-size:12px; }
.button.primary { font-weight:600; }
.eyebrow { font-size:10px; color:var(--accent); }
.hero { padding-top:46px; }
.hero h1 { font-weight:650; letter-spacing:-.06em; }
.section-title h2,.home-section h2,.home-boundary h2,.home-final h2 { font-weight:600; letter-spacing:-.04em; }
.home-hero-inner { min-height:460px; padding:65px 40px 55px; grid-template-columns:1.3fr .7fr; position:relative; }
.home-title { font-size:clamp(64px,6.1vw,86px); font-weight:650; line-height:1.02; letter-spacing:-.075em; white-space:nowrap; margin-bottom:20px; }
.home-intro { font-size:22px; line-height:1.4; font-weight:500; max-width:30ch; }
.home-description { font-size:14px; max-width:56ch; }
.home-hero .button.primary { color:#22171f; }
.home-hero .button.primary:hover { background:#fac0d7; }
.home-art-wrap { align-self:stretch; position:relative; min-height:220px; }
.home-brand-watermark { position:absolute; right:-5px; bottom:5px; font-weight:750; font-size:clamp(180px,23vw,330px); line-height:1; letter-spacing:-.09em; color:#1b1e25; transform:rotate(-9deg); user-select:none; animation:fade-up .9s both; }
.home-brand-watermark span { color:#34242f; }
.home-support { background:var(--panel); padding:25px; border-top:1px solid var(--line); }
.home-support p { font-size:14px; }
.home-section { padding:54px 0; }
.home-section h2 { font-size:36px; }
.home-step { padding:22px 0; }
.home-step h3 { font-size:21px; font-weight:600; }
.home-boundary { padding-top:50px; padding-bottom:50px; }
.home-boundary h2 { font-size:38px; }
.home-final { padding-top:48px; }
.text-link { color:var(--accent); text-decoration:none; }
.text-link:hover { text-decoration:underline; }
.workspace-head h1 { font-size:40px; font-weight:650; }
main>.grid.four { background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); gap:0; }
main>.grid.four>.card { padding:20px 24px; border-top:0; border-right:1px solid var(--line); }
main>.grid.four>.card:last-child { border-right:0; }
.stat { font-size:28px; font-weight:600; }
.badge { border-radius:3px; }
input[type="checkbox"] { width:16px; height:16px; accent-color:var(--accent); }
button:disabled,fieldset:disabled .button { cursor:not-allowed; opacity:.5; }
@media(max-width:700px) {
 .topbar { min-height:102px; }
 .brand-name { font-size:23px; }
 .home-hero-inner { min-height:480px; padding:40px 20px; grid-template-columns:1fr; }
 .home-title { font-size:clamp(44px,12.5vw,65px); white-space:normal; }
 .home-intro { font-size:20px; }
 .home-art-wrap { position:absolute; right:4px; bottom:10px; min-height:0; width:170px; height:160px; z-index:0; opacity:.6; pointer-events:none; }
 .home-brand-watermark { font-size:180px; }
 .home-copy { position:relative; z-index:1; }
 .home-description { max-width:32ch; font-size:13px; }
 .home-support { padding:20px; }
 .home-section { padding:36px 0; }
 .home-section h2,.home-boundary h2 { font-size:31px; }
 main>.grid.four>.card { padding:18px; border-bottom:1px solid var(--line); }
 .workspace-head h1 { font-size:34px; }
}
.cognition-head { padding-bottom:10px; }
.cognition-head h1 { font-size:52px; }
.cognition-status { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:var(--panel); border-top:1px solid var(--line); border-bottom:1px solid var(--line); margin-bottom:32px; }
.cognition-status>div { padding:20px 24px; border-right:1px solid var(--line); }
.cognition-status>div:last-child { border-right:0; }
.cognition-status span { display:block; font:10px/1.6 ui-monospace,monospace; color:var(--muted); margin-bottom:8px; }
.cognition-status strong { font-size:18px; font-weight:550; }
.cognition-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:42px; align-items:start; }
.cognition-sidebar { min-width:0; border-right:1px solid var(--line); padding-right:24px; }
.cognition-sidebar h2 { font-size:15px; font-weight:600; margin:0 0 20px; }
.cognition-project { margin-bottom:22px; }
.field { display:grid; gap:8px; margin:0; min-width:0; }
.field>span { font-size:12px; color:#b9bbc4; }
.cognition-project input { padding:9px; font-size:12px; }
.session-list { display:grid; gap:4px; max-height:420px; overflow:auto; }
.session-link { display:grid; gap:7px; padding:12px; margin-left:-12px; border-radius:4px; }
.session-link strong { font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.session-link span { font:9px/1.5 ui-monospace,monospace; color:var(--muted); }
.session-link:hover { background:var(--panel); }
.session-link.selected { background:#ee9dbc12; color:var(--accent); }
.cognition-settings { margin-top:30px; padding-top:24px; border-top:1px solid var(--line); }
.check-field { display:flex; align-items:center; gap:9px; color:var(--text); }
.cognition-settings p { font-size:11px; }
.runtime-details { margin:18px 0; font-size:12px; }
.runtime-details summary,.cognition-compose summary { cursor:pointer; color:var(--text); padding:10px 0; }
.runtime-details p { color:var(--muted); margin-top:12px; }
.runtime-details .code-block { margin-top:10px; }
.cognition-main { min-width:0; }
.cognition-section { padding:30px 0; border-bottom:1px solid var(--line); scroll-margin-top:90px; }
.cognition-section:first-child { padding-top:0; }
.cognition-section h2,.cognition-session-head h2,.cognition-result h2 { font-size:26px; font-weight:600; margin:0 0 16px; }
.cognition-session-head h2 { font-size:30px; overflow-wrap:anywhere; }
.cognition-section>.subtle { font-size:13px; max-width:76ch; margin-bottom:22px; }
.new-session { max-width:660px; }
.new-session form { margin-top:26px; }
.cognition-section form>.button { justify-self:start; }
.cognition-explainer { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-top:32px; }
.cognition-explainer span { font:10px/1.6 ui-monospace,monospace; color:var(--accent); }
.cognition-explainer p { font-size:12px; color:var(--muted); margin-top:12px; }
.cognition-section-head { display:flex; justify-content:space-between; align-items:start; gap:22px; }
.cycle-form { display:flex; align-items:end; gap:12px; }
.cycle-form .field>span { font-size:10px; }
.cycle-form select { padding:8px; font-size:12px; }
.inline-action { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; margin:22px 0; }
.planner-row { display:flex; align-items:center; gap:12px; padding:14px 0; border-bottom:1px solid var(--line); }
.planner-row strong { font-size:13px; font-weight:500; flex:1; }
.planner-row code { font-size:10px; color:var(--muted); }
.context-list { margin-top:24px; font-size:12px; }
.context-list h3 { font-size:13px; color:var(--muted); }
.context-list p { border-left:2px solid var(--line); padding-left:12px; }
.assumption-row { padding:22px 0; border-top:1px solid var(--line); }
.assumption-heading { display:flex; gap:18px; align-items:start; justify-content:space-between; }
.assumption-heading h3 { font-size:17px; font-weight:550; }
.assumption-row>p { font-size:12px; }
.check-action { grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; align-items:end; gap:12px; margin-top:18px; }
.check-action input,.check-action select { padding:9px; font-size:12px; }
.check-action .field>span { font-size:10px; }
.publish-observation { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:15px; }
.publish-observation span { color:var(--muted); font-size:10px; }
.cognition-compose { margin:22px 0; padding:14px 20px; background:var(--panel); border:1px solid var(--line); border-radius:4px; }
.cognition-compose summary { font-weight:500; font-size:13px; }
.cognition-compose form { margin-top:15px; }
.cognition-compose textarea { min-height:90px; }
.access-note { font-size:11px; color:var(--muted); margin:16px 0; }
.decision-row { padding:20px 0; border-top:1px solid var(--line); }
.decision-row>div { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.decision-row strong { font-size:14px; font-weight:500; }
.decision-row p { margin:12px 0; font-size:12px; }
.decision-row details { font-size:11px; }
.state-supported,.state-proceed,.state-ready { color:#8ad0b0; }
.state-contradicted,.state-revise,.state-failed { color:var(--accent); }
.state-unknown,.state-stale,.state-hold,.state-blocked { color:#e7bd6d; }
.cognition-result { padding:20px 24px; border-left:2px solid var(--accent); background:var(--panel); margin-bottom:26px; }
.cognition-result h2 { font-size:16px; }
.cognition-result details { font-size:12px; }
.decision-result { font-size:25px; font-weight:600; margin:0 0 10px; }
.cognition-history-links { display:flex; align-items:start; gap:18px; flex-wrap:wrap; margin:20px 0; }
.cognition-history-links details { font-size:12px; min-width:0; max-width:100%; }
.event-row { display:flex; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding:12px 0; font:10px/1.6 ui-monospace,monospace; color:var(--muted); overflow-wrap:anywhere; }
@media(max-width:1000px) { .cognition-layout { grid-template-columns:205px minmax(0,1fr); gap:28px; } .cognition-section-head { flex-direction:column; } .cycle-form { margin-bottom:18px; } .check-action { grid-template-columns:1fr 1fr; } }
@media(max-width:700px) { .cognition-head h1 { font-size:40px; } .cognition-status { grid-template-columns:1fr 1fr; } .cognition-status>div { padding:16px; border-bottom:1px solid var(--line); } .cognition-status strong { font-size:16px; } .cognition-layout { display:block; } .cognition-sidebar { padding:0; border-right:0; margin-bottom:30px; } .cognition-project { grid-template-columns:1fr auto; align-items:end; } .session-list { max-height:190px; } .cognition-settings { padding:20px; background:var(--panel); } .cognition-settings .runtime-details { margin-bottom:0; } .cognition-explainer { grid-template-columns:1fr; gap:12px; } .inline-action,.check-action { grid-template-columns:1fr; } .inline-action .button,.check-action .button { justify-self:start; } .cognition-section h2 { font-size:23px; } .cognition-session-head h2 { font-size:27px; } .cycle-form { flex-wrap:wrap; } .assumption-heading { flex-direction:column; gap:5px; } .planner-row { flex-wrap:wrap; } .planner-row code { display:none; } .event-row { flex-direction:column; gap:4px; } }

.mobile-jump { display:none; }
@media(max-width:700px) { .mobile-jump { display:inline-flex; } }
