/* Layout: civic-utility page. Cool paper ground, ink type, square-ish controls, underlined links.
   One bold element: a generated contour map behind the hero (the terrain the sensors sit in),
   which pulses when the chat queries data. Sections use a heading column + content column.
   Colours from the logo: MasterIT blue for links/data, Sencito turquoise for markers only. */
:root {
  --bg: #F5F7F9;
  --surface: #FFFFFF;
  --sunken: #EEF2F6;
  --ink: #112C40;
  --muted: #4E5F72;
  --line: #D3DBE4;
  --line-strong: #8395A8;

  --blue: #347FC7;
  --link: #1F5F9E;
  --blue-soft: #E3EDF8;
  --turq: #00E7CB;
  --turq-deep: #007A6D;
  --on-turq: #08111B;

  --btn: #112C40;
  --on-btn: #FFFFFF;
  --btn-hover: #1F5F9E;
  --btn-shadow: #000000;
  --focus: #1F5F9E;

  --bubble-user: #112C40;
  --on-bubble: #FFFFFF;
  --ok: #186F3F;
  --wip: #8A5200;

  --map-line: rgb(17 44 64 / .085);
  --map-index: rgb(17 44 64 / .17);
  --map-dot: #00A893;

  --shadow-chat: 0 1px 0 rgb(17 44 64 / .04), 0 28px 56px -32px rgb(17 44 64 / .45);

  --f-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08111B;
    --surface: #0E1A27;
    --sunken: #0B1520;
    --ink: #E7EDF4;
    --muted: #97A7B9;
    --line: #1E2F42;
    --line-strong: #4A6380;
    --blue: #4F95DA;
    --link: #7DB5EC;
    --blue-soft: #10273D;
    --turq: #00E7CB;
    --turq-deep: #00E7CB;
    --on-turq: #08111B;
    --btn: #00E7CB;
    --on-btn: #08111B;
    --btn-hover: #5CF2DE;
    --btn-shadow: #00897A;
    --focus: #00E7CB;
    --bubble-user: #1E3A56;
    --on-bubble: #E7EDF4;
    --ok: #56C98A;
    --wip: #F2AE45;
    --map-line: rgb(231 237 244 / .055);
    --map-index: rgb(231 237 244 / .12);
    --map-dot: #00E7CB;
    --shadow-chat: 0 0 0 1px rgb(255 255 255 / .02), 0 28px 56px -32px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08111B;
  --surface: #0E1A27;
  --sunken: #0B1520;
  --ink: #E7EDF4;
  --muted: #97A7B9;
  --line: #1E2F42;
  --line-strong: #4A6380;
  --blue: #4F95DA;
  --link: #7DB5EC;
  --blue-soft: #10273D;
  --turq: #00E7CB;
  --turq-deep: #00E7CB;
  --on-turq: #08111B;
  --btn: #00E7CB;
  --on-btn: #08111B;
  --btn-hover: #5CF2DE;
  --btn-shadow: #00897A;
  --focus: #00E7CB;
  --bubble-user: #1E3A56;
  --on-bubble: #E7EDF4;
  --ok: #56C98A;
  --wip: #F2AE45;
  --map-line: rgb(231 237 244 / .055);
  --map-index: rgb(231 237 244 / .12);
  --map-dot: #00E7CB;
  --shadow-chat: 0 0 0 1px rgb(255 255 255 / .02), 0 28px 56px -32px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); text-wrap: balance; color: var(--ink); }
p { margin: 0; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 14px; background: var(--btn); color: var(--on-btn); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* ---------- Header ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar__inner { display: flex; align-items: center; gap: 28px; min-height: 64px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo__img { display: block; width: auto; height: 30px; }
.logo__tag {
  padding-left: 12px; border-left: 1px solid var(--line-strong);
  font: 700 .78rem/1.1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; text-decoration: none; padding-block: 6px; white-space: nowrap; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.controls { display: flex; align-items: center; gap: 10px; }
.nav + .controls { margin-left: 12px; }

.theme { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.theme button {
  display: grid; place-items: center; width: 34px; height: 32px;
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.theme button + button { border-left: 1px solid var(--line); }
.theme button svg { width: 17px; height: 17px; }
.theme button:hover { color: var(--ink); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme button:focus-visible { outline-offset: -3px; }

.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); cursor: pointer;
}
.lang__btn:hover { border-color: var(--line-strong); }
.flag { width: 21px; height: 14px; box-shadow: 0 0 0 1px rgb(0 0 0 / .15); flex-shrink: 0; }
.lang__code { font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.chev { width: 15px; height: 15px; color: var(--muted); transition: transform .15s; }
.lang__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30;
  min-width: 180px; margin: 0; padding: 4px; list-style: none;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px;
  box-shadow: 0 12px 28px -14px rgb(0 0 0 / .35);
}
.lang__list:focus-visible { outline: none; }
.lang__list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px; cursor: pointer; font-weight: 500; }
.lang__list li span { flex: 1; }
.lang__list li:hover { background: var(--sunken); }
.lang__list li.is-active { background: var(--sunken); box-shadow: inset 0 0 0 2px var(--focus); }
.lang__list .tick { width: 16px; height: 16px; color: var(--link); visibility: hidden; }
.lang__list li[aria-selected="true"] .tick { visibility: visible; }

@media (max-width: 1040px) { .nav { display: none; } .nav + .controls { margin-left: auto; } }
@media (max-width: 480px) {
  .bar__inner { gap: 10px; min-height: 58px; }
  .logo { gap: 9px; }
  .logo__img { height: 24px; }
  .logo__tag { padding-left: 9px; font-size: .68rem; }
  .controls { gap: 6px; }
  .theme button { width: 29px; height: 30px; }
  .theme button svg { width: 15px; height: 15px; }
  .lang__btn { height: 32px; padding: 0 7px; }
  .lang__code, .chev { display: none; }
}
@media (max-width: 350px) { .logo__tag { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: 72px 44px;
  border-bottom: 1px solid var(--line);
}
.hero__map {
  position: absolute; inset: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / .15) 0%, rgb(0 0 0 / .35) 30%, #000 58%);
          mask-image: linear-gradient(90deg, rgb(0 0 0 / .15) 0%, rgb(0 0 0 / .35) 30%, #000 58%);
}
.hero > .wrap { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; padding-top: 12px; }

.hero__places { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.hero__mark { width: 10px; height: 10px; background: var(--turq); box-shadow: 0 0 0 3px color-mix(in srgb, var(--turq) 25%, transparent); }

.hero h1 {
  max-width: 11ch;
  font-weight: 800;
  font-size: clamp(2.6rem, 1.5rem + 3.8vw, 4.5rem);
  line-height: .98; letter-spacing: -.035em;
}
.hero__lead { max-width: 33em; font-size: 1.14rem; color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__note { padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); max-width: 33em; }

.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 4px; background: var(--btn); color: var(--on-btn);
  box-shadow: 0 2px 0 var(--btn-shadow);
  font-weight: 600; text-decoration: none;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(2px); box-shadow: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* Chat window */
.chat {
  margin: 0; min-width: 0; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: var(--shadow-chat); overflow: hidden;
}
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat__avatar { width: 28px; height: 28px; flex-shrink: 0; }
.chat__title { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.chat__title strong { font: 700 .95rem/1.25 var(--f-display); }
.chat__title span { font-size: .78rem; color: var(--muted); }
.chat__demo {
  margin-left: auto; padding: 2px 7px; border: 1px solid var(--line-strong); border-radius: 3px;
  font-size: .72rem; font-weight: 600; color: var(--muted);
}
.chat__log {
  display: flex; flex-direction: column; gap: 12px;
  height: 440px; padding: 18px 16px; overflow-y: auto;
  background: var(--sunken); scrollbar-width: thin;
}
.chat__log:focus-visible { outline-offset: -3px; }
.chat__input {
  display: flex; align-items: center; gap: 10px; margin: 12px 14px;
  padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--muted); font-size: .92rem;
}
.chat__input span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__input svg { width: 18px; height: 18px; color: var(--link); flex-shrink: 0; }
.chat__input.is-typing span { color: var(--ink); }

.msg { max-width: 92%; font-size: .93rem; line-height: 1.5; animation: rise .25s ease-out both; }
.msg--user { align-self: flex-end; padding: 9px 13px; border-radius: 8px 8px 2px 8px; background: var(--bubble-user); color: var(--on-bubble); }
.msg--bot {
  align-self: flex-start; width: 94%;
  padding: 13px 14px; border-radius: 8px 8px 8px 2px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}
.msg--bot strong { font-weight: 700; }
.tool {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 2px 0 2px 10px; border-left: 2px solid var(--turq-deep);
  font-size: .8rem; color: var(--muted); animation: rise .2s ease-out both;
}
.tool svg { width: 14px; height: 14px; color: var(--turq-deep); }
.tool.is-running svg { animation: spin 1s linear infinite; }
.typing-dots { display: inline-flex; gap: 4px; padding: 12px 14px; align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 8px 8px 8px 2px; }
.typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }
.src { font: 400 .72rem/1.4 var(--f-mono); color: var(--muted); border-top: 1px solid var(--line); padding-top: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(5px); } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Charts inside answers */
.viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.viz text { font-family: var(--f-mono); font-size: 10px; fill: var(--muted); }
.viz .v-val { fill: var(--ink); font-weight: 500; }
.viz .v-bar { fill: var(--blue); }
.viz .v-bar--hi { fill: var(--turq-deep); }
.viz .v-grid { stroke: var(--line); stroke-width: 1; }
.viz .v-line { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz .v-area { fill: var(--blue); opacity: .12; }
.viz .v-dot { fill: var(--surface); stroke: var(--blue); stroke-width: 2; }
@media (max-width: 480px) { .viz text { font-size: 13px; } }

.rows { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: .86rem; }
.rows__name { min-width: 0; overflow-wrap: anywhere; }
.rows__val { font: 500 .84rem/1.5 var(--f-mono); font-variant-numeric: tabular-nums; }
.rows__track { grid-column: 1 / -1; height: 6px; background: var(--sunken); overflow: hidden; }
.rows__fill { display: block; height: 100%; background: var(--blue); }
.rows__fill.is-hi { background: var(--turq-deep); }

.readout { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); }
.readout div { padding: 10px 12px; background: var(--surface); }
.readout dt { font-size: .74rem; color: var(--muted); }
.readout dd { margin: 2px 0 0; font: 700 1.3rem/1.15 var(--f-display); font-variant-numeric: tabular-nums; }
.readout dd small { display: block; margin: 2px 0 0; font: 500 .8rem var(--f-body); color: var(--muted); }

/* Prompt buttons */
.prompts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.prompts__label { font-weight: 600; font-size: .9rem; margin-right: 6px; }
.prompt {
  padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer;
  background: var(--surface); color: var(--ink); font-size: .88rem;
}
.prompt:hover { border-color: var(--ink); }
.prompt[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

@media (max-width: 960px) {
  .hero { padding-block: 48px 32px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__map {
    -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / .25) 0%, #000 45%);
            mask-image: linear-gradient(180deg, rgb(0 0 0 / .25) 0%, #000 45%);
  }
  .chat__log { height: 400px; }
}
@media (max-width: 640px) {
  .prompts { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; margin-top: 28px; padding: 6px 16px 8px; scrollbar-width: none; }
  .prompts::-webkit-scrollbar { display: none; }
  .prompt, .prompts__label { flex-shrink: 0; }
  .chat__log { height: 430px; padding: 14px 12px; }
}

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.split__head { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 14px; }
.split__head p { color: var(--muted); max-width: 30em; }
.section h2 {
  font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 1.7vw, 2.5rem);
  line-height: 1.06; letter-spacing: -.028em;
}
@media (max-width: 900px) {
  .section { padding-block: 64px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split__head { position: static; }
}

/* What we measure */
.measures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 48px; margin: 0; }
.measures > div { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.measures__icon {
  grid-row: span 2; width: 28px; height: 28px; margin-top: 1px;
  fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.measures dt { font: 700 1.08rem/1.3 var(--f-display); }
.measures dd { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) { .measures { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* Flow diagram */
.flow { display: flex; flex-direction: column; gap: 40px; margin: 0; padding: 0; list-style: none; max-width: 680px; }
.flow__node { position: relative; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 6px; }
.flow__node + .flow__node::before {
  content: ""; position: absolute; left: 34px; top: -41px; width: 2px; height: 32px; background: var(--ink);
}
.flow__node + .flow__node::after {
  content: ""; position: absolute; left: 29px; top: -11px;
  border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--ink);
}
.flow__node h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.15rem; font-weight: 700; }
.flow__node p { margin-top: 4px; color: var(--muted); font-size: .96rem; }
.flow__node code {
  display: inline-block; max-width: 100%; margin-top: 12px; padding: 4px 8px; border-radius: 3px;
  font: 400 .8rem/1.45 var(--f-mono); color: var(--ink); background: var(--sunken); overflow-wrap: anywhere;
}
.flow__node--bridge { border: 2px solid var(--ink); box-shadow: inset 4px 0 0 var(--turq); }
.flow__ro {
  padding: 1px 6px; border: 1px solid var(--line-strong); border-radius: 3px;
  font: 600 .7rem/1.5 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.flow__dbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.flow__db { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 4px; }
.flow__db svg { width: 22px; height: 22px; color: var(--link); flex-shrink: 0; }
.flow__db strong { display: block; font-size: .95rem; }
.flow__db span { display: block; font-size: .85rem; color: var(--muted); }
@media (max-width: 480px) { .flow__dbs { grid-template-columns: minmax(0, 1fr); } }

/* Questions by place */
.places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.place { min-width: 0; }
.place__head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.place__head h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.place__head p { color: var(--muted); font-size: .95rem; }
.qlist { margin: 0; padding: 0; list-style: none; }
.qlist li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.qlist li > span { min-width: 0; }
.qlist li:not(:has(.ask)) > span { color: var(--muted); }
.ask {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 5px 10px; border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer;
  background: var(--surface); color: var(--link); font-size: .82rem; font-weight: 600;
}
.ask svg { width: 11px; height: 11px; }
.ask:hover { border-color: var(--link); background: var(--blue-soft); }
@media (max-width: 1100px) { .places { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Status timeline */
.timeline { position: relative; margin: 0; padding: 0 0 0 34px; list-style: none; max-width: 640px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong);
}
.timeline li.is-done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.is-next::before { border-color: var(--turq-deep); background: radial-gradient(circle, var(--turq-deep) 0 3px, var(--surface) 3.5px); }
.timeline__state { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.is-done .timeline__state { color: var(--ok); }
.is-next .timeline__state { color: var(--turq-deep); }
.is-wip .timeline__state { color: var(--wip); }
.timeline h3 { margin-top: 2px; font-size: 1.15rem; font-weight: 700; }
.timeline p { margin-top: 4px; color: var(--muted); font-size: .96rem; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; font-size: .86rem; color: var(--muted); }
.foot .logo__img { height: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Theme-specific artwork (logo variants), last so it wins over component display rules */
.on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .on-light { display: none; }
  :root:not([data-theme="light"]) .on-dark { display: block; }
}
:root[data-theme="dark"] .on-light { display: none; }
:root[data-theme="dark"] .on-dark { display: block; }
