:root {
  --ink: #11120f;
  --paper: #f2efe6;
  --orange: #ff5a1f;
  --lime: #c9ff35;
  --blue: #8ba8ff;
  --line: rgba(17, 18, 15, .18);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; padding: 0 4vw; border-bottom: 1px solid var(--line); background: rgba(242,239,230,.9); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 19px; font-weight: 800; letter-spacing: -.06em; }
.brand-mark { position: relative; display: inline-block; width: 25px; height: 25px; border: 2px solid currentColor; border-radius: 50%; }
.brand-mark i { position: absolute; top: 50%; width: 9px; height: 2px; background: currentColor; }
.brand-mark i:first-child { left: -5px; }
.brand-mark i:last-child { right: -5px; }
.site-header nav { display: flex; gap: 34px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; }
.site-header nav a, .header-cta { transition: opacity .2s ease; }
.site-header nav a:hover, .header-cta:hover { opacity: .55; }
.header-cta { justify-self: end; padding-bottom: 4px; border-bottom: 1px solid; font-size: 13px; font-weight: 700; }
.header-cta span { color: var(--orange); }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 8vw 3vw 5vw 6vw; }
.eyebrow, .section-index, .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,90,31,.13); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 30px 0 30px; font-size: clamp(54px, 6.4vw, 104px); line-height: .87; letter-spacing: -.075em; font-weight: 700; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 560px; margin-bottom: 34px; color: #4b4d46; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.button span { color: var(--orange); }
.button-dark { background: var(--ink); color: white; transition: transform .2s, box-shadow .2s; }
.button-dark:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 var(--orange); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid; font-size: 12px; font-weight: 700; }
.trust-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 64px; font-family: var(--mono); font-size: 9px; color: #797a73; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 650px; background: var(--orange); overflow: hidden; }
.hero-visual::before { content: "AI-PI"; position: absolute; right: -2vw; bottom: -5vw; color: rgba(17,18,15,.07); font-size: 18vw; font-weight: 800; letter-spacing: -.1em; }
.orbit { position: absolute; border: 1px solid rgba(17,18,15,.22); border-radius: 50%; }
.orbit::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--orange); }
.orbit-one { width: 610px; height: 610px; }
.orbit-one::after { top: 72px; left: 55px; }
.orbit-two { width: 440px; height: 440px; }
.orbit-two::after { right: 1px; bottom: 145px; }
.terminal-card { position: relative; z-index: 2; width: min(580px, 83%); border: 1px solid rgba(255,255,255,.16); background: #151713; color: #f4f1e9; box-shadow: 0 32px 80px rgba(45,12,0,.34); }
.terminal-topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 44px; padding: 0 14px; border-bottom: 1px solid #31332d; color: #8f9188; font: 9px var(--mono); }
.window-dots { display: flex; gap: 5px; }.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #51534c; }
.live { justify-self: end; }.live i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--lime); }
.request-row { display: flex; height: 58px; align-items: center; padding: 9px 10px; gap: 12px; border-bottom: 1px solid #31332d; }
.method { color: var(--lime); font: 700 10px var(--mono); }.request-row code { flex: 1; font: 10px var(--mono); color: #c8cabf; }
.request-row button { height: 38px; padding: 0 14px; border: 0; background: var(--orange); color: white; cursor: pointer; font-size: 11px; font-weight: 700; }
.request-row button span { margin-left: 12px; opacity: .65; font: 8px var(--mono); }
.terminal-tabs { display: flex; gap: 24px; height: 42px; padding: 0 18px; border-bottom: 1px solid #31332d; }
.terminal-tabs button { position: relative; border: 0; background: transparent; color: #74766e; font: 9px var(--mono); cursor: pointer; }
.terminal-tabs button.active { color: white; }.terminal-tabs button.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--orange); }
.terminal-tabs b { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 3px; border-radius: 50%; background: #30322d; font-size: 7px; }
.code-block { min-height: 190px; margin: 0; padding: 24px; font: 11px/1.9 var(--mono); color: #a9aca2; }.code-block i { color: #8facff; font-style: normal; }.code-block q { color: #d6ff69; quotes: none; }.code-block b { color: #ff8b61; font-weight: 400; }
.response-line { display: flex; align-items: center; gap: 20px; height: 42px; padding: 0 18px; border-block: 1px solid #31332d; color: #777a71; font: 8px var(--mono); }
.status-pill { margin-right: auto; color: var(--lime); }.status-pill i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.status-pill.mismatch { color: #ff8b61; }
.evidence-block span { display: inline-block; width: 76px; color: #f4f1e9; }.evidence-block q { float: right; }
.ai-diagnosis { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 17px; background: #20231d; }
.ai-icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #4a4e42; color: var(--lime); }
.ai-diagnosis strong { display: block; margin-bottom: 5px; font-size: 10px; }.ai-diagnosis p { margin: 0; color: #8f9386; font-size: 9px; }
.analysis-badge { padding: 5px 7px; background: rgba(201,255,53,.1); color: var(--lime); font: 8px var(--mono); }
.terminal-card.loading .ai-icon { animation: spin 1s linear infinite; }.terminal-card.loading .analysis-badge { color: #aaa; }.terminal-card.success { box-shadow: 0 32px 80px rgba(45,12,0,.34), 0 0 0 2px var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }
.floating-chip { position: absolute; z-index: 3; padding: 10px 14px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font: 9px var(--mono); }
.floating-chip span { color: var(--orange); }.chip-one { top: 17%; right: 3%; }.chip-two { bottom: 13%; left: 4%; }

.marquee { overflow: hidden; padding: 16px 0; border-block: 1px solid var(--ink); background: var(--lime); font: 10px var(--mono); white-space: nowrap; }
.marquee div { width: max-content; animation: marquee 24s linear infinite; }.marquee span { margin: 0 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.manifesto { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; padding: 130px 8vw; border-bottom: 1px solid var(--line); }
.section-index { color: #77796f; }.manifesto-lead { max-width: 950px; margin-bottom: 42px; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.055em; }.manifesto-copy { max-width: 690px; margin-left: auto; color: #5d5e58; font-size: 17px; line-height: 1.7; }

.integration-map { padding: 120px 6vw; border-bottom: 1px solid var(--ink); background: #dedbd2; }
.map-heading { display: grid; grid-template-columns: .6fr 1.2fr .8fr; align-items: end; gap: 40px; margin-bottom: 70px; }
.map-heading h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .92; letter-spacing: -.07em; }
.map-heading h2 em { font-family: Georgia, serif; font-weight: 400; }
.map-heading > p:last-child { margin: 0; color: #61635b; font-size: 14px; line-height: 1.7; }
.map-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; }
.map-flow article { position: relative; min-height: 180px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border: 1px solid var(--ink); background: var(--paper); }
.map-flow article > span { position: absolute; top: 18px; right: 18px; color: #77796f; font: 9px var(--mono); }
.map-flow article strong { margin-bottom: 9px; font-size: 17px; letter-spacing: -.03em; }
.map-flow article small { color: #73756c; font: 8px var(--mono); }
.map-flow article.map-alert { background: var(--orange); color: white; box-shadow: inset 0 0 0 4px rgba(17,18,15,.15); }
.map-flow article.map-alert span,.map-flow article.map-alert small { color: rgba(255,255,255,.75); }
.map-flow > i { display: grid; place-items: center; width: 34px; font-style: normal; }
.health-key { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; margin-top: 25px; color: #61635b; font: 9px var(--mono); text-transform: uppercase; }
.health-key i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; }.health-key .healthy { background: #5d8f3b; }.health-key .changed { background: #e9b33c; }.health-key .failing { background: var(--orange); }.health-key .uncertain { border: 1px solid #77796f; }

.capabilities { padding: 120px 6vw; }
.section-heading { display: grid; grid-template-columns: .6fr 1.2fr .8fr; align-items: end; gap: 40px; margin-bottom: 65px; }
.section-heading h2, .workflow h2, .bridge-copy h2, .closing h2 { margin: 0; font-size: clamp(48px, 6vw, 88px); line-height: .92; letter-spacing: -.07em; }.section-heading > p:last-child { margin: 0; color: #61635b; font-size: 14px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 310px); gap: 12px; }
.feature { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 28px; border: 1px solid var(--ink); }
.feature-large { grid-row: 1 / 3; }.feature-number { position: absolute; top: 26px; right: 28px; font: 10px var(--mono); opacity: .5; }.feature h3 { max-width: 470px; margin-bottom: 13px; font-size: clamp(25px, 3vw, 43px); line-height: 1.02; letter-spacing: -.05em; }.feature p:last-child { max-width: 520px; margin: 0; font-size: 13px; line-height: 1.6; opacity: .66; }.feature.dark { background: var(--ink); color: white; }.feature.lime { background: var(--lime); }.feature.blue { background: var(--blue); }.tag { opacity: .65; }
.mini-terminal { width: 85%; margin-top: 60px; border: 1px solid #343731; }.mini-terminal > div { display: grid; grid-template-columns: 50px 1fr auto; gap: 10px; padding: 15px; border-bottom: 1px solid #343731; font: 9px var(--mono); color: #8c9084; }.mini-terminal > div:last-child { border: 0; }.method.small { font-size: 8px; }.method.purple { color: #ad9cff; }.method.amber { color: #ffc56b; }.ok { color: var(--lime); }.warn { color: #ffc56b; }
.spark-icon { align-self: center; color: var(--orange); font-size: 72px; text-shadow: 24px -20px 0 rgba(17,18,15,.12), -32px 20px 0 rgba(17,18,15,.08); }.nodes { position: relative; align-self: center; width: 150px; height: 90px; }.nodes i { position: absolute; z-index: 2; width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--blue); }.nodes i:nth-child(1) { top: 0; left: 68px; }.nodes i:nth-child(2) { bottom: 0; left: 0; }.nodes i:nth-child(3) { right: 0; bottom: 0; }.nodes i:nth-child(4) { bottom: 0; left: 68px; background: var(--orange); }.nodes span,.nodes b { position: absolute; left: 21px; bottom: 32px; width: 110px; height: 1px; background: var(--ink); transform-origin: center; }.nodes span { transform: rotate(31deg); }.nodes b { transform: rotate(-31deg); }

.workflow { display: grid; grid-template-columns: 1fr 1.2fr; gap: 8vw; padding: 120px 7vw; border-top: 1px solid var(--ink); }
.workflow h2 { margin-top: 35px; }.workflow-list { margin: 0; padding: 0; list-style: none; }.workflow-list li { display: grid; grid-template-columns: 45px 1fr auto; gap: 20px; padding: 31px 0; border-top: 1px solid var(--line); }.workflow-list li:last-child { border-bottom: 1px solid var(--line); }.workflow-list li > span { padding-top: 5px; color: var(--orange); font: 9px var(--mono); }.workflow-list h3 { margin-bottom: 9px; font-size: 22px; letter-spacing: -.03em; }.workflow-list p { max-width: 560px; margin: 0; color: #6b6c65; font-size: 13px; line-height: 1.6; }.workflow-list b { font-weight: 400; }

.agent-bridge { display: grid; grid-template-columns: .8fr 1.2fr; min-height: 680px; background: var(--ink); color: white; }.bridge-copy { padding: 110px 5vw 80px 7vw; }.section-index.light { color: #999c92; }.bridge-copy h2 { margin: 45px 0 35px; }.bridge-copy p:last-child { max-width: 520px; color: #989b91; font-size: 15px; line-height: 1.7; }
.bridge-diagram { position: relative; display: flex; align-items: center; justify-content: center; gap: 0; overflow: hidden; border-left: 1px solid #30322e; background-image: linear-gradient(#292b27 1px, transparent 1px),linear-gradient(90deg,#292b27 1px,transparent 1px); background-size: 48px 48px; }
.bridge-node,.bridge-core { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 128px; height: 128px; border: 1px solid #55594f; background: var(--ink); }.bridge-node span { font: 16px var(--mono); }.bridge-node small,.bridge-core small { margin-top: 9px; color: #777b71; font: 8px var(--mono); text-transform: uppercase; }.bridge-core { width: 155px; height: 155px; border-radius: 50%; background: var(--orange); color: var(--ink); }.bridge-core strong { margin-top: 11px; font-size: 17px; }.bridge-core .brand-mark { width: 28px; height: 28px; }.bridge-core small { color: rgba(17,18,15,.6); }.bridge-lines { display: flex; gap: 8px; width: 55px; }.bridge-lines i { width: 100%; height: 1px; background: #5e6258; }.agent span { color: var(--lime); font-size: 28px; }.api-target { position: absolute; right: 5%; bottom: 12%; padding: 14px; border: 1px solid #4d5048; background: var(--ink); color: var(--blue); font: 10px var(--mono); }

.closing { display: flex; min-height: 720px; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px; text-align: center; }.closing h2 { margin: 38px 0 30px; font-size: clamp(64px, 9vw, 140px); }.closing > p:not(.eyebrow) { margin-bottom: 34px; color: #676960; }
footer { display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; gap: 40px; padding: 55px 5vw; border-top: 1px solid var(--ink); background: var(--lime); }.footer-brand { font-size: 28px; }.footer-brand .brand-mark { width: 32px; height: 32px; }footer p { margin: 0; font: 10px/1.7 var(--mono); text-transform: uppercase; }footer p span { opacity: .5; }footer div { display: flex; flex-direction: column; gap: 8px; font: 10px var(--mono); text-transform: uppercase; }.back-top { font: 10px var(--mono); text-transform: uppercase; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }.site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }.hero-copy { padding: 100px 7vw 70px; }.hero-visual { min-height: 680px; }
  .manifesto { grid-template-columns: 1fr; }.section-heading,.map-heading { grid-template-columns: 1fr; }.section-heading > p:last-child,.map-heading > p:last-child { max-width: 600px; }
  .map-flow { grid-template-columns: 1fr; gap: 8px; }.map-flow > i { width: auto; height: 20px; transform: rotate(90deg); }.map-flow article { min-height: 130px; }
  .workflow { grid-template-columns: 1fr; }.agent-bridge { grid-template-columns: 1fr; }.bridge-diagram { min-height: 480px; border-top: 1px solid #30322e; border-left: 0; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; padding: 0 20px; }.header-cta { font-size: 11px; }
  .hero { min-height: auto; }.hero-copy { padding: 75px 22px 55px; }.hero-lede { font-size: 15px; }.hero-actions { align-items: flex-start; flex-direction: column; }.trust-line { margin-top: 45px; }
  .hero-visual { min-height: 590px; }.terminal-card { width: 92%; }.floating-chip { display: none; }.request-row code { overflow: hidden; text-overflow: ellipsis; }.code-block { font-size: 9px; }
  .manifesto,.integration-map,.capabilities,.workflow { padding: 85px 22px; }.manifesto-lead { font-size: 36px; }.manifesto-copy { font-size: 15px; }
  .feature-grid { display: flex; flex-direction: column; }.feature { min-height: 390px; }.feature-large { min-height: 600px; }.mini-terminal { width: 100%; }
  .bridge-copy { padding: 85px 22px; }.bridge-diagram { min-height: 430px; transform-origin: center; }.bridge-node { width: 90px; height: 90px; }.bridge-core { width: 110px; height: 110px; }.bridge-lines { width: 22px; }.api-target { display: none; }
  .closing { min-height: 580px; }.closing h2 { font-size: 62px; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.marquee div { animation: none; }.button-dark { transition: none; } }
