@font-face { font-family: Manrope; src: url('./assets/manrope-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url('./assets/manrope-bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root { overflow-x: hidden; overflow-x: clip; --paper: #101112; --surface: #17191a; --ink: #eeefec; --muted: #a5a8a8; --line: #36393b; --green: #eeefec; --ease: cubic-bezier(.16,1,.3,1); --gold: #d9a75a; --gold-bright: #f2c78a; --gold-line: rgba(217,167,90,.32); --gold-glow: rgba(217,167,90,.13); --gold-wash: rgba(217,167,90,.07); color: var(--ink); background: var(--paper); font-family: Manrope, sans-serif; font-synthesis: none; color-scheme: dark; scroll-behavior: smooth; accent-color: var(--gold); caret-color: var(--gold); scrollbar-color: #6d665c var(--paper); }
* { box-sizing: border-box; }
body,h1,h2,p { margin: 0; }
button,a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.4; }
button:disabled { cursor: default; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 6px; }
::selection { color: #14100a; background: var(--gold); }
[hidden] { display: none !important; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { height: 88px; margin-inline: 48px; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.brand img { border-radius: 8px; }
.header-actions { display: flex; align-items: center; gap: 30px; font-size: 12px; }
.header-actions a,.header-actions button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.header-actions button { background: none; border: 0; padding: 0 4px; color: var(--muted); font-size: 11px; }
.header-actions svg { width: 17px; height: 17px; }
.experience { position: relative; height: calc(100svh - 229px); min-height: 540px; max-height: 1100px; isolation: isolate; }
.sculpture { position: absolute; inset: -75px 0 0; z-index: -1; overflow: hidden; }
.sculpture canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.fallback { position: absolute; inset: 0; display: grid; place-items: center; opacity: .6; }
.fallback img { filter: grayscale(1); }
.sculpture[data-state='ready'] .fallback { display: none; }
.hero-copy { position: absolute; left: 48px; bottom: 54px; max-width: 470px; pointer-events: none; }
h1 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.18; letter-spacing: -.035em; font-weight: 400; }
h1 span { color: #a5a8a8; }
.hero-copy p { margin-top: 20px; font-size: 13px; line-height: 1.85; color: #afb3b3; }
.commit-control { position: absolute; bottom: 56px; right: 48px; text-align: right; }
#try-commit { border: 0; background: none; display: inline-flex; gap: 13px; padding: 0; align-items: center; font-size: 13px; }
.commit-icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #777d7e; border-radius: 50%; transition: background 200ms, border-color 200ms, box-shadow 320ms var(--ease), color 200ms, transform 300ms var(--ease); }
.commit-icon::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); opacity: 0; }
.commit-core { stroke: var(--gold); transition: fill 200ms, stroke 200ms; }
.commit-icon svg { width: 23px; height: 23px; }
#try-commit.committed .commit-icon { border-color: var(--gold-bright); background: var(--gold-wash); box-shadow: 0 0 0 5px var(--gold-glow); }
#try-commit.committed .commit-icon::after { animation: commit-signal 900ms var(--ease); }
#try-commit.committed .commit-core { fill: var(--gold-bright); stroke: var(--gold-bright); }
#try-commit.committed ~ p { color: var(--gold-bright); }
@keyframes commit-signal { from { opacity: .85; transform: scale(1); } to { opacity: 0; transform: scale(2.15); } }
.commit-control p { color: #a5a8a8; font-size: 10px; margin-top: 15px; min-height: 16px; transition: color 320ms; }
.setup { margin: 0 48px 24px; border-top: 1px solid var(--line); }
.setup > summary { list-style: none; min-height: 62px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 11px; color: var(--muted); }
.setup > summary::-webkit-details-marker { display: none; }
.expand-icon { font-size: 19px; color: var(--gold); transition: transform 200ms var(--ease); }
.setup[open] .expand-icon { transform: rotate(45deg); }
.setup-content { padding: 24px 0 38px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px 80px; }
.setup-intro h2 { font-size: 26px; font-weight: 400; letter-spacing: -.025em; margin-bottom: 12px; }
.setup-intro p,.setup-facts p { color: var(--muted); font-size: 12px; line-height: 1.8; }
.install { min-width: 0; }
.install-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.install-tabs button { background: none; border: 0; padding: 0; min-height: 44px; font-size: 12px; color: var(--muted); border-bottom: 1px solid transparent; }
.install-tabs [aria-selected='true'] { color: var(--ink); border-color: var(--gold); }
.install [role='tabpanel'] { padding-block: 22px; }
.install [role='tabpanel'] > p { font-size: 11px; color: var(--muted); margin-bottom: 13px; }
pre,code { font-family: 'SFMono-Regular', Consolas, monospace; }
.install pre { margin: 0; font-size: 12px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; }
.install-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.install-footer button { border: 0; background: none; padding: 0; min-height: 44px; display: flex; align-items: center; gap: 10px; font-size: 11px; }
.install-footer svg { width: 15px; height: 15px; }
.setup-facts { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 40px; padding-top: 25px; border-top: 1px solid var(--line); }
.setup-facts p { max-width: 390px; font-size: 11px; }
.setup-facts code { display: block; color: var(--gold); }
.install-footer button.copied { color: var(--gold); }
@media (hover:hover) and (pointer:fine) { #try-commit:hover .commit-icon { border-color: var(--gold); background: var(--gold-wash); box-shadow: 0 0 0 5px var(--gold-glow); transform: rotate(90deg); } #try-commit:hover .commit-core { stroke: var(--gold-bright); } .header-actions a:hover,.header-actions button:hover,.setup > summary:hover,.install-footer button:hover,.how-footer a:hover { color: var(--gold-bright); } }
@media (max-width:760px) {
  .site-header { height: 76px; margin-inline: 22px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand img { width: 23px; height: 23px; }
  .header-actions { gap: 17px; }
  #motion-toggle span { display: none; }
  #motion-toggle { min-width: 32px; justify-content: center; }
  .experience { height: calc(100svh - 139px); min-height: 635px; }
  .sculpture { inset: -20px 0 190px; }
  .hero-copy { left: 22px; bottom: 118px; right: 22px; }
  h1 { font-size: clamp(27px, 6.8vw, 42px); line-height: 1.2; }
  .hero-copy p { font-size: 12px; margin-top: 14px; }
  .commit-control { bottom: 27px; left: 22px; right: 22px; display: flex; align-items: center; gap: 24px; text-align: left; }
  #try-commit { font-size: 12px; gap: 10px; flex-shrink: 0; }
  .commit-icon { width: 42px; height: 42px; }
  .commit-control p { margin: 0; max-width: 155px; line-height: 1.6; }
  .setup { margin-inline: 22px; }
  .setup-content { grid-template-columns: 1fr; gap: 24px; }
  .setup-facts { flex-direction: column; gap: 15px; }
}
@media (prefers-reduced-motion:reduce) { :root { scroll-behavior: auto; } *,*:before,*:after { animation: none !important; transition: none !important; } #try-commit:hover .commit-icon { transform: none; } #motion-toggle { display: none; } }

/* A seamless, centered frame keeps ultrawide screens composed. */
body { max-width: 1600px; margin-inline: auto; }
/* ...but the gold threads must reach the physical screen edge, not the content edge.
   The landing canvas is the one element that breaks the cap; `left` here outranks the
   `inset` shorthands below, and on narrow viewports it resolves to 0 anyway. */
.experience:not(.how-experience) > .sculpture { left: calc(50% - 50vw); right: auto; width: 100vw; }
.header-actions a[aria-current='page'] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 7px; }
.how-copy { top: 64px; bottom: auto; max-width: 450px; }
.how-copy p { max-width: 31ch; }
.how-experience .sculpture { inset: -40px 0 80px; }
.workflow { position: absolute; inset: auto 48px 38px; }
.workflow-tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--line); }
.workflow-tabs button { min-height: 48px; padding: 0 0 12px; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted); font-size: 13px; }
.workflow-tabs button[aria-selected='true'] { color: var(--ink); border-color: var(--gold); }
.workflow-tabs button[aria-selected='true'] span { color: var(--gold); }
.workflow-tabs button:hover { color: var(--ink); }
.workflow-tabs span { margin-right: 10px; font-size: 11px; font-variant-numeric: tabular-nums; }
.workflow-panel { display: flex; justify-content: space-between; gap: 32px; padding-top: 23px; min-height: 96px; }
.workflow-panel p { max-width: 44ch; font-size: 13px; line-height: 1.8; color: var(--muted); }
.workflow-panel code { align-self: center; font-size: 12px; color: var(--ink); }
.how-footer { margin: 0 48px 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; font-size: 11px; color: var(--muted); }
.how-footer a { color: var(--ink); min-height: 44px; }
@media (max-width:760px) {
  .header-actions { gap: 14px; }
  .header-actions a { font-size: 11px; }
  #motion-toggle { min-width: 44px; }
  .how-experience { min-height: 760px; }
  .how-copy { top: 22px; bottom: auto; }
  .how-copy p { max-width: 36ch; }
  .how-experience .sculpture { inset: 115px 0 230px; }
  .workflow { inset: auto 22px 24px; }
  .workflow-tabs { gap: 20px; }
  .workflow-tabs button { font-size: 12px; }
  .workflow-tabs span { display: block; margin: 0 0 8px; text-align: left; }
  .workflow-panel { flex-direction: column; gap: 14px; min-height: 140px; }
  .workflow-panel code { align-self: flex-start; font-size: 11px; }
  .how-footer { margin-inline: 22px; }
}

.workflow-panel:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 6px; }

/* Thread band: the commit → memory → next session sequence, drawn as one gold hairline
   so the page reads with the same language as the channels entering the sculpture. */
.band { margin: 0 48px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.steps { display: flex; align-items: center; font-size: 12px; line-height: 1.7; color: var(--muted); }
.steps p { display: flex; align-items: center; gap: 12px; }
.steps p:last-child { color: var(--ink); }
.steps p::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.steps p:not(:last-child)::after { content: ''; flex: none; width: 62px; height: 1px; margin-inline: 18px; background: linear-gradient(90deg, var(--gold-line), rgba(217,167,90,.09)); }
.offer { display: flex; align-items: center; gap: 18px; flex: none; }
#get-brainthread { display: inline-flex; align-items: center; gap: .3em; min-height: 46px; padding: 0 22px; border: 1px solid var(--gold-line); border-radius: 2px; background: none; font-size: 13px; white-space: nowrap; transition: background 220ms, border-color 220ms; }
#get-brainthread b { font-weight: 400; color: var(--gold); }
.terms { font-size: 11px; line-height: 1.75; color: var(--muted); }
@media (hover:hover) and (pointer:fine) { #get-brainthread:hover { border-color: var(--gold); background: var(--gold-wash); } }
@media (max-width:1180px) {
  .band { flex-direction: column; align-items: flex-start; gap: 26px; padding-bottom: 24px; }
  .steps p:not(:last-child)::after { width: 44px; margin-inline: 14px; }
}
@media (max-width:860px) {
  .band { gap: 22px; }
  .steps { flex-direction: column; align-items: stretch; }
  .steps p { align-items: flex-start; padding-bottom: 15px; position: relative; }
  .steps p:last-child { padding-bottom: 0; }
  .steps p::before { margin-top: 7px; }
  .steps p:not(:last-child)::after { position: absolute; left: 2px; top: 13px; width: 1px; height: calc(100% - 9px); margin: 0; background: var(--gold-line); }
}
@media (max-width:760px) {
  .band { margin-inline: 22px; padding-top: 26px; }
  .offer { flex-direction: column; align-items: flex-start; gap: 13px; }
}

/* Release pass: keep the sculpture and type; put the real install path beside the promise. */
.hero-copy { pointer-events: auto; }
.install-cta { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; margin-top: 22px; padding: 0 18px; border: 1px solid var(--gold-line); font-size: 13px; transition: background 220ms, border-color 220ms; }
.install-cta code { color: var(--gold-bright); }
.install-cta svg { width: 17px; height: 17px; }
.hero-copy .hero-terms { margin-top: 9px; font-size: 11px; color: var(--muted); }
@media (hover:hover) and (pointer:fine) { .install-cta:hover { background: var(--gold-wash); border-color: var(--gold); } }
.example { margin-bottom: 0; }
.example-content { padding: 12px 0 32px; }
.example-note { font-size: 11px; line-height: 1.8; color: var(--muted); margin-bottom: 26px; }
.example-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 36px; }
.example-grid > div { min-width: 0; }
.example h2 { font-size: 20px; font-weight: 400; letter-spacing: -.025em; margin-bottom: 16px; }
.example-grid p { font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 14px; }
.example pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.9; margin: 18px 0; }
.example blockquote { margin: 14px 0 0; font-size: 12px; line-height: 1.85; color: var(--ink); }
.example code,.setup code { overflow-wrap: anywhere; }
.install > pre { padding-block: 12px 24px; color: var(--gold-bright); }
.install-note,.setup-maintenance { font-size: 12px; line-height: 1.85; color: var(--muted); margin-top: 18px; }
.setup-maintenance { grid-column: 1/-1; margin: 0; }
.setup-intro p + p { margin-top: 12px; }
.how-experience .workflow-panel { min-height: 150px; }
.how-experience .workflow-panel code { line-height: 1.9; }
.how-experience .sculpture { inset: -40px 0 155px; }
@media (max-width:760px) {
  .experience:not(.how-experience) { height: calc(100svh - 76px); min-height: 620px; }
  .experience:not(.how-experience) .sculpture { top: -20px; bottom: 300px; }
  .experience:not(.how-experience) .hero-copy { bottom: 112px; }
  .install-cta { margin-top: 18px; }
  .hero-copy .hero-terms { margin-top: 7px; }
  .example-grid { grid-template-columns: 1fr; gap: 28px; }
  .how-experience { min-height: 840px; }
  .how-experience .sculpture { inset: 145px 0 320px; }
  .how-experience .workflow-panel { min-height: 230px; justify-content: flex-start; }
  .workflow-tabs { gap: 24px; }
  .header-actions a { white-space: nowrap; }
}
@media (max-width:360px) {
  .site-header { margin-inline: 16px; }
  .brand { font-size: 14px; gap: 6px; }
  .header-actions { gap: 10px; }
  .header-actions a:last-child svg { display: none; }
}
@media (prefers-reduced-motion:reduce) { .install-cta { transition: none; } }
/* The explanatory page keeps its headline clear of the hero's incoming threads. */
@media (min-width:761px) { .how-experience .sculpture { left: 42%; } .how-copy { max-width: min(450px, calc(42vw - 72px)); } }

/* Focused landing and readable technical guide; existing sculpture styles stay intact. */
.technical-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.technical-link:hover { color: var(--gold-bright); }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; margin: 56px 48px 80px; }
.docs-toc { position: sticky; top: 32px; align-self: start; display: flex; flex-direction: column; }
.docs-toc p { font-size: 13px; margin-bottom: 12px; color: var(--muted); }
.docs-toc a { display: flex; align-items: center; min-height: 40px; font-size: 13px; }
.docs-toc a:hover { color: var(--gold-bright); }
.docs-intro { margin-bottom: 56px; }
.docs-intro p { margin-top: 20px; }
.docs-content { min-width: 0; font-size: 15px; line-height: 1.85; }
.docs-content h1 { font-size: clamp(30px, 3.1vw, 44px); }
.docs-content h2 { font-size: 25px; font-weight: 400; letter-spacing: -.025em; line-height: 1.3; margin-bottom: 18px; }
.docs-content section { margin-bottom: 64px; scroll-margin-top: 32px; }
.docs-content p,.docs-content li,.docs-content dd { color: var(--muted); }
.docs-content p + p { margin-top: 16px; }
.docs-content a { text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 4px; }
.docs-content a:hover { color: var(--gold-bright); }
.docs-content pre { margin: 22px 0; padding: 18px 20px; background: var(--surface); color: var(--gold-bright); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.8; }
.docs-content code { font-size: .88em; overflow-wrap: anywhere; }
.docs-content pre code { font-size: inherit; }
.docs-content dl { margin: 0; }
.docs-content dt { margin-top: 24px; }
.docs-content dd { margin: 6px 0 0; }
.docs-content ul,.docs-content ol { padding-left: 22px; }
.docs-content li + li { margin-top: 10px; }
.docs-content section:focus-visible,#install-title:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 8px; }
.docs-footer { padding-top: 12px; }
.docs-footer a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 190px minmax(0,1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .docs-layout { display: block; margin: 28px 22px 64px; }
  .docs-toc { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-bottom: 48px; }
  .docs-toc p { grid-column: 1/-1; }
  .docs-toc a { min-height: 44px; line-height: 1.5; padding-block: 6px; }
  .docs-content { font-size: 14px; }
  .docs-intro { margin-bottom: 44px; }
  .docs-content section { margin-bottom: 48px; }
  .docs-content h2 { font-size: 23px; }
}

/* One homepage action, followed by quiet contact and documentation exits. */
.home-page .install-cta { background: transparent; color: var(--gold-bright); }
.home-page .install-cta:active { transform: translateY(1px); }
.home-page .install-cta.copied { border-color: var(--gold-bright); background: var(--gold-wash); }
.copy-confirmation { display: inline-block; margin-left: 14px; font-size: 11px; color: var(--gold-bright); }
.home-footer { margin: 0 48px 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; font-size: 12px; line-height: 1.8; }
.contact-exit p { color: var(--muted); }
.contact-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; min-height: 44px; }
.contact-link:hover { color: var(--gold-bright); }
.home-footer .technical-link { flex-shrink: 0; margin: 0; color: var(--ink); }
@media (max-width:760px) {
  .home-page .experience { min-height: 570px; height: calc(100svh - 180px); }
  .home-page .experience .hero-copy { bottom: 40px; }
  .home-page .experience .sculpture { bottom: 245px; }
  .home-footer { margin: 0 22px 24px; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
  .home-footer .technical-link { margin-left: auto; }
  .copy-confirmation { margin-left: 10px; }
}
