/* Munra public site: the homepage and the secondary pages (body.page). CSP-safe: no inline
   styles in markup. Fonts are subset to Latin + Swedish and pinned to the weights in use
   (README: "Fonts"); the deck keeps the full files. */
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/geist-v5-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-5.2.7-400-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-5.2.7-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-v26-latin.woff2) format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/newsreader-italic-v26-latin.woff2) format('woff2'); }

/* One palette, set to sit with the watercolour illustrations: warm paper, blue-black ink and
   the brand navy. Headings are the serif, reading text the sans. Yellow (--mark) means
   evidence only: a marked draft row and the quotes it cites. Nothing else is coloured.
   Motion: the first three durations and both curves copy the dashboard register
   (apps/verification-ui-dd/src/styles/tokens.css; check-public.mjs fails on drift). The site
   animates colour on hover and selection only. No rule outside :root carries a literal timing. */
:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --paper-rgb: 251, 250, 247;
  --wall: #f3f0ea;
  --card: #ffffff;
  --ink: #1b2430;
  --ink-2: #3c4552;
  --muted: #5c6470;
  --line: #e2ddd3;
  --mark: #f6dc7a;
  --mark-soft: #fbefc4;
  --mark-ink: #6b4f00;
  /* the shared brand navy root (.planning/codebase/design-system.md "Varumärkeslager") */
  --navy: #1a2f4a;
  --teal: #1a2f4a;
  --night: #16212f;
  --night-ink: #eef1f4;
  --night-2: #b7c0cb;
  --night-rule: rgba(238, 241, 244, .16);
  --sans: 'Geist', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1240px;
  --motion-fast: 120ms;
  --motion-base: 160ms;
  --motion-enter: 200ms;
  --ease-enter: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-standard: cubic-bezier(0.65, 0, 0.35, 1);
  --text-label: .75rem;
  --text-body: 1rem;
  --text-lead: clamp(1.0625rem, 1.4vw, 1.1875rem);
  --text-h1: clamp(2rem, 9vw, 2.75rem);
  --text-h2: clamp(1.75rem, 3.4vw, 2.5rem);
  --shadow-card: 0 0 0 1px var(--line), 0 1px 2px rgba(27, 36, 48, .04), 0 18px 40px -28px rgba(27, 36, 48, .28);
}
@media (min-width: 900px) { :root { --text-h1: clamp(2.75rem, 4.4vw, 4rem); } }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
/* in-page link targets take focus but are not controls */
[tabindex='-1']:focus { outline: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.trust :focus-visible { outline-color: var(--night-ink); }

/* ---------- nav: solid and sticky on every page, with no scrolled state ---------- */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 var(--gut); background: rgba(var(--paper-rgb), .96); box-shadow: 0 1px 0 var(--line); }
/* the wordmark: the shared mark (assets/munra-mark.svg, generated from brand/) in the
   brand navy, then the name in the sans */
.brand { display: inline-flex; align-items: center; gap: .3em; font: 600 22px/1 var(--sans); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; width: 1.18em; height: 1em; background: var(--navy); -webkit-mask: url(assets/munra-mark.svg) center / contain no-repeat; mask: url(assets/munra-mark.svg) center / contain no-repeat; }
@media (forced-colors: active) { .brand-mark { forced-color-adjust: none; background: CanvasText; } }
.nav nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav nav > a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); transition: color var(--motion-fast) var(--ease-standard); }
.nav nav > a:hover { color: var(--ink); }
.nav nav > .nav-cta { background: var(--navy); color: #fff; padding: 0 16px; border-radius: 6px; font-weight: 500; transition: background-color var(--motion-fast) var(--ease-standard); }
.nav nav > .nav-cta:hover { color: #fff; background: var(--night); }
/* phones: a no-script disclosure menu beside the call to action */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 6px; color: var(--ink); font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ''; width: 16px; height: 10px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 4px / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) 0 8px / 100% 2px no-repeat; }
.menu[open] summary::after { background: linear-gradient(var(--ink), var(--ink)) 0 4px / 100% 2px no-repeat; }
.menu-list { position: absolute; right: 0; top: calc(100% + 10px); display: grid; min-width: 230px; padding: 8px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow-card); }
.menu-list a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 16px; }
.menu-list a:hover { background: var(--wall); }
/* below 1000 px the six links and the call to action no longer fit on one line */
@media (max-width: 1000px) {
  .nav nav { gap: 6px; }
  .nav nav > a:not(.nav-cta) { display: none; }
  .nav nav > .nav-cta { font-size: 14px; padding: 0 14px; }
  .menu { display: block; }
}
/* 320-360 px: wordmark, call to action and menu still fit on one line */
@media (max-width: 360px) {
  .nav nav { gap: 2px; }
  .nav nav > .nav-cta { white-space: nowrap; font-size: 13px; padding: 0 12px; }
  .brand { font-size: 18px; }
}

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 6px; background: var(--navy); color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; transition: background-color var(--motion-fast) var(--ease-standard); }
.btn:hover { background: var(--night); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--muted); }
.btn-ghost:hover { background: var(--card); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }

/* Labels and headings the secondary pages share with the homepage */
.step, .eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 var(--text-label)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker { display: inline-block; font: 500 var(--text-label)/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker .dot { display: none; }
h1 { font: 400 var(--text-h1)/1.08 var(--serif); letter-spacing: -.015em; margin: 18px 0 22px; }
h1 em { font: italic 400 1em/1.08 var(--serif); color: var(--ink-2); display: block; }
.lede { margin-bottom: 28px; }

/* ---------- the first screen: text, then the watercolour; no text sits on art ---------- */
.hero { display: grid; gap: 28px; max-inline-size: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding: clamp(24px, 5vw, 72px) var(--gut) clamp(32px, 5vw, 64px); }
.nw { white-space: nowrap; }
.hero h1 { margin: 14px 0 18px; max-width: 16ch; text-wrap: balance; }
.hero-two { display: grid; gap: 12px; max-width: 34em; }
.hero-two p { color: var(--ink-2); line-height: 1.55; }
.hero-two b { color: var(--ink); font-weight: 600; }
.hero .cta-row { margin-top: 24px; }
.hero-note { margin-top: 14px; font-size: 16px; color: var(--muted); }
.hero-art img { display: block; width: 100%; height: auto; }
@media (min-width: 900px) { .hero-art { margin-inline-end: calc(var(--gut) * -.5); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
}
/* short windows and small phones tighten: every hero line stays on the first screen */
@media (max-height: 760px) {
  .hero { padding-block: 14px 24px; }
  .hero h1 { margin: 8px 0 10px; }
  .hero-two { gap: 6px; }
  .hero-two p { line-height: 1.45; }
  .hero .cta-row { margin-top: 14px; }
  .hero-note { margin-top: 8px; line-height: 1.4; }
}
@media (max-height: 760px) and (min-width: 900px) {
  :root { --text-h1: clamp(2.25rem, 3.6vw, 3rem); }
  .hero-two { grid-template-columns: 1fr 1fr; gap: 16px; max-width: none; }
  .hero-two p { font-size: 16px; }
  .hero-art img { max-block-size: calc(100svh - 120px); object-fit: contain; }
}

/* ---------- the sections: one vertical rhythm, one column width ---------- */
.band { padding: clamp(64px, 8vw, 120px) var(--gut); }
.band > * { max-inline-size: var(--max); margin-inline: auto; }
.band-alt { background: var(--wall); }
.band h2, .pilot h2 { font: 400 var(--text-h2)/1.12 var(--serif); letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head > p:not(.eyebrow) { color: var(--ink-2); font-size: var(--text-lead); max-width: 52ch; text-wrap: pretty; }

/* ---------- the example visit ----------
   The draft and the transcript side by side; every quote is always shown. A chosen row and
   the quotes it cites take the evidence yellow. Only colour changes, so nothing moves. */
.scene { border-top: 1px solid var(--line); }
.scene-inner { display: grid; gap: 28px; }
@media (min-width: 900px) { .scene-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; } }
.scene-hint { display: none; }
html.js .scene-hint { display: block; }
.draft { background: var(--card); border-radius: 10px; padding: 18px 22px 14px; box-shadow: var(--shadow-card); }
.draft-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font: 600 15px/1.2 var(--sans); }
.draft-tag { font: 500 var(--text-label)/1.3 var(--mono); letter-spacing: .03em; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; margin: 0 -12px; border-radius: 6px; transition: background-color var(--motion-fast) var(--ease-standard); }
.row-k { grid-column: 1 / -1; font: 500 var(--text-label)/1.2 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.row-t { font-size: 16px; line-height: 1.5; }
.row-pin { grid-column: 2; display: flex; flex-direction: column; gap: 4px; align-self: start; }
.row-pin span { font: 500 var(--text-label)/1 var(--mono); padding: 4px 6px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.row.is-active, .scene:not(.is-wired) .row[data-default] { background: var(--mark); }
.row.is-active .row-k, .row.is-active .row-pin span, .scene:not(.is-wired) .row[data-default] .row-k, .scene:not(.is-wired) .row[data-default] .row-pin span { color: var(--mark-ink); }
.row.is-active .row-pin span, .scene:not(.is-wired) .row[data-default] .row-pin span { box-shadow: inset 0 0 0 1px rgba(107, 79, 0, .35); }
.is-wired .row { cursor: pointer; }
@media (hover: hover) { .is-wired .row:not(.is-active):hover { background: var(--wall); } }
.draft-foot { display: flex; align-items: center; gap: 9px; margin: 8px -22px 0; padding: 12px 22px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.tick { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); flex: none; }

.src-head { font: 500 var(--text-label)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bubbles { display: grid; border-top: 1px solid var(--line); }
.bubble { display: grid; gap: 2px; padding: 12px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; transition: background-color var(--motion-fast) var(--ease-standard); }
.bubble.is-on { background: var(--mark-soft); border-left-color: var(--mark-ink); }
.say { display: block; font: 400 17px/1.5 var(--serif); }
/* upright serif quotes, Swedish style (the same mark opens and closes): the homepage never
   loads the italic face (subpages use it for h1 em) */
.say::before, .say::after { content: '\201D'; color: var(--muted); }
.meta { display: block; font: 500 var(--text-label)/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }
.bubble.is-on .meta, .bubble.is-on .say::before, .bubble.is-on .say::after { color: var(--mark-ink); }
.draft-note { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* ---------- how it works: three steps in a row, then home with the second watercolour ---------- */
.step-list { display: grid; gap: 40px clamp(24px, 4vw, 56px); }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(3, 1fr); } }
.step-item { display: grid; align-content: start; gap: 10px; }
.step-list > .step-item { padding-top: 20px; border-top: 1px solid var(--ink); }
.step span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--muted); color: var(--ink); letter-spacing: 0; }
.step-item h3 { font: 400 clamp(1.375rem, 2vw, 1.625rem)/1.2 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
.step-item > p:not(.step) { color: var(--ink-2); font-size: 16px; max-width: 44ch; text-wrap: pretty; }
.texts { display: grid; align-content: start; margin-top: 8px; border-top: 1px solid var(--line); }
.tx { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tx b { font-weight: 600; font-size: 16px; }
.tx span { font-size: 14px; color: var(--muted); }
.step-home { display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .step-home { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; } }
.home-art img { display: block; width: 100%; height: auto; }
.ways { margin-top: 8px; max-width: 400px; border-top: 1px solid var(--line); }
.ways li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ways em { font: 500 var(--text-label)/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.ways li:first-child em { color: var(--ink); }
.memo { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--ink); max-width: 480px; }
.memo-big { font: 400 clamp(2.5rem, 4vw, 3.25rem)/1 var(--serif); letter-spacing: -.01em; margin-bottom: 10px; }
.memo-t { font-size: 17px; color: var(--ink-2); }
.memo-src { margin-top: 10px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.memo-src cite { font-style: normal; }

/* Reduced motion is live: the end state at once. Page cross-fades stay inside no-preference. */
@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion-base: 0ms; --motion-enter: 0ms; }
  *, *::before, *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}
/* page to page: a short cross-fade, the nav held still */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: var(--motion-base); animation-timing-function: var(--ease-enter); }
  .nav { view-transition-name: site-nav; }
  ::view-transition-group(site-nav) { z-index: 1; }
  ::view-transition-group(site-nav), ::view-transition-new(site-nav) { animation: none; }
  ::view-transition-old(site-nav) { display: none; }
}

/* the real product: one crop per screen size, with numbered callouts */
.shot { margin-top: 0; }
@media (min-width: 1180px) { .shot { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(24px, 3vw, 48px); align-items: center; } .shot .co-list { grid-template-columns: 1fr; gap: 20px; margin-top: 0; } }
.shot-frame { position: relative; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(27, 36, 48, .4); }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.co { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 14px/1 var(--sans); box-shadow: 0 0 0 3px #fff; }
/* positions in % of the wide crop (1760x1080) */
/* positions from site-shots.ts, which prints them for each new capture */
.co-1 { left: 0; top: 37.8%; }
.co-2 { left: 68.1%; top: 13.5%; }
.co-3 { left: 70%; top: 60.2%; }
.co-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px clamp(20px, 3vw, 40px); margin-top: 20px; }
.co-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 16px; }
.co-list span { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 13px/1 var(--sans); transform: translateY(5px); }
.practice { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); }
.practice li { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.practice b { font-weight: 600; font-size: 17px; }
.practice span { color: var(--ink-2); font-size: 16px; }
@media (max-width: 1100px) { .practice { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .practice, .co-list { grid-template-columns: 1fr; }
  .shot { max-width: 420px; }
  /* the portrait crop of the source panel (540x900) */
  .co-1, .co-2, .co-3 { left: -6px; }
  .co-1 { top: 23.3%; }
  .co-2 { top: 47.1%; }
  .co-3 { top: 63.2%; }
}

/* coming: a plain two-item list */
.soon-list { display: grid; gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
@media (min-width: 760px) { .soon-list { grid-template-columns: 1fr 1fr; } }
.soon-list li { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.soon-list b { font: 400 22px/1.25 var(--serif); }
.soon-list span { color: var(--ink-2); font-size: 16px; max-width: 52ch; }
.soon-list a { color: var(--ink); text-decoration-color: var(--navy); text-underline-offset: 4px; }

/* straight talk about data: a dark band, four facts on one row */
.trust { background: var(--night); color: var(--night-ink); }
.trust h2 { color: var(--night-ink); }
.trust .eyebrow { color: var(--night-2); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 40px); }
.trust-list li { padding: 22px 0; display: grid; grid-template-rows: auto 1fr; align-content: start; gap: 8px; border-top: 1px solid var(--night-rule); }
.trust-list b { font-weight: 600; font-size: 17px; line-height: 1.35; }
.trust-list span { color: var(--night-2); font-size: 16px; line-height: 1.55; }
.trust-note { margin-top: clamp(28px, 4vw, 44px); padding-inline-end: max(0px, calc(100% - 64ch)); color: var(--night-2); font-size: 16px; text-wrap: pretty; }
.trust-note a { color: var(--night-ink); text-underline-offset: 3px; }
@media (max-width: 900px) { .trust-list { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 520px) { .trust-list { grid-template-columns: 1fr; gap: 0; } }

/* the team and the pilot invitation: two plain columns on paper */
.pilot { display: grid; gap: 56px clamp(32px, 6vw, 96px); }
.pilot > * { margin-inline: 0; }
@media (min-width: 900px) { .pilot { grid-template-columns: 1fr 1fr; max-inline-size: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; } }
.pilot-copy { display: grid; align-content: start; gap: 14px; }
.pilot-copy h2 { margin-bottom: 8px; }
.pilot-copy > p:not(.eyebrow):not(.cta-row) { color: var(--ink-2); max-width: 46ch; text-wrap: pretty; }
.pilot .people { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.pilot .people p { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.pilot .people b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; margin-bottom: 2px; }
/* founder rows (homepage, /en, /bolaget): a camera portrait beside the name. Crop and
   resize only, no retouching or background edits (README "Founder photos"). */
.person { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 0 24px; align-items: center; }
.person-photo { width: 128px; height: 128px; border-radius: 8px; object-fit: cover; }
@media (max-width: 480px) {
  .person { grid-template-columns: 88px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .person-photo { width: 88px; height: 88px; border-radius: 6px; margin-top: 4px; }
}
.pilot a:not(.btn) { color: var(--ink); text-decoration-color: var(--navy); text-underline-offset: 3px; }
.pilot-side { padding: clamp(24px, 3vw, 40px); border-radius: 10px; background: var(--card); box-shadow: var(--shadow-card); }
.pilot-steps { display: grid; gap: 8px; margin: 4px 0 4px; }
.pilot-steps li { display: flex; gap: 12px; align-items: baseline; color: var(--ink); }
.pilot-steps span { font: 500 12px/1 var(--mono); color: var(--muted); }
.pilot .pilot-note, .pilot .pilot-mail, .pilot .pilot-aside { font-size: 16px; }
.pilot .cta-row { margin-top: 6px; }

.foot { padding: 40px var(--gut) 36px; border-top: 1px solid var(--line); }
.foot > * { max-inline-size: var(--max); margin-inline: auto; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; font-size: 15px; }
.foot-grid p { display: grid; gap: 0; align-content: start; }
.foot-grid b { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.foot-grid a { display: flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid a[aria-current='page'] { color: var(--ink); font-weight: 500; }
.foot-bottom { margin-top: 32px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- secondary pages: body.page ----------
   Same tokens, nav and footer as the homepage; no script, and every section reads as plain flow. */
.page main { padding: clamp(48px, 9vw, 104px) var(--gut) clamp(64px, 8vw, 112px); max-width: 1180px; }
.page-head { max-width: 820px; }
.page-head h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); text-wrap: balance; }
.page-head .lede { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.page-head .updated { margin-top: 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.page-head .cta-row { margin-top: 28px; }
.page-sec { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 14px clamp(24px, 5vw, 80px); margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); }
.page-sec .step { align-self: start; padding-top: 14px; }
.page-sec h2 { font: 400 clamp(28px, 2.8vw, 40px)/1.12 var(--serif); letter-spacing: -.01em; margin-bottom: 18px; text-wrap: balance; }
.page-sec h3 { font: 600 20px/1.25 var(--sans); letter-spacing: -.01em; margin: 28px 0 10px; }
.page-sec p:not(.step):not(.cta-row) { color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
.page-sec p + p { margin-top: 14px; }
.page-sec ul.bullets { display: grid; gap: 8px; margin: 14px 0; max-width: 62ch; color: var(--ink-2); }
.page-sec ul.bullets li { position: relative; padding-left: 20px; }
.page-sec ul.bullets li::before { content: ''; position: absolute; left: 2px; top: .75em; width: 8px; height: 1.5px; background: var(--teal); }
.page-sec .people { display: grid; gap: 18px; margin: 18px 0; max-width: 62ch; }
.page-sec .people p { margin: 0; }
.page-sec .people b { display: block; color: var(--ink); font-size: 18px; font-weight: 600; margin-bottom: 2px; }
/* /en shows the product crop in the text column: one block, caption under it */
.page-sec .shot { display: block; max-width: 760px; margin: 28px 0 0; }
.page-sec .shot figcaption { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 62ch; }
@media (max-width: 760px) { .page-sec .shot { max-width: 420px; } }
/* /en and /bolaget show the portraits larger than the homepage card: they are where a
   reader checks who runs the company. Phones stack the photo above the text. */
.page-sec .person { grid-template-columns: 160px minmax(0, 1fr); gap: 0 24px; }
.page-sec .person-photo { width: 160px; height: 160px; border-radius: 18px; }
@media (max-width: 480px) {
  .page-sec .person { grid-template-columns: minmax(0, 1fr); gap: 12px 0; }
  .page-sec .person-photo { width: 144px; height: 144px; border-radius: 16px; margin-top: 0; }
}
.page-sec a:not(.btn) { color: var(--ink); text-decoration-color: var(--teal); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.page-sec a:not(.btn):hover { color: var(--teal); }
.page-sec .cta-row { margin-top: 26px; }
.page-note { margin-top: 26px !important; padding: 16px 20px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 16px; }
/* status cards (/sakerhet): what holds now, what comes before real patient data */
.status-list { display: grid; gap: 14px; max-width: 760px; }
.status-list li { padding: 20px 22px; border-radius: 14px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.status-list li.is-now { box-shadow: 0 0 0 1.5px var(--teal); }
.status-when { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; font: 500 12px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.status-when b { font-weight: 500; color: var(--teal); padding: 5px 8px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.page-sec .status-list h3 { margin: 0 0 8px; }
/* questions and answers (/sakerhet): native disclosures */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 20px; font-weight: 600; font-size: 17px; list-style: none; border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 22px/1 var(--sans); color: var(--teal); }
.faq details[open] summary::after { content: '\2212'; }
.page-sec .faq details p { padding: 0 20px 18px; margin: 0; }
/* a long Swedish compound on a phone breaks at its marked &shy; (or, failing that, anywhere)
   instead of widening the page */
.page-head h1, .page-sec h2 { overflow-wrap: break-word; }
@media (max-width: 760px) { .page-sec { grid-template-columns: minmax(0, 1fr); } .page-sec .step { padding-top: 0; } }
/* synthetic output excerpts (/patient, /bolaget): one labelled card, no app chrome.
   The source quote carries the evidence yellow; the Vårdminne text reads in the
   serif of the patient's sheet. */
.excerpt { margin: 28px 0; max-width: 620px; padding: 18px 22px 16px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow-card); }
.excerpt:last-child { margin-bottom: 0; }
.excerpt-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font: 600 16px/1.3 var(--sans); }
.excerpt-tag, .excerpt-k, .excerpt-who { font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.excerpt-tag { color: var(--muted); }
.page-sec .excerpt .excerpt-k { color: var(--teal); margin-bottom: 4px; }
.page-sec .excerpt .excerpt-t { color: var(--ink); font-size: 17px; line-height: 1.5; }
.page-sec .excerpt-memo .excerpt-t { font: 400 20px/1.5 var(--serif); }
.excerpt-src { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--mark-soft); }
.page-sec .excerpt-src p { color: var(--ink); margin: 0; }
.page-sec .excerpt-src .excerpt-who { color: var(--mark-ink); margin-bottom: 6px; }
.page-sec .excerpt .excerpt-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
/* the patient page's watercolour, under its heading */
.page-art { margin-top: clamp(32px, 5vw, 56px); max-width: 1100px; }
.page-art img { display: block; width: 100%; height: auto; }
