/* Layout: one 1120px column; full-width bands (paper / surface / spruce) carry each section; product "app frames" echo the Comparability, Edge and Fusetime sites. */
:root {
  --paper: #f4f7f5;
  --surface: #ffffff;
  --ink: #13221e;
  --muted: #53645d;
  --line: #d7e0dc;
  --spruce: #14302c;          /* parent colour, shared with Fusetime */
  --spruce-ink: #eef5f1;
  --spruce-muted: #a9c3b8;
  --signal: #23825c;          /* accent */
  --signal-soft: #e2f1e9;
  --assess: #2f63c4;          /* Comparability */
  --govern: #1f8a6a;          /* Edge */
  --account: #b0761a;         /* Fusetime */
  --good: #2e8b57; --warn: #c68a12; --crit: #c0392b;
  --shadow: 0 1px 2px rgba(19,34,30,.06), 0 8px 24px rgba(19,34,30,.08);

  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.6rem; --step-3: 2.15rem; --step-4: clamp(2.4rem, 4.6vw, 3.6rem);
  --wrap: 1120px;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1614; --surface: #142120; --ink: #e6efeb; --muted: #9db1a9; --line: #273834;
    --spruce: #0a1311; --spruce-ink: #e6efeb; --spruce-muted: #8fa99f;
    --signal: #4cc08d; --signal-soft: #173229;
    --assess: #7ea3ee; --govern: #57c7a4; --account: #e0a64a;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1614; --surface: #142120; --ink: #e6efeb; --muted: #9db1a9; --line: #273834;
  --spruce: #0a1311; --spruce-ink: #e6efeb; --spruce-muted: #8fa99f;
  --signal: #4cc08d; --signal-soft: #173229;
  --assess: #7ea3ee; --govern: #57c7a4; --account: #e0a64a;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }
img, svg { max-width: 100%; }
a { color: var(--signal); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-1); font-weight: 650; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--surface { background: var(--surface); border-block: 1px solid var(--line); }
.band--spruce { background: var(--spruce); color: var(--spruce-ink); }
.band--spruce .lede, .band--spruce .muted { color: var(--spruce-muted); }
.band--tight { padding-block: clamp(40px, 6vw, 64px); }

.eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); margin-bottom: 14px; display: block; }
.band--spruce .eyebrow { color: var(--signal); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.prose { max-width: 68ch; display: grid; gap: 16px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand small { font-family: var(--font-mono); font-weight: 400; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--signal); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 8px 12px; font: 600 .95rem var(--font-body); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 1rem var(--font-body); padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn--primary { background: var(--signal); color: #fff; }
:root[data-theme="dark"] .btn--primary { color: #0a1311; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn--primary { color: #0a1311; } }
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.band--spruce .btn--ghost { background: transparent; color: var(--spruce-ink); border-color: color-mix(in srgb, var(--spruce-ink) 30%, transparent); }
.nav a.btn--primary, .nav a.btn--primary:hover { color: #fff; background: var(--signal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(48px, 7vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero-meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-meta span::before { content: "■ "; color: var(--signal); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* App frames */
.stack { position: relative; min-height: 560px; }
.frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper); font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }
.frame-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: inline-block; }
.frame-bar .url { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-body { padding: 16px; display: grid; gap: 10px; }
.frame-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.frame-title b { font-family: var(--font-display); font-size: 1rem; }
.tag { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: var(--signal-soft); color: var(--signal); white-space: nowrap; }
.tag--warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.tag--crit { background: color-mix(in srgb, var(--crit) 14%, transparent); color: var(--crit); }
.mini { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.mini th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.mini td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.mini td.num, .mini th.num { text-align: right; }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 3px; background: var(--assess); }
.score-row { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 2.4em; gap: 10px; align-items: center; font-size: .82rem; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; vertical-align: 1px; }
.dot--good { background: var(--good); } .dot--warn { background: var(--warn); } .dot--crit { background: var(--crit); }

.stack .frame { position: absolute; width: 78%; }
.stack .f1 { top: 0; left: 0; z-index: 1; }
.stack .f2 { top: 178px; right: 0; z-index: 2; }
.stack .f3 { top: 372px; left: 6%; z-index: 3; }
.f1 .frame-bar { border-top: 3px solid var(--assess); }
.f2 .frame-bar { border-top: 3px solid var(--govern); }
.f3 .frame-bar { border-top: 3px solid var(--account); }
@media (max-width: 900px) {
  .stack { min-height: 0; display: grid; gap: 14px; }
  .stack .frame { position: static; width: 100%; }
  .stack .f3 { display: none; }
}

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.proof > div { padding: 22px 22px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.proof > div:first-child { border-left: 0; }
.proof b { font-family: var(--font-display); font-size: var(--step-2); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proof span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof > div:nth-child(3) { border-left: 0; } .proof > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Suite */
.suite { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 14px; align-content: start; position: relative; }
.product::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--c, var(--signal)); }
.product .verb { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.product h3 { font-size: var(--step-2); }
.product .q { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.product ul { margin: 0; padding-left: 1.1em; color: var(--muted); display: grid; gap: 4px; }
.product .link { font-weight: 650; text-decoration: none; margin-top: 4px; }
.product .link::after { content: " →"; }
.p-assess { --c: var(--assess); } .p-govern { --c: var(--govern); } .p-account { --c: var(--account); }
.loop-note { margin-top: 22px; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loop-note b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .suite { grid-template-columns: 1fr; } }

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card h3 { font-size: var(--step-1); }
.card .muted { font-size: 1rem; }
.plain { display: grid; gap: 10px; align-content: start; min-width: 0; }
.plain h3 { font-size: var(--step-1); }

/* Services rows */
.service { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding-block: 40px; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service h3 { font-size: var(--step-2); }
.service .body { display: grid; gap: 14px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .85rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 14px; } }

/* Lifecycle */
.lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.lifecycle li { list-style: none; padding: 22px 20px 22px 0; border-top: 2px solid var(--line); display: grid; gap: 8px; position: relative; }
.lifecycle li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-mono); font-size: .8rem; color: var(--signal); }
.lifecycle li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.lifecycle ol { margin: 0; padding: 0; }
.band--spruce .lifecycle li { border-top-color: color-mix(in srgb, var(--spruce-ink) 22%, transparent); }
@media (max-width: 900px) { .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lifecycle { grid-template-columns: 1fr; } }

/* Work */
.case { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 32px; padding-block: 34px; border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; padding-top: 0; }
.case .meta { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); display: grid; gap: 6px; align-content: start; }
.case .meta b { color: var(--ink); font-weight: 600; font-family: var(--font-display); font-size: 1rem; }
.case .body { display: grid; gap: 12px; }
.case h3 { font-size: var(--step-2); }
.figure { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--signal); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; gap: 10px; } }

/* Quotes */
.quote { margin: 0; display: grid; gap: 14px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); line-height: 1.4; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--signal); margin-bottom: 10px; }
.quote figcaption { color: var(--spruce-muted); font-size: .95rem; }
.band--surface .quote figcaption, .band .quote figcaption { color: var(--muted); }
.band--spruce .quote figcaption { color: var(--spruce-muted); }

/* People */
.person { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 20px; }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--signal-soft); color: var(--signal); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.person .role { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.person .body { display: grid; gap: 10px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.values .plain h3 { font-size: 1.1rem; }
.values .plain p { color: var(--spruce-muted); font-size: .98rem; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Product page */
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: 56px; border-top: 1px solid var(--line); }
.prod:first-child { border-top: 0; padding-top: 0; }
.prod .copy { display: grid; gap: 16px; min-width: 0; }
.prod .verb { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c); }
.prod h2 { font-size: var(--step-3); }
.prod .tagline { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.prod ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.prod .frame .frame-bar { border-top: 3px solid var(--c); }
.prod.flip .copy { order: 2; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
@media (max-width: 900px) { .prod { grid-template-columns: 1fr; } .prod.flip .copy { order: 0; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 560px; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--paper); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 650; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; }
.contact dl { margin: 0; display: grid; gap: 18px; }
.contact dt { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact dd { margin: 4px 0 0; font-size: 1.1rem; }
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .92rem; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: 8px; background: var(--signal-soft); color: var(--ink); font-size: .95rem; }
.copy-line { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-btn { font: 600 .8rem var(--font-body); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* CTA band */
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px; align-items: center; }
.cta h2 { font-size: var(--step-3); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { padding-block: clamp(48px, 7vw, 80px) clamp(32px, 4vw, 48px); }
.page-head .wrap { display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3rem); max-width: 22ch; }

/* Footer */
.site-footer { background: var(--spruce); color: var(--spruce-muted); padding-block: 56px 32px; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--spruce-ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--spruce-muted); text-decoration: none; }
.site-footer a:hover { color: var(--spruce-ink); text-decoration: underline; }
.site-footer .brand { color: var(--spruce-ink); }
.site-footer .brand small { color: var(--spruce-muted); }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--spruce-ink) 16%, transparent); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .cols > div:first-child { grid-column: 1 / -1; } }

/* Logo: original artwork keeps its white gaps; on dark grounds it sits on a white disc */
.brand-mark { border-radius: 50%; }
.site-footer .brand-mark { background: #fff; padding: 2px; }
:root[data-theme="dark"] .site-header .brand-mark { background: #fff; padding: 2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header .brand-mark { background: #fff; padding: 2px; } }

/* Transformation map (home hero): four stages resting on two foundations */
.tmap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 10px; min-width: 0; }
.tmap-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding-bottom: 6px; }
.tmap-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: st; }
.tmap-stages li { position: relative; background: var(--signal-soft); border-radius: 8px; padding: 34px 12px 14px; display: grid; gap: 6px; align-content: start; min-height: 150px; }
.tmap-stages li::before { counter-increment: st; content: "0" counter(st); position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: .72rem; color: var(--signal); }
.tmap-stages li:not(:last-child)::after { content: ""; position: absolute; top: 16px; right: -7px; width: 6px; height: 6px; border-top: 2px solid var(--signal); border-right: 2px solid var(--signal); transform: rotate(45deg); z-index: 1; }
.tmap-stages b { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.tmap-stages span { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.tmap-base { border-radius: 8px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.tmap-base b { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.tmap-base span { font-size: .88rem; display: flex; flex-wrap: wrap; gap: 6px; }
.tmap-team { background: var(--spruce); color: var(--spruce-ink); }
.tmap-team span { color: var(--spruce-muted); }
.tmap-tools { border: 1px dashed var(--line); background: var(--paper); }
.tmap-tools i { font-style: normal; font-weight: 600; font-size: .82rem; padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; }
.t-a { color: var(--assess); } .t-g { color: var(--govern); } .t-f { color: var(--account); }
@media (max-width: 560px) { .tmap-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tmap-stages li:nth-child(2)::after { display: none; } .tmap-stages li { min-height: 0; } }

/* Stage cards on the home page */
.lifecycle--cards li { padding-right: 24px; }
.lifecycle--cards li a { font-weight: 650; text-decoration: none; }
.lifecycle--cards li a::after { content: " →"; }

/* Tool list inside the foundations card */
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tool-list li { display: grid; gap: 2px; padding-left: 14px; border-left: 3px solid var(--c); }
.tool-list b { font-family: var(--font-display); color: var(--c); }
.tool-list span { color: var(--muted); font-size: .98rem; }

/* Longer navigation labels need the menu earlier */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 16px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

.hero:has(.tmap) .wrap { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 900px) { .hero:has(.tmap) .wrap { grid-template-columns: 1fr; } }

/* Wordmark on one line: "e-cocreate" bold, "solutions" lighter, same size and baseline */
.brand span { white-space: nowrap; line-height: 1; }
.brand small { font-family: var(--font-display); font-size: inherit; font-weight: 400; letter-spacing: -.01em; color: var(--muted); }
.site-footer .brand small { color: var(--spruce-muted); }
@media (max-width: 380px) { .brand { font-size: 1.05rem; } .brand-mark { width: 34px; height: 34px; } }
