/* Artificial Beings. Static artwork, native navigation, system typography. */
:root {
  color-scheme: dark;
  --bg: #07070a;
  --surface: #111116;
  --ink: #f2f0ef;
  --muted: #b0aeb9;
  --quiet: #9692a3;
  --line: #292731;
  --accent: #ddd0f2;
  --rainbow: linear-gradient(105deg, #eee7cc, #dfc9e8 30%, #b9ccec 60%, #c5e6db 85%, #eee4cd);
  --font: 'Inter', 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(24px, 4.85vw, 80px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, blockquote { margin: 0; }
h1, h2 { font-weight: 300; }
h3 { font-weight: 500; }
strong { color: var(--ink); font-weight: 500; }
[hidden] { display: none !important; }
::selection { background: #d6c8ec; color: #15111a; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; top: 10px; left: 18px; z-index: 20; padding: 10px 16px; background: var(--ink); color: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; color: var(--bg); }
.page-shell { width: 100%; }
.home-page .page-shell { display: flex; flex-direction: column; min-height: 100svh; }
.site-header { min-height: 106px; padding: 22px var(--pad); max-width: 1680px; width: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; flex-shrink: 0; }
.wordmark { width: 242px; }
.navigation { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 14px; }
.navigation a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; gap: 14px; }
.nav-pill { border: 1px solid #393441; border-radius: 999px; padding: 0 21px; color: var(--ink); }
.nav-pill:hover { border-color: #a898ba; background: #141119; }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.arrow { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; fill: none; }
.eyebrow, .section-label { color: #b6afc3; font-size: 12px; font-weight: 500; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; height: 5px; width: 5px; flex-shrink: 0; border-radius: 50%; background: #d4c8e8; }
.section-label { display: flex; align-items: baseline; gap: 15px; }
.section-label > span { color: var(--quiet); font-size: 12px; letter-spacing: 0; white-space: nowrap; }
.spectral { color: #d8d2e6; }
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .spectral { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 30px; }
.primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 54px; border: 1px solid #736779; border-radius: 999px; padding: 12px 25px; background: linear-gradient(115deg, #241d2c, #101117); font-size: 14px; }
.primary-link:hover { border-color: #c8b7d7; background: #251f2e; }
.text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; min-height: 46px; padding: 0; font-size: 14px; color: #dfd5eb; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Homepage: one composition, rather than a long marketing page. */
.home-main { width: 100%; max-width: 1680px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; }
.home-hero { flex: 1; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; min-height: 585px; padding: 50px var(--pad) 72px; }
.home-copy { position: relative; z-index: 1; }
.home-copy .eyebrow { margin-bottom: 30px; }
.home-copy h1 { font-size: clamp(48px, 5.65vw, 95px); letter-spacing: -.055em; line-height: 1.09; }
.home-copy h1 span { display: block; }
.home-description { max-width: 370px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.home-art { position: relative; display: flex; align-items: center; align-self: stretch; min-width: 0; margin-left: -45px; margin-right: -30px; }
.hero-butterfly { width: 100%; }
.art-annotation { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; color: var(--quiet); font-size: 11px; letter-spacing: .17em; text-transform: uppercase; }
.lifecycle { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 var(--pad); border-top: 1px solid var(--line); padding: 32px 0; }
.lifecycle-item { display: flex; gap: 21px; padding: 0 30px; }
.lifecycle-item:first-child { padding-left: 0; }
.lifecycle-item:last-child { padding-right: 0; }
.lifecycle-item + .lifecycle-item { border-left: 1px solid var(--line); }
.step-number { padding-top: 4px; font-size: 12px; color: var(--quiet); font-variant-numeric: tabular-nums; }
.lifecycle h2 { font-size: 19px; letter-spacing: -.025em; font-weight: 400; }
.lifecycle p { font-size: 15px; color: var(--muted); margin-top: 5px; line-height: 1.75; }
.site-footer { width: calc(100% - 2 * var(--pad)); max-width: calc(1680px - 2 * var(--pad)); margin: 0 auto; padding: 17px 0; min-height: 74px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 10px 26px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* Investor page: one editorial column, with short marginal labels. */
.investor-main { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.investor-page .site-header { max-width: 1440px; }
.investor-page .site-footer { max-width: calc(1440px - 2 * var(--pad)); }
.investor-hero { display: grid; grid-template-columns: 1.53fr 1fr; align-items: center; padding: 54px 0 58px; min-height: 460px; }
.investor-intro { position: relative; z-index: 1; }
.investor-intro .eyebrow { margin-bottom: 25px; }
.investor-intro h1 { font-size: clamp(40px, 4.35vw, 63px); line-height: 1.13; letter-spacing: -.05em; }
.investor-intro h1 .spectral { display: block; }
.investor-lede { max-width: 535px; margin-top: 25px; font-size: 18px; line-height: 1.8; color: var(--muted); }
.investor-art { min-width: 0; margin: 0 -25px 0 -15px; }
.investor-butterfly { width: 100%; }
.editorial-section { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 48px; padding: 44px 0; border-top: 1px solid var(--line); }
.editorial-section > .section-label { padding-top: 8px; }
.section-body h2 { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -.04em; }
.theseus-question { max-width: 26ch; text-wrap: balance; }
.section-body > p:not(.proof-footnote) { max-width: 850px; margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.8; }
/* One continuing agent, with three replaceable components. No motion. */
.agent-diagram { margin: 26px 0 0; }
.agent-root { position: relative; width: fit-content; margin: 0 auto 26px; padding: 6px 23px; border: 1px solid #746780; border-radius: 999px; color: var(--ink); font-size: 16px; }
.agent-root::after { content: ''; position: absolute; top: 100%; left: 50%; width: 1px; height: 27px; background: #746780; }
.agent-components { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.agent-components::before { content: ''; position: absolute; top: 0; left: calc(100% / 6); right: calc(100% / 6); height: 1px; background: #746780; }
.agent-component { position: relative; min-width: 0; padding: 18px 12px 0; text-align: center; }
.agent-component::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 12px; background: #746780; }
.agent-component dt { color: #dfc9e8; font-size: 18px; font-weight: 400; }
.agent-component:nth-child(2) dt { color: #b9ccec; }
.agent-component:nth-child(3) dt { color: #c5e6db; }
.agent-component dd { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.agent-diagram figcaption { margin-top: 21px; color: var(--muted); font-size: 16px; line-height: 1.8; text-align: center; }
.proof-list { margin-top: 25px; }
.proof-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.proof-number { color: #baafca; font-size: 12px; font-variant-numeric: tabular-nums; margin-top: 3px; }
.proof-item h3 { font-size: 18px; font-weight: 400; letter-spacing: -.015em; }
.proof-item p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 760px; }
.paid-use { display: grid; grid-template-columns: 132px 1fr; gap: 24px; margin-top: 12px; padding: 22px 0; border-top: 1px solid #4e4058; border-bottom: 1px solid var(--line); }
.paid-use h3 { font-size: 15px; font-weight: 400; color: #dbcaed; }
.paid-use p { color: var(--muted); font-size: 16px; }
.proof-footnote { color: var(--quiet); font-size: 14px; line-height: 1.75; margin-top: 17px; }
.founder-and-next { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; padding: 58px 0 60px; border-top: 1px solid var(--line); }
.founder-quote { margin-top: 25px; font-size: clamp(29px, 2.65vw, 38px); font-weight: 300; line-height: 1.35; letter-spacing: -.04em; }
.founder-credit { display: flex; align-items: flex-start; gap: 15px; margin-top: 27px; }
.founder-monogram { flex-shrink: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #5c4e6a; border-radius: 50%; color: #d5c4e9; font-size: 13px; }
.founder-credit h3 { font-size: 16px; }
.founder-credit p { margin-top: 7px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.founder-note-button { margin-top: 19px; }
.next-chapter { border-left: 1px solid var(--line); padding-left: 44px; }
.next-chapter h2 { font-size: 34px; line-height: 1.25; letter-spacing: -.04em; margin-top: 24px; }
.next-chapter > p:not(.section-label) { font-size: 16px; color: var(--muted); margin-top: 20px; line-height: 1.8; }
.next-chapter > .text-link { margin-top: 20px; }
.note-dialog { width: min(610px, calc(100% - 36px)); max-height: 86svh; padding: 36px; border: 1px solid #71617e; border-radius: 16px; background: var(--surface); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.note-dialog::backdrop { background: #000c; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.dialog-close { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font-size: 28px; font-weight: 300; border: 1px solid #70617c; border-radius: 50%; line-height: 1; }
.note-dialog h2 { font-size: 31px; line-height: 1.25; letter-spacing: -.035em; }
.note-dialog > p { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.note-dialog .signature { color: var(--ink); margin-top: 25px; }
.signature span { display: block; font-size: 14px; color: var(--muted); }
html.note-open { overflow: hidden; scrollbar-gutter: stable; }

@media (max-width: 1050px) {
  .home-art { margin-left: -25px; margin-right: -12px; }
  .home-description { max-width: 330px; }
  .home-hero { min-height: 555px; }
  .lifecycle-item { padding: 0 22px; gap: 12px; }
  .lifecycle p { font-size: 15px; }
  .art-annotation { font-size: 10px; letter-spacing: .12em; }
  .editorial-section { grid-template-columns: 140px minmax(0, 1fr); gap: 30px; }
  .investor-intro h1 { font-size: clamp(37px, 4.4vw, 49px); }
  .investor-hero { padding: 44px 0 48px; }
  .founder-and-next { gap: 36px; }
  .next-chapter { padding-left: 28px; }
  .next-chapter h2 { font-size: 30px; }
}
@media (max-width: 720px) {
  :root { --pad: 24px; }
  .site-header { min-height: 84px; padding-top: 17px; padding-bottom: 17px; gap: 15px; }
  .wordmark { width: 178px; }
  .navigation { font-size: 13px; gap: 12px; }
  .navigation .nav-home { display: none; }
  .nav-pill { padding: 0; border-color: transparent; border-radius: 4px; }
  .nav-pill:hover { border-color: transparent; background: none; }
  .navigation a { gap: 8px; }
  .navigation .arrow { width: 16px; height: 16px; }
  .home-hero { display: flex; flex-direction: column; min-height: 0; padding: 22px var(--pad) 48px; }
  .home-art { order: -1; width: calc(100% + 12px); max-width: 505px; margin: 0 -6px 33px; align-self: center; }
  .art-annotation { display: none; }
  .home-copy { width: 100%; text-align: center; }
  .home-copy .eyebrow { justify-content: center; margin-bottom: 20px; font-size: 11px; letter-spacing: .14em; }
  .home-copy h1 { font-size: clamp(43px, 10vw, 67px); line-height: 1.09; }
  .home-description { max-width: 330px; margin: 22px auto 0; font-size: 16px; line-height: 1.8; }
  .home-copy .hero-actions { justify-content: center; margin-top: 25px; }
  .primary-link { min-height: 52px; }
  .lifecycle { grid-template-columns: 1fr; padding: 4px 0; }
  .lifecycle-item { display: grid; grid-template-columns: 24px 1fr; align-items: baseline; gap: 12px; padding: 20px 0 !important; }
  .lifecycle-item + .lifecycle-item { border-left: 0; border-top: 1px solid var(--line); }
  .lifecycle-item > div { display: grid; grid-template-columns: 85px 1fr; gap: 10px; align-items: baseline; }
  .lifecycle h2 { font-size: 18px; }
  .lifecycle p { margin: 0; font-size: 15px; line-height: 1.7; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 0; padding: 19px 0; font-size: 12px; }
  .footer-links { justify-content: flex-start; gap: 5px 24px; }
  .investor-hero { display: flex; flex-direction: column; align-items: stretch; padding: 31px 0 38px; min-height: 0; }
  .investor-intro .eyebrow { font-size: 11px; margin-bottom: 21px; }
  .investor-intro h1 { font-size: clamp(36px, 8vw, 53px); line-height: 1.15; }
  .investor-intro h1 .spectral { display: inline; }
  .investor-lede { font-size: 16px; margin-top: 23px; line-height: 1.8; max-width: 490px; }
  .hero-actions { margin-top: 20px; gap: 10px 24px; }
  .investor-art { width: 86%; max-width: 460px; margin: 25px auto 0; }
  .editorial-section { display: block; padding: 38px 0; }
  .editorial-section > .section-label { padding-top: 0; margin-bottom: 20px; }
  .section-body h2 { font-size: 31px; }
  .section-body > p:not(.proof-footnote) { margin-top: 18px; }
  .agent-diagram { margin-top: 22px; }
  .agent-root { margin: 0; padding: 6px 19px; }
  .agent-root::after { display: none; }
  .agent-components { display: block; margin-left: 22px; padding-top: 6px; }
  .agent-components::before { display: none; }
  .agent-component { display: grid; grid-template-columns: 77px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0 14px 26px; text-align: left; }
  .agent-component::before { top: 31px; left: 0; width: 17px; height: 1px; }
  .agent-component::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: #746780; }
  .agent-component:first-child::after { top: -6px; }
  .agent-component:last-child::after { bottom: auto; height: 31px; }
  .agent-component dt { font-size: 17px; }
  .agent-component dd { margin: 0; }
  .agent-diagram figcaption { margin-top: 16px; text-align: left; }
  .proof-list { margin-top: 21px; }
  .proof-item { gap: 10px; grid-template-columns: 23px 1fr; }
  .proof-item h3 { font-size: 18px; line-height: 1.45; }
  .paid-use { grid-template-columns: 1fr; gap: 7px; padding: 20px 0; }
  .paid-use h3 { font-size: 16px; }
  .proof-footnote { font-size: 14px; }
  .founder-and-next { grid-template-columns: 1fr; gap: 35px; padding: 40px 0; }
  .founder-quote { font-size: 31px; margin-top: 20px; }
  .founder-credit { margin-top: 23px; gap: 13px; }
  .next-chapter { border-left: 0; border-top: 1px solid var(--line); padding: 35px 0 0; }
  .next-chapter h2 { font-size: 31px; margin-top: 20px; }
  .note-dialog { padding: 24px; }
  .note-dialog h2 { font-size: 28px; }
}
@media (max-width: 360px) {
  :root { --pad: 18px; }
  .wordmark { width: 159px; }
  .site-header { gap: 10px; }
  .navigation { font-size: 12px; }
  .home-copy h1 { font-size: 40px; }
  .lifecycle-item > div { grid-template-columns: 1fr; gap: 1px; }
  .home-description { max-width: 270px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .spectral { background: none; color: CanvasText; }
  .primary-link, .nav-pill, .dialog-close { background: Canvas; color: LinkText; border-color: ButtonText; }
  .section-label, .eyebrow, .step-number, .proof-number, .agent-component dt { color: CanvasText; }
  .agent-root { border-color: CanvasText; }
  .agent-root::after, .agent-components::before, .agent-component::before, .agent-component::after { background: CanvasText; }
  .wordmark { forced-color-adjust: none; background: #07070a; padding: 5px; }
}
@media print {
  :root { color-scheme: light; --bg: white; --surface: white; --ink: #111; --muted: #333; --quiet: #444; --line: #ccc; --pad: 0px; }
  body { font-size: 11pt; }
  .site-header { min-height: 50px; padding: 0; }
  .wordmark { filter: brightness(0); width: 210px; }
  .skip, .navigation, .hero-actions, .home-art, .investor-art, .founder-note-button, .note-dialog, .footer-links { display: none !important; }
  .spectral { background: none; color: #222; }
  .eyebrow, .section-label, .proof-number, .paid-use h3 { color: #333; }
  .home-page .page-shell { min-height: 0; }
  .home-hero, .investor-hero { display: block; min-height: 0; padding: 24px 0; }
  .home-copy h1, .investor-intro h1 { font-size: 34pt; }
  .investor-lede { max-width: none; }
  .editorial-section { grid-template-columns: 115px 1fr; gap: 25px; padding: 25px 0; }
  .section-body h2 { font-size: 24pt; }
  .proof-item, .paid-use, .agent-diagram { break-inside: avoid; }
  .agent-component dt { color: #222; }
  .founder-and-next { gap: 30px; padding: 28px 0; }
  .founder-quote { font-size: 22pt; }
  .next-chapter { padding-left: 25px; }
  .next-chapter h2 { font-size: 22pt; }
  .site-footer { min-height: 0; padding: 12px 0; }
}

/* Only revealed after an early-access action; unused on the investor page. */
.early-access-help { margin-top: 14px; max-width: 400px; }
.early-access-help p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.early-access-help .text-link { font-size: 14px; min-height: 44px; }
@media (max-width: 720px) { .early-access-help { margin-inline: auto; } }

/* App links (header/footer) emitted only when appUrl is configured. New selectors only. */
.nav-link { color: var(--muted); }
.nav-link:hover { color: var(--ink); }
@media (max-width: 720px) {
  .navigation .nav-pricing { display: none; }
  .home-page .nav-pill .arrow { display: none; }
}
@media (max-width: 360px) {
  .navigation .nav-link { display: none; }
}

/* Works-with strip: a slow, seamless drift of the tools an agent can plug into. Two identical
   tracks scroll by one track width; hovering pauses it. Reduced motion (and the global rule
   above) turns it into a static, wrapped row with the duplicate hidden. */
.works-with { margin: 0 var(--pad); border-top: 1px solid var(--line); padding: 26px 0 14px; }
.works-with .eyebrow { margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex-shrink: 0; animation: works-marquee 75s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes works-marquee { to { transform: translateX(-100%); } }
.works-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font-size: 15px; letter-spacing: -.01em; }
.works-item img { width: 20px; height: 20px; flex-shrink: 0; opacity: .85; }
@media (max-width: 720px) { .works-with { padding-top: 20px; } .marquee-track { gap: 30px; padding-right: 30px; } .works-item { font-size: 14px; } .works-item img { width: 18px; height: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; row-gap: 14px; padding-right: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
.investor-main .works-with { margin: 0; padding: 34px 0 18px; }
