@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --forest: #10261e;
  --pine: #0b1c16;
  --ink: #182b21;
  --paper: #f2f3e9;
  --chalk: #f2f5e9;
  --acid: #d7f878;
  --sage: #b9c6b6;
  --muted: #4d6153;
  --rule: #c6cec1;
  --mono: "IBM Plex Mono", monospace;
  --gutter: clamp(20px, 4.45vw, 76px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
svg { display: block; }
::selection { color: var(--pine); background: var(--acid); }
:focus-visible { outline: 2px solid #577a29; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .approach :focus-visible,
.site-footer :focus-visible { outline-color: var(--acid); }

.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.shell { width: min(100%, 1664px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 .7rem/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .105em;
}
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 5; padding: 10px 18px; background: var(--acid); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 2;
  background: var(--forest);
  color: var(--chalk);
  border-bottom: 1px solid #e2f5de25;
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 26px; min-height: 78px; }
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -.095em;
  line-height: 1;
}
.brand svg { width: 30px; height: 28px; color: var(--acid); }
.brand span { padding-bottom: 4px; }
.nav { display: flex; gap: clamp(24px, 3vw, 50px); color: #d4ddd1; font-size: .91rem; }
.nav a { padding-block: 12px; transition: color .2s; }
.nav a:hover { color: var(--acid); }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid transparent;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s;
}
.button svg, .text-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.button-outline { color: var(--chalk); border-color: #d9e5d058; }
.button-outline:hover { color: var(--pine); background: var(--acid); border-color: var(--acid); }
.header-action { justify-self: end; min-height: 42px; font-size: .84rem; }
.button-primary { min-height: 56px; padding-inline: 17px; gap: 30px; background: var(--acid); color: var(--pine); }
.button-primary:hover { background: #e8ffaa; }
.button-dark { background: var(--forest); color: var(--chalk); }
.button-dark:hover { background: #244a36; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pine); color: var(--chalk); }
.hero-media { position: absolute; z-index: -2; inset: 0 0 0 auto; width: min(88%, 1370px); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 72%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--pine), #0b1c165e 46%, #0b1c1638 82%),
              linear-gradient(0deg, #0b1c1699, transparent 46%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  align-items: center;
  gap: clamp(24px, 4.1vw, 64px);
  min-height: clamp(565px, 44vw, 675px);
  padding-block: clamp(44px, 5vw, 76px);
}
.hero-copy { position: relative; }
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #d5e3d2; }
.signal { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; background: var(--acid); border-radius: 50%; }
.kicker-divider { width: 24px; height: 1px; background: #d5e3d272; }
.hero h1 {
  margin: 23px 0 25px -.062em;
  font-size: clamp(4.7rem, 8.7vw, 8.8rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.078em;
}
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-description { max-width: 395px; margin-bottom: 28px; color: #d1ded0; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.48; }

.category-band { background: var(--acid); color: var(--pine); }
.band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-inner a {
  display: flex;
  gap: clamp(10px, 1.4vw, 22px);
  align-items: center;
  min-width: 0;
  min-height: 58px;
  padding-inline: clamp(13px, 2.1vw, 32px);
  border-left: 1px solid #182b213a;
  font: 500 clamp(.68rem, 1vw, .81rem)/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background-color .2s;
}
.band-inner a:last-child { border-right: 1px solid #182b213a; }
.band-inner a:hover { background: #e8ffaa; }
.band-inner a:focus-visible { outline-offset: -4px; }
.band-inner a span { color: #455d2b; }
.band-inner svg { width: 13px; height: 13px; margin-left: auto; flex: 0 0 auto; }

.catalog, .faq { padding-block: clamp(65px, 7.1vw, 112px); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 38px; align-items: end; margin-bottom: 38px; }
.section-kicker { color: var(--muted); margin-bottom: 17px; }
.section-kicker span { color: #55762d; margin-right: 8px; }
h2 { font-size: clamp(2.95rem, 6.15vw, 6.5rem); font-weight: 600; line-height: .94; letter-spacing: -.078em; }
.period { color: #59762d; }
.section-description { max-width: 270px; padding-bottom: 4px; color: var(--muted); font-size: 1.02rem; }
.catalog-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button {
  padding: 8px 13px;
  min-height: 38px;
  background: transparent;
  border: 1px solid #abb8ab;
  font-size: .83rem;
  line-height: 1.25;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--forest); background: #e7eddb; }
.filters button[aria-pressed="true"] { background: var(--forest); color: var(--chalk); border-color: var(--forest); }
.result-count { margin-left: auto; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.45vw, 24px); }
.product { position: relative; min-width: 0; border: 1px solid var(--rule); background: #f6f7ef; }
.product-visual { position: relative; overflow: hidden; aspect-ratio: 1.16; background: #dce0d4; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 56%; transition: transform .35s ease; }
#semax .product-visual img { object-position: 50% 11%; }
.product:hover .product-visual img, .product:focus-within .product-visual img { transform: scale(1.045); }
.product-number { position: absolute; inset: 14px auto auto 14px; color: #374c3b; }
.product-usage { position: absolute; inset: 14px 14px auto auto; color: #374c3b; }
.product-info { position: relative; padding: 17px 64px 19px 16px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 4px 9px; color: var(--muted); font-size: .61rem; letter-spacing: .055em; }
.product-meta span + span::before { content: "/"; margin-right: 9px; color: #6c825f; }
.product h3 { margin-top: 5px; font-size: clamp(1.35rem, 2.48vw, 2.55rem); font-weight: 600; letter-spacing: -.06em; line-height: 1.04; }
.product-open {
  display: grid;
  place-items: center;
  position: absolute;
  right: 13px;
  bottom: 15px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid #a6b4a4;
  transition: background-color .2s, border-color .2s;
}
.product-open::after { content: ""; position: absolute; inset: -2px; }
.product-open svg { width: 18px; height: 18px; }
.product-open:hover, .product-open:focus-visible { background: var(--acid); border-color: var(--acid); }
.catalog-note { margin-top: 18px; color: var(--muted); font-size: .83rem; }

.approach { background: var(--forest); color: var(--chalk); padding-block: clamp(56px, 6.4vw, 100px); }
.approach-inner { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(28px, 6.5vw, 112px); align-items: center; }
.approach .section-kicker, .approach-copy > p:not(.section-kicker) { color: var(--sage); }
.approach .section-kicker span, .approach .period { color: var(--acid); }
.approach h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.approach-copy > p:not(.section-kicker) { margin-top: 21px; max-width: 405px; font-size: 1.06rem; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-block: 6px; border-bottom: 1px solid currentColor; font-size: .9rem; font-weight: 600; }

.faq-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); gap: clamp(26px, 5.7vw, 88px); }
.faq h2 { font-size: clamp(2.8rem, 5vw, 5.5rem); }
.faq-list { border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: grid; grid-template-columns: 2rem minmax(0, 1fr) 1.25rem; align-items: center; gap: 10px; padding: 17px 4px; list-style: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .eyebrow { color: #55762d; }
.faq-list summary svg { width: 20px; height: 20px; transition: transform .2s; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { margin: -2px 28px 17px calc(2rem + 14px); color: var(--muted); font-size: .94rem; }
.faq-list .faq-sources { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; }
.faq-sources a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding-block: 28px 20px; background: var(--pine); color: var(--chalk); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; }
.footer-top .eyebrow { display: flex; align-items: center; gap: 10px; }
.footer-top .text-link { color: var(--acid); }
.footer-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .1em;
  padding: .03em .08em .21em 0;
  color: #b8cfaa;
  font-size: min(23vw, 22rem);
  font-weight: 700;
  letter-spacing: -.106em;
  line-height: .92;
}
.footer-wordmark svg { width: .47em; height: .41em; }
.footer-bottom { border-top: 1px solid #c5d6bd35; padding-top: 16px; color: var(--sage); font-size: .8rem; }

.entry-dialog {
  width: min(730px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--paper);
}
.entry-dialog::backdrop { background: #081710ba; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px 9px 16px; border-bottom: 1px solid var(--rule); }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule); background: transparent; }
.dialog-close:hover { background: var(--acid); }
.dialog-close svg { width: 20px; height: 20px; transform: rotate(45deg); }
.dialog-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.dialog-image { width: 100%; height: auto; }
.dialog-info { padding: clamp(18px, 4vw, 34px); }
.dialog-info h2 { font-size: clamp(2rem, 5vw, 3.55rem); }
.dialog-info dl { margin-block: 20px 14px; }
.dialog-info dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--rule); padding: 6px 0; font-size: .92rem; }
.dialog-info dt, .dialog-note { color: var(--muted); }
.dialog-info dd { font-weight: 600; text-align: end; }
.dialog-note { margin-bottom: 16px; font-size: .84rem; }

@media (max-width: 940px) {
  .header-inner { min-height: 70px; gap: 18px; }
  .nav { gap: 18px; }
  .section-intro { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .section-description { max-width: 370px; }
}
@media (max-width: 660px) {
  .header-inner { display: flex; justify-content: space-between; min-height: 62px; }
  .brand { font-size: 1.95rem; }
  .brand svg { width: 24px; height: 24px; }
  .header-action { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 10px; border: 1px solid #d9e5d058; background: transparent; font-size: .83rem; }
  .menu-toggle svg { width: 17px; height: 17px; }
  .menu-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
  .nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; padding: 4px var(--gutter) 10px; background: var(--forest); border-bottom: 1px solid #d9e5d058; }
  .menu-toggle[aria-expanded="true"] + .nav { display: flex; }
  .menu-toggle[hidden] + .nav { position: static; display: flex; flex-flow: row wrap; justify-content: end; gap: 0 10px; padding: 0; border: 0; }
  .nav a { border-top: 1px solid #d9e5d035; }
  .menu-toggle[hidden] + .nav a { border-top: 0; }

  .hero h1 { margin-block: 18px; }
  .hero-description { max-width: 290px; margin-bottom: 19px; }
  .button-primary { min-height: 48px; }
  .band-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
  .band-inner a { min-height: 48px; padding-inline: var(--gutter); }
  .band-inner a:nth-child(odd) { border-left: 0; }
  .band-inner a:nth-child(n + 3) { border-top: 1px solid #182b213a; }
  .band-inner a:last-child { border-right: 0; }

  .catalog, .faq { padding-block: 54px; }
  .section-intro { margin-bottom: 24px; }
  .section-kicker { margin-bottom: 13px; }
  .catalog-bar { align-items: start; gap: 10px; }
  .filters { gap: 5px; }
  .filters button { font-size: .76rem; padding-inline: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-visual { aspect-ratio: .95; }
  .product-visual img { object-fit: contain; }
  .product-number { inset: 9px auto auto 8px; font-size: .57rem; }
  .product-usage { inset: 9px 8px auto auto; font-size: .53rem; letter-spacing: .055em; }
  .product-info { min-height: 108px; padding: 12px 44px 12px 9px; }
  .product-meta { display: grid; gap: 3px; font-size: .54rem; }
  .product-meta span + span::before { content: none; }
  .product h3 { font-size: clamp(1.05rem, 4.5vw, 1.55rem); }
  .product-open { right: 7px; bottom: 8px; width: 34px; height: 34px; }
  .product-open svg { width: 15px; height: 15px; }

  .approach-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); }
  .faq h2 br { display: none; }
  .footer-wordmark { font-size: min(25vw, 9rem); padding-block: .2em .3em; }
}
@media (max-width: 420px) {
  .dialog-body { grid-template-columns: minmax(0, 1fr); }
  .dialog-image { height: min(210px, 30dvh); object-fit: contain; background: #dce0d4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.hero-actions .text-link { color: var(--chalk); }
.agent-console {
  align-self: center;
  position: relative;
  min-width: 0;
  max-width: 580px;
  width: 100%;
  padding: 18px;
  background: #10261ff2;
  border: 1px solid #b9d3b16e;
  box-shadow: 0 24px 64px #05120e80;
  scroll-margin-top: 18px;
}
.console-head { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid #b3cbb53d; }
.console-icon { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; background: var(--acid); color: var(--forest); }
.console-icon svg { width: 24px; height: 22px; }
.console-head h2 { font-size: 1.38rem; letter-spacing: -.045em; line-height: 1.1; }
.console-head p { margin-top: 4px; color: var(--sage); font-size: .58rem; }
.console-mode { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 7px; color: var(--acid); border: 1px solid #c9eb6e4a; white-space: nowrap; font-size: .61rem; }
.console-mode .signal { width: 5px; height: 5px; }
.agent-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 208px;
  margin-block: 12px;
  padding-right: 3px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #68816d transparent;
  scrollbar-width: thin;
}
.agent-message {
  max-width: 95%;
  padding: 13px 14px;
  background: #1b382c;
  border-left: 1px solid #c3eb736b;
  color: var(--chalk);
  font-size: .92rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}
.agent-message.user { align-self: flex-end; background: #304a32; border-color: #b9d3b18a; }
.agent-message > p:not(.message-label) { white-space: pre-wrap; }
.message-label { margin-bottom: 5px; color: var(--acid); font-size: .59rem; }
.agent-message.user .message-label { color: #dbe8d2; }
.message-sources { display: flex; flex-wrap: wrap; gap: 5px 11px; margin: 10px 0 0; padding: 0; list-style: none; }
.message-sources a { color: var(--acid); text-decoration: underline; text-underline-offset: 3px; font-size: .78rem; }
.agent-prompts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.agent-prompts button { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 5px 8px; background: transparent; color: var(--chalk); border: 1px solid #b3cbb566; font-size: .74rem; }
.agent-prompts button:hover { border-color: var(--acid); color: var(--acid); }
.agent-prompts svg { width: 12px; height: 12px; }
.agent-form { display: flex; gap: 8px; padding: 5px; background: #0a1a14; border: 1px solid #c7d7c55c; }
.agent-form:focus-within { border-color: var(--acid); }
.agent-form input { min-width: 0; flex: 1; padding: 6px 9px; background: transparent; border: 0; font: inherit; color: var(--chalk); }
.agent-form input::placeholder { color: #abbdaa; opacity: 1; }
.agent-form input:focus-visible { outline: none; }
.agent-form button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; background: var(--acid); border: 0; color: var(--forest); }
.agent-form button svg { width: 18px; height: 18px; }
.agent-form button:hover { background: #ebffb3; }
.agent-form button:disabled, .agent-prompts button:disabled { opacity: .55; cursor: wait; }
.console-note { margin-top: 9px; color: var(--sage); font-size: .72rem; }

.channels { padding-block: clamp(45px, 5.8vw, 88px); background: #e6ebdd; border-bottom: 1px solid var(--rule); }
.channels-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); }
.channels h2 { font-size: clamp(2.6rem, 4vw, 4.7rem); }
.channels-intro > p:not(.section-kicker) { max-width: 310px; margin-top: 13px; color: var(--muted); font-size: .93rem; }
.channel { display: flex; flex-direction: column; min-width: 0; padding: clamp(14px, 2vw, 23px); border: 1px solid #bcc9b7; background: #f0f3e7; scroll-margin-top: 20px; }
.channel-top { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.channel-top > svg { width: 28px; height: 28px; }
.channel-status { color: var(--muted); border: 1px solid #b9c6b1; padding: 5px 7px; font-size: .6rem; }
.channel h3 { font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1; letter-spacing: -.06em; }
.channel > p { margin-top: 9px; color: var(--muted); font-size: .9rem; }
.channel-link { align-self: flex-start; margin-top: auto; padding-top: 13px; }

.approach-copy > p.mcp-access { display: flex; gap: 9px; align-items: center; font-size: .87rem; }
.mcp-panel { min-width: 0; padding: 18px; background: #0b1c16; border: 1px solid #8eaa8564; }
.mcp-head { display: flex; justify-content: space-between; gap: 8px; color: var(--acid); margin-bottom: 14px; }
.mcp-endpoint { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px; background: #1a372b; border: 1px solid #b3cbb53d; }
.mcp-endpoint code { color: var(--chalk); font: 500 .72rem/1.45 var(--mono); overflow-wrap: anywhere; user-select: all; }
.mcp-endpoint button { flex: 0 0 auto; min-height: 35px; padding: 4px 8px; background: var(--acid); border: 0; color: var(--pine); font-size: .76rem; font-weight: 700; }
.mcp-endpoint button:hover { background: #ebffb3; }
.mcp-tools { margin-top: 14px; }
.mcp-tools > div { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 10px; border-bottom: 1px solid #b3cbb53d; }
.mcp-tools dt { font: 500 .78rem/1.4 var(--mono); color: #dbe9cd; }
.mcp-tools dd { color: var(--sage); font-size: .82rem; }
.mcp-status { min-height: 16px; margin-top: 7px; color: var(--sage); font-size: .75rem; }

@media (max-width: 1060px) {
  .hero h1 { font-size: clamp(3.8rem, 8.5vw, 6.8rem); }
  .hero-actions { gap: 10px 16px; }
}
@media (max-width: 740px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hero h1 { font-size: clamp(3.9rem, 13vw, 6.7rem); }
  .hero-media { inset: 0 0 auto auto; width: 100%; height: 520px; }
  .hero-media img { object-position: 58% 29%; }
  .hero-media::after { background: linear-gradient(90deg, #0b1c16ed, #0b1c1660), linear-gradient(0deg, var(--pine), transparent 50%); }
  .agent-console { justify-self: stretch; max-width: none; }
  .channels-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels-intro { grid-column: 1 / -1; margin-bottom: 7px; }
  .channels h2 br { display: none; }
}
@media (max-width: 420px) {
  .hero-actions .button-primary { padding-inline: 12px; gap: 12px; }
  .hero-actions .text-link { font-size: .81rem; gap: 5px; }
  .hero-actions .text-link svg { width: 14px; height: 14px; }
  .agent-console { padding: 12px; }
  .console-head { gap: 8px; }
  .console-head h2 { font-size: 1.2rem; }
  .agent-messages { height: 174px; }
  .console-icon { width: 33px; height: 33px; }
  .console-icon svg { width: 20px; height: 18px; }
  .channels-inner { grid-template-columns: minmax(0, 1fr); }
}

.access-dialog, .access-exit-panel {
  width: min(560px, calc(100% - 28px));
  padding: clamp(19px, 4vw, 32px);
  color: var(--chalk);
  background: var(--forest);
  border: 1px solid #b9d3b16e;
}
.access-dialog {
  position: fixed;
  inset: 0;
  z-index: 10;
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 30px 90px #050e09bf;
}
.access-dialog::backdrop {
  background: #06140fda;
  backdrop-filter: blur(5px);
}
.access-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 15px;
  border-bottom: 1px solid #b3cbb53d;
}
.access-header .console-icon { width: 35px; height: 35px; }
.access-header .console-icon svg { width: 21px; height: 19px; }
.access-age {
  margin-left: auto;
  padding: 4px 7px;
  color: var(--acid);
  border: 1px solid #c9eb6e4a;
}
.access-dialog h2, .access-exit-panel h1 {
  margin-top: 19px;
  font-size: clamp(2.3rem, 5.5vw, 3.5rem);
  line-height: .99;
  letter-spacing: -.065em;
}
.access-dialog .period, .access-exit-panel .period { color: var(--acid); }
#access-intro, .access-exit-panel > p:not(.eyebrow) {
  margin: 10px 0 18px;
  color: var(--sage);
  font-size: .95rem;
}
.access-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #b3cbb53d;
  background: #1b382c;
  font-size: .88rem;
  line-height: 1.43;
  cursor: pointer;
}
.access-check + .access-check { margin-top: 6px; }
.access-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--acid);
}
.access-check:hover { border-color: #c9eb6e85; }
.access-notice { margin-top: 12px; color: var(--sage); font-size: .82rem; }
.access-notice summary { width: fit-content; color: var(--acid); cursor: pointer; }
.access-notice p { margin-top: 7px; }
.access-actions { display: flex; gap: 8px; margin-top: 18px; }
.access-actions .button { min-height: 44px; padding-inline: 12px; }
.access-actions .button-primary { flex: 1; gap: 8px; }
.access-actions .button-primary:disabled {
  color: #a3b29e;
  background: #253e31;
  border-color: #b3cbb53d;
  cursor: not-allowed;
}
.access-note { margin-top: 14px; color: var(--sage); }
.access-dialog :focus-visible, .access-exit-panel :focus-visible { outline-color: var(--acid); }
.footer-access {
  padding: 3px 0;
  border: 0;
  background: transparent;
  color: var(--acid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.research-exit {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  background: var(--pine);
}
.access-exit-panel .eyebrow { color: var(--acid); }

@media (max-width: 420px) {
  .access-check { font-size: .84rem; }
  .access-actions .button { font-size: .84rem; }
}
