/* OpenConstruction Design — site. Light only: calm neutrals; colour comes from the marks, the AI accent and the work itself. */

@font-face { font-family: "Geologica"; src: url(../fonts/geologica-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url(../fonts/golos-latin.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plexmono-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url(../fonts/plexmono-500-latin.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }

:root {
  --paper: #F7F7F5;
  --surface: var(--white);
  --sunk: #F0F0ED;
  --ink: #16181B;
  --ink-2: #44484F;
  --ink-3: #676C74;               /* AA on paper and white */
  --line: #E2E2DE;
  --line-2: #ECECE9;
  --mark-ink: var(--ink);
  --c-design: #E45128;
  --c-erp: #2987F8;
  --c-academy: #16A269;
  --ok: #18875A;
  --ok-soft: #E3F5EC;
  --warn: #B07A0C;
  --bad: #C8371D;
  --ai: #5B5BD6;
  --ai-soft: #ECECFB;
  --white: #FFFFFF; --mark: #FFE94D;            /* legal-page placeholders */
  --ink-hover: #2A2D32;
  --media: #FBFBFA;               /* media wells behind stills and video */
  --stage: #ECEBE7;               /* floor of the live model stage */
  --chrome-1: #FAFAF9; --chrome-2: #F2F2EF; --chrome-dot: #E1E0DC;
  --rust: #DEA584;
  /* on the dark final band */
  /* code block */
  --code-bg: #15171A; --code-bar: #1B1E22; --code-line: #262A30; --code-edge: #23262B; --code-dot: #33373D;
  --code-text: #D6D8DC; --code-dim: #8E949C; --code-ps: #6E747C; --code-cmd: #EDEEF0;
  --code-k: #9DB8F5; --code-s: #F2B48B; --code-n: #8FD9B6; --code-ok: #6FD39F;
  /* live model materials (read by js/viewer.js; the legend uses the same tokens) */
  --m-wall-ext: #E9E3D8; --m-wall-int: #F3F1EC; --m-slab: #D8D5CE; --m-roof: #5E636B; --m-frame: #3B4048;
  --m-glass: #9FB6C6; --m-door: #B98F62; --m-trim: #E4E1DA; --m-stair: #CFCBC2; --m-land: #C9D4BE;
  --light-sky: var(--white); --light-ground: #CFC8BB; --light-sun: #FFF6EA;

  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent);
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent), 0 12px 32px -16px color-mix(in srgb, var(--ink) 16%, transparent);
  --shadow-lg: 0 2px 4px color-mix(in srgb, var(--ink) 3%, transparent), 0 40px 80px -40px color-mix(in srgb, var(--ink) 28%, transparent);

  --display: "Geologica", "Golos Text", system-ui, sans-serif;
  --text: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* one spacing scale for every section */
  --s1: 8px; --s2: 12px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px;
  --sec: clamp(72px, 9vw, 128px);
  --head: clamp(36px, 4.5vw, 64px);
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .8s;                     /* reveals, crossfades */
  --ring: .5 .6 .47 .27;          /* agents' ground ellipse in the hero: cx cy rx ry as fractions of .orb (hero.js) */
  --build: 3.2s;                  /* blocks assembling into the building in the hero (js/blocks.js) */
  --slow: 1.6s;                   /* card media crossfades: calm, never snappy */
  --spin-rate: .65;               /* turntable videos play slower than recorded */
  /* the hero's point language, reused everywhere */
  --line-w: 1px;
  --dot-grid: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1.4px) 0 0 / 24px 24px;
  --dot-rule: radial-gradient(circle, color-mix(in srgb, var(--ink) 34%, transparent) .75px, transparent 1.1px) 0 50% / 6px 3px repeat-x;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; }
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, ol, ul, figure, pre { margin: 0; }
ol, ul { padding: 0; list-style: none; }
code { font-family: var(--mono); font-size: .88em; padding: .1em .35em; border-radius: 5px; background: var(--sunk); color: var(--ink-2); }
:not(pre) > code { white-space: nowrap; } td code { white-space: normal; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ai); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.ic { width: 16px; height: 16px; flex: none; }

/* ——— type scale ——— */
.display { font: 500 clamp(42px, 5.6vw, 84px)/.98 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.display span { display: block; }
.display--end { font-size: clamp(44px, 5.4vw, 84px); }
.h2 { font: 500 clamp(32px, 3.8vw, 54px)/1.04 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.soft { color: var(--ink-3); }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.body--quiet { color: var(--ink-3); font-size: 15px; }
.eyebrow { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 14px 2px -11px; background: var(--ink-3); opacity: .5; border-radius: 1px; vertical-align: middle; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-design); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-design) 16%, transparent); }
.head .tag::after { content: ""; width: 96px; height: 3px; margin-left: 6px; background: var(--dot-rule);
  -webkit-mask-image: linear-gradient(90deg, black, transparent); mask-image: linear-gradient(90deg, black, transparent);
  transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.head.rv:not(.is-in) .tag::after { transform: scaleX(0); }
.cap { margin-top: var(--s3); font-size: 14px; line-height: 1.5; color: var(--ink-3); max-width: 60em; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--ink); }
.link .ic { transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(3px); }

/* section header: tag, title, text — the same in every section */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "t t" "h b"; gap: 18px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: var(--head); }
.head .tag { grid-area: t; }
.head .h2 { grid-area: h; }
.head > .body { grid-area: b; }
.head--stack { display: grid; grid-template-columns: 1fr; grid-template-areas: none; gap: 18px; align-content: start; }
.head--stack > * { grid-area: auto !important; }

/* ——— buttons ——— */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; background: none; font: 500 15px/1 var(--text); white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn--lg { --h: 50px; padding: 0 24px; font-size: 16px; }
.btn--primary { background: var(--ink); color: var(--paper); box-shadow: 0 1px 0 color-mix(in srgb, var(--white) 12%, transparent) inset, 0 6px 16px -8px color-mix(in srgb, var(--ink) 50%, transparent); }
.btn--primary:hover { background: var(--ink-hover); }
.btn--primary .ic { transition: transform .25s var(--ease); }
.btn--primary:hover .ic { transform: translateX(3px); }
.btn--line, .btn--ghost { border-color: var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.btn--line:hover, .btn--ghost:hover { border-color: var(--ink-3); }
.btn--quiet { padding: 0 8px; color: var(--ink-2); }
.btn--quiet:hover { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.terms { font-size: 14px; color: var(--ink-3); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pill--ok { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill .ic { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
.t-add { background: var(--ok-soft); color: var(--ok); }
.t-chg { background: var(--ai-soft); color: var(--ai); }
.t-chk { background: var(--warn); }

/* ——— card: one style everywhere ——— */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.card__i { width: 22px; height: 22px; padding: 8px; box-sizing: content-box; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); flex: none; }
.card__k { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ai); }
.card h3, .os__list h3, .steps h3 { font: 500 18px/1.3 var(--display); letter-spacing: -.015em; }
.card p, .os__list p, .steps p { font-size: 15px; color: var(--ink-3); }
.grid3, .grid4 { display: grid; gap: 16px; }
.grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s7); }
.grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid3 .card, .grid4 .card { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 28px); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.grid3 .card:hover, .grid4 .card:hover { border-color: color-mix(in srgb, var(--ink) 22%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
.grid3 .card__i { margin-bottom: 10px; }
.grid4 .card__k { margin-bottom: 8px; }

/* ——— nav ——— */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 22px; height: 22px; }
.brand__word { font: 400 16px/1 var(--display); letter-spacing: -.015em; white-space: nowrap; }
.brand__word b { font-weight: 600; }
.nav__links { display: flex; gap: 2px; margin-left: 8px; }
.nav__links a { padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--ink-3); white-space: nowrap; transition: color .15s, background .15s; }
.nav__links a:hover { color: var(--ink); background: var(--sunk); }
.nav__links a.is-here { color: var(--ink); }
.nav__end { display: flex; gap: 8px; margin-left: auto; }

/* ——— hero: the point field spans the whole width behind the copy ——— */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--dot-grid);
  -webkit-mask-image: radial-gradient(80% 70% at 65% 45%, black, transparent 78%); mask-image: radial-gradient(80% 70% at 65% 45%, black, transparent 78%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(38% 50% at 72% 45%, color-mix(in srgb, var(--ai) 8%, transparent), transparent 70%),
              radial-gradient(30% 35% at 80% 75%, color-mix(in srgb, var(--c-design) 6%, transparent), transparent 70%); }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(24px, 4vw, 56px); align-items: center;
  padding-top: clamp(28px, 6vh, 80px); padding-bottom: clamp(36px, 6vh, 72px); min-height: min(calc(100svh - 64px - 54px), 860px); pointer-events: none; }
.hero__in a, .hero__in button, .hero__copy { pointer-events: auto; }
.hero__copy { position: relative; display: grid; gap: 26px; max-width: 34em; }
.hero__copy::before { /* a soft wash keeps the copy readable over the grid */
  content: ""; position: absolute; inset: -12% -18% -12% -30%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--paper) 88%, transparent), transparent); }
.hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise var(--dur) var(--ease) forwards; }
.hero__copy > :nth-child(2) { animation-delay: .06s; } .hero__copy > :nth-child(3) { animation-delay: .14s; }
.hero__copy > :nth-child(4) { animation-delay: .22s; } .hero__copy > :nth-child(5) { animation-delay: .3s; } .hero__copy > :nth-child(6) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.prompt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 8px 8px 10px; border-radius: 14px; text-align: left;
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 15px; line-height: 1.35; color: var(--ink); }
.prompt:hover { border-color: color-mix(in srgb, var(--ai) 35%, var(--line)); }
.prompt__ai { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: var(--white); background: var(--ink); }
.prompt__ai svg { width: 14px; height: 14px; }
.hero.is-building .prompt__ai { background: var(--ai); }
.hero.is-building .prompt__ai svg { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.prompt__text { flex: 1; min-width: 0; min-height: 2.7em; display: flex; align-items: center; } /* two lines reserved: typing must not move the buttons */
@media (max-width: 560px) { .prompt__text { min-height: 4.05em; } }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: currentColor; opacity: 0; }
.hero.is-typing .caret { opacity: 1; animation: blink 1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt__state { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 9px; background: var(--sunk); color: var(--ink-2); font: 500 12px/1 var(--mono); }
.prompt__state b { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.hero.is-building .prompt__state b { background: var(--c-design); animation: pulse 1s infinite; }
.hero.is-built .prompt__state b { background: var(--ok); }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }

/* the agents: one chip family orbiting the building drawn in the background layer */
.orb { position: relative; aspect-ratio: 1 / .9; min-height: 420px; max-height: 700px; width: 100%; }
.blocks { position: absolute; inset: 4% 0 2%; }
.blocks__still, .blocks__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.blocks__still { object-fit: contain; transition: opacity .4s var(--ease); }
.blocks.is-live .blocks__still { opacity: 0; }
.orb__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orb__links line { stroke: var(--ink); stroke-opacity: .2; stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; animation: flow 1.6s linear infinite; }
.orb__links .orb__ring { fill: none; stroke: var(--ink); stroke-opacity: .12; stroke-dasharray: 1 6; stroke-linecap: round; }
.orb__links .orb__pkt { fill: var(--ink); }
@keyframes flow { to { stroke-dashoffset: -14; } }
.orb__chips { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 9px; width: 124px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); box-shadow: var(--shadow); font: 500 13.5px/1 var(--text); letter-spacing: -.005em; color: var(--ink); white-space: nowrap;
  pointer-events: auto; transform: translate(-50%, -50%); will-change: transform; transition: border-color .2s, box-shadow .2s; }
.chip:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); box-shadow: 0 0 0 4px var(--sunk), var(--shadow); }
.chip__i { flex: none; width: 18px; height: 18px; background: var(--ink);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }


/* ——— sections ——— */
.sec { position: relative; padding: var(--sec) 0; }
.sec::before { /* the divider is a dotted rule; js/flow.js settles drifting points onto it */
  content: ""; position: absolute; left: max(var(--gut), calc(50% - var(--wrap) / 2 + var(--gut))); right: max(var(--gut), calc(50% - var(--wrap) / 2 + var(--gut))); top: -1px; height: 3px;
  background: var(--dot-rule); -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
main, .foot { position: relative; z-index: 1; }

/* ——— projects ——— */
.pj { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pc { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow);
  transition: box-shadow .35s var(--ease), border-color .35s; }
.pc:hover { box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--ink) 16%, var(--line)); }
.pc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.pc__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dot-grid), var(--media); }
.pc--wide .pc__media { aspect-ratio: auto; min-height: 100%; }
.pc--wide .pc__media::before { content: ""; display: block; padding-top: 62.5%; }
.pc__layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.015); transition: opacity var(--slow) var(--ease), transform calc(var(--slow) * 1.4) var(--ease); }
.pc__layer.is-on { opacity: 1; transform: none; }
.pc__layer img, .pc__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc__layer[data-l="plan"], .pc__layer[data-l="section"] { background: var(--white); }
.pc__layer[data-l="plan"] img, .pc__layer[data-l="section"] img { object-fit: contain; }
.pc__vid { opacity: 0; transition: opacity var(--slow) var(--ease); }
.pc__vid.is-ready { opacity: 1; }
.pc__pp { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(8px); color: var(--ink); box-shadow: var(--shadow-sm); }
.pc__pp[aria-pressed="false"] { width: auto; padding: 0 14px 0 12px; border-radius: 999px; gap: 6px; }
.pc__pp[aria-pressed="false"]::after { content: "Play 3D"; font-size: 13px; font-weight: 500; }
.pc__pp[aria-pressed="false"] { grid-auto-flow: column; }
.pc__pp .ic { width: 14px; height: 14px; }
.pc__pp[hidden] { display: none; }
.seg { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; font: 500 12.5px/1 var(--text); color: var(--ink-2); transition: background .2s, color .2s; }
.seg button:hover { color: var(--ink); background: var(--sunk); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pc__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line-2); }
.pc--wide .pc__body { border-top: 0; border-left: 1px solid var(--line-2); justify-content: center; gap: 16px; padding: clamp(24px, 3.2vw, 44px); }
.pc__k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c-design); }
.pc__t { font: 500 21px/1.2 var(--display); letter-spacing: -.02em; }
.pc--wide .pc__t { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; }
.pc__d { font-size: 15px; color: var(--ink-3); }
.stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.stats li { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); }
.stats b { font: 500 14px/1 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stats span { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.pc .link { align-self: flex-start; margin-top: 6px; }

/* ——— Lindenhof deep dive ——— */
.lh { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.lh__step { display: grid; gap: 12px; align-content: start; min-width: 0; }
.lh__step--brief { grid-column: span 5; }
.lh__step--bim { grid-column: span 7; }
.lh__step--plan { grid-column: 1 / -1; }
.lh__step--section { grid-column: 1 / -1; }
.seg--inline { position: static; margin-left: auto; text-transform: none; letter-spacing: 0; }
.frame--plan .flr { position: relative; display: grid; background: var(--white); }
.frame--plan .flr img { grid-area: 1 / 1; width: 100%; height: auto; max-height: min(78vh, 900px); aspect-ratio: auto; object-fit: contain; opacity: 0; transition: opacity var(--slow) var(--ease); }
.frame--plan .flr img.is-on { opacity: 1; }
.frame.frame--section img { aspect-ratio: auto; height: auto; }
.lh__k { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.lh__k span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: 0; }
.frame { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.frame figcaption { padding: 12px 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-3); }
.code { overflow: hidden; border-radius: var(--r-lg); background: var(--code-bg); color: var(--code-text); box-shadow: var(--shadow-lg); border: 1px solid var(--code-edge); }
.code__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--code-line); font: 500 12px/1 var(--mono); color: var(--code-dim); }
.code__dots { display: inline-flex; gap: 6px; }
.code__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--code-dot); }
.code pre { overflow-x: auto; padding: 16px 18px; font: 400 12.5px/1.62 var(--mono); tab-size: 2; scrollbar-width: thin; }
.code pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.code i { font-style: normal; }
.code .k { color: var(--code-k); } .code .s { color: var(--code-s); } .code .n { color: var(--code-n); }
.code__run { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--code-line); background: var(--code-bar); font: 500 12.5px/1.3 var(--mono); }
.code__run code { white-space: normal; padding: 0; background: none; color: var(--code-cmd); }
.code__ps { color: var(--code-ps); }
.code__ok { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; color: var(--code-ok); }
.lh__nums { margin-top: var(--s6); display: grid; gap: 16px; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.nums > div { padding: 20px 20px 24px 0; border-bottom: 1px solid var(--line); }
.nums > div:not(:nth-child(4n+1)) { padding-left: 20px; border-left: 1px solid var(--line); }
.nums dt { font-size: 14px; color: var(--ink-3); margin-bottom: 10px; }
.nums dd { font: 500 clamp(30px, 3.4vw, 46px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.nums small { font: 400 15px/1 var(--mono); color: var(--ink-3); margin-left: 6px; letter-spacing: 0; }
.nums dd.ok { color: var(--ok); }
.nums--4 { margin-top: var(--s7); }

/* ——— live model ——— */
.v3 { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden;
  background: var(--dot-grid), radial-gradient(90% 80% at 50% 25%, var(--white), var(--stage)); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.win--v3 { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.win--v3 .v3 { border: 0; border-radius: 0; box-shadow: none; }
.v3::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; /* gentle vignette */
  background: radial-gradient(120% 95% at 50% 45%, transparent 55%, color-mix(in srgb, var(--ink) 9%, transparent)); }
.v3 canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.v3 canvas:active { cursor: grabbing; }
.v3__load { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); transition: opacity .5s; }
.v3__load span { width: 160px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
.v3__load span::after { content: ""; position: absolute; inset: 0; width: var(--p, 30%); background: var(--ink); transition: width .2s; }
.v3.is-live .v3__load { opacity: 0; pointer-events: none; }
.v3__tap { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); white-space: nowrap; }
.v3.is-tap .v3__load { opacity: 0; }
.v3.is-tap { background: center / cover no-repeat url(../vid/housing-spin.webp); }
.v3__tip { position: absolute; left: 0; top: 0; z-index: 3; width: 240px; padding: 12px 14px; border-radius: 12px; pointer-events: none;
  background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; line-height: 1.4; }
.v3__tip b { display: block; font: 600 15px/1.2 var(--display); margin-bottom: 8px; }
.v3__tip dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.v3__tip dt { color: var(--ink-3); } .v3__tip dd { text-align: right; font-variant-numeric: tabular-nums; }
.v3__tip code { display: block; white-space: normal; margin-top: 8px; padding: 0; background: none; font: 12px/1.3 var(--mono); color: var(--ink-3); word-break: break-all; }
.v3__legend { position: absolute; left: 16px; top: 16px; z-index: 2; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
.v3__legend li { display: flex; align-items: center; gap: 8px; }
.v3__legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 35%, transparent); }
.v3__bar { position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 6px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.v3__btn { height: 34px; min-width: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 500 13px/1 var(--text); white-space: nowrap; }
.v3__btn:hover { background: var(--sunk); }
.v3__btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.v3__cut { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-size: 13px; color: var(--ink-2); }
.v3__cut input { width: 120px; accent-color: var(--ink); }
.v3__zoom { display: flex; border-left: 1px solid var(--line); padding-left: 6px; }
.v3__hint { position: absolute; right: 16px; top: 16px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.v3:not(.is-live) .v3__bar, .v3:not(.is-live) .v3__hint, .v3:not(.is-live) .v3__legend { opacity: 0; }
.v3.is-off .v3__load { opacity: 1; }
.v3.is-off .v3__load span { display: none; }

/* ——— editor showcase: framed window, layered cards, callouts ——— */
.show { display: grid; gap: 28px; }
.show__tabs { display: flex; gap: 4px; justify-self: center; max-width: 100%; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.show__tabs::-webkit-scrollbar { display: none; }
.show__tabs button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-3); white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.show__tabs button svg { width: 17px; height: 17px; }
.show__tabs button:hover { color: var(--ink); }
.show__tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.show__stage { position: relative; padding: 0 clamp(0px, 4vw, 56px); perspective: 1800px; }
.show__stage::before { content: ""; position: absolute; inset: -8% 0; z-index: 0; pointer-events: none; background: var(--dot-grid);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, black, transparent 75%); mask-image: radial-gradient(60% 55% at 50% 50%, black, transparent 75%); }
.show__ghost { position: absolute; z-index: 0; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.show__ghost--a { inset: 8% 0 14% 62%; transform: rotate(3deg) translate(18px, 10px); background: linear-gradient(180deg, var(--surface), var(--paper)); }
.show__ghost--b { inset: 18% 70% 6% 0; transform: rotate(-3deg) translate(-14px, 6px); }
.win { position: relative; z-index: 1; overflow: hidden; border-radius: 14px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ink) 14%, var(--line));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--white) 80%, transparent) inset, var(--shadow-lg), 0 60px 120px -60px color-mix(in srgb, var(--ink) 35%, transparent); transform: rotateX(4deg); transform-origin: 50% 0; transition: transform 1s var(--ease); }
.show.is-in .win { transform: none; }
.win__bar { display: flex; align-items: center; gap: 14px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--chrome-1), var(--chrome-2)); font-size: 12.5px; color: var(--ink-3); }
.win__dots { display: inline-flex; gap: 7px; }
.win__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--chrome-dot); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); }
.win__title { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__tag { font: 500 12px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: var(--ai-soft); color: var(--ai); }
.win__view { position: relative; aspect-ratio: 16 / 10; background: var(--dot-grid), var(--paper); }
.shot { position: absolute; inset: 0; animation: shotIn .55s var(--ease); }
@keyframes shotIn { from { opacity: 0; transform: scale(1.01); } }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.shot.is-empty img { display: none; }
.shot.is-empty { /* a drawn stand-in until the real screenshot lands */
  background:
    linear-gradient(var(--line-2), var(--line-2)) 0 0 / 100% 44px no-repeat,
    linear-gradient(var(--surface), var(--surface)) 100% 44px / 26% 100% no-repeat,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper); }
.shot.is-empty::after { content: attr(data-ph); position: absolute; left: 37%; top: 50%; transform: translate(-50%, -50%); padding: 10px 14px; border-radius: 10px;
  background: var(--surface); border: 1px dashed var(--ink-3); font: 500 12px/1.3 var(--mono); color: var(--ink-3); text-align: center; max-width: 60%; }
.call { position: absolute; left: var(--x); top: var(--y); z-index: 2; padding: 7px 11px; border-radius: 9px; pointer-events: none;
  background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow);
  font: 500 12.5px/1.2 var(--text); color: var(--ink); white-space: nowrap; transform: translate(46px, -50%); animation: callIn .6s var(--ease) .25s both; }
.call::before { content: ""; position: absolute; left: -52px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--c-design);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-design) 22%, transparent), 0 0 0 9px color-mix(in srgb, var(--c-design) 9%, transparent); animation: ping 2.4s var(--ease) infinite; }
.call::after { content: ""; position: absolute; left: -40px; top: 50%; width: 40px; height: 3px; margin-top: -1px; background: var(--dot-rule); }
@keyframes ping { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-design) 14%, transparent), 0 0 0 14px transparent; } }
.call[data-side="l"] { transform: translate(calc(-100% - 46px), -50%); }
.call[data-side="l"]::before { left: auto; right: -52px; }
.call[data-side="l"]::after { left: auto; right: -40px; }
@keyframes callIn { from { opacity: 0; } }
.shot.is-empty .call { display: none; }
.show__desc { justify-self: center; text-align: center; max-width: 46em; font-size: 16px; color: var(--ink-2); min-height: 3.1em; }

/* ——— AI chat explainer ——— */
.steps { display: grid; gap: 8px; }
.steps li { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s; cursor: default; }
.steps li.is-on { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.steps__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font: 500 12px/1 var(--mono); color: var(--ink-3); transition: background .35s, color .35s, border-color .35s; }
.steps li.is-on .steps__n { background: var(--ink); border-color: var(--ink); color: var(--paper); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-design) 22%, transparent); }
.steps h3 { margin-bottom: 4px; }

/* ——— bring your own AI ——— */
.case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 5vw, 72px); margin-top: var(--s7); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl); }
.case__h, .runsx .case__h { font: 500 clamp(22px, 2vw, 30px)/1.18 var(--display); letter-spacing: -.025em; margin: 16px 0 10px; text-wrap: balance; }
.case__note { font-size: 15px; color: var(--ink-2); }
.runs { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.runs caption { text-align: left; font: 500 clamp(17px, 1.5vw, 20px)/1.25 var(--display); letter-spacing: -.015em; margin-bottom: 14px; }
.runs th, .runs td { padding: 12px 0; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.runs th:first-child, .runs td:first-child { text-align: left; padding-right: 16px; }
.runs td + td, .runs th + th { padding-left: 16px; }
.runs thead th { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.runs td { color: var(--ink-2); }
.runs td:last-child, .runs th:last-child { white-space: nowrap; }
.runs tfoot th, .runs tfoot td { font-weight: 600; border-bottom: 0; color: var(--ink); }

/* ——— open source ——— */
.os { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(28px, 5vw, 72px); align-items: start; }
.repo { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); box-shadow: var(--shadow); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.repo:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.repo__top { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); flex-wrap: wrap; }
.repo__top .ic { width: 20px; height: 20px; color: var(--ink); }
.repo__top b { color: var(--ink); }
.repo__d { font: 500 clamp(19px, 1.8vw, 24px)/1.3 var(--display); letter-spacing: -.02em; }
.repo__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 500 12.5px/1 var(--mono); color: var(--ink-3); }
.repo__meta span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--rust { background: var(--rust); }
.repo__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line-2); font-weight: 500; }
.os__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.os__list li { display: flex; gap: 16px; }
.os__list h3 { margin-bottom: 4px; }
.fmt { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: var(--s6); }
.fmt__k { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fmt ul { display: flex; flex-wrap: wrap; gap: 8px; }
.fmt li { display: inline-flex; align-items: baseline; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; color: var(--ink-3); }
.fmt b { font: 500 14px/1 var(--mono); color: var(--ink); }

/* ——— pricing ——— */
.free { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.free .head { position: sticky; top: 104px; margin: 0; }
.boq { padding: 8px 0; font-size: 15px; box-shadow: var(--shadow); font-variant-numeric: tabular-nums; }
.boq > div { display: grid; grid-template-columns: 56px 1fr 112px; gap: 12px; padding: 14px 24px; align-items: baseline; }
.boq__cap { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.boq__row + .boq__row { border-top: 1px solid var(--line-2); }
.boq__row > span:first-child { font: 400 13px/1.5 var(--mono); color: var(--ink-3); }
.boq__row small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.boq .r { text-align: right; font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.boq__sum { border-top: 1.5px solid var(--ink); margin-top: 6px; font-weight: 500; }
.boq__sum b { font: 500 clamp(22px, 2.4vw, 30px)/1 var(--display); letter-spacing: -.02em; }

/* ——— ERP ——— */

/* ——— family ——— */
.fam { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fam__c { --acc: var(--c-design); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; min-height: 250px; overflow: hidden; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.fam__c::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
a.fam__c:hover { border-color: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow); }
a.fam__c:hover::after, .fam__c--here::after { transform: scaleX(1); }
.fam__m { width: 36px; height: 36px; margin-bottom: 12px; }
.fam__n { font: 400 20px/1.2 var(--display); letter-spacing: -.015em; }
.fam__n b { font-weight: 600; }
.fam__d { color: var(--ink-3); font-size: 15px; max-width: 24em; }
.fam__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font: 400 12.5px/1 var(--mono); color: var(--ink-2); }

/* ——— FAQ ——— */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq .head { margin: 0; position: sticky; top: 104px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: block; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font: 500 clamp(17px, 1.5vw, 19px)/1.35 var(--display); letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0); }
.faq__list summary:hover { color: var(--ink-2); }
.faq__list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44em; animation: rise .45s var(--ease) both; }

/* ——— contact ——— */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.contact .head { margin: 0; }
.contact__alt { display: grid; gap: 12px; margin-top: 8px; }
.contact__alt .link { gap: 8px; }
.contact__alt svg { width: 16px; height: 16px; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field label small { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2344484F' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ai) 16%, transparent); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--bad); }
.field__err { min-height: 0; font-size: 13px; color: var(--bad); }
.field__err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.form__note { font-size: 14px; color: var(--ink-3); }
.form__legal { font-size: 13px; line-height: 1.5; color: var(--ink-3); margin: -4px 0 0; }
.form.is-sent > :not(.form__ok):not(.hp) { display: none; }
.form__ok { display: grid; justify-items: start; gap: 12px; padding: 12px 0; outline: none; }
.form__tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.form__tick .ic { width: 22px; height: 22px; }
.form__ok h3 { font: 500 24px/1.2 var(--display); letter-spacing: -.02em; }
.form__ok p { color: var(--ink-2); }
.form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }

/* ——— finale ——— */
.end { position: relative; padding: clamp(88px, 12vw, 168px) 0; overflow: hidden; }
.end::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: var(--dot-grid);
  -webkit-mask-image: radial-gradient(60% 80% at 25% 50%, black, transparent 75%); mask-image: radial-gradient(60% 80% at 25% 50%, black, transparent 75%); }
.end__in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.end__art { position: relative; aspect-ratio: 1.3 / 1; min-height: 260px; }
.end__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.end__copy { display: grid; gap: 24px; }

/* ——— footer ——— */
.foot { padding: 64px 0 32px; font-size: 14px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; }
.foot__brand p { margin-top: 14px; color: var(--ink-3); max-width: 22em; }
.foot__social { display: flex; gap: 8px; margin-top: 20px; }
.foot__social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: color .2s, border-color .2s; }
.foot__social a:hover { color: var(--ink); border-color: var(--ink-3); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.foot__cols h2 { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot__cols a { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--ink-2); }
.foot__cols a:hover { color: var(--ink); }
.foot__fam svg { width: 14px; height: 14px; flex: none; }
.foot__fine { display: grid; gap: 6px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 14px; transition: opacity .25s, transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.rv { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ——— 404 ——— */
.lost { min-height: calc(100svh - 64px); display: grid; align-content: center; gap: 24px; padding: 64px 0; }
.lost__code { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ——— responsive ——— */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .head { grid-template-columns: 1fr; grid-template-areas: "t" "h" "b"; }
  .free, .case, .os, .faq, .contact { grid-template-columns: 1fr; }
  .free .head, .faq .head { position: static; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc--wide { grid-template-columns: 1fr; }
  .pc--wide .pc__body { border-left: 0; border-top: 1px solid var(--line-2); }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; padding-top: 32px; gap: 8px; }
  .orb { aspect-ratio: 1 / 1; min-height: 0; max-height: none; max-width: 640px; margin: 0 auto; }
  .lh { grid-template-columns: 1fr; }
  .lh__step--brief, .lh__step--bim, .lh__step--plan, .lh__step--section { grid-column: auto; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums > div:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .nums > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
  .pj { grid-template-columns: 1fr; }
  .show__ghost { display: none; }
  .call { display: none; }
  .win { transform: none; }
  .zoom__view img { transform: translate(calc(var(--x) * -100%), calc(var(--y) * -100%)) !important; }
}
@media (max-width: 720px) {
  .nav__end .btn--ghost span { display: none; }
  .nav__end .btn--ghost { width: 36px; padding: 0; }
  .brand__word { font-size: 15px; }
  .prompt { font-size: 14px; gap: 10px; }
  .prompt__state { height: 28px; padding: 0 9px; font-size: 12px; }
  .grid3, .grid4, .fam, .os__list, .form__row, .foot__cols { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .boq > div { grid-template-columns: 32px 1fr 80px; padding: 12px 16px; }
  .end__in { grid-template-columns: 1fr; }
  .end__art { min-height: 0; }
  .v3 { aspect-ratio: 4 / 5; }
  .v3__legend { display: none; }
  .v3__cut input { width: 72px; }
  .v3__hint { display: none; }
  .v3__bar { gap: 2px; bottom: 10px; max-width: calc(100% - 16px); }
  .v3__btn { padding: 0 9px; }
  .runs { font-size: 14px; }
  .code pre { font-size: 12px; padding: 14px; }
  .show__tabs { justify-self: stretch; }
  .win__title { text-align: left; }
  .win__tag { display: none; }
}
@media (max-width: 600px) {
  /* no orbit on phones: the building stands in its spot, the agents follow as an even grid */
  .orb { aspect-ratio: auto; display: grid; gap: 14px; }
  .blocks { position: relative; inset: auto; aspect-ratio: 1 / .86; }
  .orb__links { display: none; }
  .orb__chips { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .chip { position: static; transform: none !important; opacity: 1 !important; width: auto; height: 36px; padding: 0 8px; gap: 6px; justify-content: center; font-size: 12px; box-shadow: var(--shadow-sm); }
  .chip__i { width: 15px; height: 15px; }
  .pc__layer { transform: none; }
  .seg { left: 10px; bottom: 10px; }
}
@media (max-width: 440px) {
  .nav__end .btn--primary { padding: 0 12px; }
  .cta .btn { width: 100%; }
  .orb__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip { justify-content: flex-start; padding: 0 12px; font-size: 13px; }
  .nums dd { font-size: 28px; }
  .stats li { padding: 6px 8px; }
}
/* ——— build film: Lindenhof timelapse rendered by the editor ——— */
.film { margin: 0 0 var(--s7); display: grid; gap: 14px; }
.film__view { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: var(--dot-grid), radial-gradient(90% 80% at 50% 30%, var(--white), var(--stage)); }
.film__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__view video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--slow) var(--ease); }
.film.is-ready .film__view video { opacity: 1; }
.film figcaption { font-size: 14px; color: var(--ink-3); } .film figcaption b { font-weight: 500; color: var(--ink); }

/* ——— editor details up close (A3): each tile shows a crop of a full screenshot; the pin drops a dotted line to its caption ——— */
.zoom { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: var(--s7) 0; }
.zoom > li { display: grid; gap: 0; align-content: start; }
.zoom__view { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.zoom__view img { position: absolute; left: 0; top: 0; max-width: none; width: calc(100% / var(--w)); height: auto;
  transform: translate(calc(var(--x) * -100%), calc(var(--y) * -100%)) scale(1.04); transform-origin: calc(var(--x) * 100% + 10%) calc(var(--y) * 100% + 20%);
  transition: transform calc(var(--slow) * 2) var(--ease); }
.zoom > li.is-in .zoom__view img { transform: translate(calc(var(--x) * -100%), calc(var(--y) * -100%)); }
.zoom__pin { position: absolute; left: var(--px); top: var(--py); bottom: -1px; width: 12px; margin-left: -6px; pointer-events: none; }
.zoom__pin::before { content: ""; position: absolute; left: 0; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-design);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-design) 22%, transparent), 0 0 0 9px color-mix(in srgb, var(--c-design) 9%, transparent); animation: ping 2.4s var(--ease) infinite; }
.zoom__pin::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: 0; width: 3px;
  background: radial-gradient(circle, color-mix(in srgb, var(--c-design) 70%, transparent) .9px, transparent 1.3px) 50% 0 / 3px 6px repeat-y; }
.zoom > li p { position: relative; margin-top: 0; padding: 16px 2px 0; border-top: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.zoom > li p b { display: block; margin-bottom: 4px; font: 500 16px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); }

/* ——— who it is for (B3) ——— */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.who > li { display: grid; align-content: start; gap: 10px; padding: 28px clamp(16px, 2vw, 28px) 8px 0; }
.who > li + li { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.who__n { font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--c-design); }
.who h3 { font: 500 22px/1.2 var(--display); letter-spacing: -.02em; }
.who p { font-size: 15px; color: var(--ink-2); }

/* ——— comparison (B4) ——— */
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.cmp table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.cmp tbody th { width: 18%; font-weight: 500; color: var(--ink); }
.cmp td { width: 41%; color: var(--ink-3); }
.cmp .cmp__us { color: var(--ink); background: color-mix(in srgb, var(--c-design) 3%, transparent); }
.cmp thead .cmp__us { color: var(--c-design); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— docs and example briefs (B7) ——— */
.brief__do { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.docs__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s6); }

@media (max-width: 1080px) {
  .zoom, .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who > li:nth-child(3) { padding-left: 0; border-left: 0; }
  .who > li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .zoom, .who { grid-template-columns: 1fr; }
  .who > li, .who > li + li { padding: 22px 0 6px; border-left: 0; }
  .who > li + li { border-top: 1px solid var(--line); }
  .film__view { aspect-ratio: 4 / 3; }
  .cmp table { min-width: 0; } .cmp thead { display: none; }
  .cmp tr { display: grid; border-bottom: 1px solid var(--line); } .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { width: auto; padding: 6px 16px; border: 0; }
  .cmp tbody th { padding-top: 16px; } .cmp td:last-child { padding-bottom: 16px; }
  .cmp td::before { content: "OpenConstruction Design"; display: block; margin-bottom: 2px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .cmp td:last-child::before { content: "Typical proprietary BIM"; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .hero__copy > * { opacity: 1; transform: none; }
  .win { transform: none; }
  .zoom__view img { transform: translate(calc(var(--x) * -100%), calc(var(--y) * -100%)) !important; }
}
.grid3 .card.rv, .grid4 .card.rv, .fam__c.rv, .pc.rv, .repo.rv { transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color .25s, box-shadow .35s; }

/* ——— download-first CTA, beta badge, mobile menu ——— */
.btn--dl { --h: 58px; gap: 12px; padding: 0 26px 0 20px; }
.btn--dl > span { display: grid; gap: 3px; text-align: left; line-height: 1.05; }
.btn--dl small { font: 400 12px/1 var(--mono); letter-spacing: .02em; opacity: .7; }
.btn--dl .ic { width: 20px; height: 20px; }
.eyebrow .eyebrow__beta { color: var(--ink); }
.eyebrow .eyebrow__beta::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ok, #2f9e5b); vertical-align: 1px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #2f9e5b) 22%, transparent); }
.terms code { font-size: .85em; }
.nav__burger { display: none; width: 40px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); place-content: center; gap: 5px; }
.nav__burger i { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav__menu { display: grid; gap: 2px; height: calc(100svh - 64px); align-content: start; overflow: auto; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.nav__menu[hidden] { display: none; }
.nav__menu a:not(.btn) { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line-2, var(--line)); }
.nav__menu .btn { margin-top: 14px; }
@media (max-width: 1080px) { .nav__burger { display: grid; } }
@media (min-width: 1081px) { .nav__menu { display: none !important; } }
@media (max-width: 420px) { .nav__end .btn--primary:has(> svg) span { display: none; } .nav__end .btn--primary:has(> svg) { width: 38px; padding: 0; } }

/* ——— get started: three steps ——— */
.first { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 var(--s6, 48px); counter-reset: none; }
.first__s { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.first__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 500 15px/1 var(--mono); }
.first__s h3 { font: 500 20px/1.2 var(--display); letter-spacing: -.02em; margin: 6px 0 8px; }
.first__s p { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 12px; }
.first__s i { font-style: normal; color: var(--ink); }
.first__k { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
@media (max-width: 900px) { .first { grid-template-columns: 1fr; } }

/* ——— AI: developer block (MCP config, Lua) ——— */
.dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 40px; align-items: center; margin: 0 0 28px; padding: 36px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.dev__t h3 { font: 500 24px/1.2 var(--display); letter-spacing: -.02em; margin: 10px 0 12px; }
.dev__t p { color: var(--ink-2); line-height: 1.6; margin: 0; }
.code .c { color: var(--code-dim); }
@media (max-width: 900px) { .dev { grid-template-columns: 1fr; padding: 22px; } }
.trust { display: grid; gap: 14px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.trust dt { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.trust dd { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.dev__t p code { white-space: normal; }

/* ——— building services ——— */
.mep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 28px; }
.mep__c { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); }
.mep__m { margin: 0; aspect-ratio: 16 / 10; background: var(--media); overflow: hidden; }
.mep__m img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mep__b { padding: 22px 24px 24px; }
.mep__k { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent, var(--ink-3)); margin: 0 0 10px; }
.mep__b h3 { font: 500 22px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 14px; }
.mep__n { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.mep__n b { display: block; font: 500 22px/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mep__t { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 900px) { .mep { grid-template-columns: 1fr; } }

/* ——— editions ——— */
.sec--eds { padding-top: clamp(48px, 6vw, 88px); }
.eds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ed { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: clamp(22px, 2.4vw, 30px); }
.ed--now { border-color: var(--ink); box-shadow: var(--shadow); }
.ed__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ed__i { width: 26px; height: 26px; padding: 9px; box-sizing: content-box; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }
.ed__st { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 7px 10px; border-radius: 999px; background: var(--sunk); }
.ed__st--ok { background: var(--ok-soft); color: var(--ok); }
.ed__t { font: 500 24px/1.15 var(--display); letter-spacing: -.02em; }
.card .ed__d { color: var(--ink-2); line-height: 1.55; }
.ed__do { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 6px; }

/* ——— three ways to drive it ——— */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mode { display: grid; align-content: start; gap: 20px; min-width: 0; padding: clamp(22px, 2.6vw, 32px); }
.mode--chat { grid-column: 1 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px clamp(24px, 4vw, 56px); }
.mode--chat .mode__shot { grid-column: 2; grid-row: 1 / span 2; }
.mode__k { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.mode__k b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 500; letter-spacing: 0; }
.mode__h h3 { font: 500 clamp(20px, 1.8vw, 24px)/1.2 var(--display); letter-spacing: -.02em; margin: 14px 0 8px; }
.card .mode__h p { color: var(--ink-2); line-height: 1.55; }
.mode__shot { margin: 0; min-width: 0; }
.mode__shot img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--media); box-shadow: var(--shadow); }
.mode__shot figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.mode__shot q { color: var(--ink); font-style: italic; }
.mode--chat .steps li { padding: 12px 14px; }
.mode--chat .steps p { font-size: 14px; }
.tabs { min-width: 0; }
.tabs__bar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tabs__bar [role=tab] { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 500 13.5px/1 var(--text); color: var(--ink-2); cursor: pointer; }
.tabs__bar [role=tab]:hover { border-color: var(--ink-3); color: var(--ink); }
.tabs__bar [role=tab][aria-selected=true] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tabs [role=tabpanel][hidden] { display: none; }
.tabs .code pre { font-size: 12px; }
.tools { display: grid; border-top: 1px solid var(--line); }
.tools li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; color: var(--ink-3); }
.tools code { justify-self: start; font-size: 12.5px; color: var(--ink); }
.code__run--solo { border: 1px solid var(--code-edge); border-radius: var(--r-lg); color: var(--code-text); }
.more { border-top: 1px solid var(--line); }
.more summary { display: flex; align-items: center; gap: 8px; padding: 14px 0 4px; cursor: pointer; list-style: none; font-weight: 500; color: var(--ink); }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font: 500 14px/1 var(--mono); }
.more[open] summary::before { content: "\2212"; }
.more[open] summary { margin-bottom: 12px; }
.more__note { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.bsum { display: grid; gap: 16px; padding: 22px; }
.card .bsum__q { font: 500 18px/1.35 var(--display); letter-spacing: -.01em; color: var(--ink); }
.bsum__l { display: grid; border-top: 1px solid var(--line); }
.bsum__l > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.bsum__l dt { color: var(--ink-3); }
.bsum__l dd { color: var(--ink); }

/* ——— measured runs ——— */
.runsx { margin: 0 0 18px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-xl); }
.runsx__h { max-width: 46em; }
.runsx__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s6); border-top: 1px solid var(--ink); }
.runsx__l > li { padding: 22px 24px 4px 0; min-width: 0; }
.runsx__l > li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.runsx__k { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.card .runsx__big { margin: 14px 0 18px; font: 500 clamp(44px, 4.6vw, 64px)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.runsx__big small { font: 400 .3em/1 var(--mono); letter-spacing: 0; color: var(--ink-3); margin: 0 .5em 0 .2em; }
.runsx__n > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 14.5px; font-variant-numeric: tabular-nums; }
.runsx__n dt { color: var(--ink-3); }
.runsx__n dd { color: var(--ink); font-weight: 500; }
.card .runsx__cap { margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 62em; }

/* ——— providers ——— */
.prov { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.prov__g { padding: clamp(20px, 2.2vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); min-width: 0; }
.prov__k { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.logos { display: grid; gap: 4px; }
.logos li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font: 500 16px/1.25 var(--display); letter-spacing: -.01em; color: var(--ink); }
.logo { flex: none; width: 24px; height: 24px; background: var(--ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.prov__n { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.conn { margin-top: 0; }
.conn .card { padding: 22px; }
.conn .card h3 { margin: 8px 0 6px; }
.prov__tm { margin: 14px 0 28px; font-size: 12.5px; color: var(--ink-3); }

/* ——— ERP ——— */
.gives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.gives li { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.gives h3 { margin-top: 6px; font: 500 20px/1.2 var(--display); letter-spacing: -.015em; }
.gives p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.4fr) auto minmax(0, 1fr); align-items: stretch; padding: 18px; border-radius: var(--r-xl); }
.flow__n { display: grid; align-content: center; gap: 6px; padding: 16px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.flow__n svg { width: 22px; height: 22px; }
.flow__n b { font: 500 16px/1.2 var(--display); }
.flow__n span { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.flow__n code { white-space: normal; font-size: 12px; }
.flow__n--erp svg { color: var(--c-erp); }
.flow__n--ed { border-color: color-mix(in srgb, var(--c-design) 45%, var(--line)); background: color-mix(in srgb, var(--c-design) 7%, var(--surface)); }
.flow__n--ed svg { color: var(--c-design); }
.flow__n--pkg { background: var(--sunk); }
.flow__e { position: relative; display: grid; place-items: center; min-width: 92px; padding: 0 8px; }
.flow__e code { position: relative; z-index: 1; font-size: 11.5px; background: var(--surface); border: 1px solid var(--line); }
.flow__e i { position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: var(--ink-3); }
.flow__e i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left: 7px solid var(--ink-3); border-right: 0; }
.flow__how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 18px 0 var(--s6); }
.flow__how dt { font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.flow__how dd { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.erpshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.erpshots figure { margin: 0; }
.erpshots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--media); box-shadow: var(--shadow-sm); }
.erpshots figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.erpshots figcaption b { display: block; color: var(--ink); font-weight: 500; }
.erp__do { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }

/* ——— brief gallery ——— */
.bx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bx__c { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-xl); }
.bx__m { margin: 0; aspect-ratio: 16 / 10; background: var(--media); overflow: hidden; }
.bx__m img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bx__b { display: grid; grid-template-rows: auto auto 1fr auto auto; gap: 10px; padding: 22px; }
.bx__k { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.bx__b h3 { font: 500 20px/1.2 var(--display); letter-spacing: -.015em; }
.card .bx__q { color: var(--ink-2); line-height: 1.5; }
.bx__n { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 22px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
.bx__n b { display: block; font: 500 19px/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bx .brief__do { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 4px; }
.bx__cap { margin: 14px 0 var(--s6, 48px); font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 62em; }

@media (max-width: 1080px) {
  .modes, .mode--chat { grid-template-columns: 1fr; }
  .mode--chat .mode__shot { grid-column: auto; grid-row: auto; }
  .prov { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prov__g:first-child { grid-column: 1 / -1; }
  .prov__g:first-child .logos { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .flow { grid-template-columns: 1fr; padding: 14px; }
  .flow__e { min-height: 52px; }
  .flow__e i { left: 50%; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .flow__e i::after { right: auto; top: auto; bottom: -1px; left: -4px; border: 4.5px solid transparent; border-top: 7px solid var(--ink-3); border-bottom: 0; }
}
@media (max-width: 900px) {
  .eds, .gives, .erpshots, .bx, .runsx__l, .flow__how { grid-template-columns: 1fr; }
  .runsx__l > li, .runsx__l > li + li { padding: 20px 0 6px; border-left: 0; }
  .runsx__l > li + li { border-top: 1px solid var(--line); }
  .erpshots { gap: 24px; }
}
@media (max-width: 600px) {
  .prov, .prov__g:first-child .logos, .tools li, .bsum__l > div { grid-template-columns: 1fr; }
  .bsum__l > div { gap: 2px; }
  .ed__do .btn, .erp__do .btn--primary, .erp__do .btn--line { width: 100%; }
  .btn--dl { white-space: normal; }
}

.sub { font: 500 22px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 8px; }
.geo { margin: 0 0 56px; }
.geo__cap { margin: 0 0 24px; }
.geo__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.geo__f { margin: 0; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; }
.geo__f:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.geo__m { aspect-ratio: 16 / 10; overflow: hidden; background: var(--media); }
.geo__m img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.geo__f:hover .geo__m img { transform: scale(1.04); }
.geo__f figcaption { display: grid; gap: 4px; padding: 14px 18px 18px; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.geo__f figcaption b { font: 500 18px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
@media (max-width: 1080px) { .geo__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .geo__g { grid-template-columns: 1fr; } .geo { margin-bottom: 40px; } }
@media (prefers-reduced-motion: reduce) { .geo__f, .geo__m img { transition: none; } .geo__f:hover, .geo__f:hover .geo__m img { transform: none; } }
