/* waytrk website, v3 (owner direction, 21 October 2026). One stylesheet on top of the app's own tokens
   (/product.css: src/styles/tokens.css, appearance.css, cards.css), so record colours, the impact scale and status
   colours are the product's. Public pages are always light. Type weights: titles 600, labels 500, body 400. */

:root {
  --ink: #182438;
  --ink-2: #2c3b50;
  --muted: #516074;
  --line: #dbe2e8;
  --line-soft: #eef2f5;
  --paper: #f5f7f8;
  --warm: #faf6ef; /* the people's part of the story: a warm paper, never a status colour */
  --warm-line: #ece3d3;
  --night: #101b2a;
  --coral: #ff9c8f;
  --link-ink: var(--ink);
  --link-hover: #a14d46;
  --max: 1240px;
  --radius: 14px;
  /* Three shadow levels. Card and raised match the app's surface and raised; panel is for the large product windows and forms.
     Panel's negative spread keeps the shadow under the window instead of spilling onto the text below it. */
  --shadow-card: 0 1px 2px rgb(16 27 42 / 0.06), 0 4px 14px rgb(16 27 42 / 0.06);
  --shadow-raised: 0 1px 3px rgb(16 27 42 / 0.08), 0 8px 24px rgb(16 27 42 / 0.1);
  --shadow-panel: 0 2px 6px rgb(16 27 42 / 0.06), 0 24px 48px -16px rgb(16 27 42 / 0.22);
  --shadow: var(--shadow-panel);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 17px/1.55 "Geist Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
b, strong { font-weight: 600; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link-hover); }
:where(p, li, dd, td) > a:not([class]) { color: var(--link-ink); font-weight: 500; }
:where(p, li, dd, td) > a:not([class]):hover { color: var(--link-hover); }
:where(.band-dark, .site-footer) { --link-ink: #fff; --link-hover: #f1aa9c; }
:focus-visible { outline: 3px solid #3978e8; outline-offset: 3px; }
.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 20px; padding: 12px 18px; border-radius: 0 0 10px 10px; background: #fff; }
.skip-link:focus { top: 0; }
.tag { font-size: 14px; font-weight: 500; color: var(--muted); }
.lede { font-size: 19px; color: var(--ink-2); max-width: 36em; }
[hidden] { display: none !important; }

/* Buttons and links: never blue; the action colour is ink */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 12px; font: 500 17px/1 inherit; font-family: inherit; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-coral { background: var(--coral); color: var(--night); }
.btn-coral[aria-pressed="true"] { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; border-bottom: 1.5px solid currentColor; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.actions-note { font-size: 15px; color: var(--muted); }
.on-dark, .on-dark .text-link { color: #fff; }
.on-dark .actions-note { color: #c9d3dd; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid #e3e8ee; }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand img { width: 132px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 4px 8px; flex: 1; font-size: 15px; font-weight: 500; }
.header-nav > a, .product-menu > summary { padding: 10px 8px; border-radius: 8px; cursor: pointer; }
.header-nav > a[aria-current], .product-menu > summary[aria-current], .nav-menu nav a[aria-current] { background: var(--brand-accent-soft); color: var(--brand-accent-text); }
.product-menu { position: relative; }
.product-menu > summary { list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.product-menu > summary::-webkit-details-marker { display: none; }
.product-menu > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.product-menu-panel { position: absolute; top: calc(100% + 10px); left: -16px; display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 18px; width: min(860px, 90vw); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-raised); }
.menu-group { display: flex; flex-direction: column; gap: 2px; }
.menu-title { font-size: 13px; font-weight: 500; color: var(--muted); padding: 0 8px 6px; }
.menu-group a { padding: 8px; border-radius: 8px; font-size: 15px; }
.menu-group a:hover { background: var(--paper); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 500; }
.nav-menu { display: none; position: relative; }
.nav-menu summary { list-style: none; display: inline-flex; min-height: 44px; align-items: center; padding: 0 14px; border: 1px solid #d5dee6; border-radius: 10px; font-weight: 500; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu nav { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 260px; max-height: 70vh; overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-raised); }
.nav-menu nav a { padding: 11px 12px; border-radius: 8px; }
@media (max-width: 1080px) {
  .header-nav { display: none; }
  .nav-menu { display: block; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) { .header-actions .btn { display: none; } }

/* Footer */
.site-footer { margin-top: 0; padding: 56px 0 28px; background: var(--night); color: #d7dee6; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { width: 120px; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 14px; color: #9fb0c3; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h2 { font-size: 15px; color: #fff; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: 14px; color: #9fb0c3; }
.footer-currency { margin-top: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* Hero */
.hero { padding: 48px 0 0; background: var(--paper); }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; max-width: 14em; }
.hero > .wrap > .summary { margin: 20px 0 24px; max-width: 46em; text-wrap: pretty; }
.hero-clash { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 8px; }
.hero-clash-caption { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 14px; margin-top: 18px; text-align: center; font-size: 18px; font-weight: 500; color: var(--ink); }
.summary { margin: 26px 0 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36em; }
.summary b { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; position: relative; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.steps h2 { font-size: 20px; }
.steps p { font-size: 16px; color: #3a4a60; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.tour { position: relative; margin: 36px 0 -150px; }
.hero-caption { margin-top: 214px; text-align: center; font-size: 18px; color: #3a4a60; }
.tour-tabs { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 14px; background: var(--ink); box-shadow: var(--shadow-raised); }
.tour-tab { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #c9d3dd; font: 500 14px inherit; font-family: inherit; cursor: pointer; }
.tour-tab[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .tour-tabs { position: static; transform: none; margin-top: 12px; } .tour-tab { padding: 0 10px; } }
/* Pictures that change keep the height of their tallest state, so the page never moves (owner, 30 October 2026): every
 * state sits in the same grid cell, and only the active one is visible. */
.app-content:has(> .tour-panel), .app-content:has(> .switch-panel) { display: grid; }
.tour-panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; visibility: hidden; }
.tour-panel.is-active { visibility: visible; animation: fade 0.45s ease-out both; }
.tour-note { align-self: flex-end; max-width: 340px; padding: 14px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; box-shadow: var(--shadow-raised); animation: pop 0.45s ease-out both; }
.tour-note b { display: block; font-size: 14px; font-weight: 500; color: #9fb0c3; }

/* App window */
.app-window { margin: 0; border: 1px solid #d5dee6; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid #e3e8ee; background: #fbfcfd; }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.app-address { flex: 1; max-width: 380px; margin: 0 auto; padding: 5px 10px; border-radius: 8px; background: #f0f3f6; color: var(--muted); font-size: 13px; text-align: center; }
.app-frame { display: flex; flex-direction: column; }
.tour .app-frame { min-height: 480px; }
/* The app's shell (macOS direction D122): the closed sidebar is a 52px icon rail, and the toolbar names the page. */
.app-frame.has-rail { flex-direction: row; }
.app-rail { flex: 0 0 52px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-right: 1px solid #d0d4d2; background: #eceeed; color: var(--brand-accent-strong); }
.app-logo { display: grid; place-items: center; height: 26px; margin-bottom: 8px; }
.app-logo rect { fill: var(--brand-accent); }
.app-rail-item { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 7px; }
.app-rail-item.is-active { background: #e2e8e4; color: var(--brand-accent-strong); }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-toolbar { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border-bottom: 1px solid #d0d4d2; background: #eceeed; font-size: 13px; }
.app-sidebar-glyph { width: 14px; height: 11px; border: 1.5px solid #8a96a6; border-radius: 3px; box-shadow: inset 4px 0 0 -2.5px #8a96a6; }
.app-toolbar b { font-weight: 600; }
.app-work-tabs, .app-work-filter, .app-work-filter > svg { display: none; }
.app-toolbar[data-app-route="initiatives"] .app-work-tabs { display: flex; align-items: center; gap: 3px; margin-left: auto; padding: 3px; border-radius: 6px; background: #dfe2e0; }
.app-work-tabs > * { padding: 4px 8px; border-radius: 4px; }
.app-work-tabs b { background: #fff; }
.app-toolbar[data-app-route="initiatives"] .app-tools { margin-left: 0; }
.app-toolbar[data-app-route="initiatives"] .app-scope { display: none; }
.app-toolbar[data-app-route="initiatives"] .app-work-filter { display: inline-flex; }
.app-work-filter > span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.app-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.app-scope { display: inline-flex; padding: 2px; border-radius: 7px; background: #e7eaec; }
.app-scope span { padding: 2px 8px; border-radius: 5px; }
.app-scope .is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(16 27 42 / 0.12); }
.app-search { display: flex; align-items: center; gap: 5px; min-width: 120px; padding: 3px 10px; border-radius: 7px; background: #e0e3e1; }
.app-content { flex: 1; min-width: 0; padding: 22px; background: #f2f6f4; }
@media (max-width: 760px) {
  .app-rail, .app-search span, .app-scope { display: none; }
  .app-search { min-width: 0; padding: 3px; background: none; }
  .app-content { padding: 16px; }
  .app-toolbar[data-app-route="initiatives"] .app-work-tabs, .app-work-filter > span { display: none; }
  .app-toolbar[data-app-route="initiatives"] .app-tools { margin-left: auto; }
  .app-work-filter > svg { display: inline-block; }
}
.view-head h3 { font-size: 20px; }
.view-head.row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.app-content > * + .view-head { margin-top: 20px; margin-bottom: 10px; }

/* Organisation chart */
.org { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.org-tier { display: grid; gap: 8px; width: 100%; }
.org-areas { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.org-functions { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 640px; align-self: flex-start; }
.org-node { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #fff; }
.org-company { width: 300px; align-items: center; text-align: center; }
.org-area.is-open { box-shadow: 0 0 0 2px var(--entity-domain); }
.org-function.is-focus { box-shadow: 0 0 0 3px var(--rag-red); }
.node-type { font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.node-name { font-size: 14px; font-weight: 600; }
.node-owner { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3a4a60; }
.node-owner.is-missing { color: #5b6a7c; }
.node-facts { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: 12.5px; font-weight: 500; color: #3a4a60; }
.org-company .node-facts { justify-content: center; }
.marks { display: flex; flex-wrap: wrap; gap: 4px; }
.mk { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.mk-red { background: var(--rag-red-soft); color: var(--rag-red-ink); }
.mk-amber { background: var(--rag-amber-soft); color: var(--rag-amber-ink); }
.mk-green { background: var(--rag-green-soft); color: var(--rag-green-ink); }

/* Impact scale: the app's 0–5 colours */
.imp-0 { background: #eef2f6; color: #33445c; }
.imp-1 { background: var(--impact-1); color: var(--impact-ink-1); }
.imp-2 { background: var(--impact-2); color: var(--impact-ink-2); }
.imp-3 { background: var(--impact-3); color: var(--impact-ink-3); }
.imp-4 { background: var(--impact-4); color: var(--impact-ink-4); }
.imp-5 { background: var(--impact-5); color: var(--impact-ink-5); }
.heat { display: flex; flex-direction: column; gap: 5px; }
.heat-row { display: grid; grid-template-columns: 160px repeat(6, minmax(0, 1fr)); gap: 5px; align-items: center; padding: 3px; border-radius: 10px; }
.cols-5 .heat-row { grid-template-columns: 160px repeat(5, minmax(0, 1fr)); }
@media (max-width: 640px) { .heat-row, .cols-5 .heat-row { grid-template-columns: 110px repeat(6, minmax(0, 1fr)); } .cols-5 .heat-row { grid-template-columns: 110px repeat(5, minmax(0, 1fr)); } }
.heat-head { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.heat-row.is-focus { background: #f3f7f7; box-shadow: 0 0 0 2px var(--ink); }
.heat-team { display: flex; flex-direction: column; padding-left: 6px; font-size: 13.5px; font-weight: 500; }
.heat-team small { font-size: 12px; color: var(--muted); font-weight: 500; }
.hc { display: grid; place-items: center; height: 34px; border-radius: 6px; font-size: 13px; font-weight: 600; transition: background 0.5s ease 0.6s, color 0.5s ease 0.6s; }
.hc-unknown { border: 1.5px dashed #94a3b8; color: #475569; }
.hc.is-picked { outline: 2px solid var(--ink); outline-offset: 1px; }
.hc-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; font-weight: 500; color: #3a4a60; }
.hc-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.hc-legend .hc { width: 20px; height: 20px; font-size: 11px; }

/* Function assessment */
.radar-view { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.radar { width: 100%; max-width: 460px; height: auto; font-family: inherit; }
.radar-ring, .radar-axis { fill: none; stroke: #e6ebf0; }
.radar-target { fill: none; stroke: #8a5a3c; stroke-width: 1.5; stroke-dasharray: 5 4; }
.radar-now { fill: rgb(138 90 60 / 0.2); stroke: #8a5a3c; stroke-width: 2; }
.radar-label { font-size: 13px; font-weight: 500; fill: #3a4a60; }
.radar-label.is-gap { fill: var(--rag-red); }
/* The chart shrinks with a phone screen; larger label units keep the words readable there. */
@media (max-width: 480px) { .radar-label { font-size: 15px; } }
.gaps { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; }
.gap { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.gap p:first-child { display: flex; justify-content: space-between; font-size: 13.5px; }
.gap.is-red { border-color: #f1c9c4; background: #fff7f6; }
.gap .mk { align-self: flex-start; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3a4a60; }
.key-now { width: 18px; height: 3px; background: #3f6f78; }
.key-target { width: 18px; border-top: 2px dashed #c7766d; margin-left: 10px; }

/* Work timeline */
.timeline { display: flex; flex-direction: column; gap: 6px; }
.tl-row { display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: center; }
.tl-months { display: grid; font-size: 12px; font-weight: 500; color: var(--muted); }
.months-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.months-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.months-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.months-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.months-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
.months-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.months-11 { grid-template-columns: repeat(11, minmax(0, 1fr)); }
.months-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tl-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tl-name span { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; line-height: 1.3; }
.tl-name small { font-size: 12px; color: var(--muted); font-weight: 500; }
.tl-flag { margin-left: auto; }
.tl-track { display: block; width: 100%; height: 40px; border-radius: 6px; background: var(--paper); }
.tl-grid { fill: #e3e8ee; }
.tl-bar { fill: var(--entity-initiative); transition: x 0.7s ease, width 0.7s ease, fill 0.3s ease; }
.tl-ghost { fill: none; stroke: #9aa8b8; stroke-width: 0.3; stroke-dasharray: 0.8 0.6; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 0.3s ease; }
.is-slipped .tl-ghost { opacity: 1; stroke-width: 2; }
.tl-bar.is-late { fill: var(--rag-red); }
.tl-bar.is-waiting { stroke: var(--rag-amber); stroke-width: 3; vector-effect: non-scaling-stroke; }
.tl-target { fill: var(--entity-kpi); }
.tl-target-label { text-align: right; font-size: 12.5px; font-weight: 500; color: #0b6e65; }
.conflict-line { font-size: 14px; font-weight: 500; color: var(--rag-red-ink); }
.timeline.is-compact .tl-row { grid-template-columns: 150px 1fr; }
@media (max-width: 640px) { .tl-row, .timeline.is-compact .tl-row { grid-template-columns: 1fr; gap: 4px; } .tl-head > span { display: none; } }

/* Faces */
.face { border-radius: 50%; object-fit: cover; background: #e9eef2; flex: 0 0 auto; }
.face-xs { width: 22px; height: 22px; }
.face-s { width: 36px; height: 36px; }
.face-m { width: 56px; height: 56px; }
.face-l { width: 64px; height: 64px; }
.face-xl { width: 96px; height: 96px; }

/* Story */
.story-intro { padding: 56px 0 48px; background: var(--warm); border-block: 1px solid var(--warm-line); }
.story-intro .cast li { background: #fff; border-color: var(--warm-line); }
.story-intro h2 { margin-top: 8px; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; max-width: 15em; }
.story-intro .lede { margin-top: 18px; }
.cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; }
.cast li { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.cast li:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.cast span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: #3a4a60; }
.cast b { font-size: 17px; color: var(--ink); }
.firm { margin-top: 18px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
.firm summary { cursor: pointer; font-weight: 500; }
.firm ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; }
.firm li { display: flex; flex-direction: column; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.firm li.in-story { border: 2px solid var(--entity-domain); background: #f3f7f7; }
.year { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 30px; padding-top: 6px; font-size: 15px; color: var(--muted); }
.year::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: var(--ink); }
.year a { position: relative; display: flex; flex-direction: column; gap: 12px; }
.year b { color: var(--ink); }
.year .rag-badge { align-self: flex-start; }
.year-key { margin-top: 14px; font-size: 14px; color: var(--muted); }
.year-mark.tone-watch { background: var(--status-watch); }
.year-mark.tone-amber { background: var(--rag-amber); }
.year-mark.tone-red { background: var(--rag-red); }
.year-mark.tone-green { background: var(--rag-green); }
.year-mark { width: 20px; height: 20px; margin-left: 2px; transform: rotate(45deg); background: var(--ink); transition: transform 0.2s ease, background 0.2s ease; }
.year a.is-turn .year-mark { width: 28px; height: 28px; margin-top: -4px; }
.year a:hover .year-mark { transform: rotate(45deg) scale(1.35); }
/* Five month names don't fit across a phone, so the year runs down the page instead. */
@media (max-width: 480px) {
  .year { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 0; }
  .year::before { left: 11px; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto; }
  .year a { flex-direction: row; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
  .year a.is-turn .year-mark { margin: 0 -4px 0 -2px; }
}

.chapter { position: relative; }
.chapter-row { display: flex; gap: 24px; }
.rail { position: relative; flex: 0 0 72px; }
.rail::before { content: ""; position: absolute; left: 35px; top: 0; bottom: 0; width: 2px; background: var(--ink); transform-origin: top; animation: draw 1.2s ease-out both; }
.rail.on-dark::before { background: #5d6f86; }
.rail-mark { position: absolute; left: 24px; top: 92px; width: 24px; height: 24px; transform: rotate(45deg); background: var(--ink); }
.rail-mark.mark-open { background: #fff; border: 2px solid var(--ink); }
.rail-mark.mark-red { background: #fff; }
.is-slipped-chapter .rail-mark.mark-red { background: var(--rag-red); }
.rail-mark.mark-green { width: 30px; height: 30px; left: 21px; }
.chapter-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding: 72px 0 88px; }
.band-dark { background: var(--night); color: #fff; }
.band-soft { background: var(--paper); border-block: 1px solid #e3e8ee; }
.chapter h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.chapter-big h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.opener { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.opener h2 { flex: 1 1 420px; }
.split { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.split > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; }
.split > .app-window { flex: 1.3 1 480px; transform: rotate(1deg); }
.split.wide { align-items: flex-end; justify-content: space-between; }
.split.wide > div { flex: 1 1 560px; }
.faces { display: flex; }
.faces .face + .face { margin-left: -14px; border: 3px solid var(--paper); }
.shows { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #eef2f7; max-width: 34em; font-size: 16px; }
.shows b { padding-top: 1px; font-size: 14px; white-space: nowrap; }
.shows.on-dark { flex: 0 1 380px; background: rgb(255 255 255 / 0.08); color: #d7dee6; }
.shows.on-dark b { color: var(--coral); }
.narrator { display: flex; gap: 16px; align-items: flex-start; }
.narrator-name { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cell-detail { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.cell-detail b { display: block; }

/* Home's strategy map, and the pieces every picture shares with the app's pages (owner direction, 29 October 2026) */
.app-head { margin-bottom: 12px; }
.app-head .tag { color: var(--muted); }
.view-line { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.count-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 14px; }
.count-lead { font-size: 14px; font-weight: 500; }
.count-chip { gap: 6px; }
.count-chip b { font-weight: 600; }
.home-answer { margin-bottom: 14px; }
.home-question { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.home-question h3 { font-size: 18px; }
.home-question span { font-size: 12.5px; color: var(--muted); }
.home-verdict { margin-top: 6px; font-size: 14.5px; }
.strategy-map { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 18px; }
.map-priorities { display: grid; gap: 10px; min-width: 0; }
.map-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); align-items: center; gap: 18px; }
.map-areas { display: flex; flex: 1; flex-direction: column; justify-content: space-around; gap: 8px; }
.map-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.map-head { font-size: 14px; font-weight: 600; }
.map-group { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.map-card { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13.5px; }
.map-card b { font-weight: 600; }
.map-card.is-act { box-shadow: 0 0 0 3px var(--status-halo-step); border-color: var(--rag-amber-soft); }
.map-priority.is-act, .map-area.is-act { box-shadow: 0 0 0 3px var(--status-halo-act); border-color: var(--rag-red-soft); }
.to-act-on { color: var(--rag-red-ink); font-size: 12.5px; font-weight: 500; }
.node-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; }
.node-more { font-size: 12.5px; font-weight: 500; }
.person { flex: 0 0 auto; }
.org-node.is-act { box-shadow: 0 0 0 3px var(--status-halo-act); }
.org-node.is-step { box-shadow: 0 0 0 3px var(--status-halo-step); }
.hc-missing { display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; font-weight: 600; }
.heat-team .rag-badge { margin-top: 4px; }
.explorer-line { margin-bottom: 12px; font-size: 14px; }
.explorer-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.tl-row.is-run .tl-bar { fill: #9aa8b8; }
.tl-head > span { font-size: 12px; font-weight: 500; color: var(--muted); }
.conflict-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.radar-side { flex: 1 1 320px; min-width: 0; }
.radar-list { flex: 1 1 260px; min-width: 0; }
.radar-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); }
.radar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.radar-legend i { display: inline-block; width: 16px; height: 0; border-top: 2px solid #8a5a3c; }
.radar-legend .key-now { height: 8px; border: 0; border-radius: 50%; width: 8px; background: #8a5a3c; }
.radar-legend .key-target { border-top-style: dashed; }
.radar-legend .key-previous { border-top-style: dotted; border-top-color: #64748b; }
.radar-previous { fill: none; stroke: #64748b; stroke-width: 1.5; stroke-dasharray: 1.5 3; }
.radar-gap { font-size: 11.5px; fill: var(--rag-red); }
.area-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.area-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 86px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-soft, #eef2f5); }
.area-list small { display: block; color: var(--rag-red-ink); font-size: 11.5px; }
.area-score { font-variant-numeric: tabular-nums; }
.area-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 720px) {
  .strategy-map, .map-pair:not(:first-child) { grid-template-columns: 1fr; }
  .map-pair { gap: 6px; }
}

/* June slip */
.slip { display: flex; flex-direction: column; gap: 18px; }
.slip-controls { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; color: #9fb0c3; font-size: 15px; }
.slip-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; color: var(--ink); }
.slip-panels .panel:first-child { grid-column: 1 / -1; }
@media (max-width: 760px) { .slip-panels { grid-template-columns: 1fr; } }
.panel { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-panel); transition: box-shadow 0.4s ease 0.6s; }
.panel-head { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.panel-sub { font-size: 13px; font-weight: 500; }
.panel-person { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.panel-title { font-size: 18px; font-weight: 600; color: #3f7d5a; }
.panel-text { font-size: 14px; color: #3a4a60; }
.load { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.load-col { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 500; color: var(--muted); }
.load .hc { height: 54px; font-size: 16px; }
.panel-result { font-size: 14px; font-weight: 500; color: var(--muted); }
.is-slipped [data-slip-load] { box-shadow: 0 0 0 3px var(--impact-5), 0 30px 70px rgb(0 0 0 / 0.3); }
.is-slipped [data-slip-load] .panel-result { color: var(--impact-5); }
.is-slipped [data-slip-decision] { box-shadow: 0 0 0 3px var(--rag-amber), 0 30px 70px rgb(0 0 0 / 0.3); transition-delay: 1.1s; }
.is-slipped [data-slip-decision] .panel-title { color: var(--rag-amber-ink); }
.inline-cta { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.band-dark .inline-cta { border-color: rgb(255 255 255 / 0.12); }
.inline-cta > p { font-size: 18px; font-weight: 500; }

/* September choice */
.choice { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 20px; }
.choice-vs { align-self: center; font-size: 18px; font-weight: 500; color: var(--muted); }
@media (max-width: 820px) { .choice { grid-template-columns: minmax(0, 1fr); } .choice-vs { justify-self: center; } }
.option-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.option-line { font-size: 17px; color: var(--ink-2); }
.option-load { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.option-load-head { font-size: 13px; color: var(--muted); }
.option-cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.option-cells .load-col { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.option-cells small { font-size: 12px; color: var(--muted); }
.option-cells .hc { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 8px; font-weight: 500; }
.option-cost { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.option-cost b { font-size: 30px; letter-spacing: -0.02em; }
.option-cost span { font-size: 17px; font-weight: 500; color: var(--ink-2); }
.option { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 2px solid #dfe5eb; border-radius: 18px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.option > b { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; }
.option[aria-pressed="true"] { border-color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 10px; border-radius: 999px; background: #eef2f5; font-size: 14px; font-weight: 500; }
.chip-red { background: var(--rag-red-soft); color: var(--rag-red-ink); }
.chip-green { background: var(--rag-green-soft); color: var(--rag-green-ink); }
.chip.imp-0 { background: #eef2f6; color: #33445c; } .chip.imp-1 { background: var(--impact-1); color: var(--impact-ink-1); } .chip.imp-2 { background: var(--impact-2); color: var(--impact-ink-2); }
.chip.imp-3 { background: var(--impact-3); color: var(--impact-ink-3); } .chip.imp-4 { background: var(--impact-4); color: var(--impact-ink-4); } .chip.imp-5 { background: var(--impact-5); color: var(--impact-ink-5); }
.choice-note { font-size: 16px; font-weight: 500; }

/* November pack */
.pack { position: relative; flex: 1.3 1 480px; height: 340px; }
.pack-page { position: absolute; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; }
.pack-page b { font-size: 15px; }
.pack-page.back { left: 6%; top: 40px; width: 52%; height: 270px; background: #eef2f5; transform: rotate(-7deg); }
.pack-page.middle { left: 40%; top: 24px; width: 52%; height: 280px; transform: rotate(5deg); box-shadow: var(--shadow-card); }
.pack-page.front { left: 18%; top: 0; width: 56%; height: 300px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.pack-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.pack-bars i { border-radius: 4px; }
.pack-bars .g { flex: 11; height: 60%; background: var(--rag-green); }
.pack-bars .a { flex: 4; height: 80%; background: var(--rag-amber); }
.pack-bars .r { flex: 1; height: 100%; background: var(--rag-red); }
.is-red { color: var(--rag-red-ink); }
.is-teal { color: #0b6e65; font-weight: 500; }

/* Trust and closing bands */
.trust-band { padding: 72px 0; border-top: 1px solid #e3e8ee; background: #fbfcfd; }
.trust-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.trust-head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 16em; }
.trust-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; }
.trust-tile { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.trust-tile h3 { font-size: 17px; }
.trust-tile p { font-size: 15px; color: #3a4a60; }
.closing-band { padding: 80px 0; background: var(--night); color: #fff; }
.closing-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.closing-row h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
.closing-band .btn { min-height: 62px; padding: 0 34px; font-size: 19px; }
.closing-row p { margin-top: 10px; color: #c9d3dd; }

@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* Headings ease in once (client/site.ts adds .reveal only below the fold and only without reduced motion). */
.reveal { opacity: 0; transform: translateX(-14px); transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }
/* Act now in the hero picture breathes, barely. */
.hero-clash .rag-badge--red { animation: breathe 2s ease-in-out infinite alternate; }
@keyframes breathe { from { opacity: 0.8; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(220 38 38 / 0.45); } 50% { box-shadow: 0 0 0 10px rgb(220 38 38 / 0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(-1deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Product pages */
.feature-hero { padding: 40px 0 72px; background: var(--paper); }
.feature-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.chapters { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 500; color: var(--muted); }
.chapters a { color: var(--ink); }
.feature-hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.feature-intro { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: stretch; }
.in-short { flex: 1 1 460px; display: flex; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 18px; line-height: 1.5; }
.in-short b { padding-top: 3px; font-size: 14px; white-space: nowrap; }
.feature-hero-person { flex: 0 1 420px; display: flex; gap: 16px; align-items: center; font-size: 16px; color: #3a4a60; }
.feature-hero-person b { color: var(--ink); }
.morning { display: flex; flex-direction: column; gap: 0; margin-top: 10px; }
.beats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 8px; border-radius: 18px 18px 0 0; background: var(--ink); }
.morning .app-window { border-top-left-radius: 0; border-top-right-radius: 0; }
.morning-clock { padding: 8px 16px; background: #fff; color: var(--ink-2); font-size: 13px; }
.morning-context { padding-inline: 23px; }
@media (max-width: 760px) { .morning-context { padding-inline: 17px; } }
@media (max-width: 860px) { .beats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.beat { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center; padding: 12px 14px 16px; border: 0; border-radius: 12px; background: transparent; color: #9fb0c3; font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.beat span { grid-column: 1 / -1; font-size: 14px; font-weight: 500; line-height: 1.35; }
.beat b { font-size: 14px; }
.beat.is-past { background: rgb(255 255 255 / 0.08); color: #fff; }
.beat[aria-pressed="true"] { background: #fff; color: var(--ink); }
.beat-progress { position: absolute; left: 14px; right: 14px; bottom: 8px; height: 3px; border-radius: 2px; background: rgb(127 140 160 / 0.25); }
.beat-progress::after { content: ""; position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--ink); }
.is-playing .beat[aria-pressed="true"] .beat-progress::after { animation: grow 4.2s linear both; }
.load-row { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.load-strip { display: grid; gap: 4px; }
.callouts { position: relative; display: grid; }
.callout { grid-area: 1 / 1; justify-self: end; display: flex; visibility: hidden; gap: 12px; align-items: flex-start; max-width: 360px; margin: 14px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-raised); font-size: 14px; color: #3a4a60; }
.callout.is-shown { visibility: visible; animation: pop 0.45s ease-out both; }
/* June's before-and-after words, stacked by client/site.ts so the swap never changes the height. */
.has-states { display: grid; }
.btn.has-states { display: inline-grid; justify-items: center; align-content: center; }
.has-states > .state { grid-area: 1 / 1; }
.has-states > .state-after, .is-slipped .has-states > .state-before { visibility: hidden; }
.is-slipped .has-states > .state-after { visibility: visible; }
[data-slip] .panel-next { align-self: flex-start; visibility: hidden; }
.is-slipped .panel-next { visibility: visible; }
.callout span { display: flex; flex-direction: column; gap: 4px; }
.callout b { font-size: 15px; }
.callout-actions { flex-direction: row !important; gap: 8px !important; margin-top: 4px; }
.chip-ink { background: var(--ink); color: #fff; }
.is-amber { color: var(--rag-amber-ink); }
.is-dark-red { color: var(--impact-5); }
.morning-play { background: #fff; border: 1px solid #c9d3dd; color: var(--ink); }
.feature-body { padding: 56px 0 88px; }
.feature-body .wrap { display: flex; flex-direction: column; gap: 48px; }
.feature-body h2 { font-size: clamp(26px, 3vw, 34px); }
.big-line { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 32px 0; border-block: 1px solid #e3e8ee; }
.big-line > span { flex: 1 1 520px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.22; letter-spacing: -0.01em; }
.big-line small { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: -28px 0 0; padding: 0; list-style: none; }
.how li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; }
.how h3 { font-size: 18px; }
.how p { font-size: 16px; color: #3a4a60; }
.answers { display: flex; flex-direction: column; gap: 16px; }
.answers ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.answers li { padding: 16px 18px; border-radius: 12px; background: var(--paper); font-weight: 500; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.compare-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.compare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.compare-card:first-child { background: var(--paper); }
.compare-card.is-with { border: 2px solid var(--ink); }
.compare-card h3 { font-size: 21px; }
.compare-card p:last-child { color: #3a4a60; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.related a:hover { color: var(--ink); box-shadow: var(--shadow-raised); }
.related span { font-size: 15px; color: #3a4a60; }
/* Knowledge-centre articles on a product page's subject (SEO gaps, 31 October 2026). */
.further-reading { margin-bottom: 28px; }
.further-reading h2 { margin-bottom: 14px; font-size: 22px; }
.further-reading ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.further-reading a { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.further-reading a:hover { color: var(--ink); box-shadow: var(--shadow-raised); }
.further-reading b { font-weight: 600; line-height: 1.35; }
.further-reading span { color: #3a4a60; font-size: 14px; }
.chapters-foot { padding-top: 24px; border-top: 1px solid #e3e8ee; font-size: 17px; }
@keyframes grow { from { width: 0; } to { width: 100%; } }

/* Security and your data */
.trust-hero { padding: 64px 0 56px; background: var(--paper); border-bottom: 1px solid #e3e8ee; }
.trust-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.trust-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 13em; }
.trust-glance { padding: 48px 0 16px; }
.trust-glance h2 { font-size: 28px; }
.glance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 16px; }
.glance { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.glance:hover { transform: translateY(-3px); box-shadow: var(--shadow-raised); }
.glance h3 { font-size: 17px; }
.glance p { font-size: 15px; color: #3a4a60; }
.trust-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding: 32px 0 72px; }
.toc { position: sticky; top: 96px; flex: 0 0 240px; display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid #e3e8ee; border-radius: 14px; }
.toc .tag { padding: 4px 10px 8px; }
.toc a { padding: 7px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: #3a4a60; }
.toc a:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 860px) { .toc { position: static; flex-basis: 100%; } }
.trust-body { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.trust-section h2 { font-size: 26px; margin-bottom: 6px; scroll-margin-top: 96px; }
.trust-row { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 10px 28px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.trust-row h3 { font-size: 16px; }
.trust-row div { display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.trust-row a { border-bottom: 1px solid currentColor; }
@media (max-width: 640px) { .trust-row { grid-template-columns: 1fr; } }
.draft-ref { margin-left: 8px; padding: 1px 6px; border-radius: 5px; background: #fff8db; font: 600 11px ui-monospace, Consolas, monospace; color: #78350f; }
.draft-notes { padding: 18px; border: 2px dashed #c9a52e; border-radius: 14px; background: #fffbea; font-size: 14.5px; }
.draft-notes h2 { font-size: 16px; margin-bottom: 6px; }
.it-band { padding: 64px 0; background: var(--ink); color: #fff; }
.it-band h2 { font-size: clamp(28px, 3vw, 36px); }
.it-band p { margin-top: 10px; color: #c9d3dd; }

/* Narrow screens */
.app-address { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.org-company { width: min(300px, 100%); }
@media (max-width: 640px) {
  .shows { flex-direction: column; gap: 4px; }
  .org-functions { grid-template-columns: 1fr; }
  .rail { flex-basis: 28px; }
  .rail::before { left: 13px; }
  .rail-mark { left: 4px; width: 20px; height: 20px; }
  .rail-mark.mark-green { left: 2px; width: 24px; height: 24px; }
  .chapter-row { gap: 12px; }
}

/* Product pictures with prepared states */
.switch { display: flex; flex-direction: column; }
.switch-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px; border-radius: 18px 18px 0 0; background: var(--ink); }
.switch-bar .tag { color: #9fb0c3; }
.switch-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.switch-btn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #c9d3dd; font: 500 14px inherit; font-family: inherit; cursor: pointer; }
.switch-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }
.switch-bar:not([hidden]) + .app-window { border-top-left-radius: 0; border-top-right-radius: 0; }
.switch-panel { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; visibility: hidden; }
.switch-panel.is-active { visibility: visible; animation: fade 0.4s ease-out both; }
.kr-list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.kr-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(80px, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.kr-name { font-weight: 500; }
.kr-bar { height: 6px; border-radius: 3px; background: #e9eef2; overflow: hidden; }
.kr-fill { display: block; height: 100%; background: var(--entity-kpi); }
.kr-figures { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .kr-list li { grid-template-columns: 1fr auto; } .kr-bar { display: none; } }
.fill-1 { width: 10%; } .fill-2 { width: 20%; } .fill-3 { width: 30%; } .fill-4 { width: 40%; } .fill-5 { width: 50%; }
.fill-6 { width: 60%; } .fill-7 { width: 70%; } .fill-8 { width: 80%; } .fill-9 { width: 90%; } .fill-10 { width: 100%; }
.needs { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.needs li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.needs li > :first-child { grid-column: 1; grid-row: 1 / 3; }
.needs li > :not(:first-child) { grid-column: 2; }
.needs .mk { background: #eef2f5; }
.needs .mk.mk-red { background: var(--rag-red-soft); } .needs .mk.mk-amber { background: var(--rag-amber-soft); } .needs .mk.mk-green { background: var(--rag-green-soft); }
.needs span:last-child { font-size: 14px; color: #3a4a60; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr auto; gap: 12px; align-items: center; font-size: 14px; }
.bar { height: 22px; border-radius: 6px; }
.tone-objective { background: var(--entity-objective); } .tone-initiative { background: var(--entity-initiative); }
.tone-green { background: var(--rag-green); } .tone-amber { background: var(--rag-amber); } .tone-red { background: var(--rag-red); }
.pack-mini { display: flex; flex-direction: column; gap: 8px; max-width: 420px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-card); font-size: 14px; }
.example-strategy-document { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; font-size: 14px; }
.overview-views { margin-top: 18px; }
.chapter-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: -28px; }
.chapter-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.chapter-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.chapter-card-head { display: flex; align-items: center; gap: 10px; }
.chapter-card b { font-size: 18px; }
.chapter-card > span:last-child { font-size: 15px; color: #3a4a60; }
.start-here { display: flex; flex-direction: column; gap: 16px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.way { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.way:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.way.is-first { border: 2px solid var(--ink); }
.way b { font-size: 20px; }
.way > span:not(.step-n):not(.tag) { color: #3a4a60; }
.year-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.year-list li { display: grid; grid-template-columns: 120px auto 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid #e3e8ee; }
.year-month { font-size: 20px; font-weight: 600; }
.year-list h2 { font-size: 24px; }
.year-list p { margin-top: 6px; color: #3a4a60; }
.year-line { font-weight: 500; color: var(--ink) !important; }
@media (max-width: 640px) { .year-list li { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-hero { padding: 56px 0 72px; background: var(--paper); }
.pricing-hero .wrap { display: flex; flex-direction: column; gap: 22px; }
.pricing-hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -0.03em; max-width: 13em; }
.fit { display: flex; flex-direction: column; gap: 10px; }
.fit-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 860px) { .fit-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fit-option { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.fit-option span { font-size: 14px; color: var(--muted); }
.fit-option[aria-pressed="true"] { border: 2px solid var(--ink); box-shadow: var(--shadow-raised); }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1080px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .price-grid, .fit-options { grid-template-columns: 1fr; } }
.price-card { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.price-card.is-fit { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink), var(--shadow); transform: translateY(-6px); }
.price-top { display: flex; flex-direction: column; gap: 6px; }
.price-top h2 { font-size: 22px; }
.price-covers { font-size: 15px; color: #3a4a60; }
.price { display: flex; align-items: baseline; gap: 6px; }
.price-amount { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.price-unit, .price-alt { font-size: 15px; color: var(--muted); }
.price-founding { margin-top: 6px; font-size: 14px; font-weight: 500; color: #3f7d5a; }
.price-includes { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.price-includes li { padding-left: 22px; position: relative; }
.price-includes li::before { content: "✓"; position: absolute; left: 0; color: #3f7d5a; font-weight: 600; }
.btn-outline { border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.plan-pic { display: grid; place-items: center; min-height: 92px; padding: 10px; border-radius: 12px; background: var(--paper); }
.plan-pic-team { display: inline-block; width: 16px; height: 16px; border-radius: 5px; background: var(--entity-capability); }
.plan-pic-area, .plan-pic-org, .plan-pic-group { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; padding: 6px; border: 1.5px solid var(--entity-domain); border-radius: 8px; }
.plan-pic-org { gap: 6px; padding: 7px; border-color: var(--entity-company); border-radius: 10px; }
.plan-pic-group { gap: 7px; padding: 0; border: 0; }
.currency-choice { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 10px; font-size: 14px; color: var(--muted); }
.currency-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.currency-button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; }
.currency-symbol { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: #eef1f5; font-size: 13px; font-weight: 600; }
.currency-button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.currency-button[aria-pressed="true"] .currency-symbol { background: rgb(255 255 255 / 0.2); color: #fff; }
.currency-choice-dark { justify-content: flex-start; color: #c9d3dd; }
.currency-choice-dark .currency-button { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.06); color: #fff; }
.currency-choice-dark .currency-symbol { background: rgb(255 255 255 / 0.12); color: #fff; }
.reassure { display: flex; flex-direction: column; gap: 16px; }
.reassure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.reassure-item { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: var(--paper); }
.reassure-item h3 { font-size: 17px; }
.reassure-item p { font-size: 15px; color: #3a4a60; }
.pricing-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pricing-notes section { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.pricing-notes h2 { font-size: 21px; }
.pricing-notes p { color: #3a4a60; }
.pricing-faq { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #3a4a60; }

/* Information pages: FAQ, About, Works with */
.page-hero { padding: 56px 0 48px; background: var(--paper); border-bottom: 1px solid #e3e8ee; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -0.025em; max-width: 14em; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }
.chips-nav a:hover { border-color: var(--ink); color: var(--ink); }
.faq-group { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 96px; }
.faq-group h2 { font-size: clamp(24px, 2.6vw, 30px); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; scroll-margin-top: 96px; }
.faq-icon { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--paper); color: var(--ink); }
.faq-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.faq-copy h2, .faq-copy h3 { font-size: 17px; }
.faq-copy p { color: #3a4a60; }
.faq-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.faq-links a { font-weight: 500; color: var(--ink); border-bottom: 1.5px solid currentColor; }
.words { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; margin: 0; }
.words div { padding: 14px 16px; border-radius: 12px; background: var(--paper); }
.words dt { font-weight: 600; }
.words dd { margin: 4px 0 0; color: #3a4a60; font-size: 15px; }
.faq-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.faq-topic { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.faq-topic:hover { color: var(--ink); box-shadow: var(--shadow-raised); }
.faq-topic span { font-size: 15px; color: #3a4a60; }
.ask-more { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; padding: 28px; border-radius: 18px; background: var(--paper); }
.ask-more h2 { font-size: 26px; }
.ask-more p { margin-top: 6px; color: #3a4a60; }
.flow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.flow-tile, .flow-signin { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 14px; color: #3a4a60; }
.flow-tile b, .flow-signin b { font-size: 18px; color: var(--ink); }
.flow-tile.is-main { border: 2px solid var(--ink); }
.flow i { font-style: normal; font-size: 22px; color: var(--muted); }
.flow-signin { flex-basis: 100%; max-width: 420px; }
.ww-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.ww-item { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.ww-item h2 { font-size: 22px; }
.ww-item p, .ww-item li { color: #3a4a60; }
.ww-item ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 18px; font-size: 15px; }

/* Pages drawn by the interactive renderers (forms, Start, Function check, drafts) */
.band-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
@media (max-width: 860px) { .band-hero { grid-template-columns: 1fr; } }
.band-copy { display: flex; flex-direction: column; gap: 16px; }
.band-visual .band-panel { padding: 22px; border-radius: 18px; background: var(--night); color: #fff; }
.band-visual .band-panel-title { margin: 0 0 14px; color: #c9d6e2; font-size: 14px; font-weight: 500; }
.band-steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding-left: 20px; }
.band-steps strong { display: block; }
.band-steps span { color: #c9d6e2; font-size: 15px; }
.band-button { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 22px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; }
.band-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; border-bottom: 1.5px solid currentColor; }
.page-app main > .wrap, .page-app .contact-content, .page-app .privacy-content { padding-block: 40px 72px; }
.privacy-content .privacy-card { display: flex; flex-direction: column; gap: 28px; }
.privacy-content h2 { font-size: 24px; margin-bottom: 8px; }
.privacy-content p, .privacy-content li { color: var(--ink-2); max-width: 46em; }
.privacy-content a { border-bottom: 1px solid currentColor; }
.draft-banner { margin: 16px 0; padding: 14px 16px; border: 2px dashed #c9a52e; border-radius: 12px; background: #fffbea; }
.draft-banner code { overflow-wrap: anywhere; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Cyber Essentials and insurance, in the trust band */
.assurance { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; margin-top: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.assurance-mark { width: 84px; height: auto; }
.assurance-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.assurance-copy h3 { font-size: 20px; }
.assurance-details summary { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; cursor: pointer; }
.assurance-more { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; color: #3a4a60; font-size: 15px; }
.assurance-more a { color: var(--ink); border-bottom: 1px solid currentColor; }
.assurance-insurance { display: inline-block; width: 28px; height: 28px; margin-right: 8px; vertical-align: middle; color: var(--ink-2, currentColor); }
.levels-explained { max-width: 52em; font-size: 16px; color: #3a4a60; }
.pricing-notes h3 { font-size: 17px; margin-top: 6px; }
/* The negative pull suits the 76px headline; at phone sizes it put the tag on the headline's first line. */

/* Two ways in: the story or just the facts (persona A/B test, 21 October 2026, canvas row G). */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; margin: 32px 0 24px; }
.door { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 20px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.door:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.door > b { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
.door-faces { display: flex; }
.door-faces .face + .face { margin-left: -10px; }
.door-go { margin-top: auto; align-self: flex-start; font-weight: 500; border-bottom: 1.5px solid currentColor; }
.door-story { background: var(--night); color: #fff; }
.door-story:hover { color: #fff; }
.door-story > span:not(.door-go) { color: #c9d3dd; }
.door-story .door-faces .face { border: 2px solid var(--night); }
.door-facts { background: #fff; border: 2px solid var(--ink); }
.door-facts:hover { color: var(--ink); }
.door-facts ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.door-facts li::before { content: "\2713\00a0"; font-weight: 600; }
@media (max-width: 560px) { .door-facts ul { grid-template-columns: 1fr; } }

/* The facts in one look. */
.facts { display: flex; flex-direction: column; gap: 20px; }
.facts-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.facts-head h2 { font-size: clamp(26px, 3vw, 34px); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fact h3 { font-size: 15px; font-weight: 600; color: var(--muted); }
.fact p { font-size: 16px; line-height: 1.5; }
.invented { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; max-width: 60em; font-size: 16px; color: #3a4a60; }
.invented-pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: #e3e8ee; font-size: 13px; font-weight: 600; color: var(--ink); }
.chapter-facts { margin-top: 18px; }
.band-dark .chapter-facts .text-link { color: #fff; }

/* Fact pages. */
.fact-crumbs { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.fact-crumb a { color: var(--muted); border-bottom: 1px solid currentColor; }
.fact-crumb [aria-current] { color: var(--ink); }
.fact-crumb > span[aria-hidden] { margin: 0 4px; }
.wrap > .fact-crumb, .band-copy > .fact-crumb, .learn-content > .fact-crumb { margin-bottom: 18px; }
.story-door { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; }
.fact-hero h1 { max-width: 20em; font-size: clamp(34px, 4.4vw, 52px); }
.fact-hero .summary { max-width: 46em; text-wrap: pretty; }
/* A product page's signature: the one moment its part of waytrk is about, beside the question (30 October 2026). */
.fact-hero-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.has-signature h1 { max-width: none; }
.has-signature .summary { max-width: 34em; }
@media (max-width: 920px) { .fact-hero-row { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.signature { position: relative; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-panel); }
.signature > .invented-pill { position: absolute; top: 18px; right: 18px; }
@media (max-width: 600px) { .signature > .invented-pill { position: static; align-self: flex-start; } }
.sig-answer { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: #3a4a60; animation: fade 0.5s ease-out 1.1s both; }
.sig-answer > span:not(.rag-badge) { display: flex; flex-direction: column; gap: 4px; }
.sig-answer b { font-size: 17px; color: var(--ink); }
.sig-answer .rag-badge { flex: none; white-space: nowrap; }
/* Change impact: the month strip rises cell by cell to the winter peak. */
.sig-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: end; }
.sig-col { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.sig-col small { font-size: 13px; color: var(--muted); }
.sig-col .hc { height: 84px; border-radius: 12px; font-size: 22px; transform-origin: bottom; animation: rise 0.5s ease-out both; }
.sig-col:nth-child(2) .hc { animation-delay: 0.1s; }
.sig-col:nth-child(3) .hc { animation-delay: 0.2s; }
.sig-col:nth-child(4) .hc { animation-delay: 0.3s; }
.sig-col:nth-child(5) .hc { animation-delay: 0.4s; }
.sig-col.is-peak .hc { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rag-amber); }
@keyframes rise { from { opacity: 0; transform: scaleY(0.2); } to { opacity: 1; transform: none; } }
/* Function assessment: the current shape grows from the centre inside the target. */
.sig-radar .radar { display: block; max-width: 440px; margin: 0 auto; }
.sig-radar .radar-label { font-size: 14px; }
.sig-radar .radar-gap { font-size: 13px; }
.sig-radar .radar-now { transform-box: view-box; transform-origin: 230px 175px; animation: grow-shape 0.8s ease-out 0.2s both; }
@keyframes grow-shape { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
/* Strategy and measures: each Key Result's latest figure settles against its target. */
.sig-krs { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sig-krs li { display: flex; flex-direction: column; gap: 8px; }
.sig-kr-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; }
.sig-track { position: relative; height: 14px; border-radius: 7px; background: var(--paper); overflow: visible; }
.sig-fill { position: absolute; inset: 0 auto 0 0; border-radius: 7px; background: var(--rag-amber); transform-origin: left; animation: fill-in 0.8s ease-out 0.2s both; }
.is-stale .sig-fill { background: #cbd5e1; }
.sig-target { position: absolute; top: -5px; bottom: -5px; width: 3px; border-radius: 2px; background: var(--ink); }
.p-72 { width: 72%; } .p-40 { width: 40%; } .t-85 { left: calc(85% - 1px); } .t-100 { left: calc(100% - 3px); }
.sig-krs small { font-size: 13px; color: var(--muted); }
@keyframes fill-in { from { transform: scaleX(0); } to { transform: none; } }
/* Work and Function plans: three plans, each with its Owner, arrive side by side. */
.sig-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .sig-plans { grid-template-columns: minmax(0, 1fr); } }
.sig-plan { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; animation: fade 0.45s ease-out both; }
.sig-plan:nth-child(2) { animation-delay: 0.15s; }
.sig-plan:nth-child(3) { animation-delay: 0.3s; }
.sig-plan.is-unowned { border: 2px dashed var(--rag-amber); }
.sig-plan-head { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.sig-plan-head span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.sig-plan ul { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sig-plan li { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 8px; background: var(--paper); font-size: 13px; }
.sig-kind { align-self: flex-start; padding: 1px 6px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.kind-change { background: #ccfbf1; color: #115e59; }
.kind-run { background: #e2e8f0; color: #334155; }
/* Connections and dependencies: one date moves, the gap turns red, and the work that waits slides with it. */
.sig-dep { display: flex; flex-direction: column; gap: 10px; }
.sig-dep-months, .sig-dep-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 12px; align-items: center; margin: 0; }
.sig-dep-months { font-size: 12px; color: var(--muted); }
.sig-dep-scale { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.sig-dep-row > span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.sig-dep-row small { font-size: 12px; color: var(--muted); }
.sig-dep-row svg { display: block; width: 100%; height: 40px; border-radius: 8px; background: var(--paper); }
.sig-dep-sheets { fill: var(--entity-initiative); transform-box: view-box; transform-origin: 0 0; animation: slip-out 0.8s ease-out 0.3s both; }
.sig-dep-late { fill: var(--rag-red); animation: fade 0.4s ease-out 1s both; }
.sig-dep-ghost { fill: none; stroke: #94a3b8; stroke-width: 0.4; stroke-dasharray: 1 1; }
.sig-dep-app { fill: var(--entity-initiative); stroke: var(--rag-amber); stroke-width: 3; vector-effect: non-scaling-stroke; animation: slide-late 0.8s ease-out 0.3s both; }
@keyframes slip-out { from { transform: scaleX(0.667); } to { transform: none; } }
@keyframes slide-late { from { transform: translateX(-15px); } to { transform: none; } }
/* Plan alternatives: the saved alternative arrives beside the current plan. */
.sig-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sig-option { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.sig-option.is-alt { animation: slide-in 0.6s ease-out 0.3s both; }
.sig-option-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.sig-option > b { font-size: 16px; line-height: 1.25; }
.sig-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.sig-mini .hc { height: 30px; font-size: 13px; }
.sig-mini-months { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.sig-cost { display: flex; align-items: baseline; gap: 8px; }
.sig-cost b { font-size: 24px; letter-spacing: -0.02em; }
.sig-cost span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
@keyframes slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
/* Insights and reporting: the question, then its answer bars grow. */
.sig-ask { font-size: 15px; color: #3a4a60; }
.sig-bars { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sig-bars li { display: grid; grid-template-columns: 92px minmax(0, 1fr) 28px; gap: 12px; align-items: center; }
.sig-bars b { font-size: 18px; text-align: right; }
.sig-bar-track { height: 18px; border-radius: 6px; background: var(--paper); }
.sig-bar { display: block; height: 100%; border-radius: 6px; transform-origin: left; animation: fill-in 0.7s ease-out both; }
.sig-bars li:nth-child(2) .sig-bar { animation-delay: 0.12s; }
.sig-bars li:nth-child(3) .sig-bar { animation-delay: 0.24s; }
.sig-bar.tone-green { background: var(--rag-green); } .sig-bar.tone-amber { background: var(--rag-amber); } .sig-bar.tone-red { background: var(--rag-red); }
.w-69 { width: 69%; } .w-25 { width: 25%; } .w-6 { width: 6%; }
/* Signatures on a phone: one column, the answer under its chip. */
@media (max-width: 600px) { .sig-answer { flex-direction: column; gap: 8px; } .sig-options { grid-template-columns: minmax(0, 1fr); } .sig-dep-row, .sig-dep-months { grid-template-columns: minmax(0, 1fr); gap: 6px; } .sig-dep-months > span:first-child { display: none; } .sig-plan li { flex-direction: row; justify-content: space-between; align-items: center; } }
/* Working together: Ben's list arrives most urgent first. */
.sig-working-together .needs li { background: #fff; animation: fade 0.45s ease-out both; }
.sig-working-together .needs li:nth-child(2) { animation-delay: 0.15s; }
.sig-working-together .needs li:nth-child(3) { animation-delay: 0.3s; }
.fact-rows { display: flex; flex-direction: column; margin: 0 0 48px; }
.fact-rows > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 22px 0; border-top: 1px solid #e3e8ee; }
.fact-rows > div:first-child { border-top: none; padding-top: 0; }
.fact-rows dt { font-size: 17px; font-weight: 600; }
.fact-rows dd { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.fact-rows ul, .fact-rows ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 720px) { .fact-rows > div { grid-template-columns: 1fr; } }
.fact-picture { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.fact-picture-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.fact-picture-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.page-facts .facts { margin: 56px 0 40px; }
.fact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; margin-top: 20px; }
.fact-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.fact-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.fact-card b { font-size: 19px; font-weight: 600; }
.fact-card > span { color: #3a4a60; }
.fact-card-question { margin: 4px 0 0; font-size: 15px; font-style: italic; color: var(--ink-2); }

/* The year page: every chapter with its picture. */
.year-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.year-jump a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }
.year-chapters { display: flex; flex-direction: column; gap: 72px; margin: 0; padding: 0; list-style: none; }
.year-chapter { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 24px; }
.year-chapter-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
.year-chapter-head > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 8px; }
.year-chapter-head h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
.year-chapter-head p { font-size: 18px; color: #3a4a60; }
.year-chapter .year-month { flex: 0 0 100%; font-size: 15px; font-weight: 600; color: var(--muted); }
.compare-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }

/* Pricing: what per-person pricing would cost you. */
.calc { display: flex; flex-direction: column; gap: 22px; margin: 56px 0 24px; padding: 32px; border-radius: 20px; background: var(--paper); }
.calc h2 { font-size: clamp(28px, 3.4vw, 40px); }
.calc-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.calc-control { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; min-width: 0; }
.calc-control label, .calc-control legend { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; }
.calc-control legend { padding: 0; margin-bottom: 10px; }
.calc-control output { font-size: 22px; font-weight: 600; }
.calc-control small { font-size: 14px; color: var(--muted); }
.calc-control input[type="range"] { width: 100%; min-height: 32px; accent-color: var(--ink); }
.calc-scopes { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-scope { flex: 1 1 0; min-width: 130px; min-height: 44px; padding: 8px 12px; border: 1px solid #c9d3dd; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; }
.calc-scope[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.calc-result { display: flex; flex-direction: column; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.calc-row { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) minmax(0, 150px); gap: 16px; align-items: center; }
.calc-row > p:first-child { display: flex; flex-direction: column; gap: 2px; }
.calc-row b { font-size: 17px; font-weight: 600; }
.calc-row small { font-size: 13px; color: var(--muted); }
.calc-track { display: block; width: 100%; height: 40px; border-radius: 10px; background: var(--paper); }
.calc-fill-per-user { fill: #9aa8b8; }
.calc-fill-waytrk { fill: var(--ink); }
.calc-figure { text-align: right; font-size: 24px; font-weight: 600; }
.calc-figure small { display: block; }
.calc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-top: 16px; border-top: 1px solid #eef2f5; }
.calc-verdict { font-size: 20px; font-weight: 600; }
.calc-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 500; cursor: pointer; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--ink); }
.calc-note { font-size: 14px; color: var(--muted); max-width: 60em; }
@media (max-width: 720px) { .calc { padding: 20px; } .calc-row { grid-template-columns: 1fr; } .calc-figure { text-align: left; } }
@media (prefers-reduced-motion: reduce) { .door, .fact-card { transition: none; } }
.scale-line { margin-top: 10px; font-size: 17px; font-weight: 500; color: var(--ink-2); }

/* Change impact as the app draws it: nothing for no change, a grey box when not assessed. */
.heat .hc.imp-0 { background: transparent; }
.heat .hc-unknown, .hc-legend .hc-unknown { border: 0; background: #e8edf2; }

/* Pictures of the app since the macOS direction and the warmth pass (redrawn 16 November 2026): numbered circles for
   status, type icons before type names, the brand accent for buttons and the answer word, white cards on the page. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.status-mark { display: inline-flex; align-items: center; flex: none; }
.attention-badge { display: inline-grid; place-items: center; flex: none; min-width: 20px; height: 20px; }
.attention-badge-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--stravx-text-muted); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.attention-badge:is(.is-mine, .is-serious) .attention-badge-mark { background: var(--rag-red); }
.status-text { font-size: 12.5px; color: var(--muted); }
.type-line { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.type-line .record-type-icon { color: var(--entity-ink, currentColor); }
.type-line[data-type="initiative"] svg { color: var(--entity-initiative); }
.type-line[data-type="objective"] svg { color: var(--entity-objective); }
.type-line[data-type="key-result"] svg, .type-line[data-type="okr"] svg { color: var(--entity-okr, var(--entity-objective)); }
.type-line-extra::before { content: "·"; margin-right: 5px; }
.record-type-icon { flex: none; vertical-align: -2px; }
.app-btn { display: inline-flex; align-items: center; flex: none; padding: 4px 10px; border: 1px solid #d6dde3; border-radius: 7px; background: #fff; font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.app-btn.is-primary { border-color: transparent; background: var(--brand-accent); color: #fff; }
.app-btn.is-light { border-color: transparent; background: #fff; color: var(--ink); }
.view-head.app-head h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.app-content > .tag, .signature .tag + .app-head { margin-bottom: 4px; }

/* PageNeeds: what on the page waits on the reader. */
.page-needs { display: flex; flex-direction: column; margin: 12px 0 16px; padding: 4px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.page-need { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; }
.page-need + .page-need { border-top: 1px solid var(--line-soft); }
.page-need > span:nth-child(2) { flex: 1; }

/* Organisation */
.org-node { position: relative; gap: 4px; box-shadow: var(--shadow-card); }
.org-company { align-items: center; }
.org-area.is-open { box-shadow: 0 0 0 2px var(--brand-accent-soft), var(--shadow-card); }
.org-function.is-focus { box-shadow: 0 0 0 1.5px var(--rag-red-soft, #ffd2d3), var(--shadow-card); }
.org-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .org-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.node-corner { position: absolute; top: -8px; right: -8px; }
.node-corner .attention-badge-mark { box-shadow: 0 0 0 2px #fff; }
.node-facts { font-size: 12px; color: var(--muted); }
.mat-line { display: flex; flex-direction: column; gap: 3px; }
.mat-word { font-size: 12px; font-weight: 500; color: #3a4a60; }
.mat-blocks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; }
.mat-block { display: grid; place-items: center; height: 18px; border: 1px solid var(--line); border-radius: 4px; background: #f1f4f6; font-size: 10.5px; font-style: normal; font-weight: 600; }
.mat-block.is-up { border-color: transparent; background: color-mix(in srgb, var(--brand-accent) 20%, #fff); color: var(--brand-accent-strong); }
.mat-block.is-down { border-color: transparent; background: var(--rag-red-soft); color: var(--rag-red-ink); }
.mat-block.is-gap { box-shadow: inset 0 0 0 1.5px var(--ink); }
.mat-block.is-empty { border-style: dashed; border-color: #94a3b8; background: none; }
.init-tiles { display: flex; flex-wrap: wrap; gap: 3px; }
.init-tiles i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: color-mix(in srgb, var(--entity-initiative) 16%, #fff); color: var(--entity-initiative); }

/* Change impact: the amber scale, numbers in each band, Business area heading rows, hatched Not assessed. */
.imp-0 { background: transparent; color: transparent; }
.heat { position: relative; gap: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.heat-row { gap: 0; padding: 0; border-radius: 0; }
.heat-row > span { position: relative; align-self: stretch; padding: 4px; border-bottom: 1px solid var(--line); }
.heat-row > span + span { border-left: 1px solid var(--line); }
.heat-head > span { display: flex; flex-direction: column; justify-content: flex-end; min-height: 36px; }
.heat-area { display: block; margin: 0; background: #eaf0f4; font-size: 12.5px; font-weight: 600; }
.heat-area > span { display: block; padding-inline: 8px; }
.heat-today::after { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 50%; width: 1px; background: var(--rag-red); pointer-events: none; }
.heat-head .heat-today::after { top: auto; bottom: 0; height: 4px; }
.heat-today small { color: var(--rag-red-ink); font-size: 10px; }
.heat-team { flex-direction: row; align-items: center; gap: 6px; padding-left: 4px; font-size: 13px; }
.heat-team .status-mark { margin-left: 4px; }
.hc { height: 28px; border-radius: 4px; font-size: 12px; }
.heat .hc.imp-0.is-assessed { background: #eaf0f4; color: var(--ink-2); }
.hc.hc-unknown { border: 1px solid #b8c3cf; background: repeating-linear-gradient(135deg, #fff 0 3px, #c5cfd9 3px 4.5px); }
.hc-legend { margin: 0 0 10px; }
.hc-legend .hc { width: 20px; height: 20px; }
.heat-list, .tl-work-list { display: none; }
@media (max-width: 640px) {
  .heat, .timeline.has-work-list { display: none; }
  .heat-list, .tl-work-list { display: block; }
  .heat-list ul, .tl-work-list { list-style: none; margin: 0; padding: 0; }
  .heat-list-name { margin-top: 12px; font-size: 13px; font-weight: 600; }
  .heat-list li, .tl-work-list li { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2); }
  .heat-list li b, .tl-work-list li b { font-size: 13px; font-weight: 600; color: var(--ink); }
  .tl-work-list li b { margin-bottom: 5px; }
  .tl-list-conflict { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
}

/* Maturity */
.radar-now { fill: var(--insight-mark, #3d7a5c); fill-opacity: 0.22; stroke: var(--insight-mark, #3d7a5c); stroke-width: 2.5; }
.radar-target { stroke: var(--insight-mark, #3d7a5c); stroke-width: 2; stroke-dasharray: 6 4; }
.radar-dot { fill: var(--insight-mark, #3d7a5c); }
.radar-dot.is-gap { fill: var(--rag-red); }
.radar-legend { margin-bottom: 8px; }
.radar-legend i { border-top-color: var(--insight-mark, #3d7a5c); }
.radar-legend .key-now { background: var(--insight-mark, #3d7a5c); }
.radar-card .radar-label { font-size: 15px; }
.radar-card .radar-gap { font-size: 13px; }
.radar-card.empty .radar-now, .radar-card.empty .radar-target, .radar-card.empty .radar-dot { display: none; }
.spider-group { padding: 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.spider-area { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.spider-area small { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.spider-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .spider-cards { grid-template-columns: 1fr; } }
.spider-card { display: flex; flex-direction: column; gap: 4px; padding: 10px; border: 1px solid var(--line-soft); border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.spider-card.is-focus { box-shadow: 0 0 0 2px var(--brand-accent), var(--shadow-card); }
.spider-top { display: flex; justify-content: space-between; align-items: center; }
.spider-name { font-size: 14px; }
.spider-date { font-size: 11.5px; color: var(--muted); min-height: 1em; }
.back-link { font-size: 13px; font-weight: 500; color: var(--brand-accent-text); margin-bottom: 4px; }
.maturity-focus { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.maturity-focus-picture { flex: 1 1 300px; min-width: 0; padding: 8px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.maturity-focus-table { flex: 1 1 300px; min-width: 0; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.maturity-focus-table h4 { font-size: 18px; }
.maturity-focus-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.aspect-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 12.5px; }
.aspect-table th, .aspect-table td { padding: 6px 4px; border-top: 1px solid var(--line-soft); text-align: center; font-weight: 400; overflow-wrap: anywhere; }
.aspect-table thead th:first-child { width: 36%; }
.aspect-table thead th:last-child { width: 22%; }
.aspect-table th[scope="row"], .aspect-table thead th:first-child { text-align: left; }
.aspect-table thead th { border-top: 0; font-size: 11.5px; font-weight: 500; color: var(--muted); }
.aspect-table tr.is-gap th { font-weight: 600; }
.gap-icon { color: var(--rag-red); font-size: 11px; }
.linked-init { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: color-mix(in srgb, var(--entity-initiative) 16%, #fff); color: var(--entity-initiative); }
.aspect-dates { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12.5px; }
.aspect-dates small { display: block; color: var(--muted); font-size: 11px; }

/* Work timeline: grouped under Functions, thin rounded bars, the solid red Today line. */
.timeline { gap: 0; padding: 0 10px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.tl-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.tl-tools > span { display: flex; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.app-toolbar[data-app-route="initiatives"] + .app-content .app-head h3 { font-size: 27px; line-height: 1.2; }
.timeline .tl-row, .morning .load-row { grid-template-columns: min(31%, 340px) minmax(0, 1fr); gap: 16px; }
.timeline.is-compact .tl-row { grid-template-columns: min(30%, 200px) minmax(0, 1fr); }
.tl-row { min-height: 29px; }
.tl-head { position: relative; min-height: 56px; border-bottom: 1px solid var(--line); background: #f5f7f9; box-shadow: 10px 0 #f5f7f9, -10px 0 #f5f7f9; align-items: end; }
.tl-head > span { padding-block: 8px; color: var(--ink); }
.tl-head .tl-months { border-bottom: 2px solid #5b6b80; }
.tl-months > span { padding: 5px 3px; }
.tl-months > span + span { border-left: 1px solid var(--line); }
.tl-group { min-height: 29px; border-bottom: 1px solid var(--line-soft); }
.tl-group-name { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); }
.tl-disclosure { width: 0; height: 0; border: 4px solid transparent; border-top-color: var(--muted); border-bottom: 0; }
.tl-initiative { border-bottom: 1px solid var(--line); }
.tl-initiative:last-child { border-bottom: 0; }
.tl-name { gap: 4px; padding-left: 30px; align-self: stretch; border-right: 1px solid var(--line); }
.tl-name > svg { color: currentColor; flex: none; }
.tl-name span { font-size: 13px; }
.tl-name b { font-weight: 500; }
.tl-flag { margin-left: 4px; }
.tl-track { height: 29px; border-radius: 0; background: transparent; }
.tl-bar { fill: #596576; }
.tl-bar.is-late { fill: var(--rag-red); }
.tl-row.is-run .tl-bar { fill: #a9b4c1; }
.tl-grid, .tl-today, .tl-target { fill: none; vector-effect: non-scaling-stroke; }
.tl-grid { stroke: #dce4ee; }
.tl-today { stroke: #e22418; stroke-width: 1.5; }
.tl-target { stroke: var(--entity-kpi); stroke-width: 1.5; }
.tl-conflict-pin { fill: var(--rag-red); }
.tl-months > span { grid-row: 2; }
.tl-today-heading { grid-row: 1; grid-column: 1 / -1; width: 100%; overflow: visible; font-size: 11px; font-weight: 600; fill: var(--rag-red-ink); }
.tl-area { background: #f1f2f4; box-shadow: 10px 0 #f1f2f4, -10px 0 #f1f2f4; }
.tl-group:not(.tl-area) .tl-group-name { padding-left: 14px; }
.tl-group:not(.tl-area) b { font-weight: 500; }
.morning .load-row { padding-inline: 10px; }
.morning .load-strip { gap: 0; }
.morning .load-strip .hc { border-inline: 2px solid #f2f6f4; }
@media (max-width: 640px) {
  .timeline .tl-row, .timeline.is-compact .tl-row, .morning .load-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tl-group-track, .tl-tools { display: none; }
  .tl-name { padding-top: 5px; border-right: 0; }
  .tl-months > span { padding-inline: 0; font-size: 10.5px; }
  .tl-work-list li { padding: 15px 0 10px; }
  .tl-work-list li b { margin-bottom: 9px; font-size: 14px; font-weight: 500; }
  .tl-work-list .app-btn { min-height: 40px; font-weight: 500; }
}

/* Home: the briefing cards, then the answer and the map. */
.home-greeting { margin-bottom: 10px; font-size: 20px; font-weight: 700; }
.briefing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
@media (max-width: 760px) { .briefing { grid-template-columns: 1fr; } }
.brief-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); font-size: 12.5px; }
.brief-card.is-you { background: var(--night); color: #fff; }
.brief-card.is-you .type-line { color: #b8c4d2; }
.brief-head { display: flex; justify-content: space-between; align-items: center; }
.brief-title { font-size: 15px; }
.brief-card ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brief-card.is-you li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px solid rgb(255 255 255 / 0.12); }
.brief-card.is-you li > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.brief-quiet, .brief-lines { color: var(--muted); }
.brief-lines li::before { content: "•"; margin-right: 6px; color: var(--brand-accent); }
.brief-dates li { display: flex; align-items: center; gap: 10px; }
.brief-dates li > span:last-child { display: flex; flex-direction: column; }
.date-tile { display: grid; place-items: center; width: 34px; padding: 3px 0; border-radius: 7px; background: var(--brand-accent-soft); color: var(--brand-accent-strong); font-size: 10.5px; line-height: 1.1; }
.date-tile b { font-size: 15px; }
.home-answer { padding: 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-card); }
.home-question { font-size: 15px; }
.home-verdict { margin-top: 4px; font-size: 19px; }
.verdict-word { color: var(--brand-accent-text); }
.verdict-figure { font-size: 26px; }
.waffle { display: flex; flex-wrap: wrap; gap: 2px; max-width: 320px; margin: 6px 0; }
.waffle i { width: 9px; height: 9px; border: 1px solid var(--brand-accent); border-radius: 2px; }
.waffle i.is-linked { background: var(--brand-accent); }
.home-sentence { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.map-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.map-group { display: flex; flex-direction: column; margin: 0 0 8px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); }
.map-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 7px 10px; font-size: 12.5px; }
.map-row + .map-row { border-top: 1px solid var(--line-soft); }
.map-card { position: relative; border: 0; box-shadow: var(--shadow-card); }
.map-area { background: #f4f6f5; }
.chev { margin-right: 6px; color: var(--muted); }

/* My work */
.mywork-lead { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; }
.mywork { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mywork li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); }
.mywork-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 13px; }
.mywork-text > span:last-child { color: var(--muted); font-size: 12.5px; }
@media (max-width: 640px) {
  .mywork li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .mywork .app-btn { grid-column: 1 / -1; justify-self: start; }
}

.example-record { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.example-record + .example-record { margin-top: 10px; }
.example-record > .app-btn { justify-self: start; }
.example-record h4 { font-size: 15px; }
.example-record-row { display: grid; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.example-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: 13px; }
.example-facts > div { flex: 1 1 110px; padding: 6px 8px; border-radius: 6px; background: #f2f6f4; }
.example-facts .is-selected { background: var(--brand-accent-soft); }
.example-facts dt { font-size: 11.5px; color: var(--muted); }
.example-facts dd { margin: 0; }

/* Strategy: a Priority, its Objective and the three columns. */
.sm-priority { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px 12px 0 0; background: #eef1f6; }
.sm-priority-name { font-size: 17px; }
.sm-objective { padding: 12px; border-radius: 0 0 12px 12px; background: #fff; box-shadow: var(--shadow-card); }
.sm-objective-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.sm-objective-head > span { display: flex; flex-direction: column; gap: 2px; }
.sm-objective-head small { color: var(--muted); font-size: 12px; }
.sm-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 760px) { .sm-columns { grid-template-columns: 1fr; } }
.sm-col { border: 1px solid var(--line-soft); border-radius: 10px; overflow: hidden; font-size: 12.5px; }
.sm-col-head { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-weight: 600; }
.sm-col[data-kind="okr"] .sm-col-head { background: #e9e6fb; }
.sm-col[data-kind="kpi"] .sm-col-head { background: #dcefee; }
.sm-col[data-kind="initiative"] .sm-col-head { background: #e2eee6; }
.sm-col ul { display: flex; flex-direction: column; margin: 0; padding: 6px 10px; list-style: none; }
.sm-col li { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; }
.sm-col li + li { border-top: 1px solid var(--line-soft); }
.sm-col li > span:not(.kr-glyph):not(.status-mark) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sm-col small { color: var(--muted); font-size: 11.5px; }
.sm-col b svg { margin-right: 4px; }
.sm-okr { padding: 6px 10px 0; }
.sm-okr ul { padding: 0 0 0 4px; }
.kr-id { color: var(--muted); font-weight: 500; }
.kr-glyph { display: inline-flex; flex: 0 0 20px; height: 20px; color: var(--mac-grey, #8e8e93); }
.kr-glyph.is-red { color: var(--mac-red, #ff3b30); }
.kr-glyph.is-green { color: var(--mac-green-text, #187a33); }
.kr-glyph .rag-on { stroke: #fff; }
.kr-glyph .rag-on-dot { fill: #fff; }
.kpi-trend { display: block; width: 100%; height: 18px; margin: 3px 0; }
.kpi-trend polyline { fill: none; stroke: var(--brand-accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* Insights: the question list beside the answer. */
.insights-view { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; }
@media (max-width: 640px) { .insights-view { grid-template-columns: 1fr; } .insights-questions { display: none; } }
.insights-questions { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: 12px; }
.insights-questions ul { list-style: none; margin: 0; padding: 0; }
.insights-questions > b { padding: 0 6px 4px; }
.insights-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px; margin-bottom: 10px; }
.insights-answer .example-record { margin-bottom: 10px; }
.insights-answer .example-record > p { font-size: 12.5px; }
.insights-answer .sig-bar.w-100 { width: 100%; }
.insights-answer .sig-bar.w-50 { width: 50%; }
.insights-answer .sig-bar.w-10 { width: 10%; background: var(--stravx-text-muted); }
.insights-questions li { display: flex; gap: 6px; padding: 5px 6px; border-radius: 6px; }
.insights-questions li.is-active { background: #e2e8e4; font-weight: 600; }
.answer-scope { font-size: 12px; color: var(--muted); }
.answer-headline { font-size: 18px; margin: 2px 0 4px; }
.answer-line { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.aims { width: 100%; border-collapse: collapse; font-size: 12px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card); }
.aims th, .aims td { padding: 5px 6px; text-align: center; font-weight: 400; }
.aims th[scope="row"], .aims thead th:first-child { text-align: left; }
.aims thead th { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.aims-group th { text-align: left; font-size: 11.5px; color: var(--muted); padding-top: 8px; }
.aim-dot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11px; font-weight: 600; font-style: normal; }
.aim-dot.d-1 { background: #d5ece9; } .aim-dot.d-2 { background: #a9d8d2; } .aim-dot.d-3 { background: #6fbcb3; color: #fff; } .aim-dot.d-4 { background: #3f9c92; color: #fff; }
.aim-dot.is-none { border: 1.5px dashed #94a3b8; }
.aims-key { display: flex; gap: 14px; margin-top: 8px; font-size: 11.5px; color: var(--muted); }
.aims-key span { display: inline-flex; align-items: center; gap: 5px; }
.aims-key .aim-dot { width: 12px; height: 12px; }
.updates-card { padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); font-size: 12.5px; }
.updates-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.updates-area { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; }
.updates-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 120px 80px; gap: 8px; align-items: center; padding: 3px 0 3px 18px; }
.updates-row small { color: var(--muted); text-align: right; }
.updates-squares { display: flex; gap: 3px; }
.updates-squares i { width: 12px; height: 12px; border-radius: 2px; background: #a99cf0; }
.updates-squares i.is-stopped { background: repeating-linear-gradient(135deg, #fff 0 2px, #8e8e93 2px 3px); }
.alt-name { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 13px; }
.year-status { display: inline-flex; align-items: center; gap: 5px; }
.year-status small { font-size: 12px; color: var(--muted); }
.sig-bar-label { font-size: 12.5px; min-width: 110px; }
.insights-answer { min-width: 0; }
.aims { table-layout: fixed; }
.aims thead th:first-child { width: 38%; }
@media (max-width: 640px) { .aims { font-size: 11px; } .aims th, .aims td { padding: 4px 2px; } .aims thead th { font-size: 10px; overflow-wrap: anywhere; } .aim-dot { width: 18px; height: 18px; } .updates-row { grid-template-columns: minmax(0, 1fr) auto; } .updates-row > span:nth-child(3), .updates-row small { display: none; } }

/* Each page's help (scripts/site/pageHelp.mjs), drawn like the tool's help drawer (src/help/help.css): a fixed Help
   button and a panel from the right. Colours fall back to the site's own when the product tokens are not loaded. */
.site-help-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--stravx-border, #dfe5eb); border-radius: 999px; background: var(--stravx-surface, #fff); color: var(--stravx-ink, #182438); font: inherit; font-size: .875rem; font-weight: 500; box-shadow: 0 4px 14px rgb(15 23 42 / .14); cursor: pointer; }
.site-help-launcher[hidden] { display: none; }
.site-help-launcher:hover { border-color: #a14d46; color: #a14d46; }
.site-help-launcher:focus-visible, .site-help-close:focus-visible, .site-help-footer a:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.site-help { position: fixed; inset: 0 0 0 auto; width: min(440px, 100vw); height: 100%; max-width: 100vw; max-height: 100%; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--stravx-border, #dfe5eb); background: var(--stravx-surface, #fff); color: var(--stravx-ink, #182438); box-shadow: -8px 0 24px rgb(15 23 42 / .16); }
.site-help[open] { display: flex; flex-direction: column; }
.site-help::backdrop { background: rgb(15 23 42 / .32); }
.site-help-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; border-bottom: 1px solid var(--stravx-border, #dfe5eb); }
.site-help-header h2 { margin: 2px 0 0; font-size: 1.25rem; font-weight: 600; }
.site-help-close { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; border: 1px solid var(--stravx-border, #dfe5eb); border-radius: 8px; background: var(--stravx-surface, #fff); color: var(--stravx-ink, #182438); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.site-help-body { flex: 1; display: grid; align-content: start; gap: 20px; padding: 16px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.site-help-body h3 { margin: 0 0 8px; font-size: .9375rem; font-weight: 600; }
.site-help-body p { margin: 0; line-height: 1.6; }
.site-help-terms { display: grid; gap: 10px; margin: 0; }
.site-help-terms dt { font-size: .875rem; font-weight: 500; }
.site-help-terms dd { margin: 2px 0 0; color: var(--stravx-text-muted, #5b6b80); font-size: .875rem; line-height: 1.5; }
.site-help-footer { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 20px; border-top: 1px solid var(--stravx-border, #dfe5eb); font-size: .875rem; }
.site-help-footer a { display: inline-flex; align-items: center; min-height: 32px; color: var(--stravx-ink, #182438); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .site-help-launcher { right: 12px; bottom: 12px; padding: 8px 12px; } }
/* On a phone the launcher is a 44px round icon, so it covers less of the text it floats over; "Help" stays its
   accessible name. The footer keeps room below its last line so the button never sits on it. */
@media (max-width: 560px) {
  .site-help-launcher { justify-content: center; width: 44px; height: 44px; padding: 0; }
  .site-help-launcher > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-footer { padding-bottom: 72px; }
}
@media print { .site-help-launcher, .site-help { display: none !important; } }
