/* Lehmus Labs 2.0 — shared page chrome for the sub-pages (generated from index.html: tokens, type, header, footer,
   typography polish and the sticker language). Page-specific styles follow in the sub-page section below. */
/* Gabarito and Yrsa, variable, self-hosted (SIL Open Font License 1.1). Latin + Latin Extended only. */
@font-face { font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("type/gabarito-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("type/gabarito-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yrsa"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("type/yrsa-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Yrsa"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("type/yrsa-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Yrsa"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("type/yrsa-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Yrsa"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("type/yrsa-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Layout: a laboratory plate. Left column reads, right column is the figure: one glass bubble on faint millimetre paper, annotated like a specimen. */
@font-face { font-family: "Gabarito Local"; src: url("fonts/gabarito-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gabarito Local"; src: url("fonts/gabarito-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Yrsa Local"; src: url("fonts/yrsa-regular.woff") format("woff"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: light;
  /* brand (Lehmus Labs design system) */
  --green: #5fad46; --lime: #abcf37; --dark-green: #39742c; --pollen: #f9c620;
  /* ink and grounds */
  --paper: #ffffff; --sage-50: #f1f4ed; --meadow-50: #f5f8f1; --meadow-100: #f1f6e9; --meadow-200: #e6eedc;
  --ink: #151515; --ink-green: #18321d; --grey: #585858; --sage-600: #626e5c; --moss: #326627;
  --line: #d5e0d1; --line-soft: #e6ece2; --control-line: #7a8f70;
  --forest-600: #3f7434; --forest-700: #32632e; --forest-900: #244c2c; --night: #13281a;
  --forest-text: #e3ecd9; --forest-soft: #e3eed3;
  /* type */
  --display: "Gabarito", "Gabarito Local", "Arial", sans-serif;
  --serif: "Yrsa", "Yrsa Local", "Georgia", serif;
  /* rhythm */
  --hh: 76px; --gutter: clamp(20px, 4.2vw, 64px); --wrap: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --forest-surface: radial-gradient(ellipse at 18% 22%, #8fba5618 0%, transparent 58%), linear-gradient(135deg, var(--forest-600) 0%, var(--forest-700) 54%, var(--forest-900) 100%);
}
html { scroll-behavior: smooth; scroll-padding-top: var(--hh); }
html.still { scroll-behavior: auto; }
body { background: var(--paper); color: var(--ink); font: 400 1.3125rem/1.5 var(--serif); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink-green); }
:focus-visible { outline: 3px solid var(--dark-green); outline-offset: 5px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--pollen); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--pollen); color: var(--ink-green); padding: 14px 18px; border-radius: 999px; font: 700 1rem var(--display); text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Type */
.display { font-family: var(--display); font-weight: 700; color: var(--ink-green); letter-spacing: -.045em; line-height: .92; text-wrap: balance; }
.h2 { font-family: var(--display); font-weight: 700; color: var(--ink-green); font-size: clamp(2.6rem, 5.6vw, 5.6rem); letter-spacing: -.045em; line-height: .96; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 700; color: var(--ink-green); letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
.ui { font-family: var(--display); }
.kicker { font: 500 .8125rem/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--sage-600); }
.meta-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 6vw, 88px); }
.on-dark .meta-row { border-color: #e5efdc2e; }
.on-dark .kicker { color: var(--forest-soft); }
.meta-row .num { font-variant-numeric: tabular-nums; }
.lede { font: 400 clamp(1.3rem, 1.8vw, 1.6rem)/1.42 var(--serif); color: var(--ink); max-width: 31rem; }
.muted { color: var(--grey); }

/* Buttons, arrows, text links and tabs: glass.css (one glass material, drawn by glass.js). */

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background-color .4s, box-shadow .4s; }
.site-header.scrolled { background: #ffffffeb; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line-soft); }
.bar { height: var(--hh); display: flex; align-items: center; gap: 28px; transition: height .48s var(--ease); }
.site-header.compact .bar { height: 60px; }
.brand { flex: none; }
.brand img { width: 118px; height: 56px; object-fit: contain; transform-origin: left center; transition: transform .48s var(--ease); }
.site-header.compact .brand img { transform: scale(.85); }
/* navigation: a glass capsule; the active section is the same stretching glass pill as the tabs */
.nav { position: relative; isolation: isolate; display: flex; gap: 2px; margin-left: auto; padding: 4px; border-radius: 999px; background: #ffffffc4; box-shadow: inset 0 0 0 1px var(--line-soft), 4px 12px 24px -18px #244c2c80; font: 500 .9375rem/1 var(--display); }
.nav > canvas.glass { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.nav a { display: grid; place-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--ink-green); transition: color .25s; -webkit-tap-highlight-color: transparent; }
.nav a[aria-current] { color: #fff; }
.nav:not(.gl) a[aria-current] { background: var(--ink-green); }
@media (hover: hover) { .nav a:not([aria-current]):hover { color: var(--dark-green); } }
.nav a:focus-visible { outline-offset: 1px; border-radius: 999px; }
.tools { display: flex; align-items: center; gap: 10px; }
.motion-toggle.st.ico { --dsz: 44px; }
.motion-toggle .play, .motion-toggle[aria-pressed="true"] .pause { display: none; }
.motion-toggle[aria-pressed="true"] .play { display: block; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; place-items: center; margin-right: -10px; }
.menu-btn i { display: block; width: 22px; height: 1.75px; border-radius: 2px; background: var(--ink-green); }
.menu-btn i + i { margin-top: 7px; width: 14px; margin-left: 8px; }
dialog.sheet { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; padding: calc(var(--hh) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--ink-green); color: #fff; display: flex; flex-direction: column; gap: 4px; clip-path: circle(0 at calc(100% - 38px) 38px); transition: clip-path .7s var(--ease), display .7s allow-discrete, overlay .7s allow-discrete; }
dialog.sheet:not([open]) { display: none; }
dialog.sheet[open] { clip-path: circle(150% at calc(100% - 38px) 38px); }
@starting-style { dialog.sheet[open] { clip-path: circle(0 at calc(100% - 38px) 38px); } }
dialog.sheet::backdrop { background: transparent; }
dialog.sheet .sheet-link { font: 700 2.4rem/1.05 var(--display); letter-spacing: -.04em; color: #fff; text-decoration: none; padding: 8px 0; border-bottom: 1px solid #e5efdc1f; display: flex; justify-content: space-between; align-items: baseline; }
dialog.sheet .sheet-link span { font: 500 .8125rem var(--display); letter-spacing: .08em; color: var(--lime); }
dialog.sheet .st { margin-top: auto; align-self: flex-start; }
.sheet-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(var(--gutter) - 8px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e5efdc40; background: transparent; display: grid; place-items: center; cursor: pointer; color: #fff; }

/* Sections */
section { position: relative; }
.pad { padding-block: clamp(96px, 13vw, 184px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 7vw, 104px); }
.sec-head p { max-width: 26rem; color: var(--grey); }

/* word mask reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.split .w > span { display: inline-block; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.motion .split.pending .w > span { transform: translateY(110%); }
.motion [data-reveal].pending { opacity: 0; transform: translateY(28px); }
[data-reveal] { transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }

/* Footer */
.foot { position: relative; background: var(--night); color: var(--forest-soft); font-family: var(--display); }
/* Lähde: the first 120 px of the footer are a liquid surface; the canvas reaches 120 px above so the last drop can fall in */
.spring { position: absolute; left: 0; right: 0; top: -120px; height: 560px; pointer-events: none; z-index: 2; }   /* the liquid reaches down behind the closing line */
.spring > canvas.surface { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot-cta { position: relative; z-index: 3; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-top: calc(170px + clamp(8px, 2vw, 32px)); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid #e5efdc1f; }
.foot-line { max-width: 16ch; font: 700 clamp(2.4rem, 4.6vw, 4.2rem)/.98 var(--display); letter-spacing: -.045em; color: #fff; text-wrap: balance; }
.foot-line span { color: var(--lime); }
.to-top { gap: 14px; }
.to-top .st.ico { --dsz: 40px; }
.btn.up { --ax: 0; --ay: -1; }
@media (hover: hover) { .to-top:hover .ar:not(.in) { transform: translate(calc(var(--o) * var(--ax)), calc(var(--o) * var(--ay))); } .to-top:hover .ar.in { transform: none; transition-delay: .05s; } }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .6fr)); gap: 40px; padding-block: clamp(48px, 6vw, 80px) 56px; }
.foot-brand img { width: 150px; height: auto; margin: 0 0 24px -22px; }
.foot-brand p { font: italic 400 1.5rem/1.35 var(--serif); color: #fff; max-width: 20rem; }
.foot h3 { font: 500 .6875rem/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #9fb596; margin-bottom: 16px; }
.foot ul { display: grid; gap: 0; font: 400 .9375rem/1.4 var(--display); }
.foot a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot .sel { display: flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--lime); }
.foot .sel { user-select: all; color: #fff; }
.foot-bottom a { min-height: 44px; }
.foot-bottom { align-items: center; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid #e5efdc1f; font-size: .8125rem; color: #9fb596; }
/* funders: the official marks in their dark-background versions, on the footer itself under a hairline */
.funding { padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); color: #b9c9b0; }
.funding .wrap { display: flex; flex-wrap: wrap; gap: 18px 44px; align-items: center; padding-top: 28px; border-top: 1px solid #e5efdc1f; }
.funding .logos { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; min-width: 0; }
.funding img { height: 44px; width: auto; max-width: 100%; }
.funding p { max-width: 36rem; font: 400 .9375rem/1.5 var(--serif); }

/* Responsive: shared chrome */
@media (max-width: 1180px) { .nav a { padding-inline: 12px; } .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 1080px) { .bar { gap: 16px; } .nav a { padding-inline: 9px; } }
@media (max-width: 960px) {
  :root { --hh: 64px; }
  .nav, .tools .st:not(.ico) { display: none; }
  .menu-btn { display: grid; }
  .tools { margin-left: auto; }
  .brand img { width: 104px; height: 50px; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .foot-top > div:nth-child(2) { grid-column: 1 / -1; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spring { height: 420px; }
  .foot-cta { padding-top: calc(80px + 28px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.still *, .still *::before, .still *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }

/* ---------- Typography polish: one voice, weighted by role ---------- */
html { font-kerning: normal; font-optical-sizing: auto; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-weight: 420; font-feature-settings: "kern", "liga", "calt"; font-variant-numeric: oldstyle-nums proportional-nums; hanging-punctuation: first; }
p, li, dd, .lede, .read, .bio { text-wrap: pretty; }
.display { font-weight: 800; letter-spacing: -.052em; }
.h2 { font-weight: 760; letter-spacing: -.046em; }
.h3, .foot-line, dialog.sheet .sheet-link { font-weight: 730; }
.h3 { letter-spacing: -.034em; }
.display, .h2, .h3, .foot-line, .feature .date b, .bu-title, .ui, .btn, .nav, .link, .tabs button, .states button, .figcap, .step-no, .kicker, .facts, .case-caption, .foot, .progress { font-variant-numeric: lining-nums tabular-nums; }
/* small uppercase labels: a touch more weight and air so they read as set, not shouted */
.kicker, .facts dt, .note small, .figtop, .foot h3, .person .role, .news .tag, dialog.sheet .sheet-link span { font-weight: 560; letter-spacing: .11em; }
.btn, .nav, .link, .tabs button, .states button { font-weight: 520; letter-spacing: -.004em; }
.lede { font-weight: 430; letter-spacing: -.004em; }
.read { font-weight: 410; letter-spacing: -.01em; }
.svc .h3 em, .case-copy .sub, .foot-brand p { font-weight: 430; }
.step-name, .tenets b { font-weight: 720; }
@media (max-width: 520px) {
  p, li, dd { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; -webkit-hyphenate-limit-lines: 1; }
  .lede, .read, .hero p, .case-caption p, .news .txt { -webkit-hyphens: manual; hyphens: manual; }   /* short, prominent lines: break between words only */
}

/* ---------- sticker language for the rest of the controls (tarrat.css holds the buttons) ----------
   The chosen tab, nav item and state pill wear a small sticker: white kiss-cut edge, matte face,
   a slight tilt; it is slapped on when chosen. Text-link arrows are tiny round stickers. */
@keyframes st-slap { 0% { transform: rotate(var(--tilt, -1.5deg)) scale(1.08); } 55% { transform: rotate(var(--tilt, -1.5deg)) scale(.97); } 100% { transform: rotate(var(--tilt, -1.5deg)) scale(1); } }
.nav a[aria-current], .tabs button[aria-selected="true"], .states .pills button[aria-pressed="true"] {
  --tilt: -1.5deg; position: relative; z-index: 1; color: var(--ink-green); background: linear-gradient(172deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0) 62%), var(--lime);
  box-shadow: 0 0 0 3px #fff, 0 0 0 3.5px rgb(24 50 29 / .12); filter: drop-shadow(0 .6px .4px rgb(24 50 29 / .32)) drop-shadow(0 2px 3px rgb(24 50 29 / .12));
  transform: rotate(var(--tilt)); animation: st-slap .38s cubic-bezier(.2, 1.3, .4, 1) both;
}
.nav:not(.gl) a[aria-current] { background: linear-gradient(172deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0) 62%), var(--lime); }
.tabs button[aria-selected="true"] { --tilt: 1.2deg; }
.tabs::before { display: none; }
.states .pills button[aria-pressed="true"] { --tilt: -2deg; }
.states .pills:not(.gl) button[aria-pressed="true"] { background: linear-gradient(172deg, rgb(255 255 255 / .1), rgb(255 255 255 / 0) 62%), var(--lime); }
.on-dark .states .pills button[aria-pressed="true"], .states .pills button[aria-pressed="true"] { color: var(--ink-green); }
.link .ul::after { display: none; }
.link svg.ll-ic, .news .drop svg { width: 26px; height: 26px; padding: 5.5px; border-radius: 50%; stroke-width: 2.1; color: var(--ink-green); background: var(--lime);
  box-shadow: 0 0 0 2.5px #fff; filter: drop-shadow(0 .5px .4px rgb(24 50 29 / .34)) drop-shadow(0 1px 1.5px rgb(24 50 29 / .12)); transform: rotate(10deg); transition: transform .3s var(--ease); flex: none; }
.link svg.ll-ic.i20 { width: 30px; height: 30px; }
@media (hover: hover) { .link:hover svg.ll-ic { transform: rotate(0deg) translate(0, 0); } .news:hover .drop svg { transform: rotate(0deg); } }
.news .drop { width: auto; height: auto; background: none; box-shadow: none; }
/* the FLAI demos: marked in the nav with a small pollen dot */
.nav a.nav-try::after { content: ""; position: absolute; top: 9px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--pollen); box-shadow: 0 0 0 2px #fff; }
.nav a.nav-try { position: relative; display: inline-flex; align-items: center; }
.nav a { white-space: nowrap; }
@media (max-width: 1280px) { .nav .nav-long { display: none; } .nav a.nav-try { padding-right: 22px; } .nav a.nav-try::after { right: 9px; } }
.link { gap: 8px; } .link .ul { margin-right: 2px; }
.news .drop svg { width: 32px; height: 32px; padding: 7px; background: var(--ink-green); color: var(--lime-hi, #d6ee7e); }
.still .nav a[aria-current], .still .tabs button[aria-selected="true"], .still .states .pills button[aria-pressed="true"] { animation: none; }
@media (prefers-reduced-motion: reduce) { .nav a[aria-current], .tabs button[aria-selected="true"], .states .pills button[aria-pressed="true"] { animation: none; } }
@media (forced-colors: active) { .nav a[aria-current], .tabs button[aria-selected="true"], .states .pills button[aria-pressed="true"] { outline: 2px solid Highlight; } }

/* =====================================================================
   Sub-pages. Layout: the same laboratory plate as the home page — a reading column and a figure on
   millimetre paper — then prose in two columns (heading left, text right) and hairline lists.
   ===================================================================== */
.page { padding-top: calc(var(--hh) + env(safe-area-inset-top, 0px)); }
.crumb { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 520 .9375rem/1 var(--display); color: var(--ink-green); text-decoration: none; }
.crumb svg { width: 26px; height: 26px; padding: 5.5px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-green); background: var(--lime); box-shadow: 0 0 0 2.5px #fff; filter: drop-shadow(0 .5px .4px rgb(24 50 29 / .34)) drop-shadow(0 1px 1.5px rgb(24 50 29 / .12)); transform: rotate(-10deg); transition: transform .3s var(--ease); }
@media (hover: hover) { .crumb:hover svg { transform: rotate(0) translateX(-3px); } }

.page-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 8vw, 112px); }
.page-hero .copy { display: grid; gap: 26px; align-content: start; }
.page-hero h1 { font-size: clamp(3rem, 6.4vw, 6.4rem); }
.page-hero h1 .tone { color: var(--dark-green); }
.page-hero .lede { max-width: 32rem; }
.page-hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.figure { position: relative; min-width: 0; }
.plate-fig { position: relative; aspect-ratio: 1.15; border-radius: 30px; background: linear-gradient(#18321d0d 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #18321d0d 1px, transparent 1px) 0 0 / 28px 28px, var(--meadow-50); box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; }
.plate-fig .spec { position: absolute; inset: 6% 4%; }
.plate-fig .spec > canvas.glass { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate-fig .spec:not(.gl)::before { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 34% 30%, #f3f8e7 0, #bedf55 30%, #5fad46 100%); }
.figcap2 { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font: 500 .75rem/1.4 var(--display); color: var(--sage-600); letter-spacing: .01em; }
.figcap2 b { color: var(--ink-green); font-weight: 600; }

.prose { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(32px, 6vw, 112px); padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); align-self: start; position: sticky; top: calc(var(--hh) + 24px); }
.prose .body { display: grid; gap: 20px; max-width: 36rem; }
.prose .body p { font-size: clamp(1.2rem, 1.5vw, 1.35rem); line-height: 1.55; }
.prose .body p.big { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.4; color: var(--ink-green); }

.helps { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.helps ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); margin-top: clamp(28px, 4vw, 48px); }
.helps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); font: 520 clamp(1.1rem, 1.5vw, 1.3rem)/1.35 var(--display); color: var(--ink-green); letter-spacing: -.01em; }
.helps li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 2px rgb(24 50 29 / .3); transform: translateY(-1px); }

.ask { position: relative; overflow: hidden; border-radius: 36px; background: var(--forest-surface); color: var(--forest-text); padding: clamp(36px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px clamp(32px, 6vw, 96px); align-items: end; margin-block: clamp(24px, 4vw, 56px) clamp(96px, 12vw, 160px); }
.ask h2 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); color: #fff; }
.ask p { font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--forest-text); max-width: 30rem; }
.ask .side { display: grid; gap: 28px; justify-items: start; }

.others { padding-bottom: clamp(96px, 12vw, 160px); }
.others .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px; gap: 16px clamp(24px, 4vw, 56px); align-items: center; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .5s var(--ease); }
.others .row:last-child { border-bottom: 1px solid var(--line); }
.others .row .h3 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.others .row p { color: var(--grey); font-size: 1.15rem; line-height: 1.45; }
.others .go { --dsz: 50px; }
@media (hover: hover) { .others .row:hover { transform: translateX(8px); } }

/* case */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.shot { display: grid; gap: 16px; align-content: start; }
.shot .frame { position: relative; border-radius: 28px; padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0; background: radial-gradient(ellipse at 30% 20%, #ffffffb3, transparent 60%), linear-gradient(160deg, #e3efc4, #cfe29a); overflow: hidden; display: grid; justify-items: center; }
.shot .phone { width: min(280px, 72%); border-radius: 36px 36px 0 0; padding: 10px 10px 0; background: #13201a; box-shadow: 0 30px 60px -30px #19350f99; }
.shot .phone img { width: 100%; height: clamp(300px, 34vw, 460px); object-fit: cover; object-position: top; border-radius: 27px 27px 0 0; }
.shot h3 { font: 730 1.3rem/1.2 var(--display); color: var(--ink-green); letter-spacing: -.02em; }
.shot p { color: var(--grey); font-size: 1.1rem; line-height: 1.45; }
.shot small { font: 500 .75rem/1.4 var(--display); color: var(--sage-600); }
.ads { padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
.ads .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.ad { display: grid; gap: 12px; align-content: start; }
.ad video { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #0c1a11; object-fit: cover; }
.ad h3 { font: 730 1.15rem/1.25 var(--display); color: var(--ink-green); letter-spacing: -.015em; }
.ad p { color: var(--grey); font-size: 1.05rem; line-height: 1.45; }
.credit { margin-top: 22px; font: 500 .8125rem/1.5 var(--display); color: var(--sage-600); }
.facts2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 8px; }
.facts2 div { padding: 16px 16px 0 0; }
.facts2 dt { font: 560 .6875rem/1.3 var(--display); letter-spacing: .11em; text-transform: uppercase; color: var(--sage-600); margin-bottom: 6px; }
.facts2 dd { font: 520 1rem/1.35 var(--display); color: var(--ink-green); }

/* news list and article */
.lead-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.lead-item .date { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.lead-item .date b { font: 800 clamp(3rem, 6vw, 5.5rem)/.9 var(--display); letter-spacing: -.05em; color: var(--dark-green); font-variant-numeric: lining-nums tabular-nums; }
.lead-item h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 18px; }
.lead-item p { max-width: 32rem; }
.lead-item .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.paper2 { display: grid; place-items: center; border-radius: 30px; min-height: 460px; background: linear-gradient(#18321d0b 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #18321d0b 1px, transparent 1px) 0 0 / 28px 28px, var(--meadow-50); padding: 40px 24px; }
.paper2 img { width: min(320px, 70vw); height: auto; border-radius: 4px; box-shadow: 0 0 0 1px #18321d14, 8px 18px 36px -18px #18321d8c; transform: rotate(-2deg); transition: transform .5s var(--ease); }
@media (hover: hover) { .paper2:hover img { transform: rotate(0) translateY(-6px); } }
.person-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: center; padding-block: 28px 0; }
.person-card img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--meadow-100); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgb(24 50 29 / .18); }
.person-card b { display: block; font: 730 1.2rem/1.2 var(--display); color: #fff; }
.person-card span { font: 500 .9375rem/1.4 var(--display); color: var(--forest-soft); }
.person-card .sel { display: block; margin-top: 6px; font: 520 1rem/1.4 var(--display); color: #fff; user-select: all; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 40px clamp(40px, 6vw, 112px); padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); }
.article .text { display: grid; gap: 22px; max-width: 40rem; }
.article .text h2 { font: 730 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink-green); margin-top: 18px; }
.article .text p { font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.6; }
.article blockquote { margin: 8px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--lime); display: grid; gap: 12px; }
.article blockquote p { font: 430 clamp(1.3rem, 1.9vw, 1.6rem)/1.4 var(--serif); color: var(--ink-green); font-style: italic; }
.article blockquote cite { font: 520 .9375rem/1.4 var(--display); font-style: normal; color: var(--sage-600); }
.article aside { display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--hh) + 24px); }
.brief { border-radius: 24px; padding: 26px; background: var(--meadow-50); box-shadow: inset 0 0 0 1px var(--line-soft); display: grid; gap: 12px; }
.brief h2 { font: 730 1.1rem/1.2 var(--display); color: var(--ink-green); letter-spacing: -.01em; }
.brief ul { display: grid; gap: 10px; }
.brief li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 12px; font: 400 1.05rem/1.45 var(--serif); }
.brief li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px #fff; }
.pdf { border-radius: 24px; padding: 22px 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; }
.pdf small { font: 500 .8125rem/1.4 var(--display); color: var(--sage-600); }
.pdf b { font: 730 1.05rem/1.25 var(--display); color: var(--ink-green); }
.contact-note { font: 400 1rem/1.5 var(--display); color: var(--grey); }
.contact-note b { color: var(--ink-green); }

@media (max-width: 960px) {
  .page-hero, .prose, .lead-item, .article, .ask, .shots { grid-template-columns: minmax(0, 1fr); }
  .prose h2, .article aside { position: static; }
  .helps ul, .ads .grid, .facts2 { grid-template-columns: minmax(0, 1fr); }
  .others .row { grid-template-columns: minmax(0, 1fr) 50px; }
  .others .row p { grid-column: 1 / -1; grid-row: 2; }
  .page-hero h1 { font-size: clamp(2.8rem, 12.5vw, 4.6rem); }
  .plate-fig { aspect-ratio: 1.4; }
}

/* =====================================================================
   Kokeile FLAIta. A lab bench on millimetre paper: pick a sample (tab), feed it, read the plate.
   The social post card uses the reader's system font on purpose: it is a specimen of a feed, not of our brand.
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flai-facts { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.flai-facts li { display: grid; gap: 2px; padding-left: 22px; position: relative; max-width: 17rem; }
.flai-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 2px rgb(24 50 29 / .3); }
.flai-facts b { font: 600 1.02rem/1.3 var(--display); color: var(--ink-green); }
.flai-facts span { font-size: .98rem; line-height: 1.4; color: var(--grey); }
.flai-plate { aspect-ratio: auto; min-height: 460px; display: grid; place-items: center; padding: clamp(18px, 4vw, 48px); }
.flai-plate .post-host { width: 100%; max-width: 500px; }

.flai-lab { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 12px); }
.lab-head { display: grid; justify-items: start; gap: 18px; }
.lab-head .h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.tabs.three { grid-template-columns: repeat(3, auto); }
.tabs.three button { padding-inline: 20px; }
.bench { margin-top: clamp(22px, 3vw, 36px); padding: clamp(20px, 4vw, 52px); border-radius: 30px; background: linear-gradient(#18321d0b 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #18321d0b 1px, transparent 1px) 0 0 / 28px 28px, var(--meadow-50); box-shadow: inset 0 0 0 1px var(--line-soft); }
.ask-form { display: grid; gap: 20px; }
/* wide bench: what FLAI does on the left, the form on the right; results below span both */
@media (min-width: 961px) {
  .ask-form { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(32px, 5vw, 72px); row-gap: 0; align-items: start; }
  .ask-form > .intro { grid-column: 1; grid-row: 1 / span 8; align-self: start; }
  .ask-form > :not(.intro) { grid-column: 2; }
  .ask-form > :not(.intro) ~ :not(.intro):not(.status:empty):not([hidden]) { margin-top: 20px; }
  .ask-form .intro p { font-size: 1.1rem; }
}
.ask-form .intro { display: grid; gap: 10px; }
.ask-form .intro .h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.ask-form .intro p { font-size: 1.08rem; line-height: 1.5; color: var(--grey); max-width: 44rem; }
.field { display: grid; gap: 8px; }
.field > span { display: flex; justify-content: space-between; gap: 12px; font: 600 .95rem/1.2 var(--display); color: var(--ink-green); }
.field em { font: 500 .85rem/1.2 var(--display); font-style: normal; color: var(--sage-600); }
.field input, .field textarea { width: 100%; box-sizing: border-box; padding: 15px 18px; border: 1.5px solid var(--control-line); border-radius: 16px; background: #fff; color: var(--ink); font: 450 1.12rem/1.45 var(--display); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: #8d9a87; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--dark-green); box-shadow: 0 0 0 4px rgb(171 207 55 / .45); }
.fields2 { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.try { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font: 500 .92rem var(--display); color: var(--sage-600); }
.chip { min-height: 38px; padding: 7px 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 560 .92rem var(--display); color: var(--ink-green); cursor: pointer; transition: background .2s, box-shadow .2s; }
@media (hover: hover) { .chip:hover { background: var(--meadow-100); box-shadow: inset 0 0 0 1px var(--control-line); } }
.status { min-height: 1.4em; font: 500 1rem/1.45 var(--display); color: var(--sage-600); }
.status:empty { display: none; }
.status[data-tone="warn"] { color: #7a3510; padding-left: 20px; position: relative; }
.status[data-tone="warn"]::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 50%; background: var(--pollen); box-shadow: 0 0 0 2px #fff; }
.result { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 44px); scroll-margin-top: calc(var(--hh) + 16px); }
.result[aria-busy] { opacity: .45; transition: opacity .3s; }
.res-head { display: grid; gap: 10px; }
.res-head .h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); max-width: 34ch; }
.facts-line { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 500 .95rem/1.4 var(--display); color: var(--grey); }
.facts-line b { color: var(--ink-green); font-weight: 650; }
.res-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.card { padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft), 0 14px 34px -26px rgb(24 50 29 / .45); min-width: 0; }
.card h4 { margin-bottom: 18px; font: 650 .76rem/1.3 var(--display); letter-spacing: .09em; text-transform: uppercase; color: var(--sage-600); }
.card .small, .result .small { margin-top: 14px; font-size: .88rem; line-height: 1.45; color: var(--sage-600); }
.receipt { font: 500 .8rem/1.4 var(--display); color: var(--sage-600); font-variant-numeric: tabular-nums; }

.ring { --c: var(--green); position: relative; width: 108px; aspect-ratio: 1; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 10; stroke-linecap: round; }
.ring .trk { stroke: var(--meadow-200); }
.ring .val { stroke: var(--c); stroke-dasharray: calc(var(--p) * 100) 100; animation: ring-in 1.1s var(--ease) both; }
@keyframes ring-in { from { stroke-dasharray: 0 100; } }
.ring b { font: 700 2rem/1 var(--display); color: var(--ink-green); font-variant-numeric: tabular-nums; }
.ring.mid { --c: var(--pollen); } .ring.low { --c: #d8572a; }
.seo-top { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.seo-top p { font-size: 1rem; line-height: 1.45; color: var(--grey); }
.seo-top p b { color: var(--ink-green); }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 0; border-top: 1px solid var(--line-soft); }
.checks b { display: block; font: 600 .98rem/1.3 var(--display); color: var(--ink-green); }
.checks small { display: block; margin-top: 2px; font-size: .88rem; line-height: 1.4; color: var(--grey); overflow-wrap: anywhere; }
.mark { position: relative; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; }
.ok .mark { background: var(--lime); box-shadow: 0 0 0 2px #fff, 0 1px 2px rgb(24 50 29 / .3); }
.ok .mark::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid var(--ink-green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.no .mark { box-shadow: inset 0 0 0 2px #d8572a; }
.no .mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 8px; height: 2px; border-radius: 1px; background: #d8572a; }
.meter { margin-bottom: 16px; }
.m-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 7px; font: 520 1rem/1.3 var(--display); color: var(--ink-green); }
.m-top b { white-space: nowrap; font-weight: 700; color: var(--dark-green); text-align: right; }
.meter small { display: block; margin-top: 5px; font-size: .84rem; color: var(--sage-600); }
.mbar { height: 8px; border-radius: 99px; background: var(--meadow-200); overflow: hidden; }
.mbar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--green)); animation: bar-in 1s var(--ease) both; transform-origin: left; }
@keyframes bar-in { from { transform: scaleX(0); } }
.q { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--meadow-50); box-shadow: inset 3px 0 0 var(--lime); }
.q.weak { background: #fff7e3; box-shadow: inset 3px 0 0 var(--pollen); }
.q small { display: block; font: 600 .78rem/1.3 var(--display); letter-spacing: .04em; color: var(--sage-600); }
.q p { margin-top: 6px; font: italic 400 1.18rem/1.4 var(--serif); color: var(--ink); }
.psi .rings { display: flex; flex-wrap: wrap; gap: 18px 28px; }
.psi .r { display: grid; justify-items: center; gap: 8px; font: 520 .9rem var(--display); color: var(--ink-green); }
.psi .ring { width: 84px; } .psi .ring b { font-size: 1.5rem; }
.todo ol { display: grid; gap: 12px; counter-reset: fx; }
.todo li { counter-increment: fx; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: 1.06rem; line-height: 1.45; }
.todo li::before { content: counter(fx); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 2px rgb(24 50 29 / .3); font: 700 .9rem var(--display); color: var(--ink-green); }
.todo .next { margin-top: 22px; }

.co-name { font: 700 clamp(1.4rem, 2.2vw, 1.8rem)/1.15 var(--display); color: var(--ink-green); letter-spacing: -.015em; margin-bottom: 14px; }
.prh dl div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.prh dt { font: 600 .9rem/1.4 var(--display); color: var(--sage-600); }
.prh dd { font-size: 1rem; line-height: 1.4; color: var(--ink); }
.prh dd small { color: var(--sage-600); }
.ideas ol { display: grid; gap: 16px; }
.ideas li { display: grid; gap: 7px; }
.i-top { display: flex; justify-content: space-between; gap: 12px; font: 600 1rem/1.3 var(--display); color: var(--ink-green); }
.i-top span { white-space: nowrap; font-weight: 700; color: var(--dark-green); font-variant-numeric: tabular-nums; }
.ideas .link { font-size: .9rem; justify-self: start; }
.notices li + li { border-top: 1px solid var(--line-soft); }
.notices a { display: grid; grid-template-columns: 58px minmax(0, 1fr) 46px; gap: 16px; align-items: center; padding: 16px 10px; margin-inline: -10px; border-radius: 16px; color: inherit; text-decoration: none; transition: background .2s; }
@media (hover: hover) { .notices a:hover { background: var(--meadow-50); } }
.n-fit { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--green) calc(var(--v) * 360deg), var(--meadow-200) 0); }
.n-fit::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.n-fit b, .n-fit small { position: relative; font: 700 1.05rem/1 var(--display); color: var(--ink-green); }
.n-fit small { font-size: .75rem; margin-left: 1px; }
.n-body { display: grid; gap: 3px; min-width: 0; }
.n-body b { font: 600 1.05rem/1.3 var(--display); color: var(--ink-green); }
.n-body small { font-size: .88rem; color: var(--sage-600); }
.n-meta { font-size: .92rem; line-height: 1.4; color: var(--grey); }
.notices .n-go { --dsz: 40px; }
.empty { font-size: 1.05rem; line-height: 1.5; color: var(--grey); }

/* site: FLAI's reading and the fixes first, the code checks as a compact plate below */
.site-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.side-stack { display: grid; gap: 18px; min-width: 0; }
.side-stack .q { margin: 0; }
.seo-wrap { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 12px 36px; align-items: start; }
.seo-wrap .seo-top { flex-direction: column; align-items: flex-start; margin: 0; }
.seo .checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); column-gap: 28px; }
/* long lists open on request: the best few are enough to judge */
.more-n, .more-v { margin-top: 4px; }
.more-n > summary, .more-v > summary { font-size: 1rem; }
.more-n .notices li:first-child { border-top: 1px solid var(--line-soft); }
.more-v .variants li:first-child { border-top: 1px solid var(--line-soft); }
.ver-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 18px; align-items: start; }
@media (min-width: 961px) { .ver-grid .sim { position: sticky; top: calc(var(--hh, 72px) + 16px); } }
.variants li { padding: 16px 0; border-top: 1px solid var(--line-soft); }
.variants li.win { padding: 16px 18px; margin-bottom: 6px; border: 0; border-radius: 18px; background: #f4f9e4; box-shadow: inset 0 0 0 1px #dcebb0; }
.v-top { display: flex; align-items: center; gap: 10px; font: 650 1rem/1.3 var(--display); color: var(--ink-green); }
.badge { padding: 4px 10px; border-radius: 8px; background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 2px rgb(24 50 29 / .3); font: 700 .75rem/1.2 var(--display); color: var(--ink-green); transform: rotate(-2deg); }
.v-text { margin: 6px 0 10px; font-size: .98rem; line-height: 1.45; color: var(--ink); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.v-m { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.v-m span { position: relative; padding-top: 9px; font: 500 .8rem/1.3 var(--display); color: var(--sage-600); font-variant-numeric: tabular-nums; }
.v-m span::before, .v-m i { content: ""; position: absolute; left: 0; top: 0; height: 4px; border-radius: 2px; }
.v-m span::before { right: 0; background: var(--meadow-200); }
.v-m i { width: calc(var(--v) * 100%); background: var(--green); }
.v-m .neg i { background: #d8572a; }
.sim .post-host { margin-bottom: 4px; }
.readers { margin-top: 14px; font-size: .98rem; line-height: 1.5; color: var(--grey); }
.readers b { color: var(--ink-green); font-weight: 600; }

/* the post card */
.post { --ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --muted: #536471; position: relative; padding: 14px 18px 10px; border-radius: 18px; background: #fff; color: #0f1419; font-family: var(--ui); box-shadow: 0 0 0 1px rgb(15 20 25 / .06), 0 1px 2px rgb(15 20 25 / .06), 0 24px 44px -28px rgb(24 50 29 / .5); text-align: left; }
.p-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.av { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50%; background: var(--ink-green); color: var(--lime); font: 700 .95rem/1 var(--display); letter-spacing: .02em; }
.p-who { display: grid; min-width: 0; font-size: 15px; line-height: 1.25; }
.p-who b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-who span { color: var(--muted); font-variant-numeric: tabular-nums; }
.p-sim { align-self: start; padding: 4px 8px; border-radius: 99px; background: var(--meadow-100); font: 650 12px/1.2 var(--ui); letter-spacing: .06em; text-transform: uppercase; color: var(--dark-green); }
.p-text { margin: 10px 0 14px; font-size: 16.5px; line-height: 1.42; white-space: pre-line; overflow-wrap: anywhere; font-family: var(--ui); }
.p-hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; align-items: end; height: 30px; }
.p-hours i { height: calc(3px + var(--v, 0) * 27px); border-radius: 2px 2px 1px 1px; background: #e7ece4; transition: background .25s; }
.p-hours i.on { background: var(--green); }
.p-scale { display: flex; justify-content: space-between; margin-top: 4px; font: 500 12px/1 var(--ui); color: var(--muted); }
.p-acts { display: flex; justify-content: space-between; gap: 6px; margin-top: 10px; padding-top: 9px; border-top: 1px solid #eff3f4; }
.p-acts .a { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--muted); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.p-acts svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.p-acts .like.bump svg { animation: heart .42s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes heart { 0% { transform: scale(1); } 35% { transform: scale(1.32); color: #e8436f; fill: #e8436f33; } 100% { transform: scale(1); } }
/* Kysy FLAIlta: a search field, the path as it happens, one answer card */
.tabs.four { grid-template-columns: repeat(4, auto); }
.tabs.four button { padding-inline: 18px; }
.field-big input { padding: 18px 20px; font-size: 1.25rem; border-radius: 18px; }
.more summary { cursor: pointer; width: max-content; min-height: 44px; display: flex; align-items: center; font: 560 .95rem var(--display); color: var(--ink-green); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--dark-green); }
.more[open] summary::before { content: "–"; }
.more .field { margin-top: 12px; }
.staff-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 18px; padding: 10px 16px; border-radius: 14px; background: var(--ink-green); color: var(--forest-text); font: 500 .92rem/1.4 var(--display); width: max-content; max-width: 100%; }
.staff-note b { color: var(--lime); font-weight: 650; }
.staff-note .link { color: #fff; border: 0; background: none; cursor: pointer; font: inherit; }
.trace { display: grid; gap: 0; margin: 0; padding: 0; counter-reset: st; }
.trace li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 0 10px 34px; border-top: 1px solid var(--line-soft); font: 500 .98rem/1.4 var(--display); color: var(--ink-green); animation: step-in .35s var(--ease) both; }
.trace li::before { content: ""; position: absolute; left: 6px; top: 15px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--control-line); }
.trace li.s-plan::before, .trace li.s-visit::before { box-shadow: inset 0 0 0 2px var(--green); }
.trace li.s-follow::before, .trace li.s-search::before { background: var(--lime); box-shadow: 0 0 0 2px #fff, 0 1px 2px rgb(24 50 29 / .3); }
.trace li.s-answer::before { background: var(--green); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--lime); }
.trace li.s-err::before, .trace li.s-stop::before { box-shadow: inset 0 0 0 2px #d8572a; }
.trace b { font-weight: 650; }
.trace span { color: var(--ink); }
.trace small { color: var(--sage-600); font-size: .85rem; }
.trace i { font-style: normal; color: var(--sage-600); }
.trace em { margin-left: auto; font: 500 .82rem var(--display); font-style: normal; color: var(--sage-600); font-variant-numeric: tabular-nums; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
.still .trace li { animation: none; }
.answer-host:not(:empty) { margin-bottom: 14px; display: grid; gap: 10px; }
.path { border-radius: 18px; }
.path > summary { cursor: pointer; display: flex; align-items: center; gap: 4px; min-height: 44px; list-style: none; font: 600 .95rem var(--display); color: var(--ink-green); }
.path > summary::-webkit-details-marker { display: none; }
.path > summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--dark-green); }
.path[open] > summary::before { content: "–"; }
.path-sum small { margin-left: 8px; font: 500 .85rem var(--display); color: var(--sage-600); font-variant-numeric: tabular-nums; }
.path + .receipt { margin-top: 6px; }
.answer .a-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.answer .a-top h4 { margin-bottom: 12px; }
.sure { font: 650 .8rem var(--display); padding: 4px 10px; border-radius: 99px; background: var(--meadow-100); color: var(--dark-green); white-space: nowrap; }
.sure.s1 { background: #fff4e0; color: #7a3510; }
.contact { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.c-val { font: 700 clamp(1.3rem, 2.4vw, 1.9rem)/1.2 var(--display); color: var(--ink-green); text-decoration: none; letter-spacing: -.015em; overflow-wrap: anywhere; border-bottom: 2px solid var(--lime); }
@media (hover: hover) { .c-val:hover { border-bottom-color: var(--green); } }
.c-ctx { margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: var(--meadow-50); box-shadow: inset 3px 0 0 var(--lime); font: italic 400 1.02rem/1.5 var(--serif); color: var(--ink); max-width: 60rem; overflow-wrap: anywhere; }
.c-ctx small { display: block; margin-bottom: 4px; font: 600 .76rem/1.3 var(--display); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-600); }
.a-src { margin-top: 14px; font-size: .95rem; color: var(--sage-600); }
.a-src .link, .alts .link { font-size: .92rem; }
.alts { margin-top: 16px; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.alts summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; list-style: none; font: 560 .95rem var(--display); color: var(--ink-green); }
.alts summary::-webkit-details-marker { display: none; }
.alts summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--dark-green); }
.alts[open] summary::before { content: "–"; }
.answer .alts li { padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .95rem; line-height: 1.45; color: var(--grey); }
.answer .alts li b { color: var(--ink-green); margin-right: 6px; }
@media (max-width: 620px) { .tabs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; box-sizing: border-box; } .tabs.four button { min-width: 0; } .tabs.four button { padding-inline: 4px; font-size: .8rem; } .trace em { margin-left: 0; } }
/* Tiimin työkalut: a teaser for visitors, the tools for the team key */
.flai-team { padding-block: clamp(40px, 6vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 12px); }
.team-teaser { display: grid; gap: 18px; }
.team-teaser .h2 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); max-width: 22ch; }
.team-lede { font-size: 1.12rem; line-height: 1.5; color: var(--grey); max-width: 44rem; }
/* team tools teaser: three locked cards, nothing that says what they do */
.vault { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.vault-card { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(18px, 2.4vw, 26px); border-radius: 24px; overflow: hidden; background: linear-gradient(#18321d0b 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #18321d0b 1px, transparent 1px) 0 0 / 28px 28px, var(--meadow-50); box-shadow: inset 0 0 0 1px var(--line-soft); }
.vault-card b { font: 650 clamp(1.3rem, 1.9vw, 1.6rem)/1.1 var(--display); color: var(--ink-green); letter-spacing: -.01em; }
.vault-tag { justify-self: start; padding: 3px 10px; border-radius: 99px; background: var(--lime); font: 650 .74rem/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-green); }
.vault-tag.soon { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--sage-600); }
.vault-peek { display: grid; gap: 7px; padding: 12px; border-radius: 14px; background: #fff; filter: blur(3.5px); opacity: .85; user-select: none; }
.vault-peek i { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--dark-green) 0 18%, transparent 18% 24%, #c9d6c3 24%); opacity: .55; }
.vault-peek i:nth-child(2) { width: 86%; } .vault-peek i:nth-child(3) { width: 72%; } .vault-peek i:nth-child(4) { width: 58%; }
.vault-lock { display: inline-flex; align-items: center; gap: 6px; font: 600 .84rem/1.3 var(--display); color: var(--sage-600); }
.vault-lock svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.team-teaser > .actions { margin-top: 14px; }
.team-tools { display: grid; gap: 0; }
.team-tools .tabs { grid-template-columns: repeat(2, auto); }
.goal-pills { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: fit-content; max-width: 100%; box-sizing: border-box; }
.goal-pills button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 99px; background: none; font: 560 .92rem var(--display); color: var(--ink-green); cursor: pointer; }
.goal-pills button[aria-pressed="true"] { background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 3px rgb(24 50 29 / .3); }
.goal-pills + textarea { margin-top: 10px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 520 .95rem var(--display); color: var(--ink-green); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--dark-green); }
.seg-info { font: 500 .92rem/1.45 var(--display); color: var(--sage-600); }
.seg-progress { display: grid; gap: 8px; }
.seg-progress .mbar i { transition: width .4s var(--ease); animation: none; }
.calls { display: grid; }
.calls li { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 16rem); gap: 14px 18px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.calls li:first-child { border-top: 0; }
.calls li.top .c-rank { background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 3px rgb(24 50 29 / .3); }
.c-rank { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--meadow-100); font: 700 .95rem var(--display); color: var(--ink-green); font-variant-numeric: tabular-nums; }
.calls.seg .c-rank { width: 44px; height: 44px; font-size: .9rem; }
.c-who { display: grid; gap: 4px; min-width: 0; }
.c-who b { font: 600 1.02rem/1.35 var(--display); color: var(--ink-green); overflow-wrap: anywhere; }
.c-who > span { font-size: .95rem; line-height: 1.4; color: var(--grey); overflow-wrap: anywhere; }
.c-who .c-more { font: 500 .88rem/1.4 var(--display); color: var(--sage-600); }
.c-who .c-why { font: 500 .85rem/1.35 var(--display); color: var(--dark-green); }
.c-who .c-open { font: italic 400 1.02rem/1.4 var(--serif); color: var(--ink); }
.c-reach { display: grid; gap: 4px; justify-items: start; font: 600 1rem/1.3 var(--display); }
.contact .inferred { align-self: center; font: 500 .82rem/1.3 var(--display); color: var(--warn-ink, #7a3510); }
.c-reach .inferred { font: 500 .78rem/1.3 var(--display); color: var(--warn-ink, #7a3510); }
.c-reach > a:not(.link) { color: var(--ink-green); text-decoration: none; border-bottom: 2px solid var(--lime); overflow-wrap: anywhere; min-height: 28px; display: inline-flex; align-items: center; }
@media (max-width: 960px) { .vault { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) { .calls li { grid-template-columns: 40px minmax(0, 1fr); } .calls .c-reach { grid-column: 2; } }
/* what FLAI understood: chips under the question, a correction form behind "Korjaa" */
.understood { margin-bottom: 14px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); }
.u-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font: 600 .95rem var(--display); color: var(--ink-green); }
.u-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--meadow-100); font: 600 .95rem/1.2 var(--display); color: var(--ink-green); }
.u-chip small { font: 500 .78rem var(--display); color: var(--sage-600); }
.u-edit { margin-left: auto; min-height: 36px; border: 0; background: none; cursor: pointer; font: 560 .92rem var(--display); color: var(--ink-green); }
.u-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 12px 14px; margin-top: 14px; }
.u-form .row-actions { grid-column: 1 / -1; }
.u-form select { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1.5px solid var(--control-line); border-radius: 14px; background: #fff; font: 450 1rem var(--display); color: var(--ink); }
.u-form .field input { padding: 12px 14px; font-size: 1rem; }
/* the composer: the same card, written in place */
.compose input, .compose textarea { display: block; width: 100%; box-sizing: border-box; border: 0; background: none; color: inherit; font-family: var(--ui); outline: none; border-radius: 8px; transition: background .2s, box-shadow .2s; }
.compose input:focus, .compose textarea:focus { background: #f5f8f1; box-shadow: 0 0 0 2px rgb(171 207 55 / .7); }
.compose .c-name { padding: 2px 4px; margin-left: -4px; font-size: 15px; font-weight: 700; }
.compose .c-handle { padding: 1px 4px; margin-left: -4px; font-size: 15px; color: var(--muted); }
.compose .c-text { resize: none; min-height: 7.2em; padding: 6px 8px; margin: 10px -8px 10px; width: calc(100% + 16px); }
.compose ::placeholder { color: #8b98a5; }
.c-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid #eff3f4; }
.c-count { font: 500 13px var(--ui); color: var(--muted); font-variant-numeric: tabular-nums; }
.compose .status { margin-top: 10px; font-size: .92rem; }
.flai-plate .post-host .receipt, .flai-plate .readers { margin-top: 10px; }
.p-ctrl .edit { margin-left: auto; }
.p-ctrl .edit + .replay { margin-left: 0; }
.p-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.p-ctrl .pills { display: inline-flex; padding: 3px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.p-ctrl .pills button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 99px; background: none; font: 560 .88rem var(--display); color: var(--ink-green); cursor: pointer; font-variant-numeric: tabular-nums; }
.p-ctrl .pills button[aria-pressed="true"] { background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 3px rgb(24 50 29 / .3); }
.p-ctrl-l { font: 500 .9rem var(--display); color: var(--sage-600); }
.replay { margin-left: auto; min-height: 40px; border: 0; background: none; cursor: pointer; font: 560 .95rem var(--display); color: var(--ink-green); }

.flai-how .sources div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.flai-how dt { font: 650 1rem/1.4 var(--display); color: var(--ink-green); }
.flai-how dd { font-size: 1.05rem; line-height: 1.5; color: var(--grey); }
.flai-how .privacy { font-size: .98rem !important; line-height: 1.55; color: var(--sage-600); }
.still .ring .val, .still .mbar i, .still .p-acts .like.bump svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .ring .val, .mbar i, .p-acts .like.bump svg { animation: none; } }

@media (max-width: 960px) {
  .res-grid, .ver-grid, .fields2, .seo-wrap { grid-template-columns: minmax(0, 1fr); }
  .seo-wrap .seo-top { flex-direction: row; align-items: center; }
  .ver-grid .sim { order: -1; }
  .flai-plate { min-height: 0; }
}
@media (max-width: 620px) {
  .lab-head { display: grid; }
  .tabs.three { grid-template-columns: repeat(3, 1fr); width: 100%; box-sizing: border-box; }
  .tabs.three button { padding-inline: 6px; font-size: .86rem; }
  .bench { margin-inline: calc(var(--gutter) * -.5); padding: 20px 16px; border-radius: 24px; }
  .notices a { grid-template-columns: 48px minmax(0, 1fr); }
  .notices .n-go { display: none; }
  .n-fit { width: 48px; }
  .prh dl div, .flai-how .sources div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .seo .checks { grid-template-columns: minmax(0, 1fr); }
  .v-m { gap: 8px 12px; }
  .v-m span { font-size: .76rem; }
  .post { padding: 12px 14px 8px; }
  .p-acts .a { font-size: 12.5px; gap: 3px; }
  .p-acts svg { width: 17px; height: 17px; }
  .replay { margin-left: 0; }
}

/* Ajankohtaista: the release and the weekly "Mitä olemme oppineet" notes, filtered by topic without a reload */
.news { padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hh) + 12px); }
.news-head { display: grid; gap: 10px; margin-bottom: 26px; }
.news-sub { font-size: 1.12rem; line-height: 1.5; color: var(--grey); max-width: 40rem; }
.news-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; }
.news-filter .chip[aria-pressed="true"] { background: var(--lime); box-shadow: 0 0 0 2.5px #fff, 0 1px 3px rgb(24 50 29 / .3); }
.news-count { margin-left: auto; font: 500 .92rem var(--display); color: var(--sage-600); }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 18px; }
.news-card { position: relative; display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft), 0 14px 34px -26px rgb(24 50 29 / .45); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.news-card.press { background: linear-gradient(#18321d0b 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, #18321d0b 1px, transparent 1px) 0 0 / 28px 28px, var(--meadow-50); }
.news-card h3 { font: 700 1.35rem/1.2 var(--display); letter-spacing: -.015em; color: var(--ink-green); }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* the whole card opens the article */
.news-card h3 a:focus-visible { outline: none; }
.news-card:has(h3 a:focus-visible) { outline: 3px solid var(--dark-green); outline-offset: 3px; }
.news-card p { font-size: 1.02rem; line-height: 1.5; color: var(--grey); }
.news-card .news-meta { font: 560 .8rem/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--sage-600); }
.news-card .tag-list { position: relative; z-index: 1; }
@media (hover: hover) { .news-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--control-line), 0 22px 40px -26px rgb(24 50 29 / .55); } }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list a, .tag-list span { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border-radius: 99px; background: var(--meadow-100); font: 560 .82rem var(--display); color: var(--dark-green); text-decoration: none; }
@media (hover: hover) { .tag-list a:hover { background: var(--lime); color: var(--ink-green); } }
.page-hero .tag-list { margin-top: 18px; }
.src-list { display: grid; gap: 10px; margin-top: 12px; }
.still .news-card, .still .news-card:hover { transition: none; transform: none; }
@media (max-width: 620px) { .news-count { margin-left: 0; width: 100%; } }
.contact-note .link { display: inline; min-height: 0; font: inherit; }

/* FLAI the robot (kokeile/flai-bot.js): lives in the intro column of the active bench; a small companion on phones */
.flai-bot { position: relative; width: min(100%, 340px); aspect-ratio: 7 / 8; margin-top: clamp(8px, 2vw, 28px); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }   /* poke FLAI: it reacts */
.flai-bot canvas { position: absolute; left: -18%; top: -14%; width: 136%; height: 126%; display: block; pointer-events: none; }   /* bleed: dust and sparks fade out past the host; FLAI keeps the host's frame, pokes land on the host */
@media (min-width: 961px) { .ask-form > .intro { position: sticky; top: calc(var(--hh, 76px) + 16px); } }
@media (max-width: 960px) {
  .ask-form .intro { display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 12px; }
  .ask-form .intro > * { grid-column: 1; }
  .ask-form .intro > .flai-bot { grid-column: 2; grid-row: 1 / span 2; width: 112px; margin: -10px 0 0; align-self: start; }
}
