@font-face {
  font-family: Inter; src: url('/fonts/inter-latin.woff2') format('woff2');
  font-style: normal; font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f8f9fb; --raised: #ffffff; --ink: #15202f; --muted: #526176;
  --line: #d8dee8; --accent: #2b4fce; --on-accent: #ffffff; --soft: #edf1fc;
  --gutter: clamp(20px, 4.4vw, 64px); --max: 1224px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* The original message-arrival spring, adapted to deployment output. */
  --spring: linear(0, .085, .281, .513, .731, .906, 1.028, 1.097, 1.125, 1.122,
    1.101, 1.072, 1.043, 1.019, 1.001, .99, .985, .984, .986, .99, .993, .997, .999, 1.001, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --ground: #1b1d23; --raised: #242733; --ink: #e9eef6; --muted: #aab7c9;
    --line: #303c4d; --accent: #b5caff; --on-accent: #152440; --soft: #1b2b48;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --ground: #1b1d23; --raised: #242733; --ink: #e9eef6; --muted: #aab7c9;
  --line: #303c4d; --accent: #b5caff; --on-accent: #152440; --soft: #1b2b48;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1rem/1.65 Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, figure, dl, dd, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px;
}
[id] { scroll-margin-top: 94px; }
.wrap { width: min(100%, calc(var(--max) + 2 * var(--gutter))); margin-inline: auto; padding-inline: var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mono, .eyebrow, .brand-product, .log-key, .demo-label, .step-tag, .step-output, code {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 400;
}
.skip { position: fixed; top: -80px; left: 16px; z-index: 30; padding: 10px 16px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 12px; }

/* Quiet navigation; the mark suggests connected systems rather than a character. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 1.45rem; font-weight: 600; letter-spacing: -.06em; }
.mark { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.wordmark-dot { color: var(--accent); }
.brand-product { margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--line); font-size: .625rem; letter-spacing: .14em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; font-size: .8125rem; text-decoration: none; }
.nav-wide { display: none; }
.draw { background: linear-gradient(var(--accent), var(--accent)) 12px calc(100% - 9px)/0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav .nav-cta { border: 1px solid var(--line); border-radius: 4px; padding-inline: 16px; font-weight: 600; }
.theme-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; border-radius: 4px; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-toggle path { fill: currentColor; stroke: none; }

/* A complete deployment in view, with the original typing and arrival motion. */
.hero { display: grid; gap: 48px; align-items: center; padding-block: clamp(64px, 8vw, 112px); }
.hero > *, .band > *, .step-body { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .6875rem; line-height: 1.5; letter-spacing: .065em; text-transform: uppercase; }
.status-dot { flex: none; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1 { margin-top: 26px; max-width: 17ch; font-size: clamp(2.625rem, 1.55rem + 3.3vw, 4.3rem); line-height: 1.06; letter-spacing: -.058em; font-weight: 600; text-wrap: balance; }
h1 span { color: var(--muted); }
.lede { max-width: 36em; margin-top: 26px; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 50px; max-width: 100%; padding: 12px 20px; border-radius: 4px; font-size: .875rem; font-weight: 600; line-height: 1.5; text-decoration: none; transition: transform .5s var(--spring), box-shadow .25s; }
.btn-primary { color: var(--on-accent); background: var(--accent); }
.btn-quiet { color: var(--ink); background: var(--raised); border: 1px solid var(--line); transition: transform .5s var(--spring), border-color .2s; }
.arrow { display: inline-block; transition: transform .5s var(--spring); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: .8125rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.hero-note { max-width: 38em; margin-top: 23px; font-size: .75rem; color: var(--muted); }
.console {
  --console-line: #304157; width: 100%; min-width: 0; margin: 0;
  color: #e5edf8; background: #101b29; border: 1px solid #304157; border-radius: 7px;
  box-shadow: 0 22px 52px -34px #0008; font-size: .8125rem;
}
.console-head, .file-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding: 17px 20px; border-bottom: 1px solid var(--console-line); font-size: .6875rem; }
.console-head .mono { overflow-wrap: anywhere; color: #bdcbdd; }
.demo-label { color: #9caec4; font-size: .5625rem; letter-spacing: .08em; }
.console-context { display: flex; align-items: center; gap: 9px; padding: 16px 20px 0; color: #9caec4; font-size: .6875rem; }
.console .status-dot { background: #8ed4b4; }
.threads { display: grid; min-width: 0; padding: 22px 20px; }
.thread { display: grid; grid-area: 1/1; align-content: start; gap: 15px; visibility: hidden; min-width: 0; }
.thread.is-active { visibility: visible; }
.msg { position: relative; display: flex; min-width: 0; }
.bubble { width: 100%; font-size: .8125rem; line-height: 1.7; overflow-wrap: anywhere; transform-origin: 0 50%; }
.msg--you { padding-block: 4px; }
.msg--you .bubble { font-family: 'JetBrains Mono', ui-monospace, monospace; color: #cfdbef; font-size: .6875rem; }
.prompt { margin-right: 7px; color: #8ed4b4; }
.log-key { display: inline-block; min-width: 74px; color: #a7c0ff; font-size: .625rem; letter-spacing: .04em; }
.log-detail { display: inline-block; color: #9caec4; padding-left: 74px; font-size: .6875rem; }
.log-warn { color: #f0c489; }
.dots { display: none; position: absolute; left: 0; top: 9px; align-items: center; gap: 4px; }
.dots i { width: 4px; height: 4px; background: #a7c0ff; border-radius: 50%; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .4; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
/* Keep every step readable, including while the optional typing animation runs. */
.demo.is-playing .bubble { opacity: .85; transform: translateY(3px); }
.demo.is-playing .msg.is-in .bubble { opacity: 1; transform: none; transition: transform .75s var(--spring), opacity .2s; }
.msg.is-typing .dots { display: inline-flex; left: auto; right: 0; top: -5px; }
.composer { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border-block: 1px solid var(--console-line); }
:root:not(.js) .composer { visibility: hidden; }
.composer-field { display: flex; align-items: center; min-width: 0; flex: 1; min-height: 22px; color: #9caec4; font: .6875rem/1.6 'JetBrains Mono', ui-monospace, monospace; overflow: hidden; white-space: nowrap; }
.composer-text { min-width: 0; overflow: hidden; text-overflow: clip; }
.composer-ph { overflow: hidden; text-overflow: ellipsis; }
.caret { display: none; flex: none; width: 1px; height: 1em; margin-left: 2px; background: #a7c0ff; }
.composer.has-text .composer-ph { display: none; }
.composer.has-text .caret { display: block; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.composer-send { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #465b76; border-radius: 3px; color: #9caec4; transition: transform .5s var(--spring); }
.composer.is-sending .composer-send { transform: scale(.82); transition-duration: .08s; }
.persona { display: flex; align-items: center; flex-wrap: wrap; padding: 10px 12px 2px; gap: 2px; }
.persona button { min-height: 44px; padding: 8px 10px; border: 1px solid transparent; background: transparent; border-radius: 3px; color: #bdcbdd; font-size: .6875rem; transition: background .2s, transform .5s var(--spring); }
.persona button[aria-pressed='true'] { color: #e5edff; background: #243550; border-color: #465b76; }
.persona .persona-replay { margin-left: auto; color: #a7c0ff; text-decoration: underline; text-underline-offset: 4px; }
.console :focus-visible { outline-color: #a7c0ff; }
.console figcaption { padding: 12px 20px 18px; color: #9caec4; font-size: .625rem; line-height: 1.65; }

/* Ruled sections and a numbered deployment path. */
.band { position: relative; display: grid; gap: 38px; padding-block: clamp(64px, 7vw, 104px); }
.band::before { content: ''; position: absolute; top: 0; inset-inline: var(--gutter); height: 1px; background: var(--line); }
h2 { margin-top: 20px; max-width: 20ch; font-size: clamp(2rem, 1.35rem + 2vw, 3.2rem); font-weight: 550; line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h3 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; letter-spacing: -.025em; }
.section-sub { max-width: 38em; margin-top: 21px; color: var(--muted); }
.problem-copy { display: grid; gap: 20px; color: var(--muted); }
.compression { margin-top: 13px; padding: clamp(22px, 3vw, 32px); background: var(--raised); border: 1px solid var(--line); border-radius: 4px; }
.duration { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; }
.duration .mono { font-size: .625rem; line-height: 1.6; color: var(--muted); }
.duration-label { color: var(--ink); font-size: 1rem; font-weight: 500; letter-spacing: -.03em; }
.duration-track { grid-column: 1/-1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.duration-track i { height: 7px; background: var(--line); transform-origin: 0 50%; }
.duration-target { margin-top: 27px; }
.duration-target .duration-label { color: var(--accent); }
.duration-target .duration-track i { background: var(--accent); }
.compression figcaption { margin-top: 23px; font-size: .6875rem; line-height: 1.7; }
.go-live { display: grid; margin-top: 12px; }
.go-live li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 22px; padding-bottom: 34px; }
.go-live li::before { content: ''; position: absolute; top: 43px; bottom: 9px; left: 16px; width: 1px; background: var(--line); }
.go-live li:last-child::before { display: none; }
.step-index { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); background: var(--raised); border-radius: 3px; font: .625rem 'JetBrains Mono', ui-monospace, monospace; color: var(--accent); }
.step-tag { margin-top: 8px; font-size: .625rem; letter-spacing: .06em; color: var(--muted); }
.step-body h3 { margin-top: 13px; }
.step-body > p:not(.step-tag) { max-width: 31em; margin-top: 12px; color: var(--muted); font-size: .875rem; }
.step-output { display: block; margin-top: 22px; font-size: .625rem; line-height: 1.7; color: var(--accent); }
#how > .text-link { justify-self: start; margin-top: -18px; }
.architecture-notes { margin-top: 30px; display: grid; gap: 22px; max-width: 35em; }
.architecture-notes dt { font-weight: 600; font-size: .8125rem; }
.architecture-notes dd { margin-top: 5px; color: var(--muted); font-size: .875rem; }
.config-card { min-width: 0; background: var(--raised); border: 1px solid var(--line); border-radius: 5px; }
.file-head { border-color: var(--line); color: var(--muted); padding: 18px 24px; }
.file-head .demo-label { color: var(--muted); }
.config-card pre { padding: 24px; white-space: pre-wrap; overflow-wrap: anywhere; font: .75rem/1.9 'JetBrains Mono', ui-monospace, monospace; }
.code-comment { color: var(--muted); }
.code-key { color: var(--accent); }
.config-card figcaption { padding: 17px 24px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.config-branch { padding-right: 8px; color: var(--accent); }
.pilot-plan ol { display: grid; gap: 26px; }
.pilot-plan ol > li { padding-left: 21px; border-left: 2px solid var(--line); }
.pilot-plan .mono { display: block; margin-bottom: 9px; font-size: .625rem; letter-spacing: .05em; color: var(--accent); }
.pilot-plan li p { max-width: 34em; margin-top: 9px; font-size: .875rem; color: var(--muted); }
.pilot-boundary { max-width: 42em; margin-block: 28px; font-size: .75rem; color: var(--muted); }
.contact-note { max-width: 35em; margin-top: 16px; font-size: .75rem; color: var(--muted); }
.pilot-plan .plan-link { display: flex; width: fit-content; margin-top: 10px; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 30px 40px; border-top: 1px solid var(--line); font-size: .6875rem; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.06em; color: var(--ink); text-decoration: none; }
.site-footer > p { flex: 1 1 240px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }

@media (min-width: 760px) {
  .nav-wide { display: block; }
  .problem, .architecture, .pilot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 7%; align-items: start; }
  .go-live { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
  .go-live li { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 0; }
  .go-live li::before { inset: 17px 0 auto 48px; width: auto; height: 1px; transform-origin: 0 50%; }
  .go-live li:last-child::before { display: block; }
  .step-tag { margin-top: 28px; }
}
@media (min-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 6%; }
  .console { max-width: 520px; justify-self: end; }
  .go-live { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .go-live li { display: flex; flex-direction: column; }
  .step-body { display: flex; flex: 1; flex-direction: column; }
  .step-output { margin-top: auto; padding-top: 22px; }
}
@media (max-width: 479px) {
  .header-in { min-height: 68px; gap: 8px; }
  .brand { gap: 6px; font-size: 1.3rem; }
  .brand-product { margin-left: 2px; padding-left: 8px; font-size: .625rem; letter-spacing: .1em; }
  .mark { width: 23px; height: 23px; }
  .nav { gap: 2px; }
  .nav .nav-cta { padding-inline: 10px; font-size: .75rem; }
  .theme-toggle { width: 44px; min-height: 44px; }
  .console-head, .console-context, .threads, .composer { padding-inline: 15px; }
  .persona { padding-inline: 6px; }
  .persona button { padding-inline: 8px; }
  .persona .persona-replay { margin-left: 0; }
  .log-key { min-width: 64px; }
  .log-detail { padding-left: 64px; }
  .actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .actions .text-link { align-self: start; }
  .btn-primary { gap: 10px; padding-inline: 14px; font-size: .8125rem; }
  .config-card pre { padding: 20px; font-size: .6875rem; }
  .hero-note { max-width: 32em; }
}
@media (hover: hover) {
  .draw:hover { background-size: calc(100% - 24px) 1px; }
  .nav-cta:hover, .theme-toggle:hover { background: var(--soft); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 5px 18px -8px var(--accent); }
  .btn:hover .arrow { transform: translate(2px, -2px); }
  .btn-quiet:hover { border-color: var(--accent); box-shadow: none; }
  .text-link:hover { text-decoration-color: var(--accent); }
  .persona button:hover { background: #243550; }
}
@media (max-width: 359px) { .brand-product { display: none; } }
.btn:active, .persona button:active { transform: scale(.98); }
.js .go-live li[data-seen]::before { transform: scaleY(0); transform-origin: top left; }
.js .go-live li.is-seen::before { transform: scaleY(1); transition: transform .9s var(--ease); }
.js .go-live li[data-seen] .step-index { transform: translateY(4px) scale(.95); }
.js .go-live li.is-seen .step-index { transform: none; transition: transform .7s var(--spring); }
@media (min-width: 760px) {
  .js .go-live li[data-seen]::before { transform: scaleX(0); }
  .js .go-live li.is-seen::before { transform: scaleX(1); }
}
@keyframes duration-grow { from { transform: scaleX(.85); } to { transform: scaleX(1); } }
.js .compression.is-seen .duration-track i { animation: duration-grow .8s var(--ease) both; }
.js .compression.is-seen .duration-track i:nth-child(2) { animation-delay: .08s; }
.js .compression.is-seen .duration-track i:nth-child(3) { animation-delay: .16s; }
.js .compression.is-seen .duration-track i:nth-child(4) { animation-delay: .24s; }
.js .compression.is-seen .duration-track i:nth-child(5) { animation-delay: .32s; }
.js .compression.is-seen .duration-track i:nth-child(6) { animation-delay: .4s; }
.demo.is-static .composer { visibility: hidden; }
.thread:not(.is-active) .dots i { animation-play-state: paused; }
.demo.is-paused *, .demo.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .demo .bubble { opacity: 1 !important; transform: none !important; }
  .js .compression[data-seen] .duration-track i { transform: none; }
  .js .go-live li[data-seen]::before, .js .go-live li[data-seen] .step-index { transform: none; }
  .btn:hover, .btn:active, .persona button:active, .arrow { transform: none !important; }
  .composer, .dots { display: none !important; }
}
