/* Keep the authored artwork and page rhythm; give real text room to be read. */
@font-face {
  font-family: 'Instrument Sans';
  src: url('../public/fonts/InstrumentSans.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.brand-mark { width: 36px; height: 24px; }
.wordmark { gap: 10px; font-weight: 650; letter-spacing: -1.2px; }
.wordmark .brand-mark,
.site-header .wordmark .brand-mark,
.footer-main>div:first-child>.wordmark .brand-mark { width: 38px; height: 27px; }
.workspace-wordmark .brand-mark { width: 30px; height: 22px; }
.agent-avatar .brand-mark { width: 25px; height: 19px; }
.hero-description { max-width: 490px; }
.desktop-nav a { font-size: 13px; }
.button { font-weight: 550; }

.eyebrow,
.closing-content>.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.55;
  text-transform: none;
}
.eyebrow>span:first-child:not(.status-dot) { color: #717b82; font-size: 11px; }
.announcement { font: 550 12px/1.5 var(--sans); letter-spacing: 0; border-radius: 30px; padding: 9px 14px; gap: 10px; }
.tiny-label, .team-case-copy .tiny-label, .capability-copy>.tiny-label,
.approval-card-heading .tiny-label { font: 550 11px/1.5 var(--sans); letter-spacing: .015em; }
.team-case-copy .tiny-label { color: #bac6d5; }
.art-topline,.art-bottomline { font-size: 10px; letter-spacing: 0; }
.signal-tag { font-size: 11px; }
.connections-strip small { font-size: 11px; letter-spacing: 0; }
.team-demo-top,.team-result small,.flow-scene-label { font-size: 10px; letter-spacing: 0; }
.footer-links nav>strong { font-size: 12px; font-weight: 600; letter-spacing: 0; color: #59665b; }
.availability { font-size: 10px; letter-spacing: 0; }
.faq-answer a { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a .icon { width: 13px; }

/* The frame describes a usable workspace, rather than imitating a tiny URL bar. */
.browser-chrome { height: 47px; padding-inline: 18px; font: 500 12px/1.4 var(--sans); color: #53635d; gap: 14px; }
.browser-chrome>span:nth-child(2) { font-size: 12px; gap: 8px; }
.browser-chrome .icon { width: 14px; height: 14px; }
.browser-chrome .preview-badge { font-size: 11px; letter-spacing: 0; color: #586959; }
.workspace-address-separator { color: #a0aaa1; }
.workspace-view-label,.workspace-nav-label { font-size: 10px; letter-spacing: .02em; }
.workspace .agent-name small,.workspace .chat-artifact-copy small { letter-spacing: 0; }

/* A quiet document surface keeps the existing scope interaction legible. */
.context-visual { background: #eff3f7; border-color: #dde5ec; background-image: none; padding: 25px; }
.scope-tabs { background: #e3e9ef; border: 0; padding: 4px; }
.scope-tabs button { font-size: 12px; color: #53697a; min-height: 40px; }
.scope-tabs button.active { color: #2259b0; background: white; }
.scope-scene .scope-scene-label { font-size: 11px; color: #60758a; margin-bottom: 18px; letter-spacing: 0; }
.context-doc { border-color: #e3e9ef; box-shadow: 0 3px 8px #233e6010; padding: 12px; }
.context-doc strong { font-size: 12px; font-weight: 550; color: #33485d; }
.context-doc small { font-size: 10px; color: #6a7c8b; }
.context-doc>.icon { color: #5075a5; }
.context-doc>.scope-doc-status { font-size: 9px; color: #6a7c8b; }
.context-to-melete { background: #a7bddd; }
.context-to-melete::after { background: #4578c2; }
.context-hub { background: #fff; border-color: #d8e3f2; }
.context-hub .brand-mark { width: 30px; height: 22px; }
.scope-scene h3 { font-size: 25px; color: #304f73; }
.scope-scene>p { font-size: 12px; color: #5e6e7c; }
.scope-result { font-size: 11px; color: #355d87; background: #e0eaf7; padding: 7px 10px; }

/* The memory stays visually fixed while the working model can change below it. */
.open-section {
  margin: 0 12px;
  padding: 104px 0 0;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: radial-gradient(ellipse at 86% 13%, #d8e7fe 0, transparent 52%), #edf3fb;
  color: #243343;
  overflow: hidden;
}
.open-layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: 76px; }
.open-copy .eyebrow { color: #3c628d; }
.open-copy h2 { font-size: clamp(39px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -2.2px; margin-bottom: 26px; }
.open-copy h2 em { color: #3264b3; }
.open-copy>p:not(.eyebrow) { font-size: 16px; line-height: 1.75; color: #55677a; max-width: 415px; }
.open-principles { display: grid; gap: 22px; margin: 32px 0; }
.open-principles>div { display: flex; align-items: flex-start; gap: 14px; }
.open-principles>div>span:first-child { padding: 7px; background: #ffffffad; color: #4d74a3; border: 1px solid #dce6f2; border-radius: 9px; }
.open-principles .icon { width: 17px; height: 17px; }
.open-principles strong { display: block; font-size: 14px; font-weight: 600; }
.open-principles small { display: block; font-size: 12px; color: #65788b; margin-top: 3px; }
.open-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.open-actions .text-link { font-size: 13px; color: #245aba; gap: 10px; }
.open-details { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #64798e; padding: 7px 0; }
.open-details .icon { width: 13px; height: 13px; }
.open-details:hover { color: #245aba; }
.context-switcher { min-width: 0; padding: 25px; background: #ffffffb8; border: 1px solid #fff; border-radius: 17px; box-shadow: 0 20px 70px #315b9120, 0 2px 4px #315b9107; }
.switcher-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.switcher-heading .wordmark { font-size: 23px; }
.switcher-heading .brand-mark { width: 32px; height: 23px; }
.workspace-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #e0e7ee; background: #f7fafd; border-radius: 20px; font-size: 10px; color: #65778b; white-space: nowrap; }
.workspace-pill .status-dot { width: 5px; height: 5px; background: #3e8b75; }
.retained-context { border: 1px solid #dfe7f0; background: #fff; border-radius: 10px; overflow: hidden; }
.retained-heading { display: flex; align-items: center; gap: 10px; padding: 17px 16px; background: #f7faff; border-bottom: 1px solid #e5edf6; }
.context-folder { padding: 8px; color: #3971bd; background: #e7effb; border-radius: 7px; }
.context-folder .icon { width: 17px; height: 17px; }
.retained-heading>div { flex: 1; min-width: 0; }
.retained-heading strong { display: block; font-size: 13px; font-weight: 600; }
.retained-heading>div>span { display: block; font-size: 11px; color: #758599; margin-top: 3px; }
.retained-check { color: #4d897e; }
.retained-check .icon { width: 16px; }
.context-record { display: flex; align-items: center; gap: 11px; margin: 0 17px; padding: 14px 0; border-bottom: 1px solid #eef1f5; }
.context-record>span:first-child { color: #7a8da4; }
.context-record .icon { width: 16px; height: 16px; }
.context-record>span:nth-child(2) { flex: 1; min-width: 0; }
.context-record strong { display: block; font-size: 12px; font-weight: 550; }
.context-record small { display: block; font-size: 11px; line-height: 1.5; color: #7a8897; margin-top: 2px; }
.record-scope { color: #6c8198; background: #f3f6fa; border-radius: 4px; padding: 3px 6px; font-size: 10px; }
.context-kept { display: flex; align-items: center; gap: 7px; padding: 12px 17px; font-size: 11px; color: #507668; background: #f7faf8; }
.context-kept .icon { width: 14px; height: 14px; }
.model-choice-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 23px 0 11px; font-size: 12px; font-weight: 600; }
.model-choice-heading>span:last-child { display: flex; align-items: center; gap: 5px; color: #8190a2; font-weight: 400; font-size: 11px; }
.model-choice-heading .icon { width: 12px; height: 12px; }
.model-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.model-options button { position: relative; min-height: 79px; padding: 12px 5px 10px; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; color: #546477; display: flex; flex-direction: column; align-items: center; gap: 7px; transition: border-color .18s, background .18s, box-shadow .18s, transform .18s; }
.model-options button:hover { transform: translateY(-2px); border-color: #9bb7df; }
.model-options button>b { font: 500 24px/1 var(--sans); height: 26px; display: grid; place-items: center; color: #34495c; }
.model-options button>b.provider-anthropic { font-family: var(--serif); color: #93755f; }
.model-options button>b.provider-gemini { color: #4e72c2; }
.model-options button>b .icon { width: 24px; height: 24px; }
.model-options button>span { font-size: 11px; font-weight: 500; }
.model-options button.selected { color: #245db6; border-color: #79a4eb; background: #eaf2ff; box-shadow: 0 0 0 1px #79a4eb; }
.model-options button.selected>b { color: #245db6; }
.model-options button>i { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: transparent; }
.model-options button.selected>i { background: #3979d8; }
.model-feedback { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 11px; color: #486888; margin-top: 17px; line-height: 1.5; }
.model-feedback .status-dot { width: 5px; height: 5px; background: #5685ba; }

@media (max-width: 1100px) {
  .open-layout { gap: 35px; }
  .context-switcher { padding: 20px; }
  .workspace-pill { font-size: 9px; padding-inline: 6px; }
  .retained-heading { padding-inline: 12px; }
  .retained-heading strong { font-size: 12px; }
  .retained-check { display: none; }
  .art-topline .live-label { display: none; }
}

@media (max-width: 800px) {
  .open-section { padding-top: 66px; }
  .open-layout { grid-template-columns: 1fr; gap: 36px; }
  .open-copy { max-width: 560px; }
  .open-copy>p:not(.eyebrow) { max-width: 520px; }
  .context-switcher { max-width: 570px; width: 100%; justify-self: center; }
  .workspace-pill { font-size: 11px; padding-inline: 9px; }
}

@media (max-width: 600px) {
  .eyebrow, .closing-content>.eyebrow { font-size: 11px; letter-spacing: 0; gap: 9px; }
  .site-header .wordmark { font-size: 24px; gap: 6px; }
  .site-header .wordmark .brand-mark { width: 31px; height: 23px; }
  .announcement { font-size: 11px; padding: 8px 12px; margin-bottom: 24px; }
  .art-topline, .art-bottomline { font-size: 9px; }
  .art-bottomline>span { max-width: 195px; }
  .signal-tag { font-size: 10px; }
  .connections-strip small { font-size: 10px; }
  .team-case-copy .tiny-label { font-size: 11px; }
  .team-demo-top,.team-result small,.flow-scene-label { font-size: 9px; }
  .flow-scene-label { gap: 12px; }
  .flow-scene-label>span:last-child { text-align: right; }
  .browser-chrome { height: 42px; padding-inline: 12px; gap: 6px; }
  .browser-chrome .window-dots { display: none; }
  .browser-chrome>span:nth-child(2) { font-size: 11px; gap: 5px; }
  .browser-chrome .preview-badge { font-size: 10px; }
  .browser-chrome .icon { width: 12px; height: 12px; }
  .workspace-address-separator { display: none; }
  .browser-chrome>span:nth-child(2) { font-size: 0; }
  .browser-chrome>span:nth-child(2)::after { content: 'Northstar workspace'; font-size: 11px; }
  .context-visual { padding: 20px 17px; }
  .scope-tabs button { font-size: 12px; }
  .scope-scene .scope-scene-label { font-size: 10px; }
  .scope-scene>p { font-size: 12px; }
  .scope-result { font-size: 10px; }
  .context-doc strong { font-size: 12px; }
  .context-doc small { font-size: 10px; }
  .context-doc>.scope-doc-status { display: none; }
  .open-section { margin-inline: 8px; border-radius: 12px; padding-top: 55px; }
  .open-section>.container { width: calc(100% - 36px); }
  .open-copy h2 { font-size: clamp(33px, 8.5vw, 43px); letter-spacing: -1.6px; }
  .open-copy>p:not(.eyebrow) { font-size: 14px; }
  .open-principles { gap: 20px; margin-block: 28px; }
  .open-principles strong { font-size: 13px; }
  .open-principles small { font-size: 12px; }
  .open-actions { gap: 20px; }
  .context-switcher { padding: 15px; border-radius: 12px; }
  .switcher-heading { gap: 8px; margin-bottom: 17px; }
  .switcher-heading .wordmark { font-size: 22px; gap: 5px; }
  .switcher-heading .brand-mark { width: 28px; height: 20px; }
  .workspace-pill { font-size: 9px; gap: 5px; padding: 4px 6px; }
  .retained-heading { padding: 14px 11px; gap: 8px; }
  .context-folder { padding: 6px; }
  .retained-heading strong { font-size: 12px; line-height: 1.5; }
  .retained-heading>div>span { font-size: 10px; }
  .context-record { margin-inline: 11px; gap: 8px; padding-block: 12px; }
  .context-record small { font-size: 10px; }
  .record-scope { font-size: 9px; padding-inline: 5px; }
  .context-kept { padding: 11px; font-size: 10px; align-items: flex-start; }
  .context-kept .icon { margin-top: 2px; }
  .model-choice-heading { font-size: 12px; margin-top: 20px; }
  .model-choice-heading>span:last-child { font-size: 10px; }
  .model-options { gap: 6px; }
  .model-options button { min-height: 78px; padding-inline: 2px; }
  .model-options button>span { font-size: 10px; }
  .model-feedback { font-size: 10px; align-items: baseline; gap: 5px; }
}

@media (max-width: 359px) {
  .workspace-pill { border: 0; background: none; padding: 0; max-width: 88px; white-space: normal; line-height: 1.4; }
  .record-scope { display: none; }
  .context-switcher { padding: 12px; }
  .model-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-options button { min-height: 69px; }
  .browser-chrome .preview-badge { font-size: 9px; }
  .open-actions { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .model-options button { transition: none; }
  .model-options button:hover { transform: none; }
}
