:root {
  color-scheme: dark;
  --page: #171c18;
  --surface: #1e2720;
  --ink: #f4f6ee;
  --soft: #beccbf;
  --accent: #d4f395;
  --border: #3c4b40;
  --blue: #111a2f;
  --blue-border: #475a76;
  font-family: "Avenir Next", Avenir, system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
p { line-height: 1.65; }
img { max-inline-size: 100%; display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #e0fba7; outline-offset: 5px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
section[id] { scroll-margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 5; padding: 12px 20px; background: var(--accent); color: #192215; border-radius: 5px; }
.skip:not(:focus) { clip-path: inset(50%); }
.site-header { border-bottom: 1px solid #344038; }
.header-inner, nav, .actions, .footer-inner { display: flex; align-items: center; }
.header-inner { min-height: 77px; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; white-space: nowrap; }
nav { gap: clamp(16px, 2.6vw, 40px); }
nav a { font-size: .94rem; color: #dce5da; text-decoration: none; white-space: nowrap; }
nav a:not(.button):hover, .text-link:hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 750; text-align: center; text-decoration: none; line-height: 1.28; }
.button.small { min-height: 40px; font-size: .88rem; padding-inline: 13px; }
.primary { color: #1a2814; background: var(--accent); }
.primary:hover { background: #e3ffad; }
.outline { background: transparent; color: var(--ink); border-color: #657860; }
.outline:hover { background: #2a382b; }
.hero { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); align-items: center; gap: clamp(32px, 4.2vw, 76px); padding-block: clamp(56px, 6.4vw, 100px); }
.hero-copy { min-width: 0; }
.kicker, .visual-bar, .studio-caption {
  font: 700 .77rem/1.35 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .09em;
}
.kicker { color: var(--accent); }
.signal { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: var(--accent); vertical-align: 1px; }
.hero h1 { font-size: clamp(3.5rem, 6.4vw, 6.75rem); line-height: .96; font-weight: 780; letter-spacing: -.078em; margin: 18px 0 24px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-text { color: #d0dad0; font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 32rem; }
.actions { flex-wrap: wrap; gap: 12px; }
.hero .actions { margin-top: 27px; column-gap: 19px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 680; color: #e4ecdf; font-size: .94rem; text-underline-offset: 5px; }
.microcopy { color: var(--soft); font-size: .89rem; margin-top: 15px; }
.hero-visual, .studio { min-width: 0; border: 1px solid var(--blue-border); border-radius: 13px; overflow: hidden; background: #111a30; }
.hero-visual { box-shadow: 0 20px 56px #070a0854; }
.visual-bar { color: #dbe9ff; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 15px 17px; background: #151f34; }
.visual-bar .signal { background: #acd0ff; }
.sim-label { font-size: .72rem; letter-spacing: .045em; color: #cbdfff; border: 1px solid #576989; border-radius: 5px; padding: 4px 6px; }
.office-still { width: 100%; height: auto; background: #111a30; }
.visual-foot { min-height: 51px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 9px 28px; font-size: .88rem; font-weight: 650; color: #e3eafa; background: #151f34; border-top: 1px solid #41506b; padding: 8px 13px; }
.role-dot { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; }
.planner { background: #82ead1; } .creator { background: #a9b3ff; } .reviewer { background: #ffc597; }
.workflow { padding-block: 49px; border-block: 1px solid #3b493f; background: #1c251e; }
.editorial-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; }
.editorial-heading h2, .follow h2 { font-size: clamp(2.15rem, 4.6vw, 4.15rem); letter-spacing: -.065em; line-height: 1; }
.editorial-heading h2:not(:first-child), .follow h2 { margin-top: 9px; }
.editorial-heading p:not(.kicker), .follow p:not(.kicker) { color: var(--soft); max-width: 31rem; }
.steps{ display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 31px 0 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 43px minmax(0,1fr); gap: 15px; padding: 21px 23px; border-top: 1px solid #465649; }
.steps li:first-child { padding-left: 0; }
.steps li:not(:last-child) { border-right: 1px solid #465649; }
.step-icon { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid #687a5d; background: #273728; border-radius: 8px; color: var(--accent); }
.step-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.steps h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.steps p { color: var(--soft); margin-top: 6px; }
.demo-section { padding-block: 78px; }
.demo { margin-top: 25px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: stretch; gap: 15px; }
.studio { align-self: start; }
.screen { width: 100%; aspect-ratio: 35/24; position: relative; }
.screen img, .screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.studio-caption { padding: 13px 17px; background: #151f34; border-top: 1px solid #41506b; color: #e5edff; }
.demo-controls { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: clamp(17px,2.3vw,30px); }
.status-row { min-height: 32px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.status-pill { color: #e6f2e4; padding: 4px 9px; border-radius: 6px; background: #303c31; border: 1px solid #617462; font-size: .84rem; font-weight: 700; }
.demo-controls h3 { font-size: clamp(1.45rem,2.6vw,2.15rem); line-height: 1.14; letter-spacing: -.037em; margin: 9px 0; }
.demo-controls p, .demo-note { color: var(--soft); }
.demo-controls .actions { margin-top: 17px; }
.choice { width: 100%; text-align: left; padding: 13px; border: 1px solid #687569; border-radius: 8px; background: #222d24; color: var(--ink); }
.choice + .choice { margin-top: 7px; }
.choice[aria-pressed="true"] { border-color: var(--accent); background: #333e2a; }
.choice:hover { background: #303e31; }
.choice strong,.choice span { display: block; }
.choice span { color: #c5d1c3; font-size: .9rem; margin-top: 2px; }
#mission-detail { margin-top: 14px; }
.plan, .files, .brief-meta { padding: 13px 14px; border: 1px solid var(--border); background: #19221c; border-radius: 8px; margin: 0; }
.plan h4, .files h4 { margin: 0 0 7px; font-size: 1rem; }
.plan ol { padding-left: 1.3rem; margin: 0; }
.plan li { margin: 5px 0; }
.brief-meta { margin-top: 9px; }
.brief-meta div { display: grid; grid-template-columns: 5.4rem 1fr; gap: 6px; font-size: .91rem; margin: 3px 0; }
.brief-meta dt { color: #d7e9c7; font-weight: 750; }.brief-meta dd{ margin: 0; }
.files details { border-top: 1px solid #425047; padding: 6px 0; }
.files details p { white-space: pre-wrap; margin: 5px 0 8px; }
.files a { color: var(--accent); font-weight: 720; display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
summary { cursor: pointer; min-height: 44px; padding: 10px 0; font-weight: 730; }
.activity { margin-top: 16px; border-top: 1px solid #47594c; }
.activity ol { padding-left: 1.35rem; margin: 0 0 10px; color: var(--soft); }
.activity li { margin: 6px 0; }
.demo-note { margin-top: 12px; font-size: .9rem; }
.follow { background: #252f23; border-block: 1px solid #49604a; padding-block: 55px; }
.follow-inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 20px 48px; align-items: center; }
.follow p:not(.kicker) { margin-top: 12px; }
.socials { display: grid; gap: 7px; }
.social { display: flex; justify-content: space-between; align-items: center; gap: 7px 12px; flex-wrap: wrap; color: var(--ink); padding: 11px 13px; border: 1px solid #6d8068; border-radius: 7px; text-decoration: none; }
a.social:hover { background: #384b33; }
.social span { font-size: .88rem; color: #d3e5c8; }
.social.placeholder { border-style: dashed; }
.footer-inner { justify-content: space-between; gap: 12px; min-height: 80px; color: var(--soft); font-size: .88rem; padding-block: 16px; }
.not-found { padding-block: 80px; }.not-found h1{margin:16px 0;font-size:3.5rem;}.not-found .button {margin-top:18px;}
@media(max-width: 1060px) {
  .wrap { width: calc(100% - 68px); }
  .hero { gap: 28px; }
  .wide-break { display: none; }
}
@media(max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  nav { gap: 14px; }.nav-workflow { display: none; }
  .hero, .demo, .follow-inner { grid-template-columns: minmax(0,1fr); }
  .hero{padding-block: 44px 38px;gap: 26px;}
  .hero h1 { font-size: clamp(2.7rem,10.5vw,5.3rem); margin-block: 14px 17px; }
  .hero .actions { margin-top: 17px; }
  .microcopy { margin-top: 10px; }
  .editorial-heading { align-items: start; flex-direction: column; gap: 10px; }
  .workflow,.follow { padding-block: 33px; }
  .steps { grid-template-columns: 1fr; margin-top: 21px; }
  .steps li, .steps li:first-child { padding: 16px 0; }
  .steps li:not(:last-child) { border-right: 0; }
  .demo-section { padding-block: 44px; }
  .visual-bar { padding: 11px; font-size: .7rem; }
  .sim-label { font-size: .66rem; }
  .visual-foot { gap: 5px 17px; }
  .demo { gap: 10px; margin-top: 18px; }
}
@media(max-width: 390px) {
  .wrap { width: calc(100% - 28px); }
  .nav-demo { display: none; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Keep the only headquarters, its activity and its controls in the same demo. */
.hero { align-items: start; }
.hero-copy { position: sticky; top: 32px; align-self: start; padding-block: 32px 10px; }
.demo-section { min-width: 0; padding: 0; border: 1px solid var(--blue-border); border-radius: 13px; background: var(--surface); overflow: hidden; box-shadow: 0 20px 56px #070a0854; }
.demo-heading { padding: 16px 18px 13px; }
.demo-heading h2 { font-size: clamp(1.35rem,2.5vw,1.9rem); letter-spacing: -.04em; line-height: 1.13; margin-top: 6px; }
.demo { display: block; margin: 0; }
.studio { border-radius: 0; border-inline: 0; }
.screen { aspect-ratio: 7/4; }
.demo-controls { border: 0; border-radius: 0; }
.demo-note { padding: 0 18px 16px; margin: 0; }
.options { margin-top: 8px; color: var(--soft); }
.options summary { color: var(--ink); }
.options label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 2px; }
.options input { margin: 0; width: 20px; height: 20px; accent-color: var(--accent); }
@media(max-width: 760px) {
  .hero-copy { position: static; padding-block: 0; }
  .demo-heading { padding: 13px 12px 10px; }
  .demo-note { padding-inline: 12px; }
  .screen { aspect-ratio: 35/24; }
}
