@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f1f0e8;
  --paper-2: #e7e6db;
  --ink: #111210;
  --muted: #66675f;
  --line: #c9c8bd;
  --acid: #d8ff45;
  --orange: #ff5c35;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--acid); }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--acid); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 38px; padding: 0 clamp(20px, 4vw, 64px); border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: color-mix(in srgb, var(--paper) 88%, transparent); border-color: var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.04em; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--paper); font-size: 13px; border-radius: 50%; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .2s; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.github-link { display: flex; align-items: center; gap: 7px; font: 500 10px/1 var(--mono); }
.github-link svg { width: 17px; fill: currentColor; }
.mini-download { padding: 11px 15px; color: var(--paper); background: var(--ink); font: 500 10px/1 var(--mono); text-transform: uppercase; }
.menu-button, .mobile-menu { display: none; }

.hero { position: relative; min-height: 920px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 130px 24px 220px; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: min(84vw, 1080px); aspect-ratio: 1; top: 12%; border: 1px solid var(--line); border-radius: 50%; opacity: .45; }
.hero::after { content: "LOCAL / PRIVATE / OPEN"; position: absolute; left: 4vw; bottom: 120px; writing-mode: vertical-rl; font: 400 9px/1 var(--mono); letter-spacing: .15em; }
.eyebrow { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; margin-bottom: 28px; font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.pulse-dot { width: 7px; height: 7px; background: #49b857; border-radius: 50%; box-shadow: 0 0 0 5px rgba(73,184,87,.12); animation: pulse 2s infinite; }
.hero h1 { position: relative; z-index: 1; max-width: 1120px; margin: 0; font-size: clamp(64px, 9.4vw, 146px); font-weight: 600; line-height: .82; letter-spacing: -.085em; }
.hero h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.hero-copy { position: relative; z-index: 1; max-width: 610px; margin: 38px auto 0; color: #55564f; font-size: 17px; line-height: 1.65; letter-spacing: -.02em; }
.hero-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 218px; padding: 17px 18px; border: 1px solid var(--ink); font: 600 11px/1 var(--mono); text-transform: uppercase; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--orange); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-ghost { background: transparent; }
.system-note { position: relative; z-index: 1; margin-top: 14px; font: 400 9px/1 var(--mono); color: var(--muted); text-transform: uppercase; }
.open-source-stamp { position: absolute; right: clamp(30px, 8vw, 130px); bottom: 70px; width: 140px; height: 140px; }
.open-source-stamp svg { width: 100%; animation: spin 24s linear infinite; }
.open-source-stamp text { font: 500 8px var(--mono); letter-spacing: 2.5px; fill: var(--ink); }
.open-source-stamp > span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 35px; }

.workbench-wrap { position: relative; z-index: 2; padding: 0 clamp(18px, 4vw, 64px) 110px; margin-top: -150px; scroll-margin-top: 72px; }
.workbench { max-width: 1400px; margin: 0 auto; color: #eaeae2; background: #121311; border: 1px solid #34352f; border-radius: 6px; box-shadow: 0 40px 80px rgba(20,20,17,.22); overflow: hidden; }
.app-chrome { height: 53px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 17px; border-bottom: 1px solid #2b2d28; background: #1a1b18; }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights i { width: 9px; height: 9px; border-radius: 50%; background: #484a43; }
.app-title { display: flex; align-items: center; gap: 7px; font: 400 10px/1 var(--mono); color: #999b92; }
.app-title img { width: 17px; border-radius: 4px; }.app-title span { color: #52534d; }
.privacy-pill { justify-self: end; display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #33352f; border-radius: 20px; font: 400 8px/1 var(--mono); text-transform: uppercase; }
.privacy-pill span { width: 6px; height: 6px; background: #69d070; border-radius: 50%; }
.app-body { display: grid; grid-template-columns: 72px minmax(480px, 1fr) 330px; min-height: 600px; }
.session-rail { display: flex; flex-direction: column; align-items: center; padding: 18px 0; border-right: 1px solid #2b2d28; }
.rail-brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }.rail-brand > span { display: grid; place-items: center; width: 30px; height: 30px; color: #111; background: var(--acid); border-radius: 50%; font-size: 12px; font-weight: 800; }.rail-brand strong { font: 600 6px/1.2 var(--mono); text-align: center; letter-spacing: .1em; }
.new-chat { width: 34px; height: 34px; margin-top: 40px; color: #aaa; background: transparent; border: 1px solid #34352f; border-radius: 3px; cursor: pointer; }.new-chat:hover { color: #111; background: var(--acid); }
.rail-spacer { flex: 1; }.avatar { display: grid; place-items: center; width: 29px; height: 29px; color: #111; background: #dddcd3; border-radius: 50%; font: 600 8px var(--mono); }
.chat-panel { display: flex; flex-direction: column; min-width: 0; }
.model-bar { height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #2b2d28; }.model-bar small { display: block; margin-bottom: 6px; color: #6e7068; font: 400 7px/1 var(--mono); }.model-bar strong { font-size: 11px; }.model-bar strong span { color: #777; }.model-meta { display: flex; gap: 7px; }.model-meta span { padding: 6px 7px; color: #a1a399; background: #22231f; font: 400 7px/1 var(--mono); }
.conversation { flex: 1; padding: 28px clamp(24px, 4vw, 65px); }.message { position: relative; max-width: 600px; padding-left: 52px; }.message + .message { margin-top: 35px; }.message-label { position: absolute; left: 0; top: 4px; color: #77796f; font: 500 7px/1 var(--mono); }.message p { margin: 0; color: #d2d3cc; font-size: 13px; line-height: 1.75; }.message code { color: var(--acid); font: 400 11px var(--mono); }.stream-line { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; color: #74766d !important; font: 400 9px/1 var(--mono) !important; }.stream-line span { width: 5px; height: 5px; background: var(--acid); border-radius: 50%; }
.composer { height: 55px; display: flex; align-items: center; justify-content: space-between; margin: 0 20px 20px; padding: 0 8px 0 17px; color: #77796f; background: #1a1b18; border: 1px solid #35362f; font-size: 10px; }.composer button { width: 34px; height: 34px; border: 0; background: var(--acid); cursor: pointer; }
.telemetry { padding: 24px; border-left: 1px solid #2b2d28; background: #0e0f0d; }.telemetry-heading { display: flex; align-items: center; justify-content: space-between; font: 500 8px/1 var(--mono); color: #92948a; }.telemetry-heading i { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 12px var(--acid); }
.speedometer { position: relative; height: 170px; text-align: center; }.speedometer svg { position: absolute; inset: 25px 10px auto; width: calc(100% - 20px); }.speedometer path { fill: none; stroke-width: 7; stroke-linecap: square; }.gauge-track { stroke: #282a25; }.gauge-value { stroke: var(--acid); stroke-dasharray: 165 220; }.speedometer strong { display: block; padding-top: 86px; font: 300 39px/1 var(--mono); }.speedometer span { color: #77796f; font: 400 7px/1 var(--mono); text-transform: uppercase; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid #292b26; }.stats-grid div { padding: 16px 0; border-bottom: 1px solid #292b26; }.stats-grid div:nth-child(odd) { border-right: 1px solid #292b26; }.stats-grid div:nth-child(even) { padding-left: 17px; }.stats-grid dt { color: #65675f; font: 400 7px/1 var(--mono); text-transform: uppercase; }.stats-grid dd { margin: 8px 0 0; font: 300 18px/1 var(--mono); }.stats-grid small { color: #74766d; font-size: 8px; }
.sparkline { height: 80px; padding: 14px 0; border-bottom: 1px solid #292b26; }.sparkline svg { width: 100%; height: 100%; overflow: visible; }.sparkline path { fill: none; stroke: var(--acid); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.engine-status { display: grid; gap: 8px; padding-top: 16px; color: #65675f; font: 400 7px/1 var(--mono); }.engine-status span:nth-child(2) { color: var(--acid); }

.product-showcase { max-width: 1400px; margin: 0 auto; background: #d9d8cf; border: 1px solid var(--ink); box-shadow: 0 40px 80px rgba(20,20,17,.22); }
.showcase-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 12px 16px 12px 20px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.showcase-heading { display: flex; align-items: center; gap: 12px; }
.showcase-heading img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.showcase-heading span { display: grid; gap: 5px; }
.showcase-heading strong { font-size: 12px; letter-spacing: -.02em; }
.showcase-heading small { color: var(--muted); font: 400 8px/1 var(--mono); text-transform: uppercase; }
.screenshot-tabs { display: flex; padding: 4px; background: #ddddd4; }
.screenshot-tabs button { min-width: 92px; padding: 10px 13px; border: 0; background: transparent; font: 500 9px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.screenshot-tabs button.active { color: var(--paper); background: var(--ink); }
.screenshot-frame { position: relative; aspect-ratio: 31 / 18; overflow: hidden; background: #fff; }
.screenshot-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(17,18,16,.08); }
.screenshot-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s ease, transform .3s ease; }
.screenshot-frame img.switching { opacity: .25; transform: scale(.995); }
.showcase-caption { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 30px; min-height: 64px; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.showcase-caption > span { color: #8e9087; font: 400 8px/1 var(--mono); letter-spacing: .08em; }
.showcase-caption > span:last-child { text-align: right; }
.showcase-caption p { margin: 0; font-size: 11px; line-height: 1.45; }

.section { padding: 130px clamp(20px, 5vw, 80px); }
.section-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 70px; }
.kicker { margin: 0 0 18px; font: 500 9px/1 var(--mono); letter-spacing: .1em; }
.section h2 { margin: 0; font-size: clamp(48px, 6.5vw, 94px); line-height: .92; letter-spacing: -.065em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.feature-card { position: relative; min-height: 520px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.feature-number { font: 400 9px/1 var(--mono); }.feature-tag { position: absolute; right: 28px; top: 28px; font: 500 8px/1 var(--mono); letter-spacing: .1em; }
.feature-card h3 { max-width: 390px; margin: 120px 0 18px; font-size: 27px; line-height: 1.08; letter-spacing: -.045em; }
.feature-card p { max-width: 390px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.feature-card-dark { color: var(--paper); background: var(--ink); }.feature-card-dark p { color: #a5a69d; }
.feature-card-accent { background: var(--acid); }
.feature-visual { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.model-stack div { display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; margin-top: 5px; background: #deddd3; border: 1px solid #c4c3b8; font: 500 8px/1 var(--mono); }.model-stack b { display: grid; place-items: center; height: 29px; background: var(--paper); border: 1px solid #c4c3b8; }.model-stack b img { width: 17px; height: 17px; }.model-stack span { display: grid; gap: 4px; }.model-stack small { color: var(--muted); font-size: 6px; }.model-stack i { font-style: normal; color: var(--muted); }
.mini-chat { display: grid; gap: 10px; }.bubble { width: fit-content; max-width: 80%; padding: 12px 14px; font: 400 8px/1.4 var(--mono); }.bubble-user { justify-self: end; color: var(--ink); background: #d8d8d0; }.bubble-ai { display: flex; gap: 4px; border: 1px solid #4c4d47; }.bubble-ai span { width: 4px; height: 4px; background: var(--acid); border-radius: 50%; animation: type 1.3s infinite; }.bubble-ai span:nth-child(2) { animation-delay: .2s; }.bubble-ai span:nth-child(3) { animation-delay: .4s; }
.bars { height: 110px; display: flex; align-items: end; gap: 5px; border-bottom: 1px solid var(--ink); }.bars i { flex: 1; height: var(--h); background: var(--ink); }
.silicon { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 18px; background: var(--ink); color: var(--paper); }.silicon span { grid-row: span 2; font-size: 50px; }.silicon strong { font: 300 32px/1 var(--mono); }.silicon small { color: #888; font: 400 6px/1 var(--mono); letter-spacing: .1em; }
.modality-list { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; }.modality-list span { flex: 1; aspect-ratio: 1; display: grid; place-items: center; margin-right: -1px; border: 1px solid var(--ink); border-radius: 50%; font: 500 8px/1 var(--mono); }
.mit-mark { position: absolute; bottom: 24px; left: 28px; font: 800 82px/.75 var(--sans); letter-spacing: -.09em; }.mit-mark span { display: block; margin-top: 12px; font: 500 8px/1 var(--mono); letter-spacing: .15em; }

.integrations { color: var(--ink); background: var(--acid); scroll-margin-top: 72px; }
.integrations-inner { display: grid; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.7fr); align-items: center; gap: clamp(45px, 7vw, 110px); max-width: 1440px; margin: 0 auto; }
.integrations-copy h2 { font-size: clamp(52px, 6.2vw, 92px); }
.integrations-lede { max-width: 470px; margin: 32px 0 0; font-size: 14px; line-height: 1.7; letter-spacing: -.02em; }
.integration-list { margin-top: 45px; border-top: 1px solid var(--ink); }
.integration-list span { display: grid; grid-template-columns: 42px 1fr; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--ink); font-size: 12px; font-weight: 700; }
.integration-list b { font: 500 8px/1 var(--mono); }
.integrations-visual { min-width: 0; margin: 0; border: 1px solid var(--ink); background: var(--paper); box-shadow: 18px 18px 0 var(--ink); }
.integrations-frame { aspect-ratio: 31 / 18; overflow: hidden; background: #fff; }
.integrations-frame img { width: 100%; height: 100%; object-fit: cover; }
.integrations-visual figcaption { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 14px 18px; color: var(--paper); background: var(--ink); }
.integrations-visual figcaption span { color: var(--acid); font: 500 8px/1 var(--mono); letter-spacing: .1em; }
.integrations-visual figcaption strong { font-size: 11px; text-align: right; }

.manifesto { color: var(--paper); background: var(--ink); }
.manifesto-title { display: flex; align-items: end; justify-content: space-between; max-width: 1400px; margin: 0 auto 70px; }.manifesto-title .kicker { order: 2; color: #82847b; }
.terminal { max-width: 1100px; margin: 0 auto; border: 1px solid #3b3d37; box-shadow: 18px 18px 0 var(--acid); }
.terminal-top { height: 44px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 14px; color: #76786f; border-bottom: 1px solid #3b3d37; font: 400 8px/1 var(--mono); }.terminal-top > span:first-child { display: flex; gap: 6px; }.terminal-top i { width: 7px; height: 7px; background: #4a4c45; border-radius: 50%; }.terminal-top > span:last-child { justify-self: end; }
.terminal-body { padding: clamp(28px, 5vw, 70px); font: 300 clamp(13px, 1.45vw, 18px)/1.8 var(--mono); }.terminal-body p { max-width: 850px; margin: 0 0 24px; }.terminal-body .prompt { color: var(--acid); }.terminal-body .comment { color: #777a70; }.cursor { display: inline-block; width: 8px; height: 17px; background: var(--acid); animation: blink 1s step-end infinite; }

.library { max-width: 1540px; margin: 0 auto; }
.library-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 60px; }.library-header > p { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.partner-lockup { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.partner-lockup span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); font: 500 8px/1 var(--mono); text-transform: uppercase; }
.partner-lockup img { width: 17px; height: 17px; }
.model-table { border-top: 1px solid var(--ink); }.model-row { display: grid; grid-template-columns: 2.4fr 1fr .8fr .8fr 1fr auto; align-items: center; gap: 20px; min-height: 82px; padding: 0 12px; border-bottom: 1px solid var(--line); transition: padding .2s, background .2s; }.model-row:not(.model-table-head):hover { padding-left: 22px; background: var(--acid); }.model-row strong { font-size: 17px; letter-spacing: -.03em; }.model-row span { color: var(--muted); font: 400 10px/1 var(--mono); }.model-row i { width: fit-content; padding: 6px 8px; border: 1px solid var(--line); border-radius: 20px; font: 400 7px/1 var(--mono); font-style: normal; }.model-row b { font-weight: 400; }.model-table-head { min-height: 36px; font: 500 7px/1 var(--mono); letter-spacing: .12em; }.model-table-head span { font-size: inherit; }.text-link { display: inline-flex; gap: 35px; margin-top: 35px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font: 500 10px/1 var(--mono); text-transform: uppercase; }
.partner-model { display: flex; align-items: center; gap: 12px; }
.partner-model img { width: 27px; height: 27px; padding: 4px; background: white; border: 1px solid var(--line); border-radius: 6px; }

.closing-cta { position: relative; min-height: 720px; display: grid; place-items: center; color: var(--paper); background: var(--orange); text-align: center; overflow: hidden; }
.closing-cta::before, .closing-cta::after { content: ""; position: absolute; width: 68vw; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }.closing-cta::after { width: 48vw; }
.cta-orbit { position: absolute; width: min(84vw, 1100px); display: flex; justify-content: space-between; align-items: center; color: rgba(17,18,16,.1); font-size: 16vw; font-weight: 800; letter-spacing: -.1em; }
.cta-content { position: relative; z-index: 2; }.cta-content h2 { margin: 0; font-size: clamp(70px, 9vw, 132px); line-height: .82; letter-spacing: -.075em; }.cta-content > p:not(.kicker) { margin: 28px 0 0; font: 400 14px/1 var(--mono); }.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }.button-outline-light { color: var(--paper); border-color: rgba(255,255,255,.65); }.closing-cta .button:hover { box-shadow: 5px 5px 0 var(--ink); }
.marquee { padding: 16px 0; color: var(--ink); background: var(--acid); border-bottom: 1px solid var(--ink); overflow: hidden; }.marquee div { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 22s linear infinite; font: 600 10px/1 var(--mono); letter-spacing: .08em; }.marquee i { font-size: 17px; font-style: normal; }

footer { display: grid; grid-template-columns: 1.25fr 1fr 1.5fr; gap: 60px; padding: 85px clamp(24px, 5vw, 80px) 25px; background: var(--paper); }
.footer-brand { font-size: 70px; font-weight: 600; line-height: .9; letter-spacing: -.075em; }
footer > p { max-width: 350px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }.footer-links div { display: flex; flex-direction: column; gap: 11px; }.footer-links strong { margin-bottom: 6px; font: 500 8px/1 var(--mono); letter-spacing: .1em; }.footer-links a { color: var(--muted); font-size: 11px; }.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 24px; margin-top: 50px; color: var(--muted); border-top: 1px solid var(--line); font: 400 8px/1 var(--mono); text-transform: uppercase; }.footer-bottom button { padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(73,184,87,0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes type { 50% { opacity: .2; transform: translateY(-2px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1100px) {
  .site-header { column-gap: 20px; }
  .desktop-nav { gap: 18px; }
  .github-link { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .app-body { grid-template-columns: 60px 1fr 280px; }.telemetry { padding: 18px; }
}
@media (max-width: 820px) {
  .site-header { height: 62px; grid-template-columns: 1fr auto; }.desktop-nav, .github-link, .mini-download { display: none; }.menu-button { display: grid; width: 36px; height: 36px; place-content: center; gap: 6px; border: 0; background: none; }.menu-button span { width: 20px; height: 1px; background: currentColor; transition: transform .2s; }.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 61px; left: 0; right: 0; display: none; padding: 18px 24px 28px; background: var(--paper); border-bottom: 1px solid var(--ink); }.mobile-menu.open { display: grid; }.mobile-menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font: 500 11px/1 var(--mono); text-transform: uppercase; }
  .hero { min-height: 800px; padding-bottom: 180px; }.hero::after, .open-source-stamp { display: none; }.hero h1 { font-size: clamp(58px, 16vw, 100px); }.hero-copy { font-size: 15px; }.hero-actions { flex-direction: column; width: min(100%, 340px); }.button { width: 100%; }
  .workbench-wrap { margin-top: -110px; padding-bottom: 80px; }.showcase-bar { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; }.screenshot-tabs { width: 100%; }.screenshot-tabs button { flex: 1; min-width: 0; }.showcase-caption { grid-template-columns: auto 1fr; gap: 16px; }.showcase-caption > span:last-child { display: none; }.app-body { grid-template-columns: 52px 1fr; }.telemetry { display: none; }.conversation { padding-inline: 24px; }.app-chrome { grid-template-columns: 1fr 1fr; }.app-title { display: none; }
  .section { padding-block: 90px; }.feature-grid { grid-template-columns: 1fr; }.feature-card { min-height: 480px; }.integrations-inner { grid-template-columns: 1fr; }.integrations-copy { max-width: 620px; }.manifesto-title, .library-header { display: block; }.manifesto-title .kicker { margin-bottom: 20px; }.manifesto-title h2 { font-size: 52px; }.partner-lockup { margin-top: 28px; flex-wrap: wrap; }
  .model-row { grid-template-columns: 2fr .7fr auto; }.model-row > :nth-child(2), .model-row > :nth-child(3), .model-row > :nth-child(5) { display: none; }.model-table-head > :nth-child(4) { grid-column: 2; }
  .closing-cta { min-height: 650px; }.closing-cta::before { width: 120vw; }.closing-cta::after { width: 88vw; }.cta-orbit { display: none; }
  footer { grid-template-columns: 1fr; }.footer-links { margin-top: 15px; }.footer-bottom { margin-top: 15px; gap: 15px; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .hero h1 { letter-spacing: -.07em; }.hero-copy br { display: none; }.feature-card { min-height: 455px; padding: 23px; }.feature-grid .feature-card:first-child { min-height: 520px; }.feature-card h3 { margin-top: 105px; }.feature-tag { right: 23px; }.section { padding-inline: 18px; }.workbench-wrap { padding-inline: 8px; }.showcase-bar { padding: 12px; }.showcase-heading small { font-size: 6px; }.screenshot-tabs { overflow: hidden; }.screenshot-tabs button { padding-inline: 4px; font-size: 7px; }.screenshot-frame img { object-fit: contain; object-position: center; }.showcase-caption { grid-template-columns: 1fr; }.showcase-caption p { font-size: 9px; }.integrations-visual { box-shadow: 8px 8px 0 var(--ink); }.integrations-frame img { object-fit: contain; object-position: center; }.integrations-visual figcaption { align-items: flex-start; flex-direction: column; gap: 8px; }.integrations-visual figcaption strong { text-align: left; }.session-rail { display: none; }.app-body { grid-template-columns: 1fr; }.model-meta { display: none; }.message { padding-left: 0; padding-top: 18px; }.message-label { top: 0; }.terminal { box-shadow: 8px 8px 0 var(--acid); }.terminal-body { font-size: 11px; }.model-row { padding-inline: 4px; gap: 8px; }.model-row strong { font-size: 13px; }.cta-content { padding-inline: 20px; }.footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) { .eyebrow { gap: 6px; font-size: 8px; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* Downloads */
.desktop-nav a[aria-current="page"]::after { right: 0; }
.downloads-main { padding-top: 72px; }
.downloads-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); min-height: 770px; border-bottom: 1px solid var(--ink); }
.downloads-hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 100px clamp(28px, 6vw, 100px); overflow: hidden; }
.downloads-hero-copy::before { content: "PUBLIC / VERIFIABLE / LIVE"; position: absolute; right: 28px; top: 48%; writing-mode: vertical-rl; color: var(--muted); font: 400 8px/1 var(--mono); letter-spacing: .15em; }
.downloads-hero-copy::after { content: ""; position: absolute; width: min(54vw, 690px); aspect-ratio: 1; left: -27%; bottom: -53%; border: 1px solid var(--line); border-radius: 50%; opacity: .75; }
.downloads-hero-copy h1 { position: relative; z-index: 1; margin: 24px 0 0; font-size: clamp(76px, 8.3vw, 132px); font-weight: 600; line-height: .8; letter-spacing: -.085em; }
.downloads-hero-copy h1 em { font-family: var(--serif); font-weight: 400; }
.downloads-lede { position: relative; z-index: 1; max-width: 540px; margin: 42px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; letter-spacing: -.02em; }
.downloads-status { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; margin-top: 34px; color: var(--muted); font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.downloads-status [data-data-status] { color: var(--ink); }
.downloads-metrics { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--ink); }
.download-metric { position: relative; min-height: 50%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 4vw, 56px); border-bottom: 1px solid var(--ink); }
.download-metric:nth-child(2) { border-left: 1px solid var(--ink); }
.download-metric span { font: 500 10px/1 var(--mono); letter-spacing: .1em; }
.download-metric strong { margin: auto 0 20px; font-size: clamp(56px, 6vw, 94px); font-weight: 600; line-height: .8; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.download-metric p { margin: 0; color: var(--muted); font-size: 14px; }
.download-metric > i { position: absolute; right: 38px; top: 34px; font: 300 34px/1 var(--mono); font-style: normal; }
.download-metric-primary { background: var(--acid); }
.download-metric-dark { grid-column: 1 / -1; min-height: 50%; color: var(--paper); background: var(--ink); border-bottom: 0; }
.download-metric-dark strong { font-size: clamp(82px, 9vw, 145px); }
.download-metric-dark p { color: #9d9f96; }
.download-metric-dark small { position: absolute; right: 42px; bottom: 42px; padding: 8px 11px; color: var(--ink); background: var(--acid); font: 500 9px/1 var(--mono); letter-spacing: .12em; }

.downloads-explorer { padding: 130px clamp(24px, 5vw, 80px); }
.downloads-explorer-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; max-width: 1500px; margin: 0 auto 75px; }
.downloads-explorer-heading h2, .downloads-cta h2 { margin: 18px 0 0; font-size: clamp(60px, 7vw, 106px); line-height: .83; letter-spacing: -.07em; }
.downloads-explorer-heading h2 em, .downloads-cta h2 em { font-family: var(--serif); font-weight: 400; }
.downloads-explorer-heading > p { max-width: 500px; margin: 0 0 8px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.download-controls { position: relative; z-index: 5; display: grid; grid-template-columns: 1fr minmax(210px, 300px); gap: 30px; align-items: end; max-width: 1500px; margin: 0 auto; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.asset-filter { min-width: 0; padding: 0; margin: 0; border: 0; }
.asset-filter legend, .release-filter > span { display: block; margin-bottom: 12px; color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .12em; }
.asset-filter > div { display: flex; gap: 7px; }
.asset-filter button { display: flex; align-items: center; gap: 18px; padding: 12px 14px; background: transparent; border: 1px solid var(--line); cursor: pointer; font: 500 11px/1 var(--mono); white-space: nowrap; transition: color .2s, background .2s, border-color .2s; }
.asset-filter button span { color: var(--muted); font-size: 9px; }
.asset-filter button:hover { border-color: var(--ink); }
.asset-filter button.active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.asset-filter button.active span { color: var(--acid); }
.release-select { position: relative; }
.release-select-trigger { width: 100%; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px 0 13px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); cursor: pointer; font: 500 11px/1 var(--mono); text-align: left; }
.release-select-trigger i { flex: 0 0 auto; width: 7px; height: 7px; margin-top: -4px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); transition: margin .2s, transform .2s; }
.release-select-trigger[aria-expanded="true"] i { margin-top: 4px; transform: rotate(225deg); }
.release-select-trigger:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.release-select-menu { position: absolute; z-index: 20; inset: calc(100% + 6px) 0 auto; max-height: 250px; padding: 6px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--orange); overflow-y: auto; }
.release-select-option { position: relative; width: 100%; display: block; padding: 11px 13px 11px 34px; color: inherit; background: transparent; border: 0; cursor: pointer; font: 500 11px/1 var(--mono); text-align: left; }
.release-select-option::before { content: ""; position: absolute; left: 15px; top: 50%; width: 5px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; opacity: 0; transform: translateY(-65%) rotate(45deg); }
.release-select-option:hover, .release-select-option:focus-visible { color: var(--paper); background: #30312d; outline: none; }
.release-select-option[aria-selected="true"] { color: var(--ink); background: var(--acid); }
.release-select-option[aria-selected="true"]::before { opacity: 1; }

.download-progress { max-width: 1500px; margin: 54px auto 0; }
.download-progress-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.download-progress-heading .kicker { margin: 0; }
.download-progress-heading > span { color: var(--muted); font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.download-progress-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--ink); }
.download-progress article { min-height: 175px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-right: 1px solid var(--ink); }
.download-progress article:last-child { border-right: 0; }
.download-progress article > span { font: 500 10px/1 var(--mono); letter-spacing: .1em; }
.download-progress article > strong { margin: auto 0 14px; font-size: clamp(46px, 4.5vw, 70px); font-weight: 600; line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.download-progress article > p { margin: 0; color: var(--muted); font: 400 12px/1.4 var(--mono); }
.download-progress article:first-child { background: color-mix(in srgb, var(--acid) 34%, var(--paper)); }

.download-chart { max-width: 1500px; margin: 74px auto 0; }
.download-chart-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 26px; }
.download-chart-heading .kicker { margin-bottom: 14px; }
.download-chart-heading h3 { margin: 0; font-size: clamp(44px, 5vw, 74px); line-height: .82; letter-spacing: -.065em; }
.download-chart-heading h3 em { font-family: var(--serif); font-weight: 400; }
.download-chart-heading > div:last-child { display: grid; justify-items: end; gap: 9px; padding-bottom: 3px; text-align: right; }
.download-chart-heading > div:last-child span { color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .1em; }
.download-chart-heading > div:last-child strong { font: 500 12px/1 var(--mono); text-transform: uppercase; }
.download-chart-frame { position: relative; height: 350px; background: color-mix(in srgb, var(--paper-2) 62%, var(--paper)); border: 1px solid var(--ink); }
.download-chart-plot { --chart-left: 62px; position: relative; width: 100%; height: 100%; overflow: hidden; }
.download-chart-plot[hidden], .download-chart-empty[hidden] { display: none; }
.download-chart-lines { position: absolute; inset: 28px 24px 38px var(--chart-left); background: repeating-linear-gradient(to bottom, transparent 0 calc(25% - 1px), color-mix(in srgb, var(--ink) 18%, transparent) calc(25% - 1px) 25%); border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); overflow: hidden; }
.download-chart-area { position: absolute; inset: 0; background: var(--acid); opacity: .3; }
.download-chart-segment { position: absolute; z-index: 2; display: block; height: 4px; background: var(--orange); border-radius: 2px; transform-origin: left center; }
.download-chart-point { position: absolute; z-index: 3; width: 10px; height: 10px; background: var(--ink); border-radius: 50%; transform: translate(-50%, -50%); }
.download-chart-axis { position: absolute; top: 22px; bottom: 31px; left: 0; width: calc(var(--chart-left) - 10px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; color: var(--ink); font: 500 11px/1 var(--mono); }
.download-chart-date { position: absolute; bottom: 11px; color: var(--ink); font: 500 11px/1 var(--mono); }
.download-chart-date-start { left: var(--chart-left); }
.download-chart-date-end { right: 24px; }
.download-chart-empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; }
.download-chart-empty strong { font: 500 11px/1 var(--mono); letter-spacing: .12em; }
.download-chart-empty span { color: var(--muted); font-size: 14px; }
.download-chart-summary { margin: 13px 0 0; color: var(--muted); font: 400 10px/1.5 var(--mono); text-align: right; }

.download-result { display: flex; justify-content: space-between; align-items: end; gap: 30px; max-width: 1500px; margin: 50px auto 24px; }
.download-result > div { display: grid; gap: 12px; }
.download-result > div > span { color: var(--muted); font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.download-result strong { font-size: clamp(76px, 10vw, 150px); line-height: .72; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.download-result p { display: flex; gap: 22px; margin: 0; color: var(--muted); font: 400 10px/1 var(--mono); text-transform: uppercase; }
.download-result p span + span::before { content: "·"; margin-right: 22px; }

.download-table-wrap { max-width: 1500px; margin: 0 auto; overflow-x: auto; border-top: 1px solid var(--ink); }
.download-table { width: 100%; border-collapse: collapse; text-align: left; }
.download-table th { height: 38px; color: var(--muted); border-bottom: 1px solid var(--line); font: 500 9px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.download-table th:nth-child(5) { padding-right: 24px; text-align: right; }
.download-table td { height: 74px; padding-right: 24px; border-bottom: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.download-table th:first-child, .download-table td:first-child { padding-left: 12px; }
.download-table th:last-child, .download-table td:last-child { padding-right: 12px; }
.download-table tbody tr { transition: background .18s; }
.download-table tbody tr:hover { background: color-mix(in srgb, var(--acid) 32%, transparent); }
.download-release a { font-weight: 700; }
.download-release a:hover, .download-asset a:hover { text-decoration: underline; }
.download-asset { width: 32%; color: var(--muted); font-family: var(--mono); }
.asset-badge { display: inline-block; padding: 6px 8px; border: 1px solid var(--line); border-radius: 20px; font: 500 9px/1 var(--mono); text-transform: uppercase; }
.asset-badge-dmg { color: var(--ink); background: var(--acid); border-color: var(--ink); }
.asset-badge-appcast { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.download-date { color: var(--muted); font-family: var(--mono); }
.download-value { text-align: right; }
.download-value strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.download-share { display: grid; grid-template-columns: minmax(80px, 1fr) 42px; align-items: center; gap: 10px; min-width: 155px; }
.download-share i { position: relative; display: block; height: 4px; background: var(--paper-2); overflow: hidden; }
.download-share i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--share); background: var(--orange); }
.download-share span { text-align: right; color: var(--muted); font: 400 11px/1 var(--mono); font-variant-numeric: tabular-nums; }
.download-loading { height: 110px !important; color: var(--muted); text-align: center; font: 400 9px/1 var(--mono) !important; }

.download-notes { display: flex; justify-content: flex-end; max-width: 1500px; margin: 42px auto 0; }
.download-notes a { align-self: start; display: flex; gap: 28px; padding-bottom: 7px; border-bottom: 1px solid var(--ink); font: 500 8px/1 var(--mono); text-transform: uppercase; }

.downloads-cta { display: flex; align-items: end; justify-content: space-between; gap: 60px; padding: 115px clamp(24px, 7vw, 110px); background: var(--acid); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.downloads-cta .button { margin-bottom: 6px; }

@media (max-width: 1100px) {
  .downloads-hero { grid-template-columns: 1fr; }
  .downloads-hero-copy { min-height: 650px; }
  .downloads-metrics { border-left: 0; border-top: 1px solid var(--ink); }
  .download-metric { min-height: 330px; }
  .download-metric-dark { min-height: 380px; }
  .download-notes a { width: fit-content; }
}

@media (max-width: 820px) {
  .downloads-main { padding-top: 62px; }
  .downloads-hero-copy { min-height: 580px; padding-inline: 24px; }
  .downloads-hero-copy::before { display: none; }
  .downloads-hero-copy h1 { font-size: clamp(66px, 17vw, 110px); }
  .downloads-metrics { grid-template-columns: 1fr; }
  .download-metric, .download-metric-dark { grid-column: auto; min-height: 270px; border-left: 0 !important; }
  .download-metric-dark strong { font-size: clamp(72px, 20vw, 118px); }
  .downloads-explorer { padding-block: 90px; }
  .downloads-explorer-heading { display: block; margin-bottom: 50px; }
  .downloads-explorer-heading > p { margin-top: 30px; }
  .download-controls { grid-template-columns: 1fr; }
  .asset-filter > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .asset-filter button { width: 100%; min-width: 0; justify-content: space-between; gap: 8px; }
  .download-progress-heading { align-items: flex-start; flex-direction: column; }
  .download-progress-grid { grid-template-columns: 1fr; }
  .download-progress article { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .download-progress article:last-child { border-bottom: 0; }
  .download-chart-heading { align-items: flex-start; flex-direction: column; }
  .download-chart-heading > div:last-child { justify-items: start; text-align: left; }
  .download-chart-frame { height: 270px; }
  .download-chart-plot { --chart-left: 48px; }
  .download-chart-summary { text-align: left; }
  .download-result { display: block; }
  .download-result p { margin-top: 30px; flex-wrap: wrap; }
  .download-table { min-width: 0; table-layout: fixed; }
  .download-table th:nth-child(1) { width: 74px; }
  .download-table th:nth-child(5) { width: 86px; text-align: right; }
  .download-table th:nth-child(3), .download-table td:nth-child(3),
  .download-table th:nth-child(4), .download-table td:nth-child(4),
  .download-table th:nth-child(6), .download-table td:nth-child(6) { display: none; }
  .download-table td { padding-right: 10px; }
  .download-asset { width: auto; overflow: hidden; text-overflow: ellipsis; }
  .download-notes { justify-content: flex-start; }
  .downloads-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .downloads-hero-copy { min-height: 530px; }
  .downloads-hero-copy h1 { letter-spacing: -.07em; }
  .downloads-lede { margin-top: 32px; font-size: 14px; }
  .downloads-status { align-items: flex-start; flex-wrap: wrap; line-height: 1.5; }
  .download-metric { min-height: 240px; padding: 28px 22px; }
  .download-metric strong { font-size: 62px; }
  .download-metric-dark strong { font-size: 72px; }
  .download-metric-dark small { right: 22px; bottom: 28px; }
  .downloads-explorer { padding-inline: 18px; }
  .downloads-explorer-heading h2, .downloads-cta h2 { font-size: 58px; }
  .asset-filter > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asset-filter button:last-child { grid-column: 1 / -1; }
  .download-result strong { font-size: 84px; }
  .download-result p { display: grid; gap: 10px; }
  .download-result p span + span::before { display: none; }
  .downloads-cta { padding-inline: 22px; }
}
