/* Palantir-style marketing kit (see palantir-ui-library/marketing/web/SOP.md).
   White 12-column grid, hairlines instead of boxes, huge light headings, ↳ lists, link rows. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;700&family=Geist+Mono:wght@400;500&family=Bodoni+Moda:opsz,wght@6..96,800&display=swap');

:root {
  --ink: #1e2124;
  --paper: #fff;
  --muted: #767676;
  --line: #b3b3b3;
  --line-input: #636363;
  --fog: #efefef;
  --grey: #aaa;
  --night: #1e2124;
  --black: #0a0a0c;           /* the explainer's own background: its panel must match */
  --navy: #1f1f2d;
  --navy-line: #454256;
  --label-dark: #b9b9b9;
  --gut: 30px;
  --gap: 30px;
  --ease: .25s ease-in-out;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --hdr: 92px;
  --ra: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 fill=%27none%27 stroke=%27%23000%27 stroke-width=%271.1%27%3E%3Cpath d=%27M1.5 0v7.5h9%27/%3E%3Cpath d=%27M7.5 4.5l3 3-3 3%27/%3E%3C/svg%3E");                /* header + sub-nav, for anchor offsets */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.4286 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- grid ---------- */
.pg { padding: 0 var(--gut); }
.pg-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 0 var(--gut); }
.hair { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- type ---------- */
.display { font-size: clamp(40px, 6.95vw, 100px); line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.h100 { font-size: clamp(22px, 2.36vw, 34px); line-height: 1.18; font-weight: 400; }
.bodyl { font-size: 18px; line-height: 25px; }
.micro { font: 500 10px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }
.label { font-weight: 700; font-size: 16px; }

/* ---------- announcement bar ---------- */
.announce { background: var(--night); color: #fff; font-size: 16px; }
.announce .pg { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 20px; }
.announce a { text-underline-offset: 3px; }
.announce button { width: 32px; height: 32px; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #fff; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(6px); }
.hdr-row { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-top: 12px; }
/* the wordmark, the slash and the page name share one centre line and one size (the wordmark's: --mark * .72) */
.crumb { --mark: 25px; display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumb .sep, .crumb .here { color: var(--muted); font-size: calc(var(--mark, 25px) * .72); line-height: 1; white-space: nowrap; }
.crumb .here { overflow: hidden; text-overflow: ellipsis; }
.hdr-actions { display: flex; align-items: center; gap: 30px; }
.btn-o {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 205px; height: 40px; padding: 0 22px;
  border: 1px solid var(--line-input); text-decoration: none; font-size: 16px; white-space: nowrap; transition: background var(--ease), color var(--ease);
}
.btn-o:hover { background: var(--ink); color: #fff; }
.btn-o.light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-o.light:hover { background: #fff; color: var(--ink); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-input); }
.icon-btn span, .icon-btn span::before, .icon-btn span::after { display: block; width: 18px; height: 1px; background: currentColor; position: relative; content: ""; }
.icon-btn span::before { position: absolute; top: -6px; } .icon-btn span::after { position: absolute; top: 6px; }
.subnav { display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; padding: 6px 0 12px; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { color: var(--muted); text-decoration: none; white-space: nowrap; transition: color var(--ease); }
.subnav a:hover, .subnav a.on { color: var(--ink); }

/* The brand lockup: the OS monogram stays as drawn; the wordmark is set in the site font (Geist), like the nav
   (Karl, 9 Nov 2026; it was Bodoni Moda ExtraBold before). */
.brand {
  --mark: 25px; display: inline-flex; align-items: center; gap: calc(var(--mark) * .40);
  text-decoration: none; color: var(--ink); font-family: var(--font); font-weight: 500;
  font-size: calc(var(--mark) * .72); letter-spacing: -.01em; line-height: 1; white-space: nowrap;
}
.brand img { height: var(--mark); width: calc(var(--mark) * 204 / 182); }
.brand span { margin-top: 0; }
.brand.light { color: #fff; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(64px, 12vw, 170px); }
.hero h1 { grid-column: 1 / 9; }
.hero .tag { grid-column: 9 / 13; padding-top: 14px; }
.hero .tag .linkrow { margin-top: 34px; }

/* ---------- media panels ---------- */
.panel { position: relative; background: var(--black); overflow: hidden; }
.panel video, .panel img { width: 100%; height: 100%; object-fit: cover; }
.panel-wide { margin-top: clamp(48px, 7vw, 100px); aspect-ratio: 16 / 9; }
.play {
  position: absolute; left: 30px; bottom: 30px; display: flex; align-items: center; gap: 0; color: #fff; font-size: 18px;
  transition: opacity var(--ease);
}
.play .sq { width: 40px; height: 40px; background: #fff; display: grid; place-items: center; }
.play .sq::before { content: ""; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.play .ln { width: 68px; height: 1px; background: #fff; margin: 0 15px; transition: width var(--ease); }
.play:hover .ln { width: 90px; }
.panel.playing .play { opacity: 0; pointer-events: none; }

/* ---------- marquee strip (kept from the old hero) ---------- */
.ticker { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker .pg { display: flex; align-items: center; gap: 30px; height: 56px; overflow: hidden; }
.ticker .micro { flex: none; color: var(--muted); }
.ticker-view { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: tick 60s linear infinite; }
.ticker-track span { white-space: nowrap; color: var(--ink); }
.ticker-track span { display: inline-flex; align-items: baseline; }
.ticker-track span::before { content: ""; width: .7em; height: .7em; margin-right: .45em; background: var(--muted); -webkit-mask: var(--ra) no-repeat center / contain; mask: var(--ra) no-repeat center / contain; align-self: center; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */
.sec { padding-top: clamp(80px, 10vw, 150px); }
.sec-head { padding-top: clamp(40px, 4.2vw, 60px); padding-bottom: clamp(40px, 7.6vw, 110px); }
.sec-head .display { grid-column: 1 / 9; grid-row: 1; }
.sec-head .aside { grid-column: 9 / 13; grid-row: 1; align-self: end; padding-bottom: 18px; }

/* Two-up: content cols 2-6 and 8-12. */
.twoup > .l { grid-column: 2 / 7; }
.twoup > .r { grid-column: 8 / 13; }
.twoup > .l-wide { grid-column: 1 / 7; }
.twoup p + p { margin-top: 22px; }
.col-top { border-top: 1px solid var(--line); padding-top: 52px; }
.col-top .h100 + * { margin-top: 26px; }

/* Link row: the main CTA. */
.linkrow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px; width: 100%;
  padding-bottom: 16px; border-bottom: 1px solid var(--ink); text-decoration: none; font-size: 18px; line-height: 25px;
  transition: color var(--ease), border-color var(--ease);
}
.linkrow::after { content: "→"; transition: transform var(--ease); padding-right: 6px; }
.linkrow:hover { color: var(--grey); border-color: var(--grey); }
.linkrow:hover::after { transform: translateX(6px); }
.linkrow + .linkrow { margin-top: 28px; }
.on-dark .linkrow { border-color: #fff; color: #fff; }
.on-dark .linkrow:hover { color: #777; border-color: #777; }

/* ↳ lists. */
.arrows { list-style: none; padding: 0; }
.arrows li { position: relative; padding-left: 28px; }
.arrows li + li { margin-top: 9px; }
.arrows li::before, .ra { content: ""; position: absolute; left: 3px; top: .32em; width: .7em; height: .7em; background: currentColor; -webkit-mask: var(--ra) no-repeat center / contain; mask: var(--ra) no-repeat center / contain; }
.ra { position: relative; display: inline-block; left: 0; top: .05em; margin-right: .45em; }
.sub { font-size: clamp(22px, 2.36vw, 34px); line-height: 1.18; font-weight: 400; }
.sub::after { content: " ↘"; }

/* Feature columns (3 or 4). */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; }
.cols .label + * { margin-top: 20px; }

/* Centred quote. */
.quote { padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(60px, 8vw, 120px); }
.quote .mk { grid-column: 3; font: 700 34px/1 var(--font); align-self: start; }
.quote .mk.r { grid-column: 10; justify-self: end; }
.quote blockquote { grid-column: 4 / 10; text-align: center; font-size: 20px; line-height: 26px; }
.quote cite { display: block; margin-top: 28px; font-style: normal; font-size: 16px; color: var(--muted); }

/* ---------- dark tabbed showcase (AIP "Beyond Chat") ---------- */
.showcase { background: var(--navy); color: var(--fog); padding: clamp(70px, 8vw, 110px) 0 clamp(70px, 8vw, 120px); }
.showcase .top { align-items: start; }
.showcase .ttl { grid-column: 1 / 6; }
.showcase .ttl h2 { font-size: 40px; line-height: 55px; font-weight: 400; }
.showcase .ttl p { color: #8b8a99; font-size: 18px; margin-top: 4px; max-width: 30ch; }
.tabset { grid-column: 6 / 13; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tab {
  width: 180px; min-height: 67px; padding: 8px; border: 1px solid var(--navy-line); border-radius: 4px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; transition: border-color var(--ease), color var(--ease);
}
.tab .t { font-size: 14px; text-transform: uppercase; letter-spacing: .01em; }
.tab .n { font-size: 20px; color: var(--navy-line); transition: color var(--ease); }
.tab:hover { border-color: #8b8a99; }
.tab[aria-selected="true"] { border-color: #fff; }
.tab[aria-selected="true"] .n { color: #fff; }
.frame { grid-column: 1 / 13; margin-top: 52px; border: 1px solid var(--navy-line); border-radius: 4px; padding: 0 30px 30px; }
.frame-bar { display: flex; justify-content: space-between; align-items: center; height: 52px; font-size: 18px; }
.frame-bar .micro { color: #8b8a99; }
.tabpanel { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 30px; }
.tabpanel[hidden] { display: none; }
.tabpanel .vid { background: var(--black); aspect-ratio: 16 / 9; }
.tabpanel .vid video { width: 100%; height: 100%; object-fit: cover; }
.tabpanel .txt p { font-size: 18px; line-height: 25px; }
.tabpanel .txt .arrows { margin-top: 26px; }
.tabpanel .txt .micro { color: #8b8a99; margin-top: 34px; display: block; }

/* ---------- light tabs (sectors) ---------- */
.ltabs { display: flex; gap: 10px; flex-wrap: wrap; grid-column: 1 / 13; }
.ltab { flex: 1 1 200px; min-height: 67px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; transition: border-color var(--ease); }
.ltab .t { font-size: 14px; text-transform: uppercase; }
.ltab .n { font-size: 20px; color: #c9c9c9; transition: color var(--ease); }
.ltab:hover { border-color: var(--grey); }
.ltab[aria-selected="true"] { border-color: var(--ink); }
.ltab[aria-selected="true"] .n { color: var(--ink); }
.lpanel { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 52px; }
.lpanel[hidden] { display: none; }
.lpanel .vid { grid-column: 1 / 8; background: var(--black); aspect-ratio: 16 / 9; align-self: start; }
.lpanel .vid video { width: 100%; height: 100%; object-fit: cover; }
.lpanel .txt { grid-column: 8 / 13; }
.lpanel .firm { padding: 18px 0; border-top: 1px solid var(--line); }
.lpanel .firm:first-child { border-top: 0; padding-top: 0; }
.lpanel .firm h3 { font-size: 18px; line-height: 25px; font-weight: 400; }
.lpanel .firm p { color: var(--muted); margin-top: 4px; }
.lpanel .firm .sig { margin-top: 8px; font: 500 11px/16px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.lpanel .firm .sig::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 7px; background: currentColor; -webkit-mask: var(--ra) no-repeat center / contain; mask: var(--ra) no-repeat center / contain; }

/* ---------- stepped approach with counters ---------- */
.step { padding-top: 40px; padding-bottom: 70px; }
.counter { grid-column: 1 / 7; display: flex; align-items: center; gap: 10px; font-size: 20px; color: #bdbdbd; }
.counter .on { color: var(--ink); }
.counter .bar { flex: 1; height: 1px; background: var(--ink); }
.counter .tick { width: 22px; height: 1px; background: #bdbdbd; }
.step h3 { grid-column: 1 / 7; margin-top: 40px; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.02em; font-weight: 400; }
.step .txt { grid-column: 8 / 13; margin-top: 40px; }
.step .txt p { font-size: 18px; line-height: 25px; }
.gate { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; border: 1px solid var(--grey); border-radius: 999px; padding: 6px 16px; font: 500 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.gate::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

/* ---------- dark rows (Offerings index style) ---------- */
.rows { background: var(--night); color: #fff; padding: clamp(70px, 8vw, 120px) 0 clamp(40px, 5vw, 80px); }
.rows .sec-head { padding-top: 0; }
.rows .sec-head .aside { color: #a9a9a9; }
.showcase .arrows li::before { background: #fff; }
.row { padding: 40px 0 46px; border-top: 1px solid #4a4d51; align-items: start; }
.row h3 { grid-column: 1 / 6; font-size: clamp(22px, 1.95vw, 28px); line-height: 1.2; font-weight: 400; }
.row h3 { position: relative; padding-left: 1.1em; }
.row h3::before { content: ""; position: absolute; left: 0; top: .3em; width: .62em; height: .62em; background: currentColor; -webkit-mask: var(--ra) no-repeat center / contain; mask: var(--ra) no-repeat center / contain; }
.row p { grid-column: 6 / 11; color: #cfcfcf; }

/* ---------- about ---------- */
.portrait { grid-column: 2 / 7; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(1); }
.creds { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: 26px; margin-top: 40px; }
.creds h3 { font-size: 16px; font-weight: 700; }
.creds p { color: var(--muted); margin-top: 4px; }

/* ---------- CTA panel ---------- */
.cta-panel { margin-top: clamp(80px, 10vw, 150px); background: var(--night); color: #fff; text-align: center; padding: clamp(64px, 8vw, 120px) 30px; }
.cta-panel .micro { color: var(--label-dark); }
.cta-panel h2 { margin: 18px auto 0; max-width: 18ch; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.015em; font-weight: 400; }
.cta-panel p { margin: 22px auto 0; max-width: 60ch; color: #c9c9c9; }
.cta-panel .btn-o { margin-top: 36px; }
.cta-panel small { display: block; margin-top: 16px; color: #9a9a9a; font-size: 14px; }

/* ---------- contact ---------- */
.contact .l { grid-column: 1 / 7; }
.contact .r { grid-column: 8 / 13; padding-top: 18px; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(100px, 14vw, 200px); padding-bottom: 60px; }
.foot .who { grid-column: 1 / 4; }
.foot .who p { font-size: 16px; line-height: 1.6; }
.foot .who .hair { margin: 22px 0; }
.pills { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pills a { width: 164px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-input); border-radius: 999px; text-decoration: none; text-transform: uppercase; font-size: 15px; transition: background var(--ease), color var(--ease); }
.pills a:hover { background: var(--ink); color: #fff; }
.foot .links { grid-column: 5 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
.foot .links .micro { color: var(--muted); }
.foot .links ul { list-style: none; padding: 0; margin-top: 18px; }
.foot .links li + li { margin-top: 8px; }
.foot .links a { text-decoration: none; font-size: 16px; transition: color var(--ease); }
.foot .links a:hover { color: var(--muted); }
.foot .base { grid-column: 1 / 13; margin-top: 80px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- menu overlay ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: var(--night); color: #fff; overflow-y: auto; overflow-x: hidden; opacity: 0; visibility: hidden; transition: opacity var(--ease), visibility var(--ease); }
.menu.open { opacity: 1; visibility: visible; }
.menu .hdr-row .btn-o { border-color: rgba(255,255,255,.7); }
.menu .icon-btn { border-color: rgba(255,255,255,.7); font-size: 22px; }
.menu-cols { margin-top: 50px; padding-bottom: 60px; }
.menu-cols > div { border-top: 1px solid #4a4d51; padding-top: 22px; }
.menu-cols > div:nth-child(1) { grid-column: 1 / 5; }
.menu-cols > div:nth-child(2) { grid-column: 5 / 9; }
.menu-cols > div:nth-child(3) { grid-column: 9 / 13; }
.menu-cols .micro { color: var(--label-dark); }
.menu-cols nav { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; }
.menu-cols nav a { font-size: 34px; line-height: 1.2; text-decoration: none; transition: color var(--ease); }
.menu-cols nav a.child::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .4em; background: currentColor; -webkit-mask: var(--ra) no-repeat center / contain; mask: var(--ra) no-repeat center / contain; }
.menu-cols nav a:hover { color: #8d8d8d; }
.menu-cols p { margin-top: 30px; font-size: 20px; line-height: 1.35; }
.menu-cols .linkrow { margin-top: 30px; }

/* ---------- letter reveal for section titles ---------- */
.reveal .w { display: inline-block; white-space: nowrap; }
.reveal .ch { opacity: 0; transition: opacity .18s linear; }
.reveal.in .ch { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reveal .ch { opacity: 1; transition: none; } }

/* ---------- mobile bottom bar ---------- */
.bottombar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { grid-column: 1 / 13; }
  .hero .tag { grid-column: 1 / 10; padding-top: 30px; }
  .tabset { grid-column: 1 / 13; justify-content: flex-start; margin-top: 30px; }
  .showcase .ttl { grid-column: 1 / 13; }
  .tabpanel { grid-template-columns: 1fr; }
  .lpanel .vid, .lpanel .txt { grid-column: 1 / 13; }
  .lpanel .txt { margin-top: 36px; }
  .foot .who { grid-column: 1 / 13; }
  .foot .links { grid-column: 1 / 13; margin-top: 60px; }
}
@media (max-width: 768px) {
  :root { --gut: 16px; --gap: 16px; --hdr: 96px; }
  .hdr-actions { display: none; }
  .hdr-row { height: 52px; padding-top: 10px; }
  .brand, .crumb { --mark: 21px; }
  .crumb .here { max-width: 46vw; }
  .announce { font-size: 14px; }
  .announce .pg { min-height: 48px; }
  .hero .tag { grid-column: 1 / 13; padding-left: 0; }
  .twoup > .l, .twoup > .r, .twoup > .l-wide, .contact .l, .contact .r, .portrait { grid-column: 1 / 13; }
  .twoup > .r, .contact .r { margin-top: 48px; }
  .twoup > .l { padding-left: 32px; }
  .sec-head .display { grid-column: 1 / 13; }
  .sec-head .aside { grid-column: 1 / 13; grid-row: 2; padding-top: 18px; padding-left: 32px; }
  .frame-bar { flex-direction: column; align-items: flex-start; justify-content: center; height: auto; padding: 14px 0; gap: 4px; }
  .cols { --n: 1 !important; }
  .quote .mk { display: none; }
  .quote blockquote { grid-column: 1 / 13; }
  .tab { width: calc(50% - 5px); }
  .frame { padding: 0 14px 14px; }
  .ltab { flex: 1 1 calc(50% - 5px); }
  .counter, .step h3, .step .txt { grid-column: 1 / 13; }
  .step .txt { margin-top: 24px; }
  .row h3, .row p { grid-column: 1 / 13; }
  .row p { margin-top: 14px; padding-left: 28px; }
  .creds { grid-template-columns: 1fr; }
  .foot .links { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .menu-cols > div { grid-column: 1 / 13 !important; margin-top: 30px; }
  .menu-cols nav a { font-size: 28px; }
  .menu .hdr-actions .btn-o { display: none; }
  .play { left: 16px; bottom: 16px; font-size: 16px; }
  .play .ln { width: 40px; margin: 0 12px; }
  body { padding-bottom: 64px; }
  .bottombar {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 12px; z-index: 60; gap: 0; align-items: stretch;
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  }
  .bottombar .icon-btn { width: 44px; height: 44px; background: #fff; }
  .bottombar .btn-o { margin-left: auto; min-width: 0; height: 44px; background: #fff; }
}

/* Page-specific: the hero line is longer than Palantir's, so it runs a size down. */
.hero-h1 { font-size: clamp(40px, 6.1vw, 88px); line-height: 1.1; }
.rows .row.pg-grid { padding-left: 0; padding-right: 0; }
.pg-grid > * { min-width: 0; }
.linkrow { overflow-wrap: anywhere; }
@media (max-width: 480px) { .crumb .sep, .crumb .here { display: none; } }


/* =====================================================================
   Variant A ("the platform"): diagram panels, layer sections, apps copy,
   questions, and the /platform page components.
   ===================================================================== */
:root { --diagram: #f8f8f8; }

/* Diagram panels: the isometric renders sit on their own light ground, at their own ratio. */
.panel-diagram { background: var(--diagram); aspect-ratio: auto; }
.panel-diagram img { height: auto; object-fit: contain; }
.fig { margin: 0; }
.fig img { width: 100%; height: auto; background: var(--diagram); }
.figcap { display: block; margin-top: 14px; color: var(--muted); }
.figcap::before { content: "\2196\00a0"; }

/* Hero stack: optional scroll assembly from stack-layers.json (transform only). */
.stackfig { position: relative; }
.stack-layers { position: absolute; inset: 0; pointer-events: none; }
.stack-layers img { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.stackfig.assembling .stack-still { opacity: 0; }

/* Who we work with: one sentence under the hero, in place of the old ticker. */
.whom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.whom .pg-grid { align-items: baseline; padding-top: 18px; padding-bottom: 18px; }
.whom .micro { grid-column: 1 / 3; color: var(--muted); }
.whom p { grid-column: 3 / 13; font-size: 18px; line-height: 25px; }

/* Problem statement under the Platform title. */
.problem .l { grid-column: 1 / 7; }
.problem .r { grid-column: 8 / 13; }
.problem .r .arrows li + li { margin-top: 14px; }
.problem .r .arrows b { font-weight: 700; }
.problem .note { margin-top: 34px; font-size: 18px; line-height: 25px; }

/* One section per layer: counter, then text (cols 1-5) beside its close-up (cols 7-12). */
.layer { padding-top: clamp(70px, 8vw, 120px); }
.layer .counter { grid-column: 1 / 13; }
.layer .lt { grid-column: 1 / 6; margin-top: 44px; }
.layer .lt .micro { color: var(--muted); }
.layer .lt h3 { margin-top: 14px; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -.02em; font-weight: 400; }
.layer .lt .arrows { margin-top: 30px; font-size: 18px; line-height: 25px; }
.layer .lt .arrows li + li { margin-top: 14px; }
.layer .lt .arrows li::before { top: .4em; }
.layer .lt .linkrow { margin-top: 36px; }
.layer .lf { grid-column: 7 / 13; margin-top: 44px; }

/* Signal -> decision flow. */
.flow { padding-top: clamp(90px, 10vw, 150px); }
.flow .head { grid-column: 1 / 13; }
.flow .steps { grid-column: 1 / 13; list-style: none; padding: 0; margin-top: 34px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gap); counter-reset: st; }
.flow .steps li { border-top: 1px solid var(--line); padding-top: 14px; counter-increment: st; }
.flow .steps li::before { content: "0." counter(st); display: block; font-size: 20px; color: #bdbdbd; margin-bottom: 10px; }
.flow .wide { grid-column: 1 / 13; margin-top: 48px; }
.flow .more { grid-column: 8 / 13; margin-top: 48px; }

/* Apps showcase copy: buyer, Today / With, the decision. */
.tabpanel .txt .who { display: block; color: #8b8a99; margin-bottom: 14px; }
.tw { margin: 22px 0 0; border-top: 1px solid var(--navy-line); }
.tw div { padding: 12px 0; border-bottom: 1px solid var(--navy-line); }
.tw dt { font: 500 10px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8b8a99; }
.tw dd { margin: 4px 0 0; font-size: 15px; line-height: 21px; color: #d9d9e0; }
.tabpanel .txt .arrows { margin-top: 22px; }

/* How We Work: the free first step gets an open dot. */
.gate.free::before { background: transparent; border: 1px solid var(--ink); }

/* Proof columns. */
.proof { --n: 4; grid-column: 1 / 13; }
.proof > div { border-top: 1px solid var(--line); padding-top: 18px; }
.proof p:not(.label) { color: var(--muted); }

/* Questions (the price FAQ). */
.faq { grid-column: 1 / 13; margin-top: clamp(70px, 8vw, 120px); }
.faq .sub { margin-bottom: 30px; }
.faq .qa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 22px 0 26px; border-top: 1px solid var(--line); }
.faq .qa h3 { grid-column: 1 / 6; font-size: 18px; line-height: 25px; font-weight: 400; }
.faq .qa p { grid-column: 7 / 13; color: var(--muted); }
.faq .qa:last-child { border-bottom: 1px solid var(--line); }

/* ---------- /platform ---------- */
.statement { padding-top: clamp(80px, 10vw, 150px); }
.statement p { grid-column: 1 / 11; font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -.01em; }
.levels { grid-column: 1 / 13; margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid var(--line); }
.levels a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: color var(--ease); align-items: baseline; }
.levels a:hover { color: var(--grey); }
.levels .n { grid-column: 1 / 2; font-size: 20px; color: #bdbdbd; }
.levels .k { grid-column: 2 / 6; font: 500 13px/18px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.levels .d { grid-column: 6 / 12; }
.levels a::after { content: "→"; grid-column: 12 / 13; justify-self: end; transition: transform var(--ease); }
.levels a:hover::after { transform: translateX(6px); }
.cards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: var(--gap); row-gap: 44px; grid-column: 1 / 13; }
.cards > div { border-top: 1px solid var(--line); padding-top: 18px; }
.cards h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; font-weight: 400; }
.cards p { margin-top: 14px; color: var(--muted); }
.wide-fig { grid-column: 1 / 13; }
.duo { margin-top: clamp(60px, 8vw, 110px); align-items: start; }
.duo .df { grid-column: 1 / 7; }
.duo .dt { grid-column: 8 / 13; }
.duo .df2 { grid-column: 7 / 13; }
.duo .dt > .micro { color: var(--muted); }
.duo .dt h3 { margin-top: 12px; }
.duo .dt p { margin-top: 14px; }
/* A property sheet (an object, or a decision log): hairline rows, mono keys. */
.sheet-wrap { overflow-x: auto; }
.sheet { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.sheet th, .sheet td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.sheet thead th, .sheet th[scope="row"] { font: 500 10px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 13px; }
.sheet thead th { border-bottom-color: var(--ink); }
.sheet .chip { display: inline-block; font: 500 10px/16px var(--mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--grey); border-radius: 999px; padding: 1px 8px; margin: 0 4px 4px 0; white-space: nowrap; }
.heads { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 50px; }
.heads > div { border-top: 1px solid var(--line); padding-top: 18px; }
.heads h3 { font-size: clamp(24px, 2.36vw, 34px); line-height: 1.18; font-weight: 400; }
.heads p { margin-top: 16px; color: var(--muted); max-width: 46ch; }
.close2 { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(100px, 12vw, 180px); }
.close2 a { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; min-height: clamp(180px, 20vw, 300px); padding: 30px; text-decoration: none; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.01em; }
.close2 a::after { content: "→"; transition: transform var(--ease); }
.close2 a:hover::after { transform: translateX(8px); }
.close2 .grey { background: var(--fog); color: var(--ink); }
.close2 .dark { background: var(--ink); color: #fff; }

@media (max-width: 1100px) {
  .layer .lt, .layer .lf { grid-column: 1 / 13; }
  .flow .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .flow .more { grid-column: 1 / 13; }
  .cards, .proof { --n: 2; }
  .duo .df, .duo .dt, .duo .df2 { grid-column: 1 / 13; }
  .duo .dt, .duo .df2 { margin-top: 40px; }
}
@media (max-width: 768px) {
  .whom .micro, .whom p { grid-column: 1 / 13; }
  .whom p { margin-top: 6px; font-size: 16px; line-height: 22px; }
  .problem .l, .problem .r { grid-column: 1 / 13; }
  .problem .r { margin-top: 36px; padding-left: 32px; }
  .layer .lt .arrows { font-size: 16px; line-height: 22px; }
  .layer .counter { font-size: 16px; gap: 6px; }
  .layer .counter .tick { width: 10px; }
  .flow .steps { grid-template-columns: 1fr; }
  .faq .qa h3, .faq .qa p { grid-column: 1 / 13; }
  .faq .qa p { margin-top: 8px; }
  .levels .n { grid-column: 1 / 3; }
  .levels .k { grid-column: 3 / 12; }
  .levels .d { grid-column: 3 / 13; margin-top: 6px; color: var(--muted); }
  .levels a::after { grid-column: 12 / 13; grid-row: 1; }
  .cards, .proof { --n: 1; }
  .heads { grid-template-columns: 1fr; }
  .close2 { grid-template-columns: 1fr; }
  .close2 a { padding: 22px 16px; }
  .sheet { font-size: 14px; }
}


/* =====================================================================
   Revision (narrative section 11): demo film, four layers, compact steps.
   ===================================================================== */

/* Demo film: poster with the Play control; the Loom embed replaces it on Play. */
.demo { padding-top: clamp(70px, 8vw, 120px); }
.demo .dh { grid-column: 1 / 8; }
.demo .dm { grid-column: 9 / 13; align-self: end; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); justify-content: flex-end; }
.panel-demo { margin-top: 30px; aspect-ratio: 16 / 9; }
.panel-demo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.panel-demo .soon { position: absolute; right: 30px; bottom: 38px; color: #fff; }
.play[disabled] { cursor: default; opacity: .55; }
.play[disabled]:hover .ln { width: 68px; }
.panel-demo.playing .soon, .panel-demo.playing img { display: none; }

/* Layer 0.3: the command centres carry the navy tabbed showcase inside the layer. */
.layer-cmd .showcase { margin-top: clamp(50px, 6vw, 80px); }
.layer .lt .plain { margin-top: 14px; font-size: 20px; line-height: 26px; color: var(--muted); }
.layer .lt .plain + .arrows { margin-top: 26px; }
.layer .after { grid-column: 7 / 13; margin-top: clamp(50px, 6vw, 80px); }

/* How we work: one compact row of four steps. */
.steps4 { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.steps4 > div { border-top: 1px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; }
.steps4 .n { font-size: 20px; color: #bdbdbd; }
.steps4 h3 { margin-top: 18px; font-size: clamp(24px, 2.36vw, 34px); line-height: 1.18; font-weight: 400; }
.steps4 p { margin-top: 12px; color: var(--muted); flex: 1; }
.steps4 .gate { align-self: flex-start; margin-top: 20px; }

/* About: a smaller, squarer portrait, never taller than the text beside it. */
.portrait.p45 { grid-column: 2 / 6; aspect-ratio: 1 / 1; height: auto; object-position: 50% 30%; }
.about-txt { grid-column: 7 / 13; }

@media (max-width: 1100px) {
  .demo .dh, .demo .dm { grid-column: 1 / 13; }
  .demo .dm { justify-content: flex-start; margin-top: 14px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer .after { grid-column: 1 / 13; }
  .portrait.p45 { grid-column: 1 / 6; }
  .about-txt { grid-column: 7 / 13; }
}
@media (max-width: 768px) {
  .panel-demo .soon { right: auto; left: 16px; bottom: 70px; }
  .steps4 { grid-template-columns: 1fr; row-gap: 30px; }
  .portrait.p45 { grid-column: 1 / 9; }
  .about-txt { grid-column: 1 / 13; margin-top: 36px; }
  .layer .lt .plain { font-size: 18px; line-height: 24px; }
}
.panel-demo.is-soon img { opacity: .35; }
.panel-demo .soon { font-size: 12px; letter-spacing: .1em; }

/* How it fits together: the read/write platform drawing (white artwork, hairline frame) */
.fit { margin-top: clamp(80px, 10vw, 150px); row-gap: 30px; }
.fit-head { grid-column: 1 / -1; }
.fit-head h3 { margin: 10px 0 0; font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18; letter-spacing: -0.01em; }
.fit-fig { grid-column: 1 / -1; margin: 0; }
.fit-fig img { display: block; width: 100%; height: auto; }

/* 0.5 Security & Governance and 0.6 Software Delivery: one compact two-up row with small close-ups. */
.base2 .b2 { grid-column: 1 / 6; margin-top: 44px; }
.base2 .b2 + .b2 { grid-column: 7 / 12; }
.base2 .b2 .fig { margin-bottom: 22px; }
.base2 .b2 .micro { color: var(--muted); }
.base2 .b2 h3 { margin-top: 10px; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.015em; font-weight: 400; }
.base2 .b2 .arrows { margin-top: 18px; }
.base2 .b2 .arrows li + li { margin-top: 10px; }
.base2 .after { grid-column: 7 / 13; }
@media (max-width: 768px) {
  .base2 .b2, .base2 .b2 + .b2 { grid-column: 1 / 13; }
  .base2 .b2 + .b2 { margin-top: 56px; }
}
@media (max-width: 1100px) { .base2 .after { grid-column: 1 / 13; } }

/* The OS logo set inline in running text (we never type "OS" as words; Karl, 2026-11-07) */
.os-inline { display: inline-block; height: 0.95em; width: auto; vertical-align: -0.1em; margin-right: 0.04em; }

/* Keep the big drawings within one screen (Karl, 2026-11-07: the hero diagram took too much scrolling).
   The panel stays full width; the drawing is centred in it, no taller than ~78% of the viewport. */
.stackfig { --stack-w: min(100%, 920px, calc(78vh * 1.2)); padding-inline: calc((100% - var(--stack-w)) / 2); }
.stackfig .stack-still img { display: block; width: 100%; }
.stack-layers { left: calc((100% - var(--stack-w)) / 2); right: calc((100% - var(--stack-w)) / 2); }
.fit-fig img { width: min(100%, 1180px, calc(86vh * 1.494)); margin-inline: auto; }
@media (max-width: 768px) { .stackfig { padding-inline: 0; } .stack-layers { left: 0; right: 0; } }

/* ---------- Free demo page (demo.html) and its CTA (Karl, 2026-11-08) ---------- */
a.gate.cta { text-decoration: none; color: var(--ink); border-color: var(--ink); transition: background var(--ease), color var(--ease); }
a.gate.cta::after { content: "→"; margin-left: 2px; }
a.gate.cta:hover { background: var(--ink); color: #fff; }
a.gate.cta:hover::before { border-color: #fff; }
.steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-demo .layer-cmd .showcase { margin-top: 0; }

.btn-s { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 205px; height: 44px; padding: 0 26px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); font-size: 16px; white-space: nowrap; transition: background var(--ease), color var(--ease); }
.btn-s::after { content: "→"; }
.btn-s:hover { background: #fff; color: var(--ink); }
.btn-s:disabled { opacity: .5; cursor: progress; }

.apply { grid-column: 3 / 11; }
.apply [hidden] { display: none !important; }
.apply fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.apply-top { position: sticky; top: calc(var(--hdr) + 4px); z-index: 2; background: var(--paper); padding: 12px 0 0; }
.apply-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.apply-steps li { font: 500 10px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #bdbdbd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-steps li span { margin-right: 6px; }
.apply-steps li.on { color: var(--muted); }
.apply-steps li.now { color: var(--ink); }
.apply-bar { height: 1px; background: var(--line); margin-top: 10px; }
.apply-bar span { display: block; height: 1px; background: var(--ink); width: 0; transition: width .4s ease; }
.apply .q-h { display: block; padding: 0; margin: 54px 0 10px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.01em; font-weight: 400; }
.apply .q { margin-top: 38px; }
.apply .q-l { font-size: 18px; line-height: 25px; margin-bottom: 14px; }
.apply .row2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.apply .row2 .q { margin-top: 30px; }
.apply .fld { display: block; margin-top: 30px; }
.apply .fld .micro { display: block; color: var(--muted); text-transform: none; letter-spacing: .02em; font-size: 12px; line-height: 17px; }
.apply input:not([type="radio"]):not([type="checkbox"]), .apply textarea {
  display: block; width: 100%; margin-top: 8px; padding: 8px 0 9px; border: 0; border-bottom: 1px solid var(--line-input); border-radius: 0;
  background: transparent; color: var(--ink); font: 400 18px/25px var(--font); outline: none; transition: border-color var(--ease); }
.apply textarea { resize: vertical; min-height: 150px; border: 1px solid var(--line-input); padding: 12px 14px; margin-top: 12px; }
.apply input:focus, .apply textarea:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.apply textarea:focus { box-shadow: none; outline: 1px solid var(--ink); }
.apply input::placeholder, .apply textarea::placeholder { color: #b5b5b5; }
.apply .hint { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 18px; }
.apply .team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.apply .team .fld { margin-top: 18px; }
.apply input[type="number"] { -moz-appearance: textfield; }
.apply input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* option chips: radio / checkbox as hairline pills */
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts label { position: relative; cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; line-height: 20px; transition: border-color var(--ease), background var(--ease), color var(--ease); }
.opts span::before { content: ""; flex: none; width: 9px; height: 9px; border: 1px solid var(--muted); border-radius: 50%; transition: background var(--ease), border-color var(--ease); }
.opts input[type="checkbox"] + span::before { border-radius: 1px; }
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opts input:checked + span::before { background: #fff; border-color: #fff; }
.opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opts-col { flex-direction: column; align-items: flex-start; }
.opts-col span { border-radius: 4px; }

.apply .consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 40px; font-size: 14px; line-height: 20px; color: var(--muted); cursor: pointer; }
.apply .consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.apply-err { margin-top: 30px; padding: 12px 16px; border-left: 2px solid #c4432b; background: #fbf1ef; color: #7a2a1b; font-size: 15px; }
.apply-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); }
.apply-nav [data-back] { margin-right: auto; }
.apply-nav [data-next], .apply-nav [data-submit] { margin-left: auto; }
.apply .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-out { padding-top: 40px; border-top: 1px solid var(--ink); outline: none; }
.apply-out .h100 { margin-top: 16px; }
.apply-out p { margin-top: 18px; max-width: 60ch; font-size: 18px; line-height: 25px; color: var(--muted); }
.apply-out .linkrow { margin-top: 34px; }
.linkrow.as-btn { width: 100%; text-align: left; font-size: inherit; }

@media (max-width: 1100px) {
  .apply { grid-column: 1 / 13; }
  .apply-steps li { font-size: 0; }
  .apply-steps li span { font-size: 10px; margin: 0; }
  .apply-steps li.now { font-size: 10px; }
  .apply-steps li.now span { margin-right: 6px; }
}
@media (max-width: 768px) {
  .steps3 { grid-template-columns: 1fr; }
  .apply .row2, .apply .team { grid-template-columns: 1fr; }
  .apply .team { grid-template-columns: 1fr 1fr; }
  .apply-steps { grid-template-columns: repeat(6, auto); justify-content: space-between; }
  .apply-nav .btn-s, .apply-nav .btn-o { min-width: 0; flex: 1; }
  .opts span { font-size: 14px; }
}

/* Demo page v2 (Karl, 2026-11-08: one compact hero with the demo films, a small video, then the questions at once) */
.page-demo { --hdr: 76px; }
.dhero { padding-top: clamp(28px, 4vw, 56px); }
.dhero .pg-grid { align-items: center; row-gap: 36px; }
.dh-txt { grid-column: 1 / 6; }
.dh-txt .micro { color: var(--muted); }
.dh-txt h1 { margin-top: 14px; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.08; letter-spacing: -.02em; font-weight: 400; }
.dh-txt .arrows { margin-top: 24px; font-size: 17px; line-height: 24px; }
.dh-txt .btn-s { margin-top: 30px; text-decoration: none; }
.dh-vis { grid-column: 6 / 13; display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.dv { position: relative; margin: 0; background: var(--navy); overflow: hidden; aspect-ratio: 16 / 9; }
.dv-main { grid-row: span 2; aspect-ratio: auto; }
.dv video { width: 100%; height: 100%; object-fit: cover; }
.dv figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 18px 12px 8px;
  background: linear-gradient(transparent, rgba(10,10,12,.75)); color: #fff; font: 500 10px/14px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dv figcaption span + span { color: #b9b9b9; }
.dform { padding-top: clamp(36px, 4vw, 56px); }
.dform .pg-grid { align-items: center; }
.dvid { grid-column: 3 / 7; }
.dvid .panel-demo { margin-top: 0; }
.dvid .panel-demo .soon { right: 14px; bottom: 14px; font-size: 10px; }
.dvid .panel-demo .play { left: 14px; bottom: 14px; transform: scale(.8); transform-origin: left bottom; }
.dvid-txt { grid-column: 7 / 11; }
.dvid-txt .micro { color: var(--muted); }
.dvid-txt p { margin-top: 8px; font-size: 17px; line-height: 24px; }
.page-demo .apply { margin-top: clamp(20px, 2.5vw, 36px); }
.page-demo .apply .q-h { margin-top: 36px; }
@media (max-width: 1100px) {
  .dh-txt, .dh-vis { grid-column: 1 / 13; }
  .dvid { grid-column: 1 / 7; } .dvid-txt { grid-column: 7 / 13; }
}
@media (max-width: 768px) {
  .dvid, .dvid-txt { grid-column: 1 / 13; }
  .dvid-txt { margin-top: 12px; }
  .dh-vis { grid-template-columns: 1fr 1fr; }
  .dv-main { grid-column: 1 / 3; grid-row: auto; aspect-ratio: 16 / 9; }
}
.dform { padding-top: clamp(24px, 3vw, 40px); }
.dvid { grid-column: 3 / 6; }
.dvid-txt { grid-column: 6 / 11; padding-left: 10px; }
.page-demo .apply .fld { margin-top: 22px; }
.page-demo .apply .q { margin-top: 30px; }
.page-demo .apply-nav { margin-top: 36px; }
@media (max-width: 1100px) { .dvid { grid-column: 1 / 6; } .dvid-txt { grid-column: 6 / 13; } }
@media (max-width: 768px) { .dvid, .dvid-txt { grid-column: 1 / 13; padding-left: 0; } }
.dvid .panel-demo .play { font-size: 0; }
.dvid .panel-demo .play .ln { display: none; }
@media (max-width: 768px) { .dh-vis .dv:not(.dv-main) { display: none; } .dv-main { grid-column: 1 / 3; } }
.dvid .panel-demo .soon { top: 14px; bottom: auto; }
.page-demo .saved-note { margin-top: 28px; } .page-demo .saved-note a { color: inherit; }

/* ---- demo form v3 (9 Nov): quality note, symptom grid, systems, promise, part 2 ---- */
.dh-txt .promise { margin-top: 24px; font-size: 17px; line-height: 24px; border-left: 2px solid var(--ink); padding-left: 14px; }
.dh-txt .for-who { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted); }
.apply .quality { margin-top: 30px; padding: 14px 18px; background: #f4f4f2; font-size: 16px; line-height: 23px; }
.apply .quality span { color: var(--muted); }
.apply .q-l .qsub { color: var(--muted); font-size: 15px; margin-left: 6px; }
.apply .sym { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; }
.apply .sym-h, .apply .grp-h { font: 500 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.apply .opts-col { gap: 8px; }
.apply .opts-col { align-items: stretch; }
.apply .opts-col label { display: block; width: 100%; }
.apply .opts-col > label > span { display: flex; width: 100%; text-align: left; }
.apply .opts-col .t { flex: 1; font-style: normal; }
.apply .opts-col span span { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: inherit; }
.apply .opts-col span span::before, .apply .q-l span::before, .apply .grp-h span::before { content: none; }
.apply .donot { margin-top: 34px; }
.apply .donot summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.apply .promise-line { margin-top: 34px; font-size: 17px; line-height: 24px; border-left: 2px solid var(--ink); padding-left: 14px; }
.apply .send-note { margin-top: 12px; text-align: right; }
.apply .sharper { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.apply .sharper > p { margin-top: 14px; max-width: 60ch; font-size: 17px; line-height: 24px; color: var(--muted); }
.apply .grp { margin-top: 44px; }
.apply .grp .q { margin-top: 22px; }
.apply .upl { position: relative; display: inline-flex; margin-top: 6px; cursor: pointer; overflow: hidden; }
.apply .upl input[type="file"] { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; padding: 0; border: 0; }
.apply .upl span { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; font-size: 15px; }
.apply .upl:hover span { background: var(--ink); color: #fff; }
.apply [data-extra-done] { margin-top: 44px; }
.apply .sharper-done { margin-top: 30px; font-size: 18px; }
@media (max-width: 900px) { .apply .sym { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .apply .row2 { grid-template-columns: 1fr; } .apply .send-note { text-align: left; } }
.apply .tool-search { margin-top: 16px; max-width: 360px; }
.apply [data-tool-results] { margin-top: 10px; }
.apply [data-tool-results]:empty { display: none; }
.apply .btype-opts { max-width: 640px; }

/* ---------- Ontology mini-map (#ontology; ontology-map.js) ----------
   A pill toggle picks the business model; the map is an SVG, inlined so its parts can move: objects appear,
   links draw in, then an action pulse walks the path with one caption at a time. Monochrome, slow. */
.omap-tabs { display: inline-flex; max-width: 100%; border: 1px solid var(--grey); border-radius: 999px; padding: 2px; margin-bottom: 16px; }
.omap-tabs [role="tab"] { font-size: 12px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; padding: 10px 14px; border-radius: 999px; white-space: nowrap; transition: background var(--ease), color var(--ease); }
.omap-tabs [role="tab"]:hover { color: var(--muted); }
.omap-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }
.omap-stage { background: var(--diagram); aspect-ratio: 994 / 631; }
.omap-stage img, .omap-stage svg { display: block; width: 100%; height: auto; }
.omap-cap { min-height: 16px; transition: opacity .25s ease; }
.omap-cap.out { opacity: 0; }
.om-live .om-l { vector-effect: none; stroke-width: calc(var(--om-u, 1) * .9px); transition: stroke-dashoffset .9s ease-in-out; }
.om-live .om-r { vector-effect: none; stroke-width: calc(var(--om-u, 1) * .75px); transform-box: fill-box; transform-origin: center; transition: opacity .7s ease, transform .8s ease, stroke .6s ease; }
.om-live .om-o { transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.om-live .om-t { transition: opacity .6s ease, fill .5s ease; }
.om-pre .om-o { opacity: 0; transform: translateY(calc(var(--om-u, 1) * -10px)); }
.om-pre .om-r { opacity: 0; transform: scale(.85); }
.om-pre .om-t { opacity: 0; }
.om-live .om-r.on { stroke: var(--ink); }
.om-live .om-t.on { fill: var(--ink); }
.om-lit { fill: none; stroke: var(--ink); stroke-width: calc(var(--om-u, 1) * 1.1px); stroke-linecap: round; stroke-linejoin: round; transition: opacity .8s ease; }
.om-dot { fill: var(--ink); transition: opacity .8s ease; }
.om-halo { fill: var(--ink); opacity: .1; transition: opacity .8s ease; }
.om-rip { fill: none; stroke: var(--ink); stroke-width: calc(var(--om-u, 1) * .75px); opacity: .45; transform-box: fill-box; transform-origin: center; transition: transform 1.5s ease-out, opacity 1.5s ease-out; }
.om-rip.go { transform: scale(1.3); opacity: 0; }
.om-rest .om-lit, .om-rest .om-dot, .om-rest .om-halo { opacity: 0; }
/* Small screens: the map zooms to its objects (the SVG's data-crop: 628 x 446 of the 994 x 631 frame, at 286,177
   from 103,113). The still <img> takes the same crop, so nothing jumps when the live map replaces it. */
@media (max-width: 600px) {
  .omap-stage { position: relative; overflow: hidden; aspect-ratio: 628 / 446; }
  .omap-stage img { position: absolute; max-width: none; width: 158.28%; left: -29.14%; top: -14.35%; }
  .om-crop .om-slabl { display: none; }
}
@media (max-width: 480px) {
  .omap-tabs [role="tab"] { font-size: 11px; padding: 9px 10px; letter-spacing: .01em; }
}

/* ---------- Ontology System: one decision in three steps (#ontology; ontology-map-f.js) ----------
   Karl 2026-11-11, after Palantir's Titan slides: a fixed manufacturer scene where only the active layer changes,
   01 Data (object types), 02 Logic (gears: groups of real logic), 03 Action (real actions; one read, act, write dot
   down into the ERP). The steps auto-advance, jump on click, pause on hover. Rail beside the copy on the home page,
   tabs above the scene on the platform page and on small screens. No JS: the Data still, no tabs. */
.ontf:not(.t-on) .t-rail { display: none; }
/* the steps sit on the diagram panel itself, above the band (Karl 2026-11-11: one divider, steps on the graph) */
.ontf .t-rail { margin: 0 4px 22px; }
.ontf .t-kicker { display: block; color: var(--muted); }
.ontf .t-steps { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ontf .t-steps button { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; text-align: left; color: #a8a8ac; transition: color .4s ease; }
.ontf .t-steps .t-bar { grid-column: 1 / 3; display: block; height: 2px; background: #d4d4d8; margin-bottom: 10px; position: relative; overflow: hidden; }
.ontf .t-steps .t-bar b { position: absolute; inset: 0 auto 0 0; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.ontf .t-steps button[aria-selected="true"] { color: var(--ink); }
.ontf .t-steps button[aria-selected="true"] .t-bar { background: #bdbdc2; }
.ontf .t-steps .n { font-size: 13px; }
.ontf .t-steps .t { font-size: clamp(20px, 1.9vw, 28px); line-height: 1; letter-spacing: -.02em; }
.ontf .t-scene { position: relative; background: var(--diagram); padding: 22px 14px 10px; }
.ontf .t-band { margin: 0 auto; width: min(460px, 92%); display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: 999px; font-size: clamp(14px, 1.2vw, 18px); }
.ontf .t-band > span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; white-space: nowrap; }
.ontf .t-band > span + span { border-left: 1px solid var(--ink); }
.ontf .t-band .t-dim { color: #a3a3a3; }
.ontf .t-band svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--ink); fill: #fff; flex: none; }
.ontf .t-arrows { display: flex; justify-content: center; gap: min(26%, 180px); height: clamp(44px, 5.5vw, 76px); margin: 6px 0 -48px; position: relative; pointer-events: none; }
.ontf .t-arrows svg { height: 100%; width: auto; fill: #dcdcdc; }
.ontf .t-stage { padding-top: 18px; }
.ontf .t-stage img, .ontf .t-stage svg { display: block; width: 100%; height: auto; }
.ontf .t-stage svg { overflow: visible; }
.ontf .t-ont { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -14px; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; }
.ontf .t-ont img { height: 1.05em; width: auto; }
.ontf .t-cables { display: block; width: min(560px, 100%); margin: 4px auto 0; overflow: visible; }
.ontf .t-cables path { fill: none; stroke: #c4c4c8; stroke-width: 1; }
.ontf .t-cables text { font: 500 9px var(--mono); letter-spacing: .08em; fill: #8e8e92; text-anchor: middle; transition: fill .4s ease; }
.ontf .t-cables text.on { fill: var(--ink); }
.ontf .t-cdot { fill: var(--ink); }
.ontf .t-layer { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.ontf .t-layer.on { opacity: 1; }
.ontf .t-pill rect, .ontf .t-pill .t-ptr { fill: #1e2124; }
.ontf .t-pill text { font-family: var(--font); font-weight: 500; font-size: 14px; fill: #fff; text-anchor: middle; }
.ontf .t-logic rect, .ontf .t-logic .t-ptr { fill: #5c5c62; }
.ontf .t-pill .t-arc { fill: none; stroke: #fff; stroke-width: 1.4; }
.ontf .t-pill .t-arr { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ontf .t-pill.press rect { fill: #000; }
.ontf .t-lit { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.ontf .t-dot { fill: var(--ink); }
.ontf .t-svg .om-o[data-id^="g_"], .ontf .t-svg .om-u { transition: opacity .6s ease, stroke .6s ease; opacity: .35; }
.ontf[data-step="1"] .t-svg .om-o[data-id^="g_"], .ontf[data-step="1"] .t-svg .om-u { opacity: 1; }
.ontf[data-step="1"] .t-svg .om-u { stroke: #4a4a4f; }
@media (max-width: 480px) {
  .ontf .t-steps .t { font-size: 18px; }
  .ontf .t-steps { gap: 10px; }
  .ontf .t-steps .n { font-size: 12px; }
  .ontf .t-scene { padding: 14px 6px 8px; }
  .ontf .t-band { font-size: 13px; }
  .ontf .t-band > span { padding: 8px 4px; gap: 5px; }
  .ontf .t-band svg { width: 16px; height: 16px; padding: 3px; }
  .ontf .t-arrows { margin-bottom: -30px; }
  .ontf .t-cables text { font-size: 7.5px; }
}
@media (min-width: 1101px) { .layer.ontf .lf { grid-column: 6 / 13; } }
.ontf .t-action .t-pill { transition: opacity .5s ease; }
