/* Fourth Web Works: the FourthWeb.ai identity, translated to a light canvas. */
:root {
  --ink: #101724;
  --paper: #ffffff;
  --paper-2: #f5f7fc;
  --muted: #58657a;
  --line: #dce2ec;
  --orange: #FFA900;
  --blue: #4A9EFF;
  --red: #FF4444;
  --white: #F0F4FF;
  --blue-type: #257ddb;
  --red-type: #db323c;
  --orange-type: #FFA900;
  --display: "Bebas Neue", Impact, sans-serif;
  --action-ink: #1664be;
  --body: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --max: 1328px;
  --pad: clamp(22px, 4.5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--body); -webkit-font-smoothing: antialiased; }
::selection { background: #f6a62366; color: var(--ink); }
a { color: inherit; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button, summary { touch-action: manipulation; }
[hidden] { display: none !important; }
p { margin: 0 0 1.15em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.1; text-wrap: balance; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(68px, 7.6vw, 108px); letter-spacing: -.015em; line-height: .96; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 4.9vw, 68px); letter-spacing: .005em; line-height: .98; }
h3 { font-size: 25px; letter-spacing: -.04em; line-height: 1.25; }
.word-blue { color: var(--blue-type); }
.word-red { color: var(--red-type); }
.word-orange { color: var(--orange-type); }
.heading-word { display: inline-block; white-space: nowrap; }
.heading-char { display: inline-block; }
.flow-ready .heading-char { opacity: 0; transform: translate3d(0, .55em, 0) rotateX(-45deg); }
.flow-ready.flow-in .heading-char { opacity: 1; transform: none; animation: heading-arrive .6s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--letter-delay); }
@keyframes heading-arrive {
  from { opacity: 0; transform: translate3d(0, .55em, 0) rotateX(-45deg); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
section { padding: 104px 0; border-bottom: 1px solid var(--line); }
.light, .dark { background: var(--paper); color: var(--ink); }
.alt, .installed, .timeline { background: var(--paper-2); }
.muted, .section-intro { color: var(--muted); }
.eyebrow { font: 10px/1.65 var(--mono); letter-spacing: .12em; margin-bottom: 26px; color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 52px; }
.section-intro { max-width: 32ch; font-size: 16px; margin: 0 0 4px; }
:focus-visible { outline: 3px solid var(--action-ink); outline-offset: 5px; }
.skip { position: fixed; z-index: 40; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
/* Content remains visible when scripting is unavailable. */
.reveal { opacity: 1; }
.reveal.ready { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn span { font-size: 20px; font-weight: 400; line-height: 1; transition: transform .2s; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #23334d; box-shadow: 0 4px 14px #23251f12; }
.btn:hover span { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-block: 12px; font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--action-ink); }
.text-link span { font-size: 18px; }
/* Navigation and a four-strand Works mark. */
.nav { position: sticky; top: 0; z-index: 20; background: #fffffff2; backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 90px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand-logo { display: block; width: 230px; height: 64px; object-fit: cover; }
.brand-mark { display: flex; align-items: center; gap: 4px; height: 48px; width: 43px; transform: skew(-17deg); }
.brand-mark i { width: 7px; height: 32px; background: #111111; }
.brand-mark i:nth-child(2) { background: var(--blue); }
.brand-mark i:nth-child(3) { background: var(--red); }
.brand-mark i:nth-child(even) { transform: translateY(7px); }
.brand-mark i:last-child { background: var(--orange); }
.brand-name { display: grid; grid-template-columns: max-content; gap: 2px; }
.brand .fw { font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .045em; line-height: 1; }
.brand .wk { display: flex; justify-content: space-between; width: 0; min-width: 100%; font-family: var(--display); font-size: 40px; font-weight: 400; letter-spacing: 0; line-height: .9; }
.nav-links { display: flex; gap: 30px; margin-left: auto; margin-right: 25px; }
.nav-links a { font-size: 12px; text-decoration: none; font-weight: 600; padding-block: 12px; }
.nav-links a:hover { color: var(--action-ink); }
.nav .btn { min-height: 48px; padding: 12px 20px; font-size: 14px; gap: 32px; white-space: nowrap; background: var(--blue); color: #FFFFFF; }
.nav .btn:hover { background: #70b3ff; }
/* A real-time spatial engine, integrated into the page rather than boxed as a widget. */
.hero { --ink: #F0F4FF; --muted: #AFBDD4; --line: #ffffff20; position: relative; isolation: isolate; padding: 20px 0 0; overflow: hidden; background: #060B17; color: var(--ink); }
.hero :focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.hero .text-link:hover { color: var(--orange); }
.hero-field { position: absolute; inset: 0 0 160px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 75% 43%, #153c712f, transparent 55%), radial-gradient(ellipse at 87% 65%, #ffa9000b, transparent 40%); }
.hero > .hero-grid { display: grid; grid-template-columns: 1fr 1.03fr; gap: 0; align-items: center; min-height: 590px; }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding: 0 0 18px; }
.hero .eyebrow { font-size: 10px; letter-spacing: .12em; margin-bottom: 26px; }
.hero h1 { white-space: nowrap; }
.hero-accent { background: linear-gradient(100deg, #4A9EFF 5%, #4A9EFF 18%, #FF4444 65%, #FFA900 99%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero .lead { max-width: 42ch; font-size: 16px; line-height: 1.85; color: var(--muted); margin: 25px 0 30px; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--orange); color: #101724; }
.hero .btn-primary:hover { background: #ffbb34; }
.engine-stage { position: relative; width: 114%; margin-left: -8%; height: 570px; isolation: isolate; }
.engine-stage::after { content: ""; position: absolute; left: 27%; right: 24%; bottom: 12%; height: 22px; border-radius: 50%; background: #4a9eff20; filter: blur(22px); z-index: -1; }
#scene { position: absolute; inset: 0 0 56px; z-index: 0; pointer-events: none; }
#scene canvas { display: block; }
/* Semantic vector nodes stay crisp while following their 3D connection points. */
.engine-node { --node-color: #F0F4FF; position: absolute; left: 0; top: 0; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; color: var(--node-color); background: #0b1628f5; border: 1px solid var(--node-color); border-radius: 13px; box-shadow: 0 0 20px color-mix(in srgb, var(--node-color) 16%, transparent), inset 0 0 14px color-mix(in srgb, var(--node-color) 7%, transparent); pointer-events: none; }
.engine-node svg { display: block; width: 26px; height: 26px; }
.engine-node-memory { left: 17%; top: 28%; transform: translate(-50%, -50%); }
.engine-node-skills { --node-color: #4A9EFF; left: 84%; top: 31%; transform: translate(-50%, -50%); }
.engine-node-control { --node-color: #FF4444; left: 17%; top: 71%; transform: translate(-50%, -50%); }
.engine-node-agents { --node-color: #FFA900; left: 82%; top: 73%; transform: translate(-50%, -50%); }
.engine-ready .engine-node { left: 0; top: 0; }
.engine-label { position: absolute; display: flex; gap: 8px; align-items: flex-start; z-index: 3; font: 9px/1.5 var(--mono); letter-spacing: .04em; color: var(--white); pointer-events: none; padding: 6px 8px; background: #060b17f0; border-radius: 2px; white-space: nowrap; }
.engine-label i { flex-shrink: 0; width: 6px; height: 6px; background: var(--blue); margin-top: 4px; }
.engine-label small { display: block; font: 12px/1.5 var(--body); color: #d1def2; margin-top: 3px; }
.engine-ready .engine-label { top: 0; left: 0; right: auto; bottom: auto; }
.engine-label-memory { top: 16%; left: 5%; }
.engine-label-memory i { background: var(--white); }
.engine-label-skills { top: 16%; right: 5%; }
.engine-label-agents { bottom: 13%; right: 3%; }
.engine-label-agents i { background: var(--orange); }
.engine-label-control { bottom: 13%; left: 4%; }
.engine-label-control i { background: var(--red); }
.engine-motion { position: absolute; z-index: 2; bottom: 8px; left: 50%; transform: translateX(-50%); min-height: 44px; padding: 9px 12px; background: #0c1729d9; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font: 10px/1.5 var(--mono); cursor: pointer; }
.engine-motion:hover { color: var(--ink); border-color: #4A9EFF; }
.engine-motion:disabled { cursor: default; }
.engine-fallback { position: absolute; width: 74%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; z-index: -1; }
.engine-fallback span { position: absolute; inset: 10%; border: 2px solid var(--blue); border-radius: 50%; transform: rotate(-35deg) scaleY(.56); }
.engine-fallback span:nth-child(2) { border-color: var(--red); transform: rotate(35deg) scaleY(.66); }
.engine-fallback span:nth-child(3) { border-color: var(--orange); transform: rotate(80deg) scaleY(.6); }
.engine-fallback span:nth-child(4) { border-color: #c9d5e9; transform: rotate(125deg) scaleY(.64); }
.engine-fallback b { display: grid; place-items: center; width: 24%; aspect-ratio: 1; border-radius: 50%; background: #17243c; font: 40px/1 var(--display); color: var(--white); }
.engine-ready .engine-fallback { display: none; }
.engine-explorer { position: relative; display: grid; grid-template-columns: 1fr 1.65fr 1fr; align-items: center; gap: 46px; padding-block: 28px 34px; border-top: 1px solid var(--line); }
.engine-intro { display: flex; gap: 16px; align-items: center; }
.engine-intro p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.engine-intro strong { color: var(--ink); font-weight: 600; }
.system-tabs { display: flex; gap: 26px; }
.system-tabs button { color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; min-height: 44px; padding: 7px 0; font: 10px/1.6 var(--mono); cursor: pointer; transition: border-color .2s, color .2s; }
.system-tabs button:hover { color: var(--ink); }
.system-tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--blue); }
.system-tabs button:nth-child(2)[aria-selected="true"] { border-color: var(--orange); }
.system-tabs button:nth-child(3)[aria-selected="true"] { border-color: var(--red); }
.system-description { min-height: 66px; padding-top: 11px; }
.system-description p { margin: 0; max-width: 55ch; font-size: 12px; line-height: 1.8; color: var(--muted); }
.engine-install { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; gap: 8px; }
.engine-install strong { font-size: 14px; font-weight: 600; }
.engine-install span { font-size: 10px; color: var(--muted); line-height: 1.7; }
.engine-install b { color: var(--ink); padding-left: 8px; font-size: 15px; }
.engine-install:hover strong { color: var(--blue); }
/* Editorial body */
.problem .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px 64px; align-items: center; }
.problem-copy { min-width: 0; }
.problem-body p { max-width: 48ch; font-size: 14px; color: var(--muted); }
.problem-promise { font-size: 19px; line-height: 1.65; margin: 26px 0 22px; color: var(--ink); }
.problem-promise strong { font-weight: 600; color: var(--blue-type); }
.problem-copy .text-link { font-size: 12px; color: var(--ink); }
.memory-visual { margin: 0; min-width: 0; }
.memory-visual > img { display: block; width: 100%; height: auto; border-radius: 3px; }
.memory-visual figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 18px; }
.memory-caption { font-size: 12px; font-weight: 600; }
.memory-legend { display: flex; flex-wrap: wrap; gap: 15px; font: 9px/1.6 var(--mono); color: var(--muted); }
.memory-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.memory-legend > span::before { content: ""; width: 6px; height: 6px; background: var(--blue); }
.memory-legend > span:nth-child(2)::before { background: var(--red); }
.memory-legend > span:nth-child(3)::before { background: var(--orange); }
.tool-stack { grid-column: 1 / -1; min-width: 0; border-top: 1px solid var(--line); padding-top: 34px; }
.stack-intro { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.stack-intro .eyebrow { font-size: 9px; margin-bottom: 12px; }
.stack-intro h3 { font-family: var(--display); font-size: 36px; font-weight: 400; letter-spacing: .01em; }
.stack-intro > p { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0; }
.stack-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.stack-filters button { min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--muted); font: 10px/1.5 var(--mono); cursor: pointer; }
.stack-filters button:hover { border-color: var(--blue); color: var(--ink); }
.stack-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); border-bottom-color: var(--orange); color: white; }
.tool-logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 26px; }
.tool-logos li { min-width: 0; }
.tool-logos a { display: flex; min-height: 90px; padding: 16px 0; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; text-decoration: none; }
.tool-logos img { display: block; width: auto; max-width: min(100%, 140px); height: 27px; object-fit: contain; }
.tool-logos a > span:last-child { font: 9px/1.6 var(--mono); color: var(--muted); }
.tool-logos a:hover > span:last-child { color: var(--blue-type); }
.higgsfield-lockup { display: inline-flex; align-items: center; gap: 5px; font-size: 17px; line-height: 27px; font-weight: 700; letter-spacing: -.04em; }
.higgsfield-lockup img { width: 24px; height: 24px; }
.tool-lockup { display: inline-flex; align-items: center; gap: 8px; font-size: 21px; line-height: 27px; font-weight: 500; letter-spacing: -.04em; }
.tool-lockup img { width: 28px; height: 28px; }
.business-tool-lockup { display: flex; align-items: center; gap: 9px; min-height: 30px; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.025em; }
.business-tool-lockup img { flex: 0 0 28px; width: 28px; height: 28px; }
.business-tool-lockup > span { min-width: 0; }
.stack-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.stack-footer p { font-size: 10px; color: var(--muted); margin: 0; }
.stack-footer .stack-status { font-family: var(--mono); color: var(--ink); }
.bands { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 64px; counter-reset: part; }
.band { --band-color: var(--blue); padding: 22px 0 22px 22px; border-left: 4px solid var(--band-color); display: grid; grid-template-columns: 36px 1fr; column-gap: 16px; counter-increment: part; }
.band::before { content: "0" counter(part); font: 11px/2 var(--mono); color: var(--band-color); grid-row: 1 / 3; }
.band:nth-child(2) { --band-color: var(--red); }
.band:nth-child(3) { --band-color: var(--orange); }
.band:nth-child(4) { --band-color: #111111; }
.band h3 { margin-bottom: 14px; font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: .01em; color: var(--band-color); }
.band p { grid-column: 2; font-size: 14px; color: var(--muted); margin: 0; }
.band .band-example { margin-top: 14px; }
.band-example a { color: var(--band-color); text-underline-offset: 3px; }
/* The install and three ongoing engagements share a comparison grid. */
.tiers-section { background: var(--paper); }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.tier { display: flex; flex-direction: column; padding: 25px 22px 28px; min-width: 0; border-top: 3px solid #101724; }
.tier:nth-child(2) { border-top-color: var(--blue); }
.tier:nth-child(3) { border-top-color: var(--red); }
.tier:nth-child(4) { border-top-color: var(--orange); }
.tier + .tier { border-left: 1px solid var(--line); }
.tier:first-child { background: #f7f9fd; }
.tier > div:not(.price) { order: -1; min-height: 208px; }
.tier .era { font: 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.tier:first-child .era::after { content: " / START HERE"; color: var(--ink); font-size: 8px; }
.tier h3 { font-size: 21px; min-height: 52px; margin-bottom: 14px; }
.tier .sum { color: var(--muted); font-size: 13px; margin: 0; line-height: 1.75; }
.tier .cap { font: 9px/1.6 var(--mono); color: var(--action-ink); margin-top: 12px; }
.tier .price { font-size: clamp(25px, 2.7vw, 37px); font-weight: 600; letter-spacing: -.055em; line-height: 1.15; padding: 27px 0 26px; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); }
.tier .price { min-height: 144px; }
.tier .price-negotiable { font-size: .6em; }
.tier .install-price { font-size: 30px; }
.tier .price small { display: block; font-size: 10px; line-height: 1.6; font-weight: 400; letter-spacing: 0; margin-top: 8px; color: var(--muted); }
.tier ul { padding: 24px 0 0; margin: 0; list-style: none; }
.tier li { padding-left: 15px; margin-bottom: 12px; position: relative; font-size: 13px; line-height: 1.65; color: var(--muted); }
.tier li::before { content: "+"; position: absolute; left: 0; color: var(--action-ink); }
.tier-link { border-top: 1px solid var(--line); margin-top: auto; padding-top: 17px; font-size: 11px; justify-content: space-between; }
.tiers-note { font-size: 11px; color: var(--muted); max-width: 90ch; margin: 20px 0 0; }
.built dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; margin: 0; }
.built dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; border-top: 1px solid var(--line); padding: 23px 0; }
.built dt { font-size: 12px; font-weight: 700; }
.built dd { margin: 0; font-size: 13px; color: var(--muted); }
.built dl > div:last-child { grid-column: 1 / -1; }
.who { background: var(--paper-2); }
.who .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 64px; }
.who .head { grid-row: span 5; }
.who h3 { font-size: 20px; margin-bottom: 12px; }
.who .muted { font-size: 14px; margin: 0; }
.who .not { grid-column: 2; border-top: 1px solid var(--line); padding-top: 22px; font-size: 12px; color: var(--muted); }
.who .not b { color: var(--ink); }
.timeline { background: var(--paper); }
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 16px; }
.day { border-top: 1px solid #c5d1e4; position: relative; padding: 26px 26px 0 0; }
.day::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--orange); border: 2px solid var(--paper); box-shadow: 0 0 0 1px #c5d1e4; border-radius: 50%; }
.day:nth-child(1)::before { background: var(--ink); }
.day:nth-child(2)::before { background: var(--blue); }
.day:nth-child(3)::before { background: var(--red); }
.day .n { font: 10px/1.6 var(--mono); color: var(--action-ink); margin-bottom: 25px; }
.day h3 { font-size: 19px; margin-bottom: 16px; min-height: 48px; }
.day p { margin: 0; color: var(--muted); font-size: 13px; }
.bio .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11%; align-items: center; }
.founder-photo { margin: 0; }
.founder-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
.founder-photo figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 9px/1.7 var(--mono); color: var(--muted); padding-top: 15px; }
.founder-caption { display: flex; flex-direction: column; gap: 2px; }
.founder-social { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; color: #0a66c2; border-radius: 3px; transition: background .2s; }
.founder-social:hover { background: #4a9eff1a; }
.founder-copy h2 { font-size: clamp(44px, 4.5vw, 60px); }
.founder-name { font-size: 19px; font-weight: 600; margin: 23px 0 12px; }
.founder-copy > p:not(.eyebrow):not(.founder-name) { font-size: 14px; color: var(--muted); }
.bio ul { list-style: none; margin: 22px 0 0; padding: 0; }
.bio li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding: 10px 0; }
.bio-mark { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.bio-mark img { display: block; width: 32px; height: 32px; object-fit: contain; }
.bio-mark img.bio-logo-wide { width: 44px; }
.faq .wrap { max-width: 1020px; }
.faq h2 { margin-bottom: 44px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 23px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--action-ink); font: 22px/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 14px; max-width: 72ch; margin: 0 0 25px; }
.end { background: #f4f7fd; }
.end .wrap { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 10%; align-items: center; }
.end .eyebrow { grid-column: 1 / -1; }
.end h2 { font-size: clamp(76px, 9vw, 120px); line-height: .94; letter-spacing: 0; }
.end .lead { color: var(--muted); font-size: 17px; margin: 0 0 26px; }
.end .btn { background: var(--orange); color: var(--ink); }
.end .btn:hover { background: #ffb83e; }
.email-link { display: block; width: fit-content; font-size: 11px; color: var(--muted); margin-top: 16px; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.foot { --ink: #F0F4FF; --muted: #AFBDD4; --line: #ffffff20; padding: 38px 0 18px; background: #060B17; color: var(--ink); }
.foot-main { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; gap: 40px; padding-bottom: 32px; }
.footer-brand { display: block; width: 280px; max-width: 100%; }
.footer-logo { display: block; width: 100%; height: auto; object-fit: contain; }
.footer-belief { font: 400 clamp(34px, 3.2vw, 46px)/1.08 var(--display); letter-spacing: .02em; margin: 0; }
.footer-belief span:first-child { color: var(--blue); }
.footer-belief span:last-child { color: var(--orange); }
.footer-links { display: grid; gap: 2px; }
.footer-links a { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 44px; font: 500 15px/1.5 var(--body); text-decoration: none; }
.footer-links a span { color: var(--blue); }
.footer-label { margin: 0 0 8px; font: 500 10px/1.5 var(--mono); letter-spacing: .14em; color: var(--muted); }
.footer-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; margin-bottom: 14px; font: 600 18px/1.5 var(--body); letter-spacing: -.025em; color: var(--blue); text-decoration: none; }
.foot a:hover { color: var(--blue); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 14px; border-top: 1px solid var(--line); font: 400 11px/1.6 var(--body); color: var(--muted); }
.foot-bottom a { padding: 10px 0; text-decoration: none; }
/* Business-plan extensions, presented after the core four engagements. */
.expansion { background: var(--paper-2); }
.expansion-tagline { font-family: var(--display); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: .015em; max-width: 19ch; color: var(--ink); }
.expansion-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.superbrain-offer { background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.brain-art { height: 330px; flex-shrink: 0; position: relative; overflow: hidden; background: #04060f; border-bottom: 1px solid var(--line); }
.superbrain-scene, .superbrain-fallback { position: absolute; inset: 0 0 46px; width: 100%; height: calc(100% - 46px); }
.superbrain-scene canvas { display: block; width: 100%; height: 100%; }
.superbrain-fallback { object-fit: contain; pointer-events: none; }
.brain-art.is-ready .superbrain-fallback { display: none; }
.superbrain-caption { position: absolute; top: 42%; left: 0; width: 100%; padding: 0 18px; text-align: center; pointer-events: none; }
.superbrain-caption > span { display: block; color: var(--white); font: 8px/1.6 var(--mono); letter-spacing: .15em; text-shadow: 0 1px 6px #04060f; }
.superbrain-caption strong { font: 400 clamp(44px, 5.8vw, 76px)/1 var(--display); letter-spacing: .015em; background: linear-gradient(100deg, #F0F4FF 5%, #4A9EFF 38%, #FF4444 68%, #FFA900 95%); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 2px 8px #04060f); }
.superbrain-motion { position: absolute; bottom: 10px; right: 14px; min-height: 36px; padding: 6px 11px; background: #0d1526; border: 1px solid #ffffff30; border-radius: 3px; color: var(--white); font: 10px/1.3 var(--mono); cursor: pointer; }
.superbrain-motion:hover { background: #1b2942; border-color: var(--blue); }
.superbrain-motion:active { transform: translateY(1px); }
.expansion-copy { padding: 30px 36px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.expansion-copy .eyebrow { color: #1664be; margin-bottom: 18px; }
.expansion h3 { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: .01em; margin-bottom: 20px; }
.expansion-copy > p:not(.eyebrow), .search-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); max-width: 51ch; }
.marketing-engineer { border-left: 3px solid var(--orange); padding-left: 18px; margin: 4px 0 24px; }
.marketing-engineer p { margin: 0; font-size: 13px; color: var(--muted); }
.marketing-engineer .engineer-name { margin-bottom: 10px; color: var(--ink); font-size: 15px; font-weight: 700; }
.engineer-name span { display: block; font-size: 13px; font-weight: 600; color: var(--blue-type); }
.addon-price { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 25px 0 10px; }
.addon-price strong { font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.addon-price small { font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.superbrain-price { flex-wrap: wrap; column-gap: 24px; row-gap: 8px; }
.expansion-copy .superbrain-price { width: 100%; margin-top: auto; padding-top: 18px; }
.expansion-copy > p.addon-note { font-size: 11px; margin-bottom: 20px; }
.search-price { flex-direction: column; align-items: flex-start; gap: 4px; }
.addon-price > span { font-size: 10px; line-height: 1.8; color: var(--muted); }
.expansion .text-link { font-size: 12px; }
.search-offer { background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; }
.search-art { height: 330px; flex-shrink: 0; margin: 0; background: #f9fbff; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.search-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.search-copy { padding: 30px 36px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.search-offer .eyebrow { color: #b92a2a; margin-bottom: 27px; }
.search-offer h3 { font-size: 52px; }
.search-disciplines { display: flex; gap: 8px; margin: 10px 0 28px; }
.search-disciplines span { font: 13px/1 var(--mono); padding: 12px; background: #4a9eff12; color: #1664be; border: 1px solid #4a9eff3a; }
.search-disciplines span:nth-child(2) { background: #ff44440b; border-color: #ff44442a; color: #b92a2a; }
.search-disciplines span:nth-child(3) { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.search-offer .search-timing { font-size: 12px !important; }
.search-offer .addon-price { margin-top: auto; padding-top: 22px; }
@media (max-width: 1100px) {
  .problem .wrap { gap: 38px; }
  .tool-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 26px; }
  h1 { font-size: clamp(64px, 7.3vw, 88px); }
  .hero > .hero-grid { min-height: 510px; }
  .engine-stage { height: 490px; }
  .hero .lead { font-size: 14px; max-width: 36ch; }
  .hero .eyebrow { font-size: 9px; }
  .engine-label-memory, .engine-label-skills { top: 15%; }
  .engine-label-control, .engine-label-agents { bottom: 16%; }
  .engine-explorer { gap: 28px; grid-template-columns: .9fr 1.5fr 1fr; }
  .engine-intro p { font-size: 11px; }
  .engine-install strong { font-size: 12px; }
  .engine-install span { font-size: 9px; }
  .engine-install { text-align: right; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier { padding: 28px; }
  .tier:nth-child(3) { border-left: 0; }
  .tier > div:not(.price) { min-height: 153px; }
  .tier h3 { min-height: 0; }
  .tier .price { font-size: 37px; }
  .built dl > div { grid-template-columns: 90px 1fr; gap: 16px; }
  .nav-links { margin-right: 0; gap: 22px; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .expansion-grid { grid-template-columns: 1.15fr 1fr; gap: 20px; }
  .expansion-copy, .search-copy { padding: 27px; }
  .addon-price { flex-wrap: wrap; gap: 12px; }
  .brain-books { padding-inline: 20px; font-size: 8px; }
}
@media (max-width: 760px) {
  .tool-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logo { width: 190px; height: 56px; }
  html { scroll-padding-top: 92px; }
  section { padding: 66px 0; }
  .nav .wrap { height: 80px; gap: 16px; }
  .nav-links { display: none; }
  .brand .fw { font-size: 16px; }
  .brand .wk { font-size: 35px; }
  .brand-mark { transform: skew(-17deg) scale(.9); transform-origin: left center; width: 38px; }
  .hero { padding-top: 40px; }
  .hero > .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(66px, 12.5vw, 92px); }
  .hero .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .hero .lead { max-width: 45ch; font-size: 15px; margin: 22px 0 26px; }
  .engine-stage { width: calc(100% + 44px); margin-left: -22px; height: clamp(460px, 85vw, 560px); margin-top: 8px; }
  .engine-label-memory { top: 14%; left: 5%; }
  .engine-label-skills { top: 14%; right: 5%; }
  .engine-label-control { bottom: 14%; left: 5%; }
  .engine-label-agents { bottom: 14%; right: 5%; }
  .engine-explorer { grid-template-columns: 1fr; gap: 0; padding-block: 25px 30px; }
  .engine-intro { display: none; }
  .engine-controls { min-width: 0; }
  .system-tabs { gap: 30px; }
  .system-tabs button { font-size: 11px; }
  .system-description { min-height: 80px; }
  .system-description p { font-size: 13px; }
  .engine-install { align-items: flex-start; text-align: left; gap: 5px; border-top: 1px solid var(--line); padding-top: 18px; }
  .engine-install strong { font-size: 13px; }
  .engine-install span { font-size: 10px; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-intro { max-width: 44ch; margin-top: 22px; font-size: 14px; }
  .eyebrow { margin-bottom: 18px; }
  .problem .wrap { grid-template-columns: 1fr; gap: 34px; }
  .problem-copy { display: contents; }
  .problem-heading { grid-row: 1; }
  .problem-heading .problem-promise { margin-bottom: 0; }
  .problem .memory-visual { grid-row: 2; }
  .problem-body { grid-row: 3; }
  .problem-body p { font-size: 15px; max-width: 52ch; }
  .memory-visual figcaption { gap: 10px; }
  .stack-intro { display: block; margin-bottom: 20px; }
  .stack-intro > p { margin-top: 16px; }
  .bands { grid-template-columns: 1fr; }
  .band { padding: 18px 0 18px 18px; grid-template-columns: 26px 1fr; column-gap: 12px; }

  .built dl { grid-template-columns: 1fr; }
  .built dl > div { grid-template-columns: 110px 1fr; }
  .expansion-grid { grid-template-columns: 1fr; }
  .expansion-copy, .search-copy { padding: 28px; }
  .brain-art, .search-art { height: clamp(280px, 66vw, 390px); }
  .superbrain-caption strong { font-size: clamp(44px, 11vw, 70px); }
  .expansion-tagline { font-size: 28px; }
  .superbrain-motion { min-height: 44px; bottom: 6px; }
  .addon-price { gap: 20px; }
  .search-offer h3 { font-size: 48px; }
  .who .wrap { grid-template-columns: 1fr; gap: 28px; }
  .who .head { grid-row: auto; margin-bottom: 12px; }
  .who .not { grid-column: auto; }
  .days { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .day p { font-size: 13px; }
  .bio .wrap { grid-template-columns: 1fr; gap: 42px; }
  .founder-photo { max-width: 440px; }
  .founder-copy > p:not(.eyebrow):not(.founder-name) { font-size: 15px; }
  .faq h2 { margin-bottom: 30px; }
  .faq summary { font-size: 15px; }
  .end .wrap { grid-template-columns: 1fr; }
  .end-action { margin-top: 32px; }
  .end h2 { font-size: 86px; }
  .foot-main { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .footer-brand { width: 250px; }
  .footer-connect { max-width: 290px; }
}
@media (max-width: 600px) {
  .tool-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; }
  .tier > div:not(.price) { min-height: 0; }
  .tier h3 { font-size: 25px; margin-bottom: 12px; }
  .tier .price { padding-top: 24px; }
  .tier .era { margin-bottom: 10px; }
}
@media (max-width: 430px) {
  .brand-logo { width: clamp(140px, calc(100vw - 180px), 170px); height: 50px; }
  .brand { gap: 8px; }
  .brand .fw { font-size: 15px; }
  .brand .wk { font-size: 34px; }
  .brand-mark { transform: skew(-17deg) scale(.8); width: 34px; }
  .nav .btn { padding: 12px 11px; gap: 14px; font-size: 13px; }
  h1 { font-size: clamp(48px, 15vw, 67px); }
  .hero .lead { font-size: 14px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .06em; }
  .cta-row { gap: 16px; }
  .cta-row .btn { padding: 14px 16px; gap: 20px; font-size: 12px; }
  .cta-row .text-link { font-size: 11px; gap: 10px; }
  .engine-stage { height: 450px; }
  .engine-node { width: 36px; height: 36px; border-radius: 10px; }
  .engine-node svg { width: 21px; height: 21px; }
  .engine-label { gap: 6px; padding: 5px 6px; }
  .engine-label-memory, .engine-label-skills { top: 10%; }
  .engine-label-control, .engine-label-agents { bottom: 13%; }
  .system-description { min-height: 92px; }
  .built dl > div { grid-template-columns: 88px 1fr; gap: 15px; }
  .days { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 5px; }
  .day { border-top: 0; border-left: 1px solid #c5d1e4; padding: 0 0 30px 25px; }
  .day::before { top: 5px; left: -5px; }
  .day .n { margin-bottom: 10px; }
  .day h3 { min-height: 0; margin-bottom: 12px; }
  .day:last-child { padding-bottom: 0; }
  .end h2 { font-size: clamp(56px, 17vw, 73px); }
  .foot-bottom { gap: 14px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.ready { opacity: 1; transform: none; }
  .flow-ready .heading-char { opacity: 1; transform: none; }
}
