/* Markland Street Ontology site: menu, the scaled product stage and the walkthrough form. Text and sections are static; only product mock-ups and charts move. */
   warm paper, near-black ink, one signal colour (tape), Switzer only. Light is the page default;
   the night band stays dark. */

@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-600.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --paper: #f3f1ec;
  --sheet: #ebe8e1;
  --well: #e2ded5;
  --rule: #dcd8cf;
  --ink: #121211;
  --soft: #5f5d58;
  --faint: #9b9890;
  --tape: #e0482d;
  --tape-wash: rgba(224, 72, 45, 0.12);
  --go: #3f7a55;
  --press: #121211;
  --on-press: #f3f1ec;
  --night: #232321;
  --on-night: #f3f1ec;
  --go-wash: rgba(63, 122, 85, 0.13);
  --dark-text: #121211; /* text on light chips inside dark areas, in both themes */

  /* The night side, used by the band and the dark product screens. */
  --n-paper: #232321;
  --n-deep: #1f1f1d;
  --n-sheet: #2a2a27;
  --n-well: #32322f;
  --n-rule: rgba(238, 235, 228, 0.12);
  --n-ink: #eeebe4;
  --n-soft: #a8a59e;
  --n-faint: #6d6b66;
  --n-tape: #ff6a4d;
  --n-tape-wash: rgba(255, 106, 77, 0.16);
  --n-go: #6cc08e;

  --font: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-float: 0 24px 40px -26px rgba(18, 18, 17, 0.5);
  --shadow-device: 0 40px 70px -30px rgba(18, 18, 17, 0.5);
  --gutter: 28px;
  --sec: 130px;
  color-scheme: light;
}
/* Dark mode follows the system unless the visitor picks a theme; the choice is stored. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1f1f1d; --sheet: #262624; --well: #2e2e2b; --rule: #3a3a36; --ink: #eeebe4; --soft: #b3afa7; --faint: #7d7a73;
    --tape: #ff6a4d; --tape-wash: rgba(255, 106, 77, 0.16); --go: #6cc08e; --go-wash: rgba(108, 192, 142, 0.14); --press: #eeebe4; --on-press: #1f1f1d;
    --shadow-float: 0 24px 40px -22px rgba(0, 0, 0, 0.7); --shadow-device: 0 40px 70px -30px rgba(0, 0, 0, 0.75); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #1f1f1d; --sheet: #262624; --well: #2e2e2b; --rule: #3a3a36; --ink: #eeebe4; --soft: #b3afa7; --faint: #7d7a73;
  --tape: #ff6a4d; --tape-wash: rgba(255, 106, 77, 0.16); --go: #6cc08e; --go-wash: rgba(108, 192, 142, 0.14); --press: #eeebe4; --on-press: #1f1f1d;
  --shadow-float: 0 24px 40px -22px rgba(0, 0, 0, 0.7); --shadow-device: 0 40px 70px -30px rgba(0, 0, 0, 0.75); color-scheme: dark;
}
/* In dark mode the drawings sit on a paper tile, and the mark switches to its paper version. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic { background: #f3f1ec; border-radius: 5px; padding: 2px; }
  :root:not([data-theme="light"]) .lockup__mark { content: url("../img/mark-paper.svg"); }
  :root:not([data-theme="light"]) .lockup__flag { content: url("../img/canada-flag-paper.png"); }
  :root:not([data-theme="light"]) .band { box-shadow: inset 0 1px 0 var(--n-rule), inset 0 -1px 0 var(--n-rule) !important; }
  :root:not([data-theme="light"]) .night, :root:not([data-theme="light"]) .ba__col--after, :root:not([data-theme="light"]) .tile--night, :root:not([data-theme="light"]) .plan--lead, :root:not([data-theme="light"]) .spec, :root:not([data-theme="light"]) .arch__col--onto { box-shadow: inset 0 0 0 1px var(--n-rule); }
}
:root[data-theme="dark"] .ic { background: #f3f1ec; border-radius: 5px; padding: 2px; }
:root[data-theme="dark"] .lockup__mark { content: url("../img/mark-paper.svg"); }
:root[data-theme="dark"] .lockup__flag { content: url("../img/canada-flag-paper.png"); }
:root[data-theme="dark"] .band { box-shadow: inset 0 1px 0 var(--n-rule), inset 0 -1px 0 var(--n-rule) !important; }
:root[data-theme="dark"] .night, :root[data-theme="dark"] .ba__col--after, :root[data-theme="dark"] .tile--night, :root[data-theme="dark"] .plan--lead, :root[data-theme="dark"] .spec, :root[data-theme="dark"] .arch__col--onto { box-shadow: inset 0 0 0 1px var(--n-rule); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.45; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--tape-wash); }
.num, .tnum { font-variant-numeric: tabular-nums; }

/* Every interactive element gets the tape focus ring. */
:focus-visible { outline: 2px solid var(--tape); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible, .m-dark :focus-visible { outline-color: var(--n-tape); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 500; transition: top 0.2s; }
.skip:focus { top: 12px; }

/* EN | FR in the header, for visitors in Canada and where French is served first (the site Worker shows it).
   The same segmented pill as the nav links and the theme toggle. */
.lang { display: inline-flex; flex: none; gap: 2px; padding: 3px; border-radius: 8px; background: var(--sheet); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; line-height: 1; }
.lang[hidden] { display: none; }
.lang > * { display: inline-grid; place-items: center; min-width: 36px; height: 32px; padding: 0 10px; border-radius: 5px; color: var(--soft); text-decoration: none; transition: color 0.2s, background 0.25s; }
.lang a:hover { color: var(--ink); }
.lang [aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.12); }
.nav__right .lang { margin-right: 0; }
.d-top .lang > * { height: 30px; min-width: 34px; }
@media (max-width: 420px) { .lang > * { min-width: 32px; padding: 0 8px; } }
@media (max-width: 359px) { .lang > * { min-width: 28px; padding: 0 5px; } .nav__right { gap: 4px; } .nav:has(.lang:not([hidden])) .nav__in { gap: 8px; } .nav:has(.lang:not([hidden])) .lockup__flag { display: none; } }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding-top: var(--sec); }

/* ---------- Type ---------- */
.t-hero { font-size: clamp(42px, 6vw, 82px); line-height: 0.98; font-weight: 500; letter-spacing: -0.05em; text-wrap: balance; }
.t-statement { font-size: clamp(44px, 8.6vw, 120px); line-height: 0.96; font-weight: 500; letter-spacing: -0.055em; text-wrap: balance; }
.t-section { font-size: clamp(32px, 4.4vw, 62px); line-height: 1.02; font-weight: 500; letter-spacing: -0.045em; text-wrap: balance; }
.t-tile { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.t-small { font-size: clamp(20px, 1.7vw, 23px); line-height: 1.15; font-weight: 500; letter-spacing: -0.03em; }
.lede { font-size: 18px; line-height: 1.5; color: var(--soft); max-width: 34em; text-wrap: pretty; }
.cap { font-size: 12.5px; line-height: 1.35; font-weight: 500; color: var(--soft); }
.prose { font-size: 17px; line-height: 1.55; max-width: 38em; color: var(--soft); }
.prose strong { color: var(--ink); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 52px; padding: 0 24px; border-radius: 8px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.4s var(--out);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.35s var(--out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--go { background: var(--press); color: var(--on-press); }
.btn--go:hover { background: color-mix(in srgb, var(--press) 84%, var(--paper)); }
.btn--line { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--paper { background: var(--on-night); color: var(--dark-text); }
.btn--paper:hover { background: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(243, 241, 236, 0.45); color: var(--on-night); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--on-night); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.link { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 15px; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.prose .link { display: inline; font-size: inherit; }
.nw { white-space: nowrap; }
/* site.js wraps words with digits or hyphens in .nw; it must look like the text around it, whatever "x span" rule matches it */
span.nw.nw { display: inline; margin: 0; padding: 0; font: inherit; letter-spacing: inherit; color: inherit; max-width: none; background: none; border: 0; border-radius: 0; box-shadow: none; }
.link svg { width: 16px; height: 16px; transition: transform 0.3s var(--out); }
.link:hover svg { transform: translateX(4px); color: var(--tape); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip--sheet { background: var(--sheet); box-shadow: none; }
.chip--tape { background: var(--tape-wash); box-shadow: none; color: var(--ink); }
.chip svg { width: 15px; height: 15px; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Illustrative scenario marker: sentence case, never above a heading. */
.illus { display: inline-block; font-size: 13px; font-weight: 400; color: var(--soft); }
.night .illus, .m-dark .illus { color: var(--n-soft); }
.eng-sechead p .illus { display: block; margin-top: 10px; }

/* A capability built into an implementation when a customer needs it: plain small text after the claim, as the docs say "On request". No chip. */
.onreq, .eng-costs .onreq, .list-rows .onreq { display: inline; margin-left: 0.35em; font-size: 13px; font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--soft); white-space: nowrap; }
.onreq--block, .tile .onreq--block { display: block; margin: 10px 0 0; }
.night .onreq, .m-dark .onreq, .tile--night .onreq { color: var(--n-soft); }

/* ---------- Lockup ---------- */
.lockup { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.lockup__mark { width: 30px; height: 32px; flex: none; }
/* One line on wider screens: the product name set in the wordmark's size, one weight lighter. Stacked on phones. */
.lockup__words { display: flex; align-items: baseline; gap: 0.26em; white-space: nowrap; }
.lockup__name { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.lockup__by { display: inline-block; font-size: 21px; font-weight: 400; line-height: 1; color: var(--soft); letter-spacing: -0.03em; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.is-scrolled { border-color: var(--rule); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.nav__links { display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: var(--sheet); font-size: 14.5px; }
.nav__item { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 6px; color: var(--soft); font-weight: 500; white-space: nowrap; transition: color 0.2s, background 0.25s; }
.nav__item:hover { color: var(--ink); }
.nav__item[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.08); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__menu { display: none; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--sheet); }
.nav__menu svg { width: 22px; height: 22px; }
.nav__menu .i-close { display: none; }
.nav__menu[aria-expanded="true"] .i-open { display: none; }
.nav__menu[aria-expanded="true"] .i-close { display: block; }
.nav__sheet { display: grid; padding: 4px var(--gutter) 22px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav__sheet[hidden] { display: none; }
.nav__sheet a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-top: 1px solid var(--rule); font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.nav__sheet a:not(.btn) svg { width: 18px; height: 18px; color: var(--soft); }
.nav__sheet a[aria-current="page"] { color: var(--ink); }
.nav__sheet a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--tape); }
.nav__sheet .btn { margin-top: 14px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-top: 80px; }
.hero__top { display: grid; gap: 34px; }
.hero__title { max-width: none; }
.hero__side { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero__side .lede { max-width: 30em; }
.hero__side .lede { font-size: 17px; }
.page-hero { padding-top: 80px; }
.page-hero .t-hero { max-width: 14em; }
.page-hero .lede { margin-top: 26px; }
.page-hero .ctas { margin-top: 32px; }


/* The product on a wide sheet stage. The deck is a fixed 1200 x 720 screen scaled to fit (--s). */
.stage { position: relative; margin-top: 60px; padding: 44px 44px 0; border-radius: 6px; background: var(--sheet); overflow: hidden; isolation: isolate; }
.stage__fit { --s: 0.8; position: relative; width: 78%; height: calc(720px * var(--s)); overflow: hidden; border-radius: 8px 8px 0 0; box-shadow: var(--shadow-device); }
.stage__fit .deck { position: absolute; left: 0; top: 0; transform: scale(var(--s)); transform-origin: top left; }
.stage__card { position: absolute; right: 44px; top: 96px; z-index: 2; width: 392px; }
.stage__note { position: absolute; left: 44px; top: 10px; z-index: 3; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 460px; padding: 26px 26px 0; border-radius: 6px; background: var(--sheet); overflow: hidden; isolation: isolate; }
.tile--night { background: var(--night); color: var(--on-night); }
.tile--night .tile__line { color: var(--on-night); }
.tile--short { min-height: 0; padding-bottom: 26px; }
.s7 { grid-column: span 7; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.tile__name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.tile__name .ic { width: 26px; height: 26px; flex: none; }
.tile--night .tile__name .ic { padding: 2px; border-radius: 5px; background: #f3f1ec; }
.tile__name .go-arrow { width: 18px; height: 18px; margin-left: auto; color: var(--soft); transition: transform 0.35s var(--out), color 0.2s; }
.tile__line { margin-top: 14px; max-width: 460px; }
.tile__text { margin-top: 10px; color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 30em; }
.tile--night .tile__text { color: var(--n-soft); }
.tile__art { position: relative; flex: 1; display: grid; align-items: center; margin-top: 26px; min-height: 0; }
.tile__art > * { min-width: 0; }
.tile__art--pad { padding-bottom: 26px; }
.tile__art--bleed { margin-left: -26px; margin-right: -26px; }


/* ---------- How it works: four stops on one line ---------- */
.road { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.road > li { position: relative; display: grid; align-content: start; gap: 8px; padding-top: 18px; border-top: 1px solid var(--ink); }
.road__name { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.road__line { color: var(--soft); font-size: 15.5px; line-height: 1.45; max-width: 17em; }
.road__art { margin-top: 18px; }

/* ---------- Night band ---------- */
.night { background: var(--night); color: var(--on-night); }
.band { margin-top: var(--sec); padding: 130px 0 120px; }
.band .t-statement { max-width: 11em; }
.band__proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 72px; align-items: stretch; }
.band__facts { list-style: none; display: grid; gap: 0; align-content: start; border-bottom: 1px solid var(--n-rule); }
.band__facts li { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; padding: 20px 0; border-top: 1px solid var(--n-rule); }
.band__facts svg { width: 22px; height: 22px; margin-top: 2px; color: var(--n-go); }
.band__facts b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.band__facts span span { display: block; margin-top: 4px; font-size: 15px; color: var(--n-soft); }
.night .lede { color: var(--n-soft); }
.night .chip { background: var(--n-sheet); box-shadow: none; color: var(--n-ink); }

/* ---------- Compare ---------- */
.compare { margin-top: 48px; border-radius: 6px; background: var(--sheet); overflow: hidden; }
.compare__row { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; gap: 20px; padding: 20px 26px; border-top: 1px solid var(--rule); align-items: baseline; }
.compare__row:first-child { border-top: 0; }
.compare__row--head { padding-top: 22px; padding-bottom: 18px; }
.compare__row--head > * { font-size: 15px; font-weight: 600; }
.compare__row--head .lockup__mark { width: 18px; height: 19px; }
.compare__k { font-size: 15px; font-weight: 600; }
.compare__us { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.compare__them { font-size: 15.5px; color: var(--soft); line-height: 1.45; }
.compare__us-h { display: inline-flex; align-items: center; gap: 8px; }
.compare__note { margin-top: 14px; font-size: 13px; color: var(--soft); }

/* ---------- Swipe rows on phones ---------- */
.ind-grid .tile:not(.tile--short) { min-height: 400px; }
.tile__chips { margin-top: auto; padding-top: 40px; }

/* ---------- Close ---------- */
.close { display: grid; justify-items: start; gap: 36px; padding-top: 140px; padding-bottom: 40px; }
.close .t-statement { max-width: 10em; }

/* ---------- Footer ---------- */
.foot { margin-top: 120px; padding: 56px 0 40px; border-top: 1px solid var(--rule); }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; align-items: start; }
.foot__brand { display: grid; gap: 14px; justify-items: start; }
.foot__brand p { font-size: 14px; color: var(--soft); max-width: 24em; }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.foot__col h2 { font-size: 13px; font-weight: 600; color: var(--soft); margin-bottom: 4px; }
.foot__col a { color: var(--ink); }
.foot__col a:hover { color: var(--soft); }
.theme { display: inline-flex; gap: 2px; padding: 3px; border-radius: 8px; background: var(--sheet); }
.theme button { height: 30px; padding: 0 13px; border-radius: 5px; font-size: 13px; font-weight: 500; color: var(--soft); transition: background 0.2s, color 0.2s; }
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.12); }
/* The flag beside "Ontology" and the hosting line, shown only to visitors in Canada (js/site.js) */
[data-ca][hidden] { display: none; }
/* The flag stands on the baseline at the x-height of Switzer (0.533em), so it matches the lowercase letters at any size */
.lockup__flag { display: inline-block; width: 1.066em; height: 0.533em; margin-left: 0.42em; vertical-align: baseline; }
.foot__fine {align-items: center; margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: var(--soft); }

/* ---------- Platform page groups ---------- */
.group { padding-top: var(--sec); }
.group__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.apps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.app { display: grid; grid-template-rows: auto 1fr; gap: 26px; min-height: 168px; padding: 22px; border-radius: 6px; background: var(--sheet); }
.app__name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.app__name svg { width: 26px; height: 26px; flex: none; }
.app__line { align-self: end; font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* ---------- Before / after ---------- */
.ba { padding-top: var(--sec); }
.ba__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ba__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 40px; }
.ba__col { padding: 26px; border-radius: 6px; background: var(--sheet); }
.ba__col--after { background: var(--night); color: var(--on-night); }
.ba__label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.ba__label .when { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--soft); }
.ba__col--after .ba__label .when { color: var(--n-soft); }
.ba__title { margin-top: 14px; }
.steps { list-style: none; position: relative; display: grid; gap: 0; margin-top: 24px; }
.steps li { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; }
.ba__col--after .steps li { border-color: var(--n-rule); }
.steps time { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--soft); padding-top: 1px; }
.ba__col--after .steps time { color: var(--n-soft); }
.steps .bad { color: var(--tape); font-weight: 500; }
.steps .good { color: var(--go); font-weight: 500; }
.ba__col--after .steps .good { color: var(--n-go); }
.ba__art { margin-top: 24px; }
.ba__result { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ba__result .chip { background: var(--n-sheet); color: var(--n-ink); box-shadow: none; }
.ba__col:not(.ba__col--after) .ba__result .chip { background: var(--paper); color: var(--ink); }
.modelled { font-size: 12.5px; color: var(--soft); margin-top: 12px; }
.ba__col--after .modelled { color: var(--n-soft); }

/* ---------- Industries page ---------- */
.ind { padding-top: var(--sec); }
.ind__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px 60px; align-items: end; }
.ind__head .t-section { display: flex; align-items: center; gap: 16px; }
.ind__head .t-section svg { width: 52px; height: 52px; flex: none; }
.ind__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; margin-top: 40px; }
.ind__story { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 6px; background: var(--sheet); }
.ind__story .t-small { max-width: 20em; }
.ind__story ol { list-style: none; display: grid; gap: 0; }
.ind__story ol li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; }
.ind__story ol li b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--soft); font-size: 13px; padding-top: 2px; }
.ind__story .modelled { margin-top: auto; }
.ind__art { display: grid; gap: 14px; align-content: start; min-width: 0; }
.ind__shot { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule), 0 30px 70px -30px rgba(0, 0, 0, 0.45); }
.ind__sub { display: flex; flex-wrap: wrap; gap: 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; }
.jump a { font-size: 15px; font-weight: 500; color: var(--soft); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; transition: color 0.2s; }
.jump a:hover { color: var(--ink); }
.jump svg { width: 24px; height: 24px; }

/* ---------- Security ---------- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 14px; margin-top: 48px; }
.list-rows { list-style: none; display: grid; }
.list-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.list-rows li:last-child { border-bottom: 1px solid var(--rule); }
.list-rows svg { width: 26px; height: 26px; }
.list-rows b { font-weight: 500; }
.list-rows small { display: block; color: var(--soft); font-size: 14px; margin-top: 2px; }
.status { display: inline-block; font-size: 13px; font-weight: 500; white-space: nowrap; }
.status--now { color: var(--ink); }
.status--road { color: var(--soft); }

.deploys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 6px; background: var(--sheet); }
.plan--lead { background: var(--night); color: var(--on-night); }
.plan__name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.plan__name svg { width: 26px; height: 26px; }
.plan--lead .plan__name svg { padding: 2px; border-radius: 5px; background: #f3f1ec; }
.plan__price { display: grid; gap: 6px; }
.plan__price b { font-size: clamp(44px, 5vw, 64px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.plan__price b small { font-size: 0.32em; letter-spacing: -0.01em; font-weight: 500; color: var(--soft); margin-right: 6px; vertical-align: 0.6em; }
.plan--lead .plan__price b small, .plan--lead .plan__price span { color: var(--n-soft); }
.plan__price span { font-size: 14.5px; color: var(--soft); }
.plan__for { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.plan ul { list-style: none; display: grid; gap: 0; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.4; }
.plan--lead li { border-color: var(--n-rule); }
.plan li svg { width: 18px; height: 18px; margin-top: 1px; color: var(--go); }
.plan--lead li svg { color: var(--n-go); }
.plan .btn { margin-top: auto; align-self: start; }
.setup { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 14px; margin-top: 14px; }
.weeks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.weeks li { display: grid; grid-template-columns: 1fr; align-content: start; gap: 8px; padding: 16px; border-top: 0; border-radius: 6px; background: var(--paper); }
.weeks li b { font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }
.weeks li span { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.weeks__bar { height: 4px; border-radius: 2px; background: var(--well); overflow: hidden; }
.weeks__bar i { display: block; height: 100%; width: calc(var(--k) * 25%); background: var(--ink); transform-origin: left; }
.js .weeks__bar i { transform: scaleX(0); transition: transform 1.2s var(--out); transition-delay: calc(0.3s + var(--k) * 0.18s); }
.js .is-in .weeks__bar i { transform: none; }
.faq { margin-top: 48px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.4s var(--out); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--soft); font-size: 16.5px; line-height: 1.55; }

/* ---------- Book ---------- */
.book { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 60px; align-items: start; padding-top: 80px; }
.book__side { display: grid; gap: 28px; position: sticky; top: 110px; }
.book__steps { list-style: none; display: grid; }
.book__steps li { display: block; padding: 15px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.book__steps li:last-child { border-bottom: 1px solid var(--rule); }
.book__steps b { font-size: 13px; font-weight: 600; color: var(--soft); padding-top: 2px; font-variant-numeric: tabular-nums; }
.form { display: grid; gap: 18px; padding: 30px; border-radius: 6px; background: var(--sheet); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--soft); }
.input, .select, .textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 6px; border: 1px solid var(--rule); background: var(--paper); font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--tape); outline-offset: 2px; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--tape); }
.field__err { display: none; font-size: 13.5px; font-weight: 500; color: #b8331c; }
:root[data-theme="dark"] .field__err { color: var(--tape); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field__err { color: var(--tape); } }
.field.has-error .field__err { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pills legend { margin-bottom: 9px; padding: 0; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 8px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font-size: 14.5px; font-weight: 500; color: var(--soft); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.pill input:hover + span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.pill input:focus-visible + span { outline: 2px solid var(--tape); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 4px; }
.form__fine { font-size: 13.5px; color: var(--soft); max-width: 26em; }
.form__summary { padding: 14px 16px; border-radius: 6px; background: var(--tape-wash); font-size: 14.5px; font-weight: 500; }
.form__summary[hidden] { display: none; }
.done { display: grid; gap: 18px; justify-items: start; padding: 34px 30px; border-radius: 6px; background: var(--night); color: var(--on-night); }
.done[hidden] { display: none; }
.done__tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--n-go); color: var(--dark-text); }
.done__tick svg { width: 26px; height: 26px; }
.done p { color: var(--n-soft); font-size: 16.5px; max-width: 30em; }
.done a:not(.btn) { color: var(--n-ink); text-decoration: underline; text-underline-offset: 3px; }


/* ---------- Typed timelines: signal to result ---------- */
code { font-family: var(--font); font-size: 0.94em; font-weight: 500; padding: 1px 5px; border-radius: 4px; background: var(--well); white-space: nowrap; }
.night code, .ba__col--after code, .tile--night code { background: var(--n-well); color: var(--n-ink); }
.steps--k li { grid-template-columns: 74px 118px minmax(0, 1fr); }
.kind { font-size: 13px; font-weight: 600; padding-top: 1px; color: var(--soft); }
.ba__col--after .kind { color: var(--n-soft); }
.kind--agent, .kind--automation { color: var(--ink); }
.ba__col--after .kind--agent, .ba__col--after .kind--automation, .ba__col--after .kind--approval { color: var(--n-ink); }
.kind--result { color: var(--go); }
.ba__col--after .kind--result { color: var(--n-go); }
.sysb { display: inline-flex; align-items: center; height: 21px; padding: 0 7px; margin: 0 4px 0 0; border-radius: 4px; background: var(--well); font-style: normal; font-size: 11.5px; font-weight: 600; vertical-align: 1px; white-space: nowrap; }
.sysb:not(:first-child) { margin-left: 8px; }
.ba__col--after .sysb { background: #eeebe4; color: var(--dark-text); }
.ba__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.ba__art { display: grid; justify-items: center; margin-top: 14px; padding: 44px 26px; border-radius: 6px; background: var(--sheet); }
.ba__art > * { width: 100%; max-width: 520px; }
.ba__art [data-mock="sim"] { max-width: 640px; }
.ind__story .steps--k li { grid-template-columns: 64px 108px minmax(0, 1fr); }

.loop { list-style: none; counter-reset: loop; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 48px; }
.loop li { counter-increment: loop; display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: 6px; background: var(--sheet); }
.loop li::before { content: counter(loop, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; }
.loop b { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.loop span { font-size: 14.5px; line-height: 1.45; color: var(--soft); }

/* ---------- The Ontology: architecture diagram ---------- */
.arch { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.35fr 1fr; gap: 40px; margin-top: 48px; padding: 30px; border-radius: 6px; background: var(--sheet); }
.arch__col { position: relative; display: grid; align-content: start; gap: 12px; }
.arch__col + .arch__col::before { content: ""; position: absolute; left: -32px; top: 50%; width: 24px; height: 1.5px; background: var(--ink); }
.arch__col + .arch__col::after { content: ""; position: absolute; left: -14px; top: calc(50% - 4px); width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: rotate(45deg); }
.arch__h { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.arch__h > span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 600; flex: none; }
.arch__list { list-style: none; display: grid; gap: 6px; }
.arch__list li { display: grid; gap: 1px; padding: 9px 12px; border-radius: 6px; background: var(--paper); }
.arch__list b { font-size: 14px; font-weight: 600; }
.arch__list small { font-size: 12.5px; color: var(--soft); }
.arch__col--onto { padding: 16px; border-radius: 8px; background: var(--night); color: var(--on-night); }
.arch__col--onto .arch__h > span { background: var(--n-ink); color: var(--dark-text); }
.arch__layer { display: grid; gap: 8px; padding: 12px; border-radius: 6px; background: var(--n-sheet); }
.arch__layer > b { font-size: 14px; font-weight: 600; }
.arch__layer > small { font-size: 12.5px; color: var(--n-soft); margin-top: -6px; }
.arch__objs, .arch__links { display: flex; flex-wrap: wrap; gap: 5px; }
.arch__objs i { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 5px; background: var(--n-ink); color: var(--dark-text); font-style: normal; font-size: 12.5px; font-weight: 600; }
.arch__objs i.is-act { background: transparent; box-shadow: inset 0 0 0 1px var(--n-ink); color: var(--n-ink); }
.arch__objs i.is-fn { background: var(--n-well); color: var(--n-ink); font-weight: 500; }
.arch__links span { font-size: 12px; color: var(--n-soft); padding: 2px 8px; border-radius: 4px; background: var(--n-well); }
.arch__back { grid-column: 1 / -1; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding: 14px 18px 14px 44px; border-radius: 6px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.arch__back::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); }
.arch__back::after { content: ""; position: absolute; left: 17px; top: calc(50% - 4px); width: 7px; height: 7px; border-bottom: 1.5px solid var(--ink); border-left: 1.5px solid var(--ink); transform: rotate(45deg); }
.arch__back p { font-size: 15px; color: var(--soft); flex: 1; min-width: 16em; }

.layers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.terms { display: grid; gap: 0; margin-top: 24px; }
.terms > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.tile--night .terms > div { border-color: var(--n-rule); }
.terms dt { font-size: 15px; font-weight: 600; }
.terms dd { font-size: 15px; line-height: 1.45; color: var(--soft); }
.tile--night .terms dd { color: var(--n-soft); }

/* Spec blocks: typeset definitions, Switzer with tabular figures. */
.anat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 40px; align-items: stretch; }
.anat .spec { display: flex; flex-direction: column; }
.anat .spec pre { flex: 1; }
.anat__side { display: grid; gap: 14px; min-width: 0; }
.spec { min-width: 0; border-radius: 6px; background: var(--night); color: var(--n-ink); overflow: hidden; }
.spec__h { padding: 14px 18px; border-bottom: 1px solid var(--n-rule); font-size: 13.5px; font-weight: 600; color: var(--n-soft); }
.spec pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; font-variant-numeric: tabular-nums; tab-size: 2; }
.spec pre code { padding: 0; background: none; font-family: inherit; font-size: inherit; font-weight: 400; white-space: pre; color: var(--n-ink); }
.spec .ln { display: block; padding-left: calc(var(--d) * 2ch); white-space: pre; }
.spec .g { display: inline-block; width: 1.1em; }
.spec .c { margin-left: 2ch; }
.spec .k { color: var(--n-soft); font-weight: 500; }
.spec .t { color: #fff; font-weight: 600; }
.spec .s { color: var(--n-go); }
.spec .c { color: #a29e96; }
.spec__note { padding: 12px 18px 16px; border-top: 1px solid var(--n-rule); font-size: 13.5px; color: var(--n-soft); }
.graph { margin: 0; padding: 18px; border-radius: 6px; background: var(--sheet); }
.graph svg { width: 100%; height: auto; }
.graph__e path { stroke: var(--ink); stroke-width: 1.5; }
.graph__n rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.graph__c { fill: var(--ink); }
.graph__t text { font-family: var(--font); font-size: 13px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.graph__t text.is-c { fill: var(--paper); font-size: 14px; }
.graph__l text { font-family: var(--font); font-size: 12px; font-weight: 500; fill: var(--soft); text-anchor: middle; paint-order: stroke; stroke: var(--sheet); stroke-width: 8px; stroke-linejoin: round; }
.hops { list-style: none; display: grid; gap: 0; margin-top: 22px; }
.tile__foot { margin-top: 14px; }
.hops li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.hops em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.hops code { white-space: normal; }

/* ---------- 404 ---------- */
.lost { padding-top: 96px; padding-bottom: 40px; display: grid; gap: 30px; justify-items: start; }
.lost__art { width: 100%; max-width: 520px; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lost__art { filter: invert(0.9) hue-rotate(180deg); } }
:root[data-theme="dark"] .lost__art { filter: invert(0.9) hue-rotate(180deg); }

/* ---------- Tablets ---------- */
@media (max-width: 1180px) {
  .stage__fit { width: 100%; }
  .stage__card { position: relative; right: auto; top: auto; width: auto; max-width: 440px; margin: -120px 0 44px auto; }
  .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__menu { display: inline-grid; }
}
@media (max-width: 1040px) {
  .arch { grid-template-columns: 1fr 1fr; }
  .arch__col + .arch__col::before, .arch__col + .arch__col::after { display: none; }
  .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .layers, .anat { grid-template-columns: 1fr; }
  .s7, .s5 { grid-column: span 6; }
  .s4 { grid-column: span 6; }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
    .band__proof, .ba__grid, .ind__body, .feat, .setup, .book { grid-template-columns: 1fr; }
  .ind__head { grid-template-columns: 1fr; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__k { grid-column: 1 / -1; }
  .compare__row--head .compare__k { display: none; }
  .plans .plan { grid-column: span 12 !important; }
  .deploys { grid-template-columns: 1fr; }
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book__side { position: static; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  :root { --gutter: 18px; --sec: 88px; }
  html { scroll-padding-top: 80px; }
  .nav__in { height: 68px; }
  .nav__cta { display: none; }
  .lockup__name { font-size: 19px; }
  .lockup__mark { width: 27px; height: 29px; }
  .lockup__words { display: grid; gap: 0; margin-top: -2px; }
  .lockup__by { font-size: 13.5px; font-weight: 500; letter-spacing: -0.01em; }
  .hero, .page-hero { padding-top: 44px; }
  .hero__top { gap: 24px; }
  .hero__title br { display: none; }
  .t-hero { font-size: clamp(40px, 11.4vw, 46px); }
  .t-statement { font-size: clamp(44px, 13.4vw, 60px); }
  .t-section { font-size: clamp(32px, 9.4vw, 40px); }
  .ctas { flex-direction: column; width: 100%; }
  .ctas .btn { width: 100%; }
  .stage { margin-top: 40px; padding: 18px 18px 0; }
  .stage__card { margin: -60px 0 18px; max-width: none; }
  .stage { padding-top: 48px; }
  .stage__note { left: 18px; top: 12px; }
  .bento { gap: 12px; margin-top: 36px; }
  .s7, .s5, .s4, .s6, .s8 { grid-column: 1 / -1; }
  .tile { min-height: 0; padding: 22px 20px 0; }
  .tile__art { margin-top: 22px; }
  .tile__art--pad { padding-bottom: 20px; }
  .tile__art--bleed { margin-left: -20px; margin-right: -20px; }
  /* Swipeable rows replace wide grids. */
  .swipe { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { grid-column: auto !important; scroll-snap-align: start; }
  .road { grid-template-columns: 1fr; row-gap: 36px; margin-top: 40px; }
    .band { padding: 88px 0 80px; }
  .band__proof { margin-top: 48px; }
  .compare__row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .compare__row--head { display: none; }
  .compare__us::before { content: "Markland Street: "; font-weight: 600; }
  .compare__them::before { content: "Enterprise platforms: "; font-weight: 600; color: var(--ink); }
  .close { padding-top: 88px; padding-bottom: 24px; gap: 28px; }
  .foot { margin-top: 88px; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .apps { grid-template-columns: 1fr; gap: 10px; }
  .app { min-height: 0; gap: 16px; padding: 18px 20px; }
  .group__head { grid-template-columns: 1fr; }
  .ba__col { padding: 22px 20px; }
  .steps li { grid-template-columns: 50px 1fr; font-size: 15px; }
  .ind__head .t-section svg { width: 40px; height: 40px; }
  .ind__story { padding: 22px 20px; }
  .plan { padding: 24px 20px; }
  .weeks { grid-template-columns: 1fr 1fr; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .book { padding-top: 44px; gap: 40px; }
  .faq summary { font-size: 18px; }
  .steps--k li, .ind__story .steps--k li { grid-template-columns: 50px minmax(0, 1fr); row-gap: 3px; }
  .steps--k .kind { grid-column: 2; }
  .steps--k time { grid-row: span 2; }
  .steps--k li > span { grid-column: 2; }
  .ba__art { padding: 20px 14px; }
  .loop { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; gap: 30px; padding: 18px; }
  .arch__col + .arch__col::before { display: block; left: 50%; top: -22px; width: 1.5px; height: 14px; }
  .arch__col + .arch__col::after { display: block; left: calc(50% - 3.5px); top: -14px; transform: rotate(135deg); }
  .arch__back { padding-left: 18px; }
  .arch__back::before, .arch__back::after { display: none; }
  .terms > div { grid-template-columns: 1fr; gap: 3px; }
  .spec pre { font-size: 12.5px; padding: 14px; }
  /* Wrap long lines on phones with a hanging indent instead of scrolling. */
  .spec .ln { white-space: normal; padding-left: calc(var(--d) * 1.2em + 1.2em); text-indent: -1.2em; }
  .graph { padding: 10px; }
}

/* Everything respects reduced motion: it simply appears, already in place. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .road > li, .js .steps li { opacity: 1; transform: none; }
  .js .reveal .tile__art > * { transform: none; }
  .js }

/* Open data foundation stack (ontology.html#data) */
.lake { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 8px; margin-top: 48px; padding: 18px; border-radius: 8px; background: var(--sheet); }
.lake > .lake__row { grid-column: 1; }
.lake__side { grid-column: 2; grid-row: 1 / span 4; display: grid; gap: 8px; align-content: stretch; }
.lake__row { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: center; gap: 4px 16px; padding: 14px 16px; border-radius: 6px; background: var(--paper); }
.lake__side .lake__row { grid-template-columns: 1fr; align-content: start; }
.lake__row b { font-size: 15px; font-weight: 600; }
.lake__row small { font-size: 13.5px; color: var(--soft); }
.lake__chips { grid-column: 2; margin-top: 4px; font-size: 13px; color: var(--soft); }
.lake__row--onto { background: var(--night); color: var(--on-night); }
.lake__row--onto small { color: var(--n-soft); }
.lake__row--onto .lake__chips { color: var(--n-soft); }
.lake__note { margin-top: 18px; font-size: 12.5px; color: var(--soft); max-width: 70ch; }
@media (max-width: 860px) {
  .lake { grid-template-columns: 1fr; padding: 12px; }
  .lake__side { grid-column: 1; grid-row: auto; }
  .lake__row { grid-template-columns: 1fr; }
  .lake__chips { grid-column: 1; }
}

/* Dark mode: the dark "after" surfaces (night band, payoff columns, the lead plan) sit a clear step
   below the page and carry a hairline, so the contrast between before and after survives */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --night: #121211; }
  :root:not([data-theme="light"]) .ba__col--after, :root:not([data-theme="light"]) .plan--lead, :root:not([data-theme="light"]) .eng-before .now { box-shadow: inset 0 0 0 1px rgba(108, 192, 142, 0.35); }
}
:root[data-theme="dark"] { --night: #121211; }
:root[data-theme="dark"] .ba__col--after, :root[data-theme="dark"] .plan--lead, :root[data-theme="dark"] .eng-before .now { box-shadow: inset 0 0 0 1px rgba(108, 192, 142, 0.35); }

/* ?static (reviews and screenshots): no transitions or reveal motion */
.static *, .static *::before, .static *::after { transition: none !important; animation: none !important; }

/* Privacy page */
.privacy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px 48px; padding-top: 8px; }
.privacy__grid h2 { padding-top: 22px; border-top: 1px solid var(--rule); }
.privacy__grid .prose { padding-top: 22px; border-top: 1px solid var(--rule); }
.privacy__grid .prose p + p { margin-top: 12px; }
@media (max-width: 720px) { .privacy__grid { grid-template-columns: 1fr; gap: 6px; } .privacy__grid .prose { border-top: 0; padding-top: 0; margin-bottom: 18px; } }

/* Industries on the home page: a plain list */
.ind-list { list-style: none; margin-top: 40px; border-top: 1px solid var(--rule); }
.ind-list li { display: grid; grid-template-columns: minmax(0, 18em) minmax(0, 1fr); gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.ind-list a { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.ind-list a:hover { color: var(--soft); }
.ind-list span { font-size: 16px; color: var(--soft); }
@media (max-width: 720px) { .ind-list li { grid-template-columns: minmax(0, 1fr); } }

/* Pricing: one plain table and the six-week plan */
.price-table { margin-top: 48px; border-top: 1px solid var(--ink); }
.price-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.6fr) minmax(0, 2fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 15.5px; }
.price-row--head { padding: 12px 0; font-size: 13px; font-weight: 600; color: var(--soft); }
.price-row b { display: block; font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.price-row small { display: block; margin-top: 4px; font-size: 14px; color: var(--soft); }
.price-row .price { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.price-row .price small { display: inline; font-size: 14px; letter-spacing: 0; }
.price-row > span:last-child { color: var(--soft); }
.price-plan { margin-top: 56px; display: grid; gap: 18px; }
.price-plan ol { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.price-plan li { display: grid; gap: 6px; align-content: start; padding: 16px 20px 0 0; }
.price-plan li b { font-size: 15px; font-weight: 600; }
.price-plan li span { font-size: 14.5px; color: var(--soft); }
/* Pricing: the opt-out and what it takes, as two ruled rows with the heading and its text level at the top */
.price-terms { border-top: 1px solid var(--ink); }
.price-terms__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 34px 0 38px; border-bottom: 1px solid var(--rule); }
.price-terms__row h2 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.1; font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
.price-terms__row p { color: var(--soft); font-size: 17px; line-height: 1.5; max-width: 34em; }
@media (max-width: 860px) { .price-terms__row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px 0 30px; } }
@media (max-width: 860px) {
  .price-row, .price-row--head { grid-template-columns: minmax(0, 1fr) auto; }
  .price-row > span:last-child { grid-column: 1 / -1; }
  .price-row--head > span:last-child { display: none; }
  .price-plan ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
}

/* Partner sharing tile art: three plain rows */
.share-rows { list-style: none; display: grid; gap: 0; border-radius: 6px; background: var(--paper); padding: 4px 16px; }
.share-rows li { display: grid; grid-template-columns: 8px auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.share-rows li:first-child { border-top: 0; }
.share-rows i { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.share-rows b { font-weight: 500; }
.share-rows span { color: var(--soft); }
.share-rows .off i { background: var(--faint); }
.share-rows .off b, .share-rows .off span { color: var(--faint); }

/* Industries: each sector with the objects we would model for it */
.sector--wide { grid-column: 1 / -1; }
.sector-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 48px; background: var(--rule); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.sector { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 26px 26px 22px; background: var(--paper); transition: background 0.25s; }
.sector:hover { background: var(--sheet); }
.sector h3 { font-size: 21px; line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; }
.sector p { font-size: 15px; color: var(--soft); max-width: 26em; }
.sector__model { display: flex; flex-wrap: wrap; align-items: center; align-self: end; gap: 0; margin-top: 18px; }
.sector__model i { position: relative; font: 500 11.5px/1 "SF Mono", Menlo, Consolas, monospace; font-style: normal; color: var(--ink); padding: 6px 8px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); margin: 4px 0; }
.sector__model i + i { margin-left: 14px; }
.sector__model i + i::before { content: ""; position: absolute; left: -15px; top: 50%; width: 14px; height: 1px; background: var(--faint); }
.sector:hover .sector__model i { border-color: var(--faint); }
.sector:hover .sector__model i:first-child { border-color: var(--tape); }
.sector__go { justify-self: start; margin-top: 14px; font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.sector__go:hover { text-decoration-color: var(--ink); }
.sector__go--none { color: var(--faint); text-decoration: none; }
.sector--art { grid-template-rows: auto auto auto 1fr auto; }
.sector__art { display: block; width: 100%; height: 190px; object-fit: contain; object-position: left center; margin: 0 0 18px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sector__art { filter: invert(0.9) hue-rotate(180deg); } }
:root[data-theme="dark"] .sector__art { filter: invert(0.9) hue-rotate(180deg); }
@media (max-width: 640px) { .sector__art { height: 150px; margin-bottom: 14px; } }
@media (max-width: 1040px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sector-grid { grid-template-columns: minmax(0, 1fr); } .sector { padding: 22px 18px 18px; } }

/* Home walkthrough: four steps over the product mockup */
.tour { padding: 0; }
.tour__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.tour__step { position: relative; display: grid; align-content: start; gap: 6px; padding: 22px 24px 24px; border: 0; border-right: 1px solid var(--rule); background: none; color: var(--soft); font: inherit; text-align: left; cursor: pointer; transition: background 0.2s; }
.tour__step:last-child { border-right: 0; }
.tour__step:hover { background: color-mix(in srgb, var(--well) 40%, transparent); }
.tour__step b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--soft); transition: color 0.2s; }
.tour__step span { font-size: 14px; line-height: 1.45; }
.tour__step.is-on b { color: var(--ink); }
.tour__step.is-on span { color: var(--ink); }
.tour__bar { position: absolute; left: 0; right: 0; top: -1px; height: 2px; }
.tour__bar i { display: block; width: 0; height: 100%; background: var(--ink); }
.tour__step.is-on .tour__bar { background: var(--rule); }
.tour__view { position: relative; padding: 36px 36px 0; overflow: hidden; }
.tour__deck { width: 82%; border-radius: 8px; margin-bottom: 36px; }
.tour__cards { position: absolute; right: 36px; top: 40px; width: 392px; z-index: 2; }
.tour__card { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; pointer-events: none; transition: opacity 0.45s ease-out, transform 0.6s var(--out); }
.tour__card.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tour__alert { display: grid; gap: 12px; padding: 18px 20px 20px; border-radius: 10px; background: #fbfaf7; color: #121211; box-shadow: var(--shadow-float), 0 0 0 1px rgba(18, 18, 17, 0.08); }
.tour__alert header { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #5f5d58; }
.tour__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0482d; }
.tour__alert h3 { color: #121211; font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.tour__alert ul { list-style: none; display: grid; gap: 0; border-top: 1px solid #dcd8cf; }
.tour__alert li { padding: 9px 0; border-bottom: 1px solid #dcd8cf; font-size: 14px; color: #5f5d58; }
.tour__alert li b { color: #121211; font-weight: 600; margin-right: 4px; }
.tour__alert p { font-size: 13px; color: #5f5d58; }
.tour__result { margin-top: 10px; padding: 13px 16px; border-radius: 8px; background: var(--night); color: var(--on-night); font-size: 14.5px; box-shadow: var(--shadow-float); }
.tour__result b { color: var(--n-go); font-weight: 600; margin-right: 6px; }
.tour__note { display: block; margin-top: 14px; }
@media (max-width: 1040px) {
  .tour__step { padding: 18px 18px 20px; }
  .tour__step span { display: none; }
  .tour__view { padding: 20px 20px 20px; }
  .tour__deck { width: 100%; }
  .tour__cards { position: relative; right: auto; top: auto; width: auto; max-width: 440px; margin: -90px 0 0 auto; display: grid; }
  .tour__card { position: relative; grid-area: 1 / 1; visibility: hidden; }
  .tour__card.is-on { visibility: visible; }
}
@media (max-width: 600px) {
  .tour__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tour__step:nth-child(2) { border-right: 0; }
  .tour__step:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .tour__step { padding: 14px 14px 16px; }
  .tour__step b { font-size: 15px; }
  .tour__step b::before { margin-bottom: 4px; }
  .tour__cards { margin: -40px 0 0; max-width: none; }
}

/* Home: three steps with drawings, the full example, and the industry links */
.home-before { margin-top: 48px; }
.trio { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 48px; }
.trio li { display: grid; gap: 8px; align-content: start; }
.trio img { margin-bottom: 10px; }
.trio b { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.trio span { color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 26em; }
.trio__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 16px; }
.proof { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.proof__shot { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -30px rgba(18, 18, 17, 0.35); }
.proof__shot img { display: block; width: 100%; height: auto; }
.proof__text { display: grid; gap: 16px; justify-items: start; }
.proof__text p { color: var(--soft); font-size: 17px; line-height: 1.5; max-width: 30em; }
.proof__text .ctas { margin-top: 8px; }
.sec--tight { padding-top: 96px; }
.home-problem { display: grid; gap: 22px; justify-items: start; }
.home-problem img { max-width: 440px; }
.eng-split.home-model { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: 32px; }
.home-layers { list-style: none; counter-reset: layer; display: grid; border-bottom: 1px solid var(--rule); }
.home-layers li { counter-increment: layer; display: grid; grid-template-columns: 44px 1fr; gap: 6px 0; padding: 24px 0; border-top: 1px solid var(--rule); }
.home-layers li::before { content: counter(layer, decimal-leading-zero); grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--faint); padding-top: 4px; }
.home-layers li:nth-child(2)::before { color: var(--tape); }
.home-layers b { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.home-layers span { color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 28em; }
.worth { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 48px; }
.worth li { display: grid; gap: 10px; align-content: start; justify-items: start; padding-top: 22px; border-top: 1px solid var(--ink); }
.worth b { font-size: clamp(40px, 4.4vw, 62px); line-height: 1; font-weight: 500; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.worth span { color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 22em; }
.worth .link { margin-top: 6px; font-size: 15px; }
.terms { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.terms li { display: grid; gap: 8px; align-content: start; padding: 24px 26px 26px; border-radius: 6px; background: var(--sheet); }
.terms b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.terms span { color: var(--soft); font-size: 15px; line-height: 1.5; }
.terms + .trio__note { margin-top: 28px; }
.close__art { justify-self: stretch; max-width: 1240px; margin-top: 24px; }
/* Engineering drawings beside the industry headings and the hosting heading */
.ind__head--art { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); align-items: center; }
.ind__head--art .t-small { margin-top: 18px; max-width: 22em; }
.ind__draw { display: block; width: 100%; height: auto; max-width: 560px; justify-self: end; }
.deploy-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-items: end; }
.deploy-head img { max-width: 520px; justify-self: end; }
@media (max-width: 1040px) { .ind__head--art { grid-template-columns: minmax(0, 1fr); } .ind__draw { justify-self: start; max-width: 520px; } .deploy-head { grid-template-columns: minmax(0, 1fr); } .deploy-head img { justify-self: start; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ind__draw { filter: invert(0.9) hue-rotate(180deg); } }
:root[data-theme="dark"] .ind__draw { filter: invert(0.9) hue-rotate(180deg); }
@media (max-width: 1000px) {
  .trio { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .trio img { max-width: 520px; }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .worth, .terms { grid-template-columns: minmax(0, 1fr); }
  .worth { gap: 28px; }
}
@media (max-width: 1100px) { .eng-split.home-model { grid-template-columns: minmax(0, 1fr); } .home-model img { max-width: 520px; } }
@media (max-width: 640px) { .home-problem img { max-width: 300px; } .home-layers li { grid-template-columns: 36px 1fr; padding: 20px 0; } .terms li { padding: 20px 18px 22px; } }
@media (max-width: 720px) { .sec--tight { padding-top: 72px; } }

/* Product: real screens, workflow tabs */
.shot, .shots figure { margin: 0; }
.shot img, .shots img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--rule), 0 24px 60px -32px rgba(18, 18, 17, 0.35); background: var(--sheet); }
.shot { margin-top: 40px; }
.shot--flush { margin-top: 0; }
.shot figcaption, .shots figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--soft); }
.shots figcaption b { display: block; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.015em; }
.shots { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.62fr); grid-template-areas: "main phone" "side phone"; gap: 34px 28px; margin-top: 48px; align-items: start; }
.shots__main { grid-area: main; }
.shots__phone { grid-area: phone; }
.shots__side { grid-area: side; }
.draw-sm { max-width: 460px; margin: 0 0 16px auto; }
.link-quiet { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.tabs { margin-top: 40px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 10px; background: var(--sheet); width: fit-content; max-width: 100%; }
.tabs__tab { height: 40px; padding: 0 18px; border-radius: 6px; font-size: 15px; font-weight: 500; color: var(--soft); white-space: nowrap; transition: color 0.2s, background 0.2s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.08); }
.tabs .ba { padding-top: 36px; }
.tabs__panel[hidden] { display: none; }
@media (max-width: 1000px) {
  .shots { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "phone"; }
  .shots__phone { max-width: 300px; }
  .draw-sm { margin: 0 0 8px; }
}
@media (max-width: 720px) {
  .tabs__list { border-radius: 14px; }
  .tabs__tab { flex: 1 1 auto; }
}
.sector-more { margin-top: 18px; font-size: 15px; color: var(--soft); }
.sec-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sec-hero .eng-art { max-width: 460px; justify-self: end; }
.facts4 { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 22px; }
.facts4 li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.facts4 b { font-size: 19px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.facts4 span { font-size: 15px; line-height: 1.5; color: var(--soft); }
@media (max-width: 1000px) {
  .sec-hero { grid-template-columns: minmax(0, 1fr); }
  .sec-hero .eng-art { justify-self: start; max-width: 360px; }
  .facts4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 560px) { .facts4 { grid-template-columns: minmax(0, 1fr); } }
.facts4--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts4--3 b { font-size: 28px; letter-spacing: -0.035em; }
.price-table--scope .price-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); }
.price-table--pkg .price-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.55fr) minmax(0, 0.55fr) minmax(0, 1.9fr); }
.price-table--pkg .price-row > span:nth-child(2), .price-table--pkg .price-row > span:nth-child(3) { color: var(--ink); }
.price-row .price-lbl { display: none; }
.price-txt { display: block; font-size: 15.5px; }
@media (max-width: 860px) {
  .price-table--pkg .price-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .price-table--pkg .price-row > span:first-child { grid-column: 1 / -1; }
  .price-table--pkg .price-row--head { display: none; }
  .price-table--pkg .price-row small.price-lbl { display: block; margin: 0 0 2px; font-size: 13px; }
}
@media (max-width: 1000px) { .facts4--3 { grid-template-columns: minmax(0, 1fr); } }
.prose-sm { display: grid; gap: 14px; }
.prose-sm p { color: var(--soft); font-size: 17px; line-height: 1.55; max-width: 34em; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) { .sec-hero .eng-art { max-width: 260px; } .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } .loop li { padding: 14px; } }

/* How it's built: the layer diagrams, specs and code panels */
.dd-hero { padding: 120px 0 72px; }
.dd-hero .lede { color: var(--n-soft); max-width: 40em; margin-top: 24px; }
.dd-stack { margin-top: 56px; }
.dd-svg { display: block; width: 100%; height: auto; overflow: visible; }
.dd-b { fill: var(--sheet); stroke: var(--rule); stroke-width: 1; }
.dd-b--on { stroke: var(--tape); stroke-width: 1.5; }
.dd-b--soft { fill: var(--paper); stroke-dasharray: 4 4; }
.dd-t { fill: var(--ink); font-weight: 500; }
.dd-m { fill: var(--soft); }
.dd-n { fill: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.dd-a { stroke: var(--soft); stroke-width: 1.25; fill: none; }
.dd-hd { fill: var(--soft); }
.dd-life { stroke: var(--faint); stroke-width: 1; stroke-dasharray: 3 5; opacity: 0.7; }
.dd-rule { stroke: var(--rule); }
.dd-hero .dd-l { fill: rgba(238, 235, 228, 0.025); stroke: var(--n-rule); }
.dd-hero .dd-l--on { stroke: var(--tape); stroke-width: 1.5; fill: rgba(224, 72, 45, 0.06); }
.dd-hero .dd-l--ext { stroke-dasharray: 5 5; fill: none; }
.dd-hero .dd-chip { fill: rgba(238, 235, 228, 0.05); stroke: var(--n-rule); }
.dd-hero .dd-rail { fill: rgba(238, 235, 228, 0.04); stroke: var(--n-rule); }
.dd-hero .dd-t, .dd-hero .dd-n { fill: var(--n-ink); }
.dd-hero .dd-m { fill: var(--n-soft); }
.dd-hero .dd-a { stroke: var(--n-soft); }
.dd-hero .dd-hd { fill: var(--n-soft); }
.dd-jump { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--n-rule); font-size: 15px; font-weight: 500; }
.dd-jump a { color: var(--n-soft); transition: color 0.2s; }
.dd-jump a:hover { color: var(--n-ink); }
.dd-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; margin-top: 44px; align-items: start; }
.dd-fig { margin: 0; padding: 22px; border-radius: 8px; background: var(--sheet); }
.dd-fig .dd-b { fill: var(--paper); }
.dd-fig .dd-b--soft { fill: var(--sheet); }
.dd-fig figcaption { margin-top: 18px; font-size: 13.5px; color: var(--soft); }
.dd-specs { display: grid; border-top: 1px solid var(--ink); }
.dd-specs > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 4px 20px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.dd-specs dt { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.dd-specs dd { font-size: 14.5px; line-height: 1.5; color: var(--soft); }
.dd-specs dd code { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--ink); }
.dd-specs small { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 600; color: var(--go); }
.dd-code { margin: 14px 0 0; border-radius: 8px; background: var(--night); color: var(--n-ink); overflow: hidden; }
.dd-code__tabs { margin: 14px 14px 0; background: rgba(238, 235, 228, 0.06); }
.dd-code .tabs__tab { color: var(--n-soft); font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }
.dd-code .tabs__tab:hover { color: var(--n-ink); }
.dd-code .tabs__tab[aria-selected="true"] { background: rgba(238, 235, 228, 0.12); color: var(--n-ink); box-shadow: none; }
.dd-code pre { margin: 0; padding: 20px 24px 22px; overflow-x: auto; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.75; tab-size: 2; }
.dd-code pre code { display: block; padding: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; color: var(--n-ink); white-space: pre; }
.dd-code__note { padding: 13px 24px; border-top: 1px solid var(--n-rule); font-size: 13px; color: var(--n-soft); }
.hl-k { color: #e6c48f; }
.hl-s { color: #9fd3b1; }
.hl-c { color: var(--n-soft); font-style: italic; }
.hl-n { color: #f2a68f; }
.dd-trace { margin-top: 14px; max-width: 620px; }
@media (max-width: 1000px) {
  .dd-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .dd-hero { padding: 72px 0 56px; }
  .dd-fig { padding: 16px; overflow-x: auto; }
  .dd-fig .dd-svg { min-width: 560px; }
  .dd-specs > div { grid-template-columns: minmax(0, 1fr); }
}
.dd-specs small.dd-plan { color: var(--soft); }
/* Chapter heads: heading and lede, with an isometric drawing of the layer */
.eng-sechead.dd-head { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); align-items: center; gap: 56px; }
.dd-head__text p { margin-top: 26px; }
.dd-plate { width: 100%; max-width: 420px; max-height: 300px; object-fit: contain; justify-self: end; }
@media (max-width: 1000px) {
  .eng-sechead.dd-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dd-plate { order: -1; justify-self: start; max-width: 300px; max-height: 210px; object-position: left center; }
}
/* The hero stack: six glass plates, drawn in isometric */
.dd-iso { display: block; width: 100%; height: auto; overflow: visible; }
.dd-iso--c, .dd-iso-list { display: none; }
.iso-p.top { fill: rgba(238, 235, 228, 0.045); stroke: rgba(238, 235, 228, 0.34); stroke-width: 1; }
.iso-p.s1 { fill: rgba(238, 235, 228, 0.07); stroke: rgba(238, 235, 228, 0.22); stroke-width: 1; }
.iso-p.s2 { fill: rgba(238, 235, 228, 0.11); stroke: rgba(238, 235, 228, 0.22); stroke-width: 1; }
.iso-p--on.top { fill: rgba(224, 72, 45, 0.08); stroke: var(--tape); stroke-width: 1.4; }
.iso-p--on.s1, .iso-p--on.s2 { fill: rgba(224, 72, 45, 0.16); stroke: rgba(224, 72, 45, 0.6); }
.iso-p--ext.top { fill: none; stroke-dasharray: 5 5; }
.iso-p--ext.s1, .iso-p--ext.s2 { fill: none; stroke: none; }
.iso-grid { stroke: rgba(238, 235, 228, 0.06); stroke-width: 1; }
.iso-o { stroke: rgba(238, 235, 228, 0.72); stroke-width: 1; stroke-linejoin: round; }
.iso-o.f1 { fill: #2a2a27; }
.iso-o.f2 { fill: #32322f; }
.iso-o.f3 { fill: #42413d; }
.iso-on.f1 { fill: #7a2f20; } .iso-on.f2 { fill: #a93a25; } .iso-on.f3 { fill: var(--tape); }
.iso-on { stroke: #f0927c; }
.iso-ln { stroke: rgba(238, 235, 228, 0.4); stroke-width: 1.4; stroke-linecap: round; }
.iso-link { stroke: rgba(238, 235, 228, 0.55); stroke-width: 1.2; }
.iso-pipe { stroke: rgba(238, 235, 228, 0.45); stroke-width: 3; stroke-linecap: round; }
.iso-path { stroke: rgba(238, 235, 228, 0.35); stroke-width: 1.2; stroke-dasharray: 4 4; }
.iso-up { stroke: rgba(238, 235, 228, 0.28); stroke-width: 1; stroke-dasharray: 2 4; }
.iso-down { stroke: rgba(224, 72, 45, 0.5); stroke-width: 1; stroke-dasharray: 5 4; }
.iso-flow { fill: var(--n-ink); }
.iso-door { fill: #171716; stroke: rgba(238, 235, 228, 0.6); stroke-width: 1; }
.iso-glass { fill: rgba(160, 190, 205, 0.22); stroke: rgba(238, 235, 228, 0.55); stroke-width: 0.8; }
.iso-wheel { fill: #171716; stroke: rgba(238, 235, 228, 0.75); stroke-width: 1; }
.iso-ln2 { stroke: rgba(238, 235, 228, 0.72); stroke-width: 1.1; stroke-linecap: round; }
.iso-chev { fill: none; stroke: rgba(238, 235, 228, 0.6); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.iso-scr { fill: #1d1d1b; stroke: none; }
.iso-bar { fill: rgba(238, 235, 228, 0.42); stroke: none; }
.iso-bar--on { fill: var(--tape); }
.iso-chart { fill: none; stroke: #eeebe4; stroke-width: 1.5; stroke-linejoin: round; }
.iso-write { fill: var(--tape); }
.iso-case { stroke: rgba(238, 235, 228, 0.3); stroke-width: 1; fill: none; }
.iso-case--b { stroke-dasharray: 3 5; }
.iso-lead { stroke: rgba(238, 235, 228, 0.22); stroke-width: 1; }
.iso-dot { fill: var(--n-ink); }
.iso-n { fill: var(--n-ink); font-weight: 600; letter-spacing: -0.02em; }
.iso-m { fill: var(--n-soft); }
.iso-num { fill: none; stroke: rgba(238, 235, 228, 0.4); }
.iso-numt { fill: var(--n-ink); font-weight: 600; }
.dd-iso .dd-layer .iso-p.top, .dd-iso .dd-layer .iso-case, .dd-iso .dd-layer .iso-n { transition: fill 0.25s, stroke 0.25s; }
.dd-iso .dd-layer:hover .iso-p.top, .dd-iso .dd-layer:focus-visible .iso-p.top { fill: rgba(238, 235, 228, 0.1); stroke: rgba(238, 235, 228, 0.6); }
.dd-iso .dd-layer:hover .iso-case, .dd-iso .dd-layer:focus-visible .iso-case { stroke: rgba(238, 235, 228, 0.7); }
.dd-iso .dd-layer:hover .iso-p--on.top, .dd-iso .dd-layer:focus-visible .iso-p--on.top { fill: rgba(224, 72, 45, 0.16); stroke: var(--tape); }
.dd-iso .dd-layer:hover .iso-n, .dd-iso .dd-layer:focus-visible .iso-n { fill: #fff; }
@media (prefers-reduced-motion: reduce) { .dd-iso circle.iso-flow:not(.iso-key circle), .dd-iso circle.iso-write:not(.iso-key circle) { display: none; } }
/* Data and Agents: the isometric figure runs full width, the specs sit in two columns below */
.dd-grid--wide { grid-template-columns: minmax(0, 1fr); gap: 36px; }
.dd-grid--wide .dd-fig { padding: 28px 32px 22px; }
.dd-grid--wide .dd-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 0; }
.dd-grid--wide .dd-specs > div { border-top: 1px solid var(--rule); border-bottom: 0; }
.dd-grid--wide .dd-specs > div:nth-child(-n+2) { border-top-color: var(--ink); }
@media (max-width: 720px) { .dd-grid--wide .dd-specs { grid-template-columns: minmax(0, 1fr); } .dd-grid--wide .dd-specs > div:nth-child(2) { border-top-color: var(--rule); } .dd-grid--wide .dd-fig { padding: 16px; } }
/* The same pen on the light chapter figures, in theme colours */
.dd-isofig .iso-p.top { fill: var(--paper); stroke: color-mix(in srgb, var(--ink) 45%, transparent); }
.dd-isofig .iso-p.s1 { fill: color-mix(in srgb, var(--ink) 7%, var(--paper)); stroke: color-mix(in srgb, var(--ink) 35%, transparent); }
.dd-isofig .iso-p.s2 { fill: color-mix(in srgb, var(--ink) 12%, var(--paper)); stroke: color-mix(in srgb, var(--ink) 35%, transparent); }
.dd-isofig .iso-p--on.top { fill: color-mix(in srgb, var(--tape) 7%, var(--paper)); stroke: var(--tape); }
.dd-isofig .iso-p--on.s1, .dd-isofig .iso-p--on.s2 { fill: color-mix(in srgb, var(--tape) 22%, var(--paper)); stroke: var(--tape); }
.dd-isofig .iso-p--ops.top { fill: none; stroke-dasharray: 4 4; }
.dd-isofig .iso-p--ops.s1, .dd-isofig .iso-p--ops.s2 { fill: none; stroke: none; }
.dd-isofig .iso-o { stroke: var(--ink); stroke-opacity: 0.8; }
.dd-isofig .iso-o.f1 { fill: color-mix(in srgb, var(--ink) 14%, var(--paper)); }
.dd-isofig .iso-o.f2 { fill: color-mix(in srgb, var(--ink) 7%, var(--paper)); }
.dd-isofig .iso-o.f3 { fill: var(--paper); }
.dd-isofig .iso-on.f1 { fill: #b9432c; } .dd-isofig .iso-on.f2 { fill: #d04a30; } .dd-isofig .iso-on.f3 { fill: var(--tape); }
.dd-isofig .iso-on { stroke: #8a2c1b; stroke-opacity: 1; }
.dd-isofig .iso-ln { stroke: color-mix(in srgb, var(--ink) 40%, transparent); }
.dd-isofig .iso-link { stroke: color-mix(in srgb, var(--ink) 55%, transparent); }
.dd-isofig .iso-run { fill: none; stroke: color-mix(in srgb, var(--ink) 30%, transparent); stroke-width: 1.2; stroke-dasharray: 3 4; }
.dd-isofig .iso-flow { fill: var(--ink); }
.dd-isofig .iso-door, .dd-isofig .iso-wheel { fill: color-mix(in srgb, var(--ink) 70%, var(--paper)); stroke: var(--ink); }
.dd-isofig .iso-glass { fill: color-mix(in srgb, #7fa6b8 30%, var(--paper)); stroke: color-mix(in srgb, var(--ink) 55%, transparent); }
.dd-isofig .iso-ln2, .dd-isofig .iso-chev { stroke: color-mix(in srgb, var(--ink) 70%, transparent); }
.dd-isofig .iso-scr { fill: color-mix(in srgb, var(--ink) 80%, var(--paper)); }
.dd-isofig .iso-lead { stroke: color-mix(in srgb, var(--ink) 30%, transparent); }
.dd-isofig .iso-n { fill: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.dd-isofig .iso-m { fill: var(--soft); }
@media (prefers-reduced-motion: reduce) { .dd-isofig circle.iso-flow, .dd-isofig circle.iso-write { display: none; } }
@media (max-width: 860px) {
  .dd-iso:not(.dd-iso--c) { display: none; }
  .dd-iso--c { display: block; max-width: 520px; margin: 0 auto; }
  .dd-iso-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--n-rule); }
  .dd-iso-list li { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid var(--n-rule); }
  .dd-iso-list b { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--n-ink); }
  .dd-iso-list b a { color: inherit; }
  .dd-iso-list i { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(238, 235, 228, 0.4); border-radius: 50%; font-size: 12px; font-style: normal; }
  .dd-iso-list span { padding-left: 32px; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12px; line-height: 1.6; color: var(--n-soft); }
}
.book [data-walk][hidden], .book .book__steps[hidden] { display: none; }
.arch-map .n__s, .arch-map__k .arch-map__s { display: none; }

/* Industries: the Markham Aviation feature */
.feature { padding: 110px 0; }
.feature__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.feature__text { display: grid; gap: 22px; justify-items: start; }
.feature__lede { color: var(--n-soft); font-size: 18px; line-height: 1.5; max-width: 30em; }
.feature__list { list-style: none; display: grid; width: 100%; border-top: 1px solid var(--n-rule); }
.feature__list li { display: grid; gap: 4px; padding: 15px 0; border-bottom: 1px solid var(--n-rule); }
.feature__list b { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.feature__list span { font-size: 15px; line-height: 1.5; color: var(--n-soft); }
.feature__note { font-size: 13px; color: var(--n-soft); }
.feature__shot { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--n-rule), 0 30px 70px -30px rgba(0, 0, 0, 0.6); transition: transform 0.3s var(--out); }
.feature__shot:hover { transform: translateY(-3px); }
.feature__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) { .feature__in { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 720px) { .feature { padding: 72px 0; } }
.feature--top { margin-top: 56px; }
@media (max-width: 1320px) and (min-width: 1181px) { .nav__item { padding: 0 12px; } }
/* French labels run longer: tighter nav items, and the menu button below 1300px */
@media (min-width: 1181px) { :lang(fr) .nav__item { padding: 0 9px; } :lang(fr) .nav__right .btn { padding-inline: 18px; } }
@media (max-width: 1300px) { :lang(fr) .nav__links { display: none; } :lang(fr) .nav__menu { display: inline-grid; } }
/* Home hero: copy beside the drawing, the facts as figures underneath, and the walkthrough stage on a faint grid */
.home-hero { padding: 64px 0 0; }
.home-hero + .hero { padding-top: 0; }
.home-hero + .hero .stage { margin-top: 56px; }
@media (max-width: 720px) { .home-hero { padding-top: 40px; } .home-hero + .hero .stage { margin-top: 36px; } }
.hero__top { grid-template-columns: minmax(0, 1fr); }
/* From tablet up the headline is set to run edge to edge: two fixed lines, sized from the width they fill */
@media (min-width: 721px) {
  .hero__top { container-type: inline-size; }
  .hero__title { font-size: 8.6cqi; line-height: 0.94; letter-spacing: -0.055em; text-wrap: wrap; }
}
.hero__copy { display: grid; gap: 28px; align-content: center; }
.hero__art { display: block; width: 100%; height: auto; max-width: 680px; justify-self: center; }
.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.hero__facts div { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--rule); }
.hero__facts div:first-child { border-top-color: var(--ink); }
.hero__facts dt { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; white-space: nowrap; }
.hero__facts dd { font-size: 14px; line-height: 1.4; color: var(--soft); max-width: 18em; }
@media (min-width: 1100px) {
  .hero__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 48px; align-items: center; }
  .hero__title { grid-column: 1 / -1; }
  .hero__top { align-items: start; row-gap: 48px; }
  .hero__copy { align-content: start; padding-top: 6px; }
  .hero__side { gap: 32px; }
  .hero__side .lede { font-size: 21px; line-height: 1.5; max-width: 24em; }
  .hero__art { max-width: none; justify-self: end; margin: -24px -2% -12px 0; }
  .hero__facts { grid-column: 1 / -1; }
}
@media (max-width: 1099px) { .hero__art { margin: 0 auto -8px; } }
@media (max-width: 640px) {
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
  .hero__facts div { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 0; }
  .hero__facts div:last-child { border-bottom: 1px solid var(--rule); }
  .hero__facts dt { font-size: 22px; }
}
.tour.stage { background-image: radial-gradient(color-mix(in srgb, var(--ink) 11%, transparent) 1px, transparent 1.4px); background-size: 20px 20px; background-position: 10px 10px; }
.tour__steps { counter-reset: tstep; background: var(--sheet); }
.tour__step { counter-increment: tstep; }
.tour__step b::before { content: counter(tstep, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.tour__step.is-on b::before { color: var(--tape); }

/* How it's built: interactive layers, the sticky chapter bar, layer glyphs, code bars */
.dd-layer { cursor: pointer; }
.dd-layer .dd-l, .dd-layer .dd-rail { transition: fill 0.25s, stroke 0.25s; }
.dd-hero .dd-layer:hover .dd-l, .dd-hero .dd-layer:focus-visible .dd-l, .dd-hero .dd-layer:hover .dd-rail, .dd-hero .dd-layer:focus-visible .dd-rail { fill: rgba(238, 235, 228, 0.07); stroke: rgba(238, 235, 228, 0.42); }
.dd-hero .dd-layer:hover .dd-l--on, .dd-hero .dd-layer:focus-visible .dd-l--on { fill: rgba(224, 72, 45, 0.12); stroke: var(--tape); }
.dd-layer:focus { outline: none; }
.dd-go { fill: var(--n-soft); opacity: 0; transition: opacity 0.25s; }
.dd-layer:hover .dd-go, .dd-layer:focus-visible .dd-go { opacity: 1; }
.dd-b--slab { fill: var(--sheet); opacity: 0.9; }
.dd-fig .dd-b--slab { fill: var(--paper); opacity: 0.55; }
.dd-techline { margin-top: 30px; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.7; letter-spacing: 0.01em; color: var(--n-soft); }
.dd-subnav { position: sticky; top: 76px; z-index: 15; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.dd-subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dd-subnav__in::-webkit-scrollbar { display: none; }
.dd-subnav a { flex: none; padding: 15px 12px 14px; font-size: 14px; font-weight: 500; color: var(--soft); white-space: nowrap; transition: color 0.2s, box-shadow 0.2s; }
.dd-subnav a:hover { color: var(--ink); }
.dd-subnav a[aria-current="true"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--tape); }
html:has(.dd-subnav) { scroll-padding-top: 136px; }
.dd-ch { padding-top: 112px; }
.dd-h { display: flex; align-items: center; gap: 18px; }
.dd-glyph { flex: none; width: 40px; height: 40px; }
.dd-glyph rect { fill: var(--rule); }
.dd-glyph rect.on { fill: var(--tape); }
.dd-code__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 0; }
.dd-code__bar .dd-code__tabs { margin: 0; }
.dd-copy { flex: none; height: 32px; padding: 0 14px; border-radius: 6px; font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--n-soft); box-shadow: inset 0 0 0 1px var(--n-rule); transition: color 0.2s, box-shadow 0.2s; }
.dd-copy:hover { color: var(--n-ink); box-shadow: inset 0 0 0 1px rgba(238, 235, 228, 0.4); }
.dd-code pre code { counter-reset: ln; }
.dd-ln { display: block; min-height: 1.75em; counter-increment: ln; }
.dd-ln::before { content: counter(ln); display: inline-block; width: 2.4ch; margin-right: 2.2ch; text-align: right; color: rgba(238, 235, 228, 0.26); -webkit-user-select: none; user-select: none; }
@media (max-width: 720px) {
  .dd-subnav { top: 68px; }
  html:has(.dd-subnav) { scroll-padding-top: 124px; }
  .dd-ch { padding-top: 80px; }
  .dd-glyph { width: 30px; height: 30px; }
  .dd-copy { display: none; }
}

/* Industries: the Markham Aviation feature, as a stage */
.fx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.fx-head__text { display: grid; gap: 24px; justify-items: start; }
.fx-head__text .t-statement { max-width: 9em; }
.fx-art { width: 100%; height: auto; filter: invert(0.9) hue-rotate(180deg); opacity: 0.95; }
.fx-stage { position: relative; margin-top: 56px; padding-bottom: 120px; }
.fx-map { width: 78%; margin: 0; }
.fx-shot { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--n-rule), 0 40px 90px -30px rgba(0, 0, 0, 0.75); transition: transform 0.35s var(--out); }
.fx-shot:hover { transform: translateY(-4px); }
.fx-shot img { display: block; width: 100%; height: auto; }
.fx-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 64px; }
.fx-points li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--n-rule); }
.fx-points b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.fx-points span { font-size: 15px; line-height: 1.55; color: var(--n-soft); }
#aviation .feature__note { margin-top: 28px; }
@media (max-width: 1000px) {
  .fx-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fx-art { max-width: 520px; }
  .fx-stage { padding-bottom: 0; }
  .fx-map { width: 100%; }
  .fx-shot { position: static; display: block; width: 100%; margin-top: 16px; }
  .fx-points { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
.fx-stage.st { --c-bg: #2b2b28; }

/* Company: studio drawing in the hero, today beside connected, principles, the engagement on night */
.co-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px 48px; align-items: center; }
.co-hero__text { display: grid; gap: 26px; justify-items: start; }
.co-hero__text .lede { margin-top: 0; }
.co-hero__art { width: 100%; max-width: 680px; justify-self: end; }
.co-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.co-pair figure { margin: 0; display: grid; gap: 14px; padding: 28px 28px 24px; border-radius: 6px; background: var(--sheet); }
.co-pair img { width: 100%; max-width: 520px; justify-self: center; }
.co-pair figcaption { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--soft); }
.co-pair figcaption b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.co-principles { list-style: none; counter-reset: pr; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
.co-principles li { counter-increment: pr; display: grid; gap: 10px; align-content: start; padding: 26px 28px 30px; border-radius: 6px; background: var(--sheet); }
.co-principles li::before { content: counter(pr, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--faint); }
.co-principles li:first-child::before { color: var(--tape); }
.co-principles b { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; }
.co-principles span { color: var(--soft); font-size: 15.5px; line-height: 1.5; max-width: 30em; }
.co-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 18px; margin-top: 56px; }
.co-steps li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--n-rule); }
.co-steps li:first-child { border-top-color: var(--n-tape); }
.co-steps time { font-size: 13px; font-weight: 600; color: var(--n-soft); }
.co-steps b { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.15; }
.co-steps span { color: var(--n-soft); font-size: 15px; line-height: 1.45; }
.co-address { font-size: 15px; color: var(--soft); }
@media (max-width: 1040px) {
  .co-hero { grid-template-columns: minmax(0, 1fr); }
  .co-hero__art { justify-self: start; max-width: 600px; }
  .co-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 18px; }
}
@media (max-width: 720px) {
  .co-pair, .co-principles, .co-steps { grid-template-columns: minmax(0, 1fr); }
  .co-pair figure { padding: 20px 18px; }
  .co-principles li { padding: 22px 20px 24px; }
}

/* Book a walkthrough: one question at a time beside a drawing that follows the answers (js/book.js).
   Without script every question shows as one long form that still posts. */
.bk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; min-height: calc(100svh - 92px); padding-top: 36px; padding-bottom: 56px; }
.bk-main { position: relative; display: grid; align-content: center; min-width: 0; }
.bk-bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 44px; transition: opacity 0.3s; }
.bk[data-at="intro"] .bk-bar, .bk[data-at="done"] .bk-bar { opacity: 0; visibility: hidden; }
.bk:not([data-at]) .bk-bar { display: none; }
.bk [hidden] { display: none !important; }
.bk-back { height: 34px; padding: 0 14px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 14px; font-weight: 500; color: var(--soft); transition: color 0.2s, box-shadow 0.2s; }
.bk-back:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bk-count { font-size: 13px; font-weight: 600; color: var(--soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-track { position: relative; height: 2px; border-radius: 2px; background: var(--rule); overflow: hidden; }
.bk-track i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ink); transition: width 0.7s var(--out); }
.bk-form { position: relative; }
.bk-step { display: grid; gap: 0; align-content: start; min-width: 0; border: 0; margin: 0; padding: 0; }
.bk-form:not(.is-flow) .bk-step + .bk-step { margin-top: 64px; }
.bk-form:not(.is-flow) [data-next], .bk-form:not(.is-flow) .bk-hint { display: none; }
.bk-form.is-flow .bk-step { display: none; }
.bk-form.is-flow .bk-step.is-on { display: grid; }
.bk-form.is-flow .bk-step.is-out { display: grid; position: absolute; inset: 0 0 auto; pointer-events: none; animation: bk-out 0.28s ease-in both; }
.bk-form.is-flow .bk-step.is-out.is-back { animation-name: bk-out-back; }
.bk-step.is-enter > * { animation: bk-in 0.7s var(--out) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
.bk-step.is-enter.is-back > * { animation-name: bk-in-back; }
@keyframes bk-in { from { opacity: 0; transform: translateY(22px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bk-in-back { from { opacity: 0; transform: translateY(-22px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bk-out { to { opacity: 0; transform: translateY(-18px); } }
@keyframes bk-out-back { to { opacity: 0; transform: translateY(18px); } }
.bk-title { max-width: 9em; }
.bk-lede { margin-top: 22px; max-width: 30em; }
.bk-promise { list-style: none; display: grid; margin-top: 34px; border-bottom: 1px solid var(--rule); }
.bk-promise li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--rule); }
.bk-promise b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.bk-promise span { font-size: 14.5px; color: var(--soft); }
.bk-q { display: block; padding: 0; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.04; font-weight: 500; letter-spacing: -0.042em; text-wrap: balance; }
.bk-q [data-greet]:not(:empty) { display: block; margin-bottom: 8px; font-size: 0.42em; letter-spacing: -0.01em; font-weight: 500; color: var(--soft); }
.bk-help { margin-top: 12px; font-size: 15.5px; color: var(--soft); }
.bk-input { display: block; width: 100%; margin-top: 30px; padding: 8px 0 14px; border: 0; border-bottom: 1.5px solid var(--rule); border-radius: 0; background: transparent; font: inherit; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: var(--ink); outline: none; transition: border-color 0.25s; }
.bk-input::placeholder { color: var(--faint); font-weight: 400; }
.bk-input:focus { border-bottom-color: var(--ink); }
.bk-input--sm { margin-top: 8px; font-size: 19px; padding: 6px 0 10px; }
.bk-text { min-height: 132px; resize: vertical; font-size: 20px; line-height: 1.45; font-weight: 400; }
.bk-sub { display: block; margin-top: 28px; font-size: 14.5px; font-weight: 500; color: var(--soft); }
.bk-err { display: none; margin-top: 12px; font-size: 14px; font-weight: 500; color: var(--tape); }
.bk-step.has-error .bk-err { display: block; }
.bk-step.has-error .bk-input { border-bottom-color: var(--tape); }
.bk-step.is-shake { animation: bk-shake 0.42s ease-in-out; }
@keyframes bk-shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.bk-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; }
.bk-hint { font-size: 13px; color: var(--faint); }
@media (pointer: coarse) { .bk-hint { display: none; } }
.bk-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 30px; }
.bk-choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bk-choice, .bk-chip { position: relative; cursor: pointer; }
.bk-choice input, .bk-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk-choice span { display: flex; align-items: center; min-height: 66px; padding: 14px 20px; border-radius: 10px; background: var(--sheet); box-shadow: inset 0 0 0 1px transparent; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; transition: transform 0.25s var(--out), background 0.2s, color 0.2s, box-shadow 0.2s; }
.bk-choice:hover span { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--faint); }
.bk-choice input:checked + span { background: var(--ink); color: var(--paper); transform: none; }
.bk-choice input:focus-visible + span, .bk-chip input:focus-visible + span { outline: 2px solid var(--tape); outline-offset: 3px; }
.bk-step.is-enter .bk-choice, .bk-step.is-enter .bk-chip { animation: bk-in 0.6s var(--out) both; animation-delay: calc(var(--j, 0) * 45ms + 260ms); }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.bk-chip span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--rule); font-size: 15px; font-weight: 500; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.bk-chip:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.bk-chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.bk-recap { display: grid; margin-top: 26px; border-radius: 10px; background: var(--sheet); padding: 6px 18px; }
.bk-recap div { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 14.5px; }
.bk-recap div:first-child { border-top: 0; }
.bk-recap dt { color: var(--soft); }
.bk-recap dd { font-weight: 500; overflow-wrap: anywhere; }
.bk-recap button { font-size: 13px; font-weight: 500; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.bk-recap button:hover { color: var(--ink); }
.bk-error { margin-top: 20px; padding: 12px 14px; border-radius: 8px; background: var(--tape-wash); font-size: 14.5px; font-weight: 500; }
.bk-fine { margin-top: 18px; font-size: 13.5px; color: var(--soft); }
.bk-fine .link { margin-left: 6px; font-size: 13.5px; }
[data-submit][disabled] { opacity: 0.7; cursor: progress; }
.bk-done { display: grid; gap: 22px; justify-items: start; }
.bk-done > * { animation: bk-in 0.7s var(--out) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.bk-tick { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: bk-draw 0.8s 0.25s var(--out) forwards; }
.bk-tick path { stroke: var(--tape); stroke-width: 3; stroke-dasharray: 40; stroke-dashoffset: 40; animation: bk-draw 0.5s 0.85s var(--out) forwards; }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
.bk-next { list-style: none; counter-reset: nx; display: grid; width: 100%; max-width: 560px; border-bottom: 1px solid var(--rule); }
.bk-next li { counter-increment: nx; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 8px; padding: 14px 0; border-top: 1px solid var(--rule); }
.bk-next li::before { content: counter(nx, decimal-leading-zero); grid-row: span 2; font-size: 12.5px; font-weight: 600; color: var(--faint); padding-top: 2px; }
.bk-next b { font-size: 16px; font-weight: 600; }
.bk-next span { font-size: 14.5px; color: var(--soft); }
.bk-art { position: relative; align-self: stretch; min-height: 520px; max-height: 760px; border-radius: 10px; background-color: var(--sheet); background-image: radial-gradient(color-mix(in srgb, var(--ink) 10%, transparent) 1px, transparent 1.4px); background-size: 20px 20px; overflow: hidden; }
.bk-art__img { position: absolute; left: 7%; top: 50%; width: 86%; height: auto; opacity: 0; transform: translateY(calc(-50% + 14px)) scale(0.97); transition: opacity 0.6s ease, transform 1.1s var(--out); }
.bk-art__img.is-on { opacity: 1; transform: translateY(-50%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bk-art__img { filter: invert(0.9) hue-rotate(180deg); } }
:root[data-theme="dark"] .bk-art__img { filter: invert(0.9) hue-rotate(180deg); }
@media (max-width: 960px) {
  .bk { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 20px; gap: 28px; }
  .bk-art { order: -1; min-height: 0; aspect-ratio: 16 / 9; max-height: 300px; }
  .bk-bar { margin-bottom: 30px; }
}
@media (max-width: 600px) {
  .bk-choices, .bk-choices--3 { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .bk-choices--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-choice span { min-height: 56px; font-size: 16px; padding: 12px 16px; }
  .bk-promise li { grid-template-columns: minmax(0, 1fr); }
  .bk-nav .btn { width: 100%; }
  .bk-recap div { grid-template-columns: 76px minmax(0, 1fr) auto; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-step.is-enter > *, .bk-step.is-enter .bk-choice, .bk-step.is-enter .bk-chip, .bk-done > *, .bk-form.is-flow .bk-step.is-out, .bk-step.is-shake { animation: none !important; }
  .bk-tick circle, .bk-tick path { animation: none; stroke-dashoffset: 0; }
  .bk-art__img { transition: opacity 0.2s; transform: translateY(-50%); }
}
.bk-done h2:focus { outline: none; }

/* Closing statement beside the scale model (Product, Industries, Security) */
.close--model { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: 56px; align-items: center; }
.close--model .t-statement { grid-column: 1; font-size: clamp(44px, 6.4vw, 96px); }
.close--model .ctas { grid-column: 1; align-self: start; }
.close__model { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 620px; height: auto; justify-self: end; }
@media (max-width: 900px) { .close--model { grid-template-columns: minmax(0, 1fr); } .close__model { grid-column: 1; grid-row: auto; justify-self: start; max-width: 480px; } }
/* Security: a drawing beside the long lists */
.eng-split.sec-split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); margin-top: 48px; }
.eng-split.sec-split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
@media (max-width: 1100px) { .eng-split.sec-split, .eng-split.sec-split--flip { grid-template-columns: minmax(0, 1fr); } .sec-split img { max-width: 480px; } .sec-split--flip img { order: -1; } }
/* Seven sectors: the last one spans the row instead of sitting alone */
@media (min-width: 1041px) {
  .sector-grid .sector:last-child:nth-child(3n+1) { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto auto; grid-template-rows: auto auto; column-gap: 40px; align-items: center; }
  .sector-grid .sector:last-child:nth-child(3n+1) h3, .sector-grid .sector:last-child:nth-child(3n+1) p { grid-column: 1; }
  .sector-grid .sector:last-child:nth-child(3n+1) .sector__model { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; align-self: center; }
  .sector-grid .sector:last-child:nth-child(3n+1) .sector__go { grid-column: 3; grid-row: 1 / span 2; margin-top: 0; align-self: center; }
}
@media (min-width: 641px) and (max-width: 1040px) { .sector-grid .sector:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }

/* Cookie notice (js/consent.js), as on the real estate site: bottom left, a plain choice of two */
.cookies { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: grid; gap: 14px; width: min(420px, calc(100vw - 40px)); padding: 18px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--rule), 0 24px 50px -24px rgba(18, 18, 17, 0.45); animation: cookies-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.cookies p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.cookies p a { color: var(--soft); border-bottom: 1px solid var(--rule); }
.cookies > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookies .btn { height: 44px; padding: 0 16px; font-size: 14.5px; justify-content: center; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .cookies { animation: none; } }
@media (max-width: 560px) { .cookies { left: 10px; right: 10px; bottom: 10px; width: auto; } }
.foot__cookies { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.foot__cookies:hover { color: var(--ink); }
.prose .foot__cookies { display: inline; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }

/* Supplier portal on the product page: the portal on a desktop and two phones in one row, the same height and
   nothing covered. The phone
   frame is drawn below (no device maker's marks); sizes are in container units, so it scales with its column */
.sp-show { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 48px; }
.sp-show figure { margin: 0; }
.sp-show__desk img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px var(--rule), var(--shadow-device); background: #232323; }
.sp-show__phones { display: contents; }
.sp-illus { display: block; margin-top: 18px; }
.sp-costs { margin-top: 34px; }
@media (max-width: 1040px) {
  .sp-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; max-width: 760px; }
  .sp-show__desk { grid-column: 1 / -1; }
  .sp-show__phones .device { max-width: 300px; justify-self: center; width: 100%; }
}
@media (max-width: 640px) { .sp-show { gap: 22px 14px; } }
/* Phone frame in the shape of an iPhone 17 Pro (402 x 874 points; screenshots are 402 x 812, under a drawn 62-point status
   bar), with no maker's marks. Sizes are container units of the frame's width; --status is the colour behind the bar */
.device { container-type: inline-size; position: relative; }
.device__body { position: relative; padding: 2.9cqw; border-radius: 15.8cqw; background: #0b0b0c;
  box-shadow: inset 0 0 0 0.25cqw rgba(255, 255, 255, 0.07), 0 0 0 0.8cqw #46474b, 0 0 0 1.05cqw #1d1e21, var(--shadow-device); }
.device__body::before, .device__body::after { content: ''; position: absolute; width: 0.9cqw; background: #3b3c40; }
.device__body::before { left: -1.75cqw; top: 25cqw; height: 7.5cqw; border-radius: 0.9cqw 0 0 0.9cqw; box-shadow: 0 12cqw 0 0 #3b3c40, 0 26cqw 0 0 #3b3c40; }
.device__body::after { right: -1.75cqw; top: 41cqw; height: 21cqw; border-radius: 0 0.9cqw 0.9cqw 0; box-shadow: 0 40cqw 0 -0.15cqw #2f3034; }
.device__screen { position: relative; overflow: hidden; border-radius: 12.9cqw; background: var(--status, #ebe8e1); }
.device__screen img, .shots .device__screen img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; background: none; }
.device__screen::after { content: ''; position: absolute; left: 50%; bottom: 1.9cqw; width: 32.6cqw; height: 1.2cqw; transform: translateX(-50%); border-radius: 1cqw; background: rgba(18, 18, 17, 0.88); }
.device__status { position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: 14.5cqw; padding: 4.6cqw 7.2cqw 0 12.2cqw; background: var(--status, #ebe8e1); color: #121211; font-size: 4cqw; line-height: 4.6cqw; font-weight: 600; letter-spacing: -0.01em; }
.device__status svg { width: 16cqw; height: 4.6cqw; fill: currentColor; }
.device__status::after { content: ''; position: absolute; left: 50%; top: 2.6cqw; width: 29.3cqw; height: 8.7cqw; transform: translateX(-50%); border-radius: 5cqw; background: #050505; }

/* The home page's row for something new: one line that opens its page */
.new-row { padding-top: 56px; }
.new-link { display: flex; align-items: center; gap: 22px; padding: 24px 28px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); text-decoration: none; transition: background .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s cubic-bezier(0.16, 1, 0.3, 1); }
.new-link:hover { background: var(--sheet); box-shadow: inset 0 0 0 1px var(--tape); }
.new-link__k { color: var(--tape); font-size: 16px; font-weight: 500; }
.new-link__t { flex: 1; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; font-weight: 500; letter-spacing: -0.035em; }
.new-link svg { width: 24px; height: 24px; flex: 0 0 auto; transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1); }
.new-link:hover svg { transform: translateX(6px); }
@media (max-width: 700px) { .new-link { flex-wrap: wrap; gap: 6px 16px; padding: 20px; } .new-link__k { flex: 1 0 100%; } }

/* Eight items in the header since Simulation joined: tighter spacing on laptop widths, and the menu takes over a
   little sooner than before */

/* Home page, reordered for a first read by a CEO or COO (2026-11-24): what it is, see it work, what it is worth, how
   it works, then the reasons to trust it */
.home-systems { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 6px 28px; align-items: baseline; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ink); max-width: none; }
.home-systems b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.home-systems span { color: var(--soft); font-size: 16px; line-height: 1.55; }
.home-systems + .trio__note { margin-top: 26px; }
.depth { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 36px 28px; margin-top: 48px; }
.depth li { display: grid; gap: 9px; align-content: start; justify-items: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.depth b { font-size: clamp(26px, 2.5vw, 36px); line-height: 1; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.depth span { color: var(--soft); font-size: 15px; line-height: 1.45; }
.depth .link { margin-top: 4px; font-size: 15px; }
@media (max-width: 1080px) { .depth { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .depth { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; } .home-systems { grid-template-columns: 1fr; } }

/* The whole offering at a glance: six groups of labels, each with one link */
.scope { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 34px; margin-top: 48px; }
.scope > li { display: grid; align-content: start; justify-items: start; padding-top: 20px; border-top: 1px solid var(--ink); }
.scope > li > b { font-size: 21px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 10px; }
.scope ul { list-style: none; width: 100%; }
.scope ul li { padding: 9px 0; border-bottom: 1px solid var(--rule); color: var(--soft); font-size: 15.5px; line-height: 1.4; }
.scope .link { margin-top: 16px; font-size: 15px; }
.packs { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; margin-top: 40px; }
.packs li { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--ink); }
.packs b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.packs span { color: var(--soft); font-size: 15px; line-height: 1.45; }
.packs + .trio__note { margin-top: 28px; }
@media (max-width: 900px) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
@media (max-width: 560px) { .scope { grid-template-columns: 1fr; gap: 34px; } }

/* Home page: pictures before words (owner, 2026-11-24). Live product views and the drawings carry each section */
.worth__art { width: 100%; height: clamp(120px, 13vw, 170px); object-fit: contain; object-position: left center; margin-bottom: 8px; }
.home-systems { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 56px; align-items: center; }
.home-systems p { display: grid; gap: 10px; max-width: 26em; }
.home-systems p b { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.12; }
.bento { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; margin-top: 48px; align-items: start; }
.bento > li { display: grid; gap: 16px; align-content: start; min-width: 0; padding-top: 18px; border-top: 1px solid var(--ink); }
.bento > li > b { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.depth__art { width: 100%; height: clamp(96px, 9vw, 124px); object-fit: contain; object-position: left center; margin-bottom: 6px; }
.depth__art--inst { display: grid; align-items: center; padding: 12px 14px; box-sizing: border-box; }
@media (max-width: 1080px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .home-systems { grid-template-columns: 1fr; }
  /* On a phone the six views sit in one row to swipe through */
  .bento { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(-1 * var(--gutter, 20px)); padding-right: var(--gutter, 20px); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento > li { flex: 0 0 86%; scroll-snap-align: start; }
}
/* One height for every drawing in a row, so the figures under them line up */
.worth img.worth__art { height: clamp(120px, 13vw, 170px); width: 100%; max-width: none; }
.depth img.depth__art, .depth .depth__art--inst { height: clamp(96px, 9vw, 124px); width: 100%; max-width: none; }

/* The four-step demo on tablets and phones: one card at a time at its own height, moved through by tapping. On a
   phone the full-screen mock-up is left out, since it cannot be read at that size */
.tour__next { display: none; }
@media (max-width: 1040px) {
  .tour__cards { display: block; }
  .tour__card { display: none; visibility: visible; }
  .tour__card.is-on { display: block; }
  .tour__next { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 18px; border: 0; border-radius: 8px; background: var(--sheet); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
  .tour__next svg { width: 16px; height: 16px; }
  .tour__next + .tour__note { margin-top: 12px; }
}
@media (max-width: 720px) {
  .tour__deck { display: none; }
  .tour__view { padding: 14px 12px 16px; }
  .tour__cards { margin: 0; max-width: none; }
  .tour__step b { font-size: 15.5px; line-height: 1.2; }
}
[data-not-ca][hidden] { display: none; }

/* Header with six items: Security, Pricing and About us sit under Company, so the bar stays visible on narrower screens */
.nav__group { position: relative; display: inline-flex; }
.nav__more { gap: 6px; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.nav__more svg { width: 10px; height: 6px; transition: transform 0.2s; }
.nav__more.is-current { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(18, 18, 17, 0.08); }
.nav__group:hover .nav__more, .nav__more[aria-expanded="true"] { color: var(--ink); }
.nav__group:hover .nav__more svg, .nav__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__drop { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30; display: grid; min-width: 172px; padding: 6px; border-radius: 14px; background: var(--sheet); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px -18px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translate(-50%, -4px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__group:hover .nav__drop, .nav__group:focus-within .nav__drop, .nav__more[aria-expanded="true"] + .nav__drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop a { padding: 10px 14px; border-radius: 9px; color: var(--soft); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.nav__drop a:hover, .nav__drop a[aria-current="page"] { color: var(--ink); background: var(--paper); }

/* Header widths (2026-11-24): the pages stay on the bar. One row from 1160px (tighter spacing below 1260px); from
   721px to 1159px the links move to a second row under the logo instead of hiding behind the menu button. French
   labels are longer, so French takes the second row up to 1300px. Phones keep the menu button */
@media (max-width: 1259px) { .nav__item { padding: 0 10px; } .nav__links { font-size: 14px; } .nav__in { gap: 14px; } }
@media (min-width: 1160px) { .nav__links { display: flex; } .nav__menu { display: none; } }
@media (min-width: 721px) and (max-width: 1159px) {
  .nav__in { flex-wrap: wrap; height: auto; padding-top: 14px; row-gap: 0; }
  .nav__links, :lang(fr) .nav__links { display: flex; order: 3; flex: 0 0 100%; margin: 6px 0 8px -10px; padding: 0; background: none; }
  .nav__menu, :lang(fr) .nav__menu { display: none; }
  .dd-subnav { top: 112px; }
  html:has(.dd-subnav) { scroll-padding-top: 172px; }
}
@media (min-width: 1160px) and (max-width: 1300px) {
  :lang(fr) .nav__in { flex-wrap: wrap; height: auto; padding-top: 14px; row-gap: 0; }
  :lang(fr) .nav__links { display: flex; order: 3; flex: 0 0 100%; margin: 6px 0 8px -10px; padding: 0; background: none; }
  :lang(fr) .nav__menu { display: none; }
  :lang(fr) .dd-subnav { top: 112px; }
  html:lang(fr):has(.dd-subnav) { scroll-padding-top: 172px; }
}
