/* Excelerant — site styles (vanilla CSS, no build step) */

/* Fonts are self-hosted (assets/fonts, SIL Open Font License) — no requests to Google. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2-variations'), url(fonts/bricolage-grotesque-latin-opsz-normal.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: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2-variations'), url(fonts/bricolage-grotesque-latin-ext-opsz-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-400-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-ext-400-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-500-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-ext-500-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-600-normal.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: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format('woff2'), url(fonts/ibm-plex-sans-latin-ext-600-normal.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: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'), url(fonts/ibm-plex-mono-latin-400-normal.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: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'), url(fonts/ibm-plex-mono-latin-500-normal.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; }

:root {
  --ground: #F5F6F2;
  --paper: #FFFFFF;
  --ink: #0F1D16;
  --ink-2: #3E4A43;
  --muted: #5B665F;
  --faint: #7A857E;
  --line: #D5DCD2;
  --line-2: #E1E5DE;
  --grid: #E4E8E1;
  --green: #107C41;
  --green-d: #0C6B37;
  --green-dd: #08512A;
  --mint: #E3F2E8;
  --mint-line: #C3E0CD;
  --lime: #B9F27C;
  --dark: #0F1D16;
  --dark-2: #14261C;
  --dark-line: #2F4237;
  --dark-text: #B7C4BB;
  --warm: #F7EEE9;
  --warm-line: #EBD9CF;
  --rust: #9A3F14;

  --display: 'Bricolage Grotesque', Georgia, serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1200px;
  --gutter: 24px;
  --section-y: 120px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p { margin: 0; }
p, li { overflow-wrap: break-word; }
h1, h2, h3, .benefit-title, .topic-title { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
img, svg { display: block; }
a { color: var(--green-d); text-decoration: none; }
a:hover { color: var(--green-dd); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--white { background: var(--paper); }
.section--ground { background: var(--ground); }
.section--dark { background: var(--dark); color: #EEF3EC; }
.border-top { border-top: 1px solid var(--line); }
.grid-bg {
  background-color: var(--ground);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 36px;
  background-position: 0 -1px;
}

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- type ---------- */
.h1 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw + 18px, 72px); line-height: 1; letter-spacing: -0.035em; }
.h1--xl { font-size: clamp(36px, min(10vw, 7vw + 14px), 88px); line-height: 0.98; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.h2--md { font-size: clamp(32px, 3.8vw, 48px); }
.h3 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; }
.h3--sm { font-size: 24px; }
.lead { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.lead--lg { font-size: 19px; }
.muted { color: var(--ink-2); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: var(--green-d); }
.num { font-family: var(--mono); font-size: 13px; color: var(--faint); }
.nowrap { white-space: nowrap; }

.tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  font-family: var(--mono); font-size: 13px; color: var(--green-d);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.pill--mint { background: var(--mint); border-color: transparent; color: var(--green-d); padding: 10px 16px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 8px;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn svg { transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-d); color: #fff; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #22352B; color: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ghost { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-green { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn--on-green:hover { background: #fff; color: var(--green-dd); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }
.hero-copy .btn-row .btn { align-self: auto; }
mark.todo { background: #FFE58A; color: #3A2E00; padding: 0 4px; border-radius: 3px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,246,242,0.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.site-header .wrap { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 1px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.1; letter-spacing: -0.02em; }
.brand-tagline { font-size: 11.5px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.brand-sub { color: var(--green-d); }

.menu { flex-grow: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-left: 32px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink-2); padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions .btn { height: 44px; min-height: 44px; white-space: nowrap; }

.lang { height: 44px; padding: 4px; display: flex; align-items: center; gap: 2px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 13px; }
.lang svg { margin: 0 6px 0 8px; }
.lang a { height: 34px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; color: var(--ink-2); }
.lang a:hover { background: var(--ground); color: var(--ink); }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* ---------- home hero ---------- */
.hero { padding-top: 88px; }
.hero-grid { display: grid; grid-template-columns: 540px minmax(0, 1fr); gap: 60px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.checklist { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checklist svg { flex-shrink: 0; margin-top: 2px; }
.hero-copy .btn { align-self: flex-start; }

.benefits { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.benefit { padding: 32px 36px; display: flex; gap: 18px; align-items: center; }
.benefit + .benefit { border-left: 1px solid var(--line-2); }
.benefit-title { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; }
.icon-tile { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.icon-tile--solid { width: 56px; height: 56px; border-radius: 12px; background: var(--green); }
.icon-tile--lime { width: 56px; height: 56px; border-radius: 12px; background: var(--lime); }
.icon-tile--sm { width: 52px; height: 52px; border-radius: 12px; background: var(--green); }

/* ---------- hero visual (how it works) ---------- */
.hiw { display: grid; grid-template-columns: 214px 1fr 232px; align-items: center; }
.hiw-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -28px rgba(15,29,22,0.28); overflow: hidden; }
.hiw-cap { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; font-weight: 500; }
.step-dot { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.hiw-excel-bar { height: 30px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: var(--mint); font-size: 12px; font-weight: 600; color: var(--green-d); }
.hiw-cells { padding: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.hiw-cells span { height: 16px; border-radius: 3px; background: #EEF1EC; }
.hiw-cells .in { background: var(--green); }
.hiw-cells .out { background: #B9E4C8; box-shadow: inset 0 0 0 1.5px var(--green); }
.hiw-card > .hiw-cap { padding: 4px 14px 16px; }
.hiw-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; padding: 0 12px; }
.hiw-mid::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: #A9CDB6; z-index: 0; }
.hiw-logo { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 20px; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px var(--ground), 0 16px 32px -12px rgba(16,124,65,0.5); }
.hiw-mid .hiw-cap { flex-direction: column; align-items: center; text-align: center; gap: 6px; max-width: 128px; position: relative; z-index: 1; background: var(--ground); padding: 2px 6px; border-radius: 6px; }
.hiw-out { display: flex; flex-direction: column; gap: 28px; position: relative; }
.hiw-out::before { content: ""; position: absolute; left: -22px; top: 25%; bottom: 25%; width: 2px; background: #A9CDB6; }
.hiw-out > .hiw-card { position: relative; }
.hiw-out > .hiw-card::before { content: ""; position: absolute; left: -23px; top: 50%; width: 22px; height: 2px; background: #A9CDB6; }
.hiw-window { height: 26px; padding: 0 12px; display: flex; align-items: center; gap: 5px; background: #F0F2EE; border-bottom: 1px solid var(--line-2); }
.hiw-window span { width: 7px; height: 7px; border-radius: 50%; background: #CFD6CC; }
.hiw-form { padding: 12px 14px; display: flex; gap: 12px; }
.hiw-fields { flex-grow: 1; display: flex; flex-direction: column; gap: 6px; }
.hiw-fields span { height: 18px; border-radius: 5px; border: 1px solid var(--line); }
.hiw-fields .btnbar { border: 0; background: var(--green); }
.hiw-user { width: 56px; flex-shrink: 0; border-radius: 8px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.hiw-out > .hiw-card > .hiw-cap { padding: 0 14px 14px; }
.hiw-ws { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.hiw-ws-row { display: flex; align-items: center; gap: 8px; }
.chip { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; }

/* ---------- section heads & cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; }
.section-head > :first-child { flex: 0 1 520px; display: flex; flex-direction: column; gap: 16px; }
.section-head > p { flex: 0 1 560px; }
.cards-2 { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.card { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); display: flex; flex-direction: column; gap: 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.card .link-arrow { margin-top: 6px; }

/* ---------- problem / solution ---------- */
.ps { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; }
.ps-panel { padding: 36px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 20px; }
.ps-panel--problem { background: var(--warm); border: 1px solid var(--warm-line); }
.ps-panel--solution { background: var(--mint); border: 1px solid var(--mint-line); }
.ps-panel--problem .eyebrow { color: var(--rust); }
.ps-title { font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; line-height: 1.15; }
.ps-band { display: flex; align-items: center; }
.ps-band span { flex-grow: 1; min-height: 46px; padding: 10px 20px; background: var(--dark); border-radius: 8px 0 0 8px; display: flex; align-items: center; color: #fff; font-size: 15px; font-weight: 500; }
.ps-band svg { flex-shrink: 0; }
.ps-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ps-steps li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ps-box { width: 100%; min-height: 52px; padding: 6px 8px; border-radius: 10px; background: var(--paper); border: 1px solid #E3D2C8; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 500; text-align: center; }
.ps-box--green { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.ps-person { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); }
.ps-person--green { background: var(--green); border-color: var(--green); }
.ps-person--grey { border-color: #B7A79D; }
.ps-solution { display: flex; align-items: center; margin-top: 6px; }
.ps-exc { width: 210px; flex-shrink: 0; padding: 16px 18px 22px; border-radius: 18px; background: var(--green); display: flex; flex-direction: column; gap: 14px; }
.ps-exc-title { display: flex; align-items: center; gap: 8px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; }
.ps-stack { position: relative; height: 88px; }
.ps-stack > span { position: absolute; width: 150px; height: 70px; border-radius: 8px; }
.ps-stack > span:nth-child(1) { left: 0; top: 0; background: #CFE8D8; }
.ps-stack > span:nth-child(2) { left: 8px; top: 8px; background: #E9F5EE; }
.ps-sheet { position: absolute; left: 16px; top: 16px; width: 150px; height: 70px; padding: 10px 12px; border-radius: 8px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.ps-sheet strong { font-size: 13px; color: var(--green-d); }
.ps-sheet div { display: flex; gap: 14px; }
.ps-link { flex-shrink: 0; }
.ps-solution .ps-box { flex-grow: 1; border-color: var(--mint-line); }
.ps-owner { width: 210px; display: flex; justify-content: center; }

/* ---------- split sections with flow diagram ---------- */
.split { display: grid; grid-template-columns: 520px minmax(0, 1fr); gap: 60px; align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 1fr) 520px; }
.split-copy { display: flex; flex-direction: column; gap: 24px; }
.lettered { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lettered li { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; }
.lettered li::before { content: attr(data-l); font-family: var(--mono); font-size: 13px; color: var(--green-d); padding-top: 2px; }

.flow { display: flex; align-items: flex-start; --box-top: 0px; --card-offset: 64px; }
.flow--ui { --box-top: 72px; }
.flow--ws { padding-bottom: 72px; }
.flow-card { background: var(--paper); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.flow-card--outline { border: 1px solid #C9D3C6; box-shadow: 0 16px 32px -20px rgba(15,29,22,0.35); }
.flow-card-top { display: flex; align-items: center; justify-content: space-between; }
.flow-card p { font-size: 13px; line-height: 1.35; font-weight: 500; }
.flow-num { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--green-d); font-family: var(--mono); font-size: 11px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
/* the "define" card lines up with the cards inside the green box */
.flow-start { width: 156px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: calc(var(--box-top) + var(--card-offset)); }
.flow-start .flow-card { width: 100%; min-height: 110px; }
.flow-avatar { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.flow-avatar--white { background: var(--paper); border: 1px solid #C9D3C6; }
.flow-arrow { flex-shrink: 0; padding: 0 6px; }
.flow > .flow-arrow { margin-top: calc(var(--box-top) + var(--card-offset) + 45px); }
.flow-box { flex-grow: 1; margin-top: var(--box-top); border-radius: 24px; background: var(--green); padding: 18px 20px 24px; box-shadow: 0 30px 60px -30px rgba(12,107,55,0.6); display: flex; flex-direction: column; gap: 18px; }
.flow-box-title { height: 28px; display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.flow-inner { display: flex; align-items: stretch; }
.flow-inner > .flow-card { flex: 1 1 0; min-height: 110px; }
.flow-inner > .flow-arrow { align-self: center; }
.flow-target { flex: 1.2 1 0; position: relative; display: flex; }
.flow-target .flow-card { width: 100%; min-height: 110px; }
/* person above / IT system below sit outside the green box, as in the diagram */
.flow-ext { position: absolute; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.flow-ext--up { bottom: 100%; }
.flow-ext--up .flow-vline { height: 82px; }
.flow-ext--down { top: 100%; }
.flow-ext--down .flow-vline { height: 48px; }
.flow-vline { width: 2px; background: var(--ink); }
.flow-it { height: 44px; padding: 0 16px; border-radius: 10px; background: var(--dark); color: #fff; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; }

/* ---------- business domains ---------- */
.domains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.domains-intro { padding: 8px 24px 0 0; display: flex; flex-direction: column; gap: 20px; }
.domain { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.domain .h3 { font-size: 24px; }
.domains-intro .h2 { font-size: clamp(32px, 2.8vw, 40px); }
.domain p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* ---------- empowerment (dark) ---------- */
.empower { display: flex; gap: 96px; }
.empower > :first-child { flex: 0 0 520px; display: flex; flex-direction: column; gap: 24px; }
.empower .h2 { color: #fff; }
.empower .lead { color: var(--dark-text); }
.empower-list { flex-grow: 1; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--lime); counter-reset: emp; }
.empower-list li { counter-increment: emp; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--dark-line); font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; color: #fff; }
.empower-list li::after { content: "0" counter(emp); font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--lime); letter-spacing: 0; }

/* ---------- let's start (3 steps) ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.step p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--mono); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.step + .step::before { content: ""; position: absolute; left: -25px; top: 52px; width: 26px; height: 2px; background: var(--line); }

/* ---------- FAQ (native <details>, works without JS) ---------- */
.faq { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.faq-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 112px; }
.faq-side a { text-decoration: underline; text-underline-offset: 3px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.3; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--green-d); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--green-dd); }
.faq-a { padding: 0 48px 24px 0; }
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* ---------- legal pages (privacy) ---------- */
.page-hero--legal { padding: 96px 0 72px; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; }
.legal-toc ol { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--muted); }
.legal-toc a { color: var(--ink-2); }
.legal-toc a:hover { color: var(--green-d); }
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 40px; }
.legal-section { scroll-margin-top: 104px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.legal h3 { margin-top: 8px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.legal p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-card { padding: 36px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-card p, .contact-card address { font-size: 16px; line-height: 1.7; color: var(--ink-2); font-style: normal; }
.contact-card--demo { background: var(--green); border-color: var(--green); color: #fff; }
.contact-card--demo p { color: #D9F0E1; }
.btn--light { background: #fff; color: var(--green-dd); }
.btn--light:hover { background: var(--lime); color: var(--ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--green-d); }

/* ---------- CTA ---------- */
.cta { background-color: var(--green); background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 120px 36px; padding: 140px 0; }
.cta-inner { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.cta-inner p { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; color: #fff; }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 112px 0 104px; border-bottom: 1px solid var(--line); }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 80px; }
.page-hero-row > :first-child { display: flex; flex-direction: column; gap: 24px; }
.page-hero-row > p { flex: 0 1 560px; }
.page-hero-stack { display: flex; flex-direction: column; gap: 28px; }
.page-hero-stack .h1 { max-width: 1100px; font-size: clamp(32px, 5.6vw + 10px, 76px); }
.page-hero-sub { max-width: 860px; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: -0.01em; color: var(--green-d); }
.two-col { margin-top: 12px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.two-col p { font-size: 18px; line-height: 1.7; color: var(--ink-2); }

/* ---------- product overview: topics ----------
   Each topic is an <article class="feature" id="..."> inside [data-features].
   Numbers, the overview cards and the side menu are generated from those
   articles by site.js, so adding a topic = adding one <article>. */
.page-hero--product { padding-bottom: 72px; }
.topics { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; counter-reset: topic; }
.topics li { counter-increment: topic; display: flex; }
.topic { flex-grow: 1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 14px; row-gap: 18px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.topic:hover { color: var(--ink); border-color: var(--green); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(15,29,22,0.35); }
.topic .icon-tile { width: 44px; height: 44px; border-radius: 10px; }
.topic-num { align-self: center; justify-self: end; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.topic-num::before { content: counter(topic, decimal-leading-zero); }
.topic-title { grid-column: 1 / -1; font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.2; letter-spacing: -0.015em; }
.topic > svg { grid-column: 1 / -1; color: var(--green-d); transition: transform .15s ease; }
.topic:hover > svg { transform: translateX(4px); }

.features-section { background: var(--paper); padding: 96px 0 120px; }
.features-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 80px; align-items: start; }
.toc { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 18px; }
.toc ol { position: relative; list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-2); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; padding: 10px 0 10px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); font-size: 15px; line-height: 1.35; font-weight: 500; transition: color .15s ease, border-color .15s ease; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--green); }
.toc a.is-active::before { color: var(--green-d); }

.features { counter-reset: feature; }
.feature { counter-increment: feature; scroll-margin-top: 104px; padding: 56px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.feature:first-child { padding-top: 0; border-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature-head { display: flex; align-items: center; gap: 20px; }
.feature-head .icon-tile { position: relative; }
.feature-title { min-width: 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.08; }
.feature-head::after { content: counter(feature, decimal-leading-zero); margin-left: auto; align-self: flex-start; font-family: var(--mono); font-size: 13px; color: var(--faint); }
.feature-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; max-width: 760px; }
.feature-lead { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.feature-text p:not(.feature-lead) { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.feature-visual .flow { max-width: 640px; margin: 0 auto; }
.feature-visual { margin-top: 8px; padding: 40px 32px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line-2); }

/* ---------- governance cards ---------- */
.gov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gov-card { padding: 36px; border-radius: var(--radius); background: var(--ground); border: 1px solid var(--line); display: flex; gap: 24px; }
.gov-card > div:last-child { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gov-card .h3 { font-size: 24px; }
.gov-card p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }

/* ---------- footer (light) ---------- */
.site-footer { background: var(--paper); color: var(--ink-2); padding: 80px 0 36px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer-col .eyebrow { font-size: 12px; color: var(--green-d); }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--green-d); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand span { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); }
.footer-label { display: block; color: var(--muted); font-size: 13px; }
.footer-tagline { color: var(--muted); line-height: 1.6; }
.footer-address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.social { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-2) !important; }
.social:hover { border-color: var(--green); color: var(--green-d) !important; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover { color: var(--green-d); }
/* Nav 'Contact' jumps here: briefly highlight the contact column */
#contact:target .footer-col:nth-child(2) { animation: contact-flash 1.6s ease; border-radius: 12px; }
@keyframes contact-flash { 0%, 40% { box-shadow: 0 0 0 12px var(--mint); background: var(--mint); } 100% { box-shadow: 0 0 0 12px rgba(227,242,232,0); background: transparent; } }

/* ---------- cookie consent banner ----------
   Accept and Decline are deliberately equal in size and weight:
   refusing must be as easy as accepting. */
.consent {
  position: fixed; z-index: 90; right: 24px; bottom: 24px; width: min(440px, calc(100vw - 48px));
  padding: 24px; border-radius: var(--radius); background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(15,29,22,0.45);
  display: flex; flex-direction: column; gap: 12px;
  animation: consent-in .25s ease-out;
}
.consent[hidden] { display: none; }
.consent-title { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.consent-text { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.consent-text a { text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.consent-btn { min-height: 46px; padding: 0 16px; font-size: 15px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); }
.consent-btn:hover { background: var(--ink); color: #fff; }
@keyframes consent-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1260px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 680px; }
  .hiw { max-width: 680px; }
}
@media (max-width: 1180px) {
  .nav { gap: 22px; font-size: 14px; }
}

@media (max-width: 1240px) {
  :root { --section-y: 96px; }

  /* mobile menu */
  .menu-toggle { display: inline-flex; }
  .site-header .wrap { position: relative; }
  .menu { display: none; }
  .menu-open .menu {
    display: flex; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px; background: var(--ground);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15,29,22,0.25);
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .menu-open .nav { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
  .menu-open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-2); }
  .menu-open .nav a[aria-current="page"] { box-shadow: none; color: var(--green-d); }
  .menu-open .header-actions { padding-top: 20px; }
  .brand-tagline { display: block; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hiw { max-width: 640px; }
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .split--reverse .flow { order: 2; }
  .split-copy { max-width: 640px; }
  .ps { grid-template-columns: minmax(0, 1fr); }
  .empower { flex-direction: column; gap: 48px; }
  .empower > :first-child { flex-basis: auto; max-width: 640px; }
  .domains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domains-intro { grid-column: 1 / -1; padding-right: 0; max-width: 640px; }
  .section-head, .page-hero-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head > :first-child, .section-head > p, .page-hero-row > p { flex-basis: auto; }
  .features-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { top: 80px; z-index: 5; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter); background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-2); }
  .toc .eyebrow { display: none; }
  .toc { min-width: 0; width: calc(100% + 2 * var(--gutter)); }
  .toc ol { display: flex; gap: 8px; border-left: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc a { white-space: nowrap; margin: 0; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
  .toc a.is-active { border-color: var(--green); background: var(--mint); color: var(--green-dd); }
  .feature { scroll-margin-top: 150px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-toc { position: static; }
  .faq-side { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step + .step::before { left: 51px; top: -25px; width: 2px; height: 26px; }
}

@media (max-width: 900px) {
  .gov-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line-2); }
}

@media (max-width: 720px) {
  .faq-item summary { font-size: 18px; }
  .faq-a { padding-right: 0; }
  .step { padding: 24px; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 20px; }
  :root { --section-y: 72px; --gutter: 16px; }
  .brand-tagline { display: none; }
  .hero { padding-top: 56px; }
  .page-hero { padding: 72px 0 64px; }
  .features-section { padding: 48px 0 72px; }
  .feature { padding: 40px 0; gap: 20px; }
  .feature-head .icon-tile { width: 48px; height: 48px; }
  .feature-head { flex-wrap: wrap; row-gap: 16px; }
  .feature-title { flex-basis: 100%; order: 3; font-size: 28px; }
  .feature-visual { padding: 24px 16px; }
  .topics { margin-top: 40px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .topic { grid-template-rows: auto; grid-template-columns: auto 1fr auto; align-items: center; padding: 14px 16px; row-gap: 0; }
  .topic-num { display: none; }
  .topic-title { grid-column: auto; font-size: 17px; }
  .topic > svg { grid-column: auto; }
  .benefits { grid-template-columns: minmax(0, 1fr); margin-top: 56px; }
  .benefit { padding: 22px 20px; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line-2); }
  .cards-2, .gov-grid, .domains, .two-col { grid-template-columns: minmax(0, 1fr); }
  .two-col { gap: 20px; }
  .cards-2 { margin-top: 40px; }
  .card, .gov-card, .domain, .ps-panel { padding: 24px; }
  .gov-card { flex-direction: column; gap: 16px; }
  .gov-card .h3, .domain .h3 { font-size: 21px; }
  .cta { padding: 96px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  /* hero visual stacks */
  .hiw { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hiw-mid { padding: 20px 0; }
  .hiw-mid::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .hiw-out { gap: 16px; }
  .hiw-out::before, .hiw-out > .hiw-card::before { display: none; }

  /* flow diagram stacks */
  .flow { --box-top: 0px; flex-direction: column; align-items: stretch; padding-bottom: 0; }
  .flow-inner { flex-direction: column; align-items: stretch; }
  .flow-start { width: 100%; margin-top: 0; flex-direction: row; align-items: center; }
  .flow-start .flow-card { min-height: 0; flex: 1 1 auto; }
  .flow-arrow, .flow > .flow-arrow { margin: 0; padding: 8px 0; align-self: center; transform: rotate(90deg); }
  .flow-inner > .flow-card, .flow-target, .flow-box { flex: none; }
  .flow-target { flex-direction: column; align-items: center; }
  .flow-ext { position: static; transform: none; }
  .flow-ext .flow-vline { height: 20px; background: #fff; }
  .flow-inner > .flow-card, .flow-target .flow-card { min-height: 0; }
  /* problem steps wrap */
  .ps-box { font-size: 13px; padding: 6px 4px; overflow-wrap: anywhere; }
  .ps-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .ps-solution { flex-direction: column; align-items: stretch; gap: 8px; }
  .ps-exc, .ps-owner { width: 100%; }
  .ps-link { align-self: center; transform: rotate(90deg); }
}

@media (max-width: 400px) {
  .ps-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 360px) { .topic-title { font-size: 16px; } }

/* ---------- cases: home cards + case pages ---------- */
.case-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.case-card { padding: 32px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.case-card:hover { color: var(--ink); border-color: var(--green); transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(15,29,22,0.35); }
.case-card .h3 { font-size: 24px; }
.case-text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.case-card .icon-tile { margin-bottom: 8px; }
.case-card .link-arrow { margin-top: auto; padding-top: 8px; }

.domains-more { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
.domains-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 32px; }
.domains-more li { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.domains-more strong { display: block; color: var(--ink); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.fact { padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.fact + .fact { border-left: 1px solid var(--line-2); }
.fact-figure { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.05; letter-spacing: -0.03em; color: var(--green-d); }
.fact-text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

.case { max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.case-section { display: flex; flex-direction: column; gap: 16px; }
.case-section h2 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.case-section p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.case-section .checklist li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.case-section .case-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.data-table th, .data-table td { padding: 14px 0 14px 16px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.data-table th:first-child, .data-table td:first-child { padding-left: 0; text-align: left; }
.data-table thead th { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); }
.data-table td strong { color: var(--green-d); font-weight: 600; white-space: nowrap; }
.note-card { padding: 24px 28px; border-radius: var(--radius); background: var(--mint); border: 1px solid var(--mint-line); }
.case-section .note-card p { color: var(--green-dd); }
.more-cases { padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.more-cases ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }

@media (max-width: 900px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line-2); }
  .domains-more { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 720px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .case-card { padding: 24px; }
  .case-card .h3 { font-size: 21px; }
  .fact { padding: 20px 24px; }
  .case { gap: 40px; }
  .case-section h2 { font-size: 24px; }
  .data-table { font-size: 15px; }
}
.feature-text .link-arrow { justify-self: start; }
.feature-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.feature-visual .hiw { max-width: 680px; margin: 0 auto; }
.page-hero--case .page-hero-stack .h1 { font-size: clamp(32px, 4vw + 10px, 60px); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.data-table--compare th, .data-table--compare td { text-align: left; padding: 14px 16px 14px 0; font-size: 16px; line-height: 1.5; }
.data-table--compare th:first-child, .data-table--compare td:first-child { padding-left: 0; }
.data-table--compare tbody th { width: 18%; font-weight: 600; color: var(--ink); }
.data-table--compare tbody td:nth-of-type(1) { width: 41%; color: var(--muted); }
.data-table--compare tbody td:nth-of-type(2) { width: 41%; color: var(--ink); }
.data-table--compare thead th:last-child { color: var(--green-d); }
@media (max-width: 720px) {
  .data-table--compare thead { display: none; }
  .data-table--compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .data-table--compare tbody th, .data-table--compare tbody td { display: block; width: auto !important; border: 0; padding: 2px 0; font-size: 15px; }
  .data-table--compare tbody th { margin-bottom: 4px; }
  .data-table--compare td[data-label]::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 12px; color: var(--muted); }
}
.page-links { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ---------- e-mail line under the demo buttons ---------- */
.cta-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--body); font-weight: 400; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: #D9F0E1; }
.cta-inner .cta-mail { justify-content: center; font-family: var(--body); font-weight: 400; font-size: 15px; line-height: 1.6; letter-spacing: 0; color: #D9F0E1; }
.contact-card .cta-mail { font-size: 15px; }
.cta-mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-mail a:hover { color: var(--lime); }
.faq-a a { text-decoration: underline; text-underline-offset: 3px; }
.why-block { max-width: 960px; display: flex; flex-direction: column; gap: 20px; }
.why-block .data-table { margin-top: 12px; }
.why-block > p:not(.eyebrow):not(.lead) { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
/* six menu items: tighter spacing on laptop widths, before the menu collapses at 1240px */
@media (min-width: 1241px) and (max-width: 1440px) {
  .nav { gap: 20px; }
  .menu { margin-left: 24px; }
}

/* ---------- home: "What about AI?" band (uses the .empower layout) ---------- */
.section--dark .eyebrow { color: var(--lime); }
.section--dark .link-arrow { color: var(--lime); }
.section--dark .link-arrow:hover { color: #fff; }

/* ---------- home: versions running side by side (web service) ---------- */
.versions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.versions-call { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.versions-date { font-family: var(--mono); font-size: 13px; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.versions-arrow { margin-left: 40px; }
.versions-box { width: 100%; margin-top: 0; }
.versions-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.version-card { gap: 8px; }
.version-tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--green-d); background: var(--mint); border-radius: 999px; padding: 3px 10px; }
.version-card--hit { box-shadow: 0 0 0 3px var(--lime); }
.version-card--hit .version-tag { background: var(--lime); color: var(--ink); }
.versions-note { font-family: var(--mono); font-size: 13px; color: #D9F0E1; }
.versions-claims { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 1240px) { .split--reverse .versions { order: 2; } }
@media (max-width: 480px) { .versions-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- language menu: a dropdown, so more languages fit (works without JavaScript) ---------- */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-family: var(--mono); font-size: 13px; color: var(--ink); cursor: pointer; user-select: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: var(--ink); }
.lang-menu .lang-chevron { color: var(--muted); transition: transform .15s ease; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 36px -18px rgba(15,29,22,0.35); }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 6px; color: var(--ink-2); font-size: 15px; }
.lang-list a:hover { background: var(--ground); color: var(--ink); }
.lang-list a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.lang-list a[aria-current="true"]::after { content: "✓"; color: var(--green-d); }
@media (max-width: 1240px) {
  .menu-open .lang-menu { align-self: flex-start; }
  .menu-open .lang-list { position: static; margin-top: 8px; box-shadow: none; }
}
