/* Foundational OS flagship chassis (h27), written from scratch on the World OS kernel.
   One layout for every product; each product owns its flagship color set (60/30/10) through html.fos-t-<slug>.
   Rules baked in: one filled CTA per fold, objection shield next to it, live proof above the fold, >= 35% open space,
   fluid type, 44px targets, reduced motion respected, crawlable copy is plain HTML (the canvas is decoration only). */
html.fos { --fos-gutter: clamp(20px, 5vw, 72px); --fos-max: 1280px; --fos-r: 28px;
  --fos-bg: #FFFFFF; --fos-bg2: #F5F5F7; --fos-ink: #1D1D1F; --fos-muted: #5A5A60; --fos-line: rgba(0,0,0,.1);
  --fos-accent: #0071E3; --fos-accent-ink: #FFFFFF; --fos-stage: #F2F4F7; --fos-card: #FFFFFF; --fos-inverse: #0B0B0D; --fos-inverse-ink: #F5F5F7;
  --fos-ease: cubic-bezier(.2,.7,.1,1); }
html.fos-dark { color-scheme: dark; }
html.fos-t-trimline { --fos-bg: #FFFFFF; --fos-bg2: #F3F6FA; --fos-ink: #0B1220; --fos-muted: #4B5565; --fos-accent: #0078D4; --fos-accent-ink: #FFFFFF; --fos-stage: #EEF2F7; --fos-card: #FFFFFF; --fos-inverse: #040B1A; --fos-inverse-ink: #EAF3FC; }
html.fos-t-fit-architect { --fos-bg: #FAF9F6; --fos-bg2: #F1EFEA; --fos-ink: #1D1D1F; --fos-muted: #55555A; --fos-accent: #C2410C; --fos-accent-ink: #FFFFFF; --fos-stage: #0B0B0D; --fos-card: #FFFFFF; --fos-inverse: #0B0B0D; --fos-inverse-ink: #F5F5F7; }
html.fos-t-tfh { --fos-bg: #FBF8F3; --fos-bg2: #F3ECE2; --fos-ink: #231A14; --fos-muted: #5C5046; --fos-accent: #B23F27; --fos-accent-ink: #FFFFFF; --fos-stage: #F1E9DE; --fos-card: #FFFFFF; --fos-inverse: #0B1414; --fos-inverse-ink: #F3ECE2; }
html.fos-t-hope { --fos-bg: #050814; --fos-bg2: #0A1024; --fos-ink: #EEF3F8; --fos-muted: #A9B6C6; --fos-line: rgba(255,255,255,.12); --fos-accent: #7FE3C4; --fos-accent-ink: #04120D; --fos-stage: #03050D; --fos-card: #0E1530; --fos-inverse: #EEF3F8; --fos-inverse-ink: #050814; }
html.fos-t-singularity { --fos-bg: #050506; --fos-bg2: #0F0F12; --fos-ink: #F2F2F5; --fos-muted: #A6A6AE; --fos-line: rgba(255,255,255,.12); --fos-accent: #5AC8FA; --fos-accent-ink: #03141C; --fos-stage: #000000; --fos-card: #141417; --fos-inverse: #F2F2F5; --fos-inverse-ink: #050506; }
html.fos-t-aegis { --fos-bg: #040A18; --fos-bg2: #08122A; --fos-ink: #EAF1FF; --fos-muted: #A8B6CF; --fos-line: rgba(255,255,255,.12); --fos-accent: #2563EB; --fos-accent-ink: #FFFFFF; --fos-stage: #020611; --fos-card: #0C1934; --fos-inverse: #EAF1FF; --fos-inverse-ink: #040A18; }
html.fos-t-scale-with-fitos { --fos-bg: #04120D; --fos-bg2: #082019; --fos-ink: #ECFDF5; --fos-muted: #A7C4B8; --fos-line: rgba(255,255,255,.12); --fos-accent: #34D399; --fos-accent-ink: #022C1E; --fos-stage: #020A07; --fos-card: #0B2A20; --fos-inverse: #ECFDF5; --fos-inverse-ink: #04120D; }
html.fos-t-agent-hub { --fos-bg: #0A0B0E; --fos-bg2: #121318; --fos-ink: #F4F4F6; --fos-muted: #A9AAB3; --fos-line: rgba(255,255,255,.12); --fos-accent: #F5B83D; --fos-accent-ink: #1A1205; --fos-stage: #050608; --fos-card: #17181D; --fos-inverse: #F4F4F6; --fos-inverse-ink: #0A0B0E; }
/* the retained live modules (teardown, scans, intake forms) inherit the flagship palette */
html.fos { --ap-bg: var(--fos-bg); --ap-bg2: var(--fos-bg2); --ap-card: var(--fos-card); --ap-ink: var(--fos-ink); --ap-muted: var(--fos-muted); --ap-line: var(--fos-line); --ap-accent: var(--fos-accent); --ap-accent-ink: var(--fos-accent-ink); --ap-link: var(--fos-accent); }
html.fos body { background: var(--fos-bg); color: var(--fos-ink); }
html.fos:not(.fos-doc) .fl-subnav { display: none; }

.fos { overflow-x: clip; }
.fos-wrap { max-width: var(--fos-max); margin: 0 auto; padding: 0 var(--fos-gutter); }
.fos-eyebrow { margin: 0 0 .9rem; font-size: .95rem; font-weight: 650; letter-spacing: .01em; color: var(--fos-muted); }
.fos-eyebrow b { color: var(--fos-accent); font-weight: 650; }
.fos-h1 { margin: 0; font-size: clamp(2.35rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 750; max-width: 13ch; text-wrap: balance; }
.fos-lead { margin: 1.25rem 0 0; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: var(--fos-muted); max-width: 40ch; }
.fos-h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 720; max-width: 20ch; text-wrap: balance; }
.fos-sub { margin: 1rem 0 0; font-size: clamp(1rem, 1.2vw, 1.15rem); line-height: 1.55; color: var(--fos-muted); max-width: 56ch; }

/* actions: one filled CTA, one quiet text link */
.fos-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.8rem; }
.fos-cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.5rem; border-radius: 999px; border: 0;
  background: var(--fos-accent); color: var(--fos-accent-ink); font: inherit; font-weight: 650; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--fos-ease), box-shadow .25s var(--fos-ease); box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--fos-accent) 70%, transparent); }
.fos-cta:hover { transform: translateY(-1px); }
.fos-cta:focus-visible, .fos-link:focus-visible, .fos-audio:focus-visible { outline: 3px solid var(--fos-accent); outline-offset: 3px; }
.fos-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--fos-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.fos-link:hover { text-decoration-thickness: 2px; }

/* objection shield, adjacent to the CTA */
.fos-shield { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--fos-muted); max-width: 44ch; }
.fos-shield li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .5rem; align-items: start; }
.fos-shield li::before { content: ""; width: .62rem; height: .62rem; margin-top: .42rem; border-radius: 50%; background: var(--fos-accent); }
.fos-shield b { color: var(--fos-ink); font-weight: 650; }

/* hero: copy column + live world stage */
.fos-hero { position: relative; padding: clamp(28px, 4vw, 64px) 0 clamp(48px, 6vw, 96px); }
.fos-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .fos-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(calc(100svh - 140px), 760px); } }
.fos-stage { position: relative; isolation: isolate; aspect-ratio: 4 / 3; border-radius: var(--fos-r); overflow: hidden; background: var(--fos-stage); box-shadow: 0 40px 80px -48px rgba(0,0,0,.45); }
.fos-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fos-stage .fos-f2 { opacity: clamp(0, calc((var(--p, 0) - .3) * 4), 1); transition: opacity .3s linear; }
.fos-stage .fos-f3 { opacity: clamp(0, calc((var(--p, 0) - .66) * 4), 1); transition: opacity .3s linear; }
.fos-stage .studio-live { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .9s ease; }
.fos-stage.is-studio .studio-live { opacity: 1; }
.fos-stage__tag { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: .45rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  color: #fff; background: rgba(10, 12, 16, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@media (max-width: 1023px) { .fos-stage { aspect-ratio: 16 / 11; } }
@media (max-width: 640px) { .fos-hero { padding-top: 20px; } .fos-stage { aspect-ratio: 16 / 10; border-radius: 22px; } .fos-h1 { max-width: 12ch; } }

/* the 5 second proof: one range input that walks the world through three honest stages */
.fos-proof { margin-top: 1.5rem; padding: .9rem 1rem 1rem; border-radius: 18px; border: 1px solid var(--fos-line); background: var(--fos-card); max-width: 440px; display: grid; gap: .4rem; }
.fos-proof label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fos-muted); }
.fos-proof input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--fos-accent); cursor: ew-resize; }
.fos-proof output { font-weight: 650; color: var(--fos-ink); }
@media (prefers-reduced-motion: no-preference) { html[data-persona="explorer"] .fos-proof { animation: fosRing 2.4s var(--fos-ease) 1.2s 2; } }
@keyframes fosRing { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--fos-accent) 22%, transparent); } }

/* persona adaptive HUD: builders get the docking strip, executives get the shield first */
.fos-builder { display: none; margin-top: 1rem; font-size: .9rem; color: var(--fos-muted); }
html[data-persona="builder"] .fos-builder { display: block; }
html[data-persona="executive"] .fos-hero__copy { display: flex; flex-direction: column; }
html[data-persona="executive"] .fos-shield { order: 4; }
html[data-persona="executive"] .fos-proof { order: 5; }

/* sound toggle (opt-in procedural audio) */
.fos-audio { position: absolute; z-index: 3; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(10,12,16,.5); color: #fff; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fos-audio[aria-pressed="true"] { background: var(--fos-accent); color: var(--fos-accent-ink); border-color: transparent; }
.fos-audio svg { width: 16px; height: 16px; }

/* bands */
.fos-band { padding: clamp(72px, 10vw, 140px) 0; }
.fos-band--alt { background: var(--fos-bg2); }
.fos-band--inverse { background: var(--fos-inverse); color: var(--fos-inverse-ink); }
.fos-band--inverse .fos-sub, .fos-band--inverse .fos-step p { color: color-mix(in srgb, var(--fos-inverse-ink) 72%, transparent); }
.fos-steps { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: clamp(16px, 2vw, 28px); counter-reset: fos; }
@media (min-width: 860px) { .fos-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fos-step { counter-increment: fos; padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; background: var(--fos-card); border: 1px solid var(--fos-line); }
.fos-band--inverse .fos-step { background: color-mix(in srgb, var(--fos-inverse-ink) 6%, transparent); border-color: color-mix(in srgb, var(--fos-inverse-ink) 14%, transparent); }
.fos-step::before { content: counter(fos, decimal-leading-zero); display: block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--fos-accent); margin-bottom: 1.6rem; }
.fos-step h3 { margin: 0; font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.015em; }
.fos-step p { margin: .6rem 0 0; line-height: 1.55; color: var(--fos-muted); }
.fos-trust { display: grid; gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 860px) { .fos-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fos-trust div { padding-top: 1.2rem; border-top: 2px solid var(--fos-accent); }
.fos-trust h3 { margin: 0; font-size: 1.05rem; }
.fos-trust p { margin: .5rem 0 0; line-height: 1.55; color: var(--fos-muted); }

/* FAQ */
.fos-faq { margin-top: clamp(28px, 4vw, 48px); max-width: 860px; }
.fos-faq details { border-top: 1px solid var(--fos-line); }
.fos-faq details:last-child { border-bottom: 1px solid var(--fos-line); }
.fos-faq summary { list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 650; font-size: clamp(1.02rem, 1.3vw, 1.18rem); position: relative; min-height: 44px; }
.fos-faq summary::-webkit-details-marker { display: none; }
.fos-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--fos-accent); }
.fos-faq details[open] summary::after { content: "\2212"; }
.fos-faq p { margin: 0 0 1.4rem; line-height: 1.65; color: var(--fos-muted); max-width: 70ch; }

/* closing fold */
.fos-close { text-align: center; }
.fos-close .fos-h2, .fos-close .fos-sub { margin-left: auto; margin-right: auto; }
.fos-close .fos-actions { justify-content: center; }

/* retained live modules sit inside the flagship rhythm */
.fos-keep > section, .fos-keep .ap-band { background: transparent; }
.fos .ap-band--dark { background: var(--fos-inverse); color: var(--fos-inverse-ink); }

.fos-caption { display: none; }
/* Director Mode (?record=1): only the world, full frame, no chrome */
html.is-record header, html.is-record footer, html.is-record nav, html.is-record .hope-orb, html.is-record .fos-hero__copy,
html.is-record .fos > section:not(.fos-hero), html.is-record .fos-audio, html.is-record .fos-stage__tag { display: none !important; }
html.is-record .fos-stage { position: fixed; inset: 0; z-index: 50; border-radius: 0; aspect-ratio: auto; }
@media (prefers-reduced-motion: reduce) { .fos-stage .studio-live { display: none; } .fos-cta { transition: none; } .fos-stage .fos-f2, .fos-stage .fos-f3 { transition: none; } }
.fos-stagewrap { position: relative; }
@media (max-width: 1023px) {
  .fos-hero__grid { gap: 0; }
  .fos-hero__copy { display: contents; }
  .fos-hero__copy > * { order: 2; }
  .fos-hero__copy > .fos-eyebrow { order: 0; } .fos-hero__copy > .fos-h1 { order: 0; } .fos-hero__copy > .fos-lead { order: 0; }
  .fos-stagewrap { order: 1; margin-top: 1.4rem; }
  .fos-hero__copy > .fos-actions { order: 2; margin-top: 1.2rem; }
  .fos-hero__copy > .fos-proof { order: 3; } .fos-hero__copy > .fos-shield { order: 4; } .fos-hero__copy > .fos-builder { order: 5; }
}
@media (max-width: 640px) {
  .fos-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: .9rem; font-size: 1.02rem; }
  .fos-h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); }
  .fos-stage { aspect-ratio: 16 / 9; }
  .fos-proof { margin-top: 1rem; }
}
.fos-band--inverse h2, .fos-band--inverse h3, .fos-band--inverse .fos-h2 { color: var(--fos-inverse-ink); }
.fos-band--inverse .fos-trust p { color: color-mix(in srgb, var(--fos-inverse-ink) 74%, transparent); }
html.fos .teardown-band { background: var(--fos-inverse); color: var(--fos-inverse-ink); }
html.fos .teardown-band h2 { color: var(--fos-inverse-ink); }
html.fos .teardown-band .teardown-sub, html.fos .teardown-band .td-label, html.fos .teardown-band .teardown-note, html.fos .teardown-band small { color: color-mix(in srgb, var(--fos-inverse-ink) 74%, transparent); }
html.fos .teardown-band .td-val { color: var(--fos-inverse-ink); }
html.fos .teardown-band .eyebrow { color: color-mix(in srgb, var(--fos-accent) 55%, white); }
html.fos-dark .fos .ap-band--dark { background: var(--fos-bg2); color: var(--fos-ink); --ap-ink: var(--fos-ink); --ap-muted: var(--fos-muted); }
html.fos-dark .fos .ap-band:not(.ap-band--dark) { color: var(--fos-ink); }
@media (max-width: 1023px) {
  .fos-hero__copy > .fos-shield { order: 3; } .fos-hero__copy > .fos-proof { order: 4; }
}
@media (max-width: 640px) {
  .fos-hero { padding-top: 18px; }
  .fos-stage { aspect-ratio: 2 / 1; }
  .fos-actions .fos-link { display: none; }
  .fos-shield { margin-top: .9rem; gap: .25rem; font-size: .86rem; }
  .fos-shield li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.45; }
  .fos-proof { margin-top: .9rem; padding: .8rem 1rem; }
}
@media (max-width: 640px) {
  .fos-shield li { white-space: normal; overflow: visible; }
  .fos-audio { padding: .45rem; top: .6rem; right: .6rem; }
  .fos-audio [data-audio-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fos-proof { margin-top: .75rem; }
  .fos-proof [data-proof-label], .fos-proof p { font-size: .95rem; }
}
.fos-dock__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .fos-dock__grid { grid-template-columns: 5fr 6fr; } }
.fos-dock__tools { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.fos-dock__tools li { display: grid; gap: .2rem; padding: .8rem 0; border-top: 1px solid var(--fos-line); }
.fos-dock__tools code, .fos-dock__label code { font: 600 .92rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fos-accent); }
.fos-dock__tools span { color: var(--fos-muted); }
.fos-dock__code { background: var(--fos-card); border: 1px solid var(--fos-line); border-radius: 22px; padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.fos-dock__label { margin: 0 0 .8rem; font-weight: 600; }
.fos-dock__code pre { margin: 0; overflow-x: auto; padding: 1rem; border-radius: 14px; background: color-mix(in srgb, var(--fos-bg) 80%, black); }
.fos-dock__code pre code { font: .85rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--fos-ink); white-space: pre; }
.fos-dock__note { margin: .9rem 0 0; color: var(--fos-muted); font-size: .92rem; }
.fos-keep > section.os-section { background: #05070A; color: #fff; }
/* t193 r2: stage HUD (one card per proof step, bound to data-step), offer card, mobile order with the full lead */
.fos-hud { position: absolute; left: clamp(12px, 2vw, 22px); bottom: clamp(12px, 2vw, 22px); right: clamp(12px, 2vw, 22px); margin: 0; padding: 0; list-style: none; display: grid; pointer-events: none; z-index: 2; }
.fos-hud__card { grid-area: 1 / 1; max-width: 340px; display: grid; gap: .2rem; padding: .75rem .95rem; border-radius: 14px; background: color-mix(in srgb, var(--fos-card) 88%, transparent); border: 1px solid var(--fos-line); color: var(--fos-ink); box-shadow: 0 12px 30px -18px rgba(0,0,0,.5); opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fos-hud__n { font: 700 .7rem/1 var(--font-sans, inherit); letter-spacing: .08em; text-transform: uppercase; color: var(--fos-accent); }
.fos-hud__card b { font-size: .98rem; line-height: 1.25; }
.fos-hud__d { font-size: .86rem; line-height: 1.4; color: var(--fos-muted); }
.fos-stage:not([data-step]) [data-hud-step="1"], .fos-stage[data-step="1"] [data-hud-step="1"], .fos-stage[data-step="2"] [data-hud-step="2"], .fos-stage[data-step="3"] [data-hud-step="3"] { opacity: 1; transform: none; }
.fos-hud__bar { position: absolute; top: clamp(12px, 2vw, 20px); left: clamp(12px, 2vw, 20px); display: flex; gap: 6px; z-index: 2; pointer-events: none; }
.fos-hud__bar i { width: 28px; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--fos-ink) 22%, transparent); transition: background .3s; }
.fos-stage:not([data-step]) .fos-hud__bar i:nth-child(1), .fos-stage[data-step="1"] .fos-hud__bar i:nth-child(-n+1), .fos-stage[data-step="2"] .fos-hud__bar i:nth-child(-n+2), .fos-stage[data-step="3"] .fos-hud__bar i { background: var(--fos-accent); }
@media (prefers-reduced-motion: reduce) { .fos-hud__card { transition: none; } }
.fos-offer { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .fos-offer { grid-template-columns: 5fr 6fr; } }
.fos-offer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fos-offer__list li { display: grid; gap: .2rem; padding: 1rem 0; border-top: 1px solid var(--fos-line); }
.fos-offer__list li span { color: var(--fos-muted); }
.fos-late { border-top: 1px solid var(--fos-line); }
@media (max-width: 1023px) {
  .fos-stagewrap { order: 5; margin-top: 1.4rem; }
  .fos-hero__copy > .fos-actions { order: 2; } .fos-hero__copy > .fos-shield { order: 3; } .fos-hero__copy > .fos-proof { order: 4; } .fos-hero__copy > .fos-builder { order: 6; }
}
@media (max-width: 640px) {
  .fos-lead { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .fos-stage { aspect-ratio: 4 / 3; }
  .fos-actions { gap: .4rem 1rem; }
  .fos-actions .fos-link { display: inline-block; }
  html.fos-proof-in .hope-orb { opacity: 0; pointer-events: none; transition: opacity .25s; }
}
html.fos:not(.fos-doc) .ap-fab { display: none; }
.fos-keep > section.fl-obsidian { background: var(--fos-inverse); color: var(--fos-inverse-ink); }
html:not(.fos-dark) .fos-keep > section.fl-obsidian { background: #0B1414; color: #F3ECE2; }
html:not(.fos-dark) .fos-keep > section.fl-obsidian .fx-sub, html:not(.fos-dark) .fos-keep > section.fl-obsidian .fl-pillar-h { color: rgba(243, 236, 226, .78); }
html.fos-t-aegis { --fos-accent-text: #7FB0FF; }
.fos-eyebrow, .fos-eyebrow b, .fos-hud__n, .fos-dock__tools code, .fos-dock__label code { color: var(--fos-accent-text, var(--fos-accent)); }
/* r3: each proof step visibly changes the stage even without live 3D (poster fallback): step 2 scans, step 3 resolves */
.fos-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; transition: opacity .4s ease, background-position .6s ease; border-radius: inherit; }
.fos-stage[data-step="2"]::after { opacity: 1; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--fos-accent) 22%, transparent) 50%, transparent 70%); background-size: 220% 100%; background-position: 30% 0; }
.fos-stage[data-step="3"]::after { opacity: 1; background: radial-gradient(60% 55% at 50% 55%, color-mix(in srgb, var(--fos-accent) 20%, transparent), transparent 70%); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--fos-accent) 55%, transparent); }
.fos-stage[data-step="3"] img, .fos-stage[data-step="3"] .studio-live { filter: saturate(1.15) brightness(1.04); }
@media (max-width: 640px) { .fos-faq details summary { padding-block: .8rem; } .fos-band { padding: 56px 0; } }
html.fos-proof-in .hope-orb { opacity: 0; pointer-events: none; transition: opacity .25s; }
@media (min-width: 1024px) { .fos-h1--long { font-size: clamp(2.6rem, 4.1vw, 3.9rem); } }
/* r3c: mobile proof closer to the first fold: copy, CTA, shield, stage, proof steps; lead clamped to three lines */
@media (max-width: 640px) {
  .fos-hero__copy > .fos-lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .fos-hero__copy > .fos-shield { order: 3; }
  .fos-stagewrap { order: 4; margin-top: 1rem; }
  .fos-stage { aspect-ratio: 16 / 10; }
  .fos-hero__copy > .fos-proof { order: 5; }
}
@media (max-width: 640px) { html.fos-t-tfh .fos-hero__copy > .fos-proof { order: 4; } html.fos-t-tfh .fos-stagewrap { order: 5; } }
/* r4 fos-doc: the content chassis. Non flagship pages keep their copy, links and live modules and take the flagship palette,
   type scale, controls and card shapes of their product. Selectors are the shared h24/h25 vocabulary (ap-*, fx-*, h25-*). */
html.fos-doc body { -webkit-font-smoothing: antialiased; }
html.fos-doc main .ap-h1, html.fos-doc main .fx-h1, html.fos-doc main .h25-mh1 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
html.fos-doc main .ap-h2, html.fos-doc main .fx-h2 { font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.07; letter-spacing: -.03em; font-weight: 720; text-wrap: balance; }
html.fos-doc main .fx-h3 { letter-spacing: -.015em; font-weight: 680; }
html.fos-doc main .ap-lead, html.fos-doc main .fx-lead, html.fos-doc main .ap-sub { color: var(--ap-muted, var(--fos-muted)); line-height: 1.55; }
html.fos-doc main .ap-eyebrow, html.fos-doc main .eyebrow { color: var(--fos-accent-text, var(--ap-accent, var(--fos-accent))); font-weight: 650; letter-spacing: .01em; }
/* dark bands carry their own readable accent and muted ink */
html.fos-doc main .ap-band--dark .ap-eyebrow, html.fos-doc main .ap-band--graphite .ap-eyebrow { color: var(--ap-dark-accent, var(--fos-inverse-ink)); }
html.fos-doc main .ap-pill, html.fos-doc main .fx-btn { min-height: 48px; border-radius: 999px; padding-inline: 1.4rem; font-weight: 650; transition: transform .25s var(--fos-ease), box-shadow .25s var(--fos-ease); }
html.fos-doc main .ap-pill--solid, html.fos-doc main .fx-btn--dark { background: var(--fos-accent); color: var(--fos-accent-ink); border-color: transparent; box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--fos-accent) 70%, transparent); }
html.fos-doc main .ap-pill--solid:hover, html.fos-doc main .fx-btn--dark:hover { transform: translateY(-1px); }
html.fos-doc main .ap-pill--ghost, html.fos-doc main .fx-btn--ghost { color: var(--fos-ink); border-color: var(--fos-line); }
html.fos-doc main .ap-pill:focus-visible, html.fos-doc main .fx-btn:focus-visible { outline: 3px solid var(--fos-accent); outline-offset: 3px; }
html.fos-doc main .ap-band:not(.ap-band--dark):not(.ap-band--graphite) { background: var(--fos-bg); color: var(--fos-ink); }
html.fos-doc main .ap-band--alt:not(.ap-band--dark) { background: var(--fos-bg2); }
html.fos-doc main .ap-band--dark, html.fos-doc main .ap-band--graphite { background: var(--fos-inverse); }
html.fos-dark.fos-doc main .ap-band--dark, html.fos-dark.fos-doc main .ap-band--graphite { background: var(--fos-bg2); }
html.fos-doc main .spec-card, html.fos-doc main .fx-tile, html.fos-doc main .editorial-card, html.fos-doc main .h25-mc, html.fos-doc main .h25-today-card, html.fos-doc main .fx-panel { border-radius: var(--fos-r); }
html.fos-doc main .spec-card, html.fos-doc main .fx-tile, html.fos-doc main .h25-mc, html.fos-doc main .h25-today-card { background: var(--fos-card); border: 1px solid var(--fos-line); }
html.fos-doc main a:not([class]) { color: var(--fos-accent-text, var(--ap-link, var(--fos-accent))); text-underline-offset: 4px; }
html.fos-dark.fos-doc main a:not([class]) { color: var(--fos-accent); }
