/* Umbiko Website — marketing site CSS.
   tokens.css wordt eerder geladen in App.razor; gebruik die --umbiko-* / --font-* variabelen. */

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: #111;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Theme: light / dark toggles page-level vars ---------- */
body[data-theme="light"] {
  --page-bg: #fbfbfd;
  --page-bg-soft: #f4f5fa;
  --ink: #0f1021;
  --ink-soft: #3a3a55;
  --ink-muted: #6b6b82;
  --panel: #ffffff;
  --panel-border: rgba(40,48,157,.10);
  --panel-border-strong: rgba(40,48,157,.22);
  --panel-shadow: 0 1px 2px rgba(16,24,64,.04), 0 12px 36px rgba(16,24,64,.06);
  --panel-shadow-hover: 0 2px 6px rgba(16,24,64,.06), 0 18px 48px rgba(16,24,64,.09);
  --brand: #28309d;
  --brand-ink: #28309d;
  --brand-ink-strong: #1a2080;
  --brand-on: #ffffff;
  --chip-bg: #f1f1f6;
  --code-bg: rgba(40,48,157,.08);
  --hero-veil: rgba(255,255,255,0.72);
  --divider: rgba(40,48,157,.08);
  --footer-bg: #0f1021;
  --footer-ink: #e7e7f3;
}
body[data-theme="dark"] {
  /* "Melky" dark mode — niet zwart-navy maar zacht slate-blauw, voor een
     warmere/minder kille feel zonder helemaal naar light te gaan. */
  --page-bg: #232542;
  --page-bg-soft: #2c2e4d;
  --ink: #ffffff;
  --ink-soft: #d8d8e6;
  --ink-muted: #9b9bb6;
  --panel: #2c2e4d;
  --panel-border: rgba(178,196,255,.18);
  --panel-border-strong: rgba(178,196,255,.36);
  --panel-shadow: 0 2px 6px rgba(0,0,0,.4), 0 18px 48px rgba(0,0,0,.28);
  --panel-shadow-hover: 0 4px 10px rgba(0,0,0,.45), 0 22px 60px rgba(0,0,0,.35);
  --brand: #8fa8ff;
  --brand-ink: #b1c2ff;
  --brand-ink-strong: #ffffff;
  --brand-on: #1a1c34;
  --chip-bg: #34365a;
  --code-bg: rgba(178,196,255,.18);
  --hero-veil: rgba(35,37,66,0.52);
  --divider: rgba(178,196,255,.14);
  --footer-bg: #1a1c34;
  --footer-ink: #d8d8e6;
}
/* Body is transparant zodat de globale .umbiko-orbs-bg (fixed achtergrond
   in MainLayout) door alle secties heen zichtbaar is. De page-bg-kleur
   blijft als fallback in .umbiko-orbs-bg zelf gedefinieerd. */
body { background: transparent; color: var(--ink); transition: color .25s ease; }

/* (.uw-orbs / .uw-orbs--hero / @keyframes uw-orbs-spin zijn vervangen door
   .umbiko-orbs-bg in components.css — overgenomen uit Umbiko.AI.Proc.) */

/* ---------- Page shell ---------- */
.uw-root {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.uw-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Top bar ---------- */
.uw-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in oklab, var(--page-bg) 78%, transparent);
  border-bottom: 1px solid var(--divider);
}
.uw-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.uw-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--brand-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.uw-brand img { height: 34px; width: auto; display: block; }
.uw-nav {
  display: inline-flex;
  gap: 2px;
  background: var(--chip-bg);
  padding: 4px;
  border-radius: 999px;
}
.uw-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.uw-nav a:hover { background: rgba(40,48,157,.08); color: var(--brand-ink); }
body[data-theme="dark"] .uw-nav a:hover { background: rgba(143,168,255,.12); color: var(--brand-ink); }
.uw-nav a.is-active { background: var(--brand); color: var(--brand-on); font-weight: 600; }

.uw-top-actions { display: inline-flex; align-items: center; gap: 8px; }
.uw-icon-btn {
  appearance: none;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--ink);
  width: 38px; height: 38px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.uw-icon-btn:hover { border-color: var(--panel-border-strong); }
.uw-lang-toggle {
  border: 1px solid var(--panel-border);
  background: var(--panel);
  border-radius: 999px;
  padding: 3px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.uw-lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
}
.uw-lang-toggle button.is-active { background: var(--brand); color: var(--brand-on); }
/* When buttons are wrapped in <form> elements, keep inline-flex flow intact */
.uw-lang-toggle form { display: contents; }

/* ---------- Buttons ---------- */
.uw-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.uw-btn--primary {
  background: var(--brand);
  color: var(--brand-on);
  box-shadow: 0 2px 6px rgba(40,48,157,.22);
}
.uw-btn--primary:hover { background: var(--brand-ink-strong); box-shadow: 0 4px 14px rgba(40,48,157,.32); }
.uw-btn--ghost {
  background: var(--panel);
  color: var(--brand-ink);
  border: 1px solid var(--panel-border);
}
.uw-btn--ghost:hover { border-color: var(--panel-border-strong); background: color-mix(in oklab, var(--panel) 88%, var(--brand) 12%); }
.uw-btn--lg { padding: 14px 26px; font-size: 15px; }
.uw-btn--sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Section scaffolding ---------- */
.uw-section {
  position: relative;
  padding: 96px 0;
}
.uw-section--tight { padding: 64px 0; }
/* uw-section--soft was een opaque tint; nu translucent zodat de globale
   orbs-achtergrond doorkomt. Heel subtiel zodat lange-tekst sections nog
   wat onderscheid hebben t.o.v. de hero. */
.uw-section--soft {
    background: color-mix(in oklab, var(--panel) 40%, transparent);
    backdrop-filter: blur(2px);
}

/* .uw-eyebrow / .uw-eyebrow__dot zijn vervangen door <UEyebrow />
   (Components/UI/UEyebrow.razor + .u-eyebrow in components.css). */

.uw-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.uw-h1 em {
  color: var(--brand-ink);
  font-style: normal;
}
.uw-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}

/* Ruimte tussen eyebrow-pill en de titel die er direct op volgt. */
.u-eyebrow + .uw-h1,
.u-eyebrow + .uw-h2,
.u-eyebrow + h1,
.u-eyebrow + h2 {
  margin-top: 24px;
}
.uw-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 8px;
}
.uw-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.uw-body { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.uw-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.uw-section__head p { max-width: 56ch; margin: 0; color: var(--ink-soft); font-size: 17px; }

/*
  Optionele "outro" onderaan een sectie. Wordt gevuld met body-tekst en/of
  een "Lees meer →"-knop uit /admin/cms/pages overrides. Pas zichtbaar als
  admin het invult — anders renderen de sections deze container helemaal niet.

  Centered layout zodat zowel een korte paragraaf als een ghost-button er
  comfortabel onder elkaar staan; max-width voorkomt ellenlange regels op
  brede schermen.
*/
.uw-section__outro {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.uw-section__outro .uw-prose { max-width: 64ch; }

/* Optionele body-paragraaf in de hero (sectie-id "hero" → Body-veld). */
.hero__body {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 15px;
}

/* ---------- Hero ---------- */
.uw-hero {
  position: relative;
  padding: 80px 0 56px;
  overflow: hidden;
  isolation: isolate;
}
.uw-hero__orbs-veil {
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
  z-index: 1;
}
.uw-hero > .uw-container { position: relative; z-index: 2; }
.uw-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.uw-hero__actions { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.uw-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 13px;
}
.uw-hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* Hero "app-peek" preview card */
.uw-appcard {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  box-shadow: var(--panel-shadow-hover);
  overflow: hidden;
  transform: rotate(-0.3deg);
}
.uw-appcard__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--divider);
  background: color-mix(in oklab, var(--panel) 92%, var(--brand) 8%);
}
.uw-appcard__dots { display: inline-flex; gap: 6px; }
.uw-appcard__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--divider); }
.uw-appcard__url {
  flex: 1;
  background: var(--page-bg);
  border: 1px solid var(--divider);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.uw-appcard__body { padding: 18px 20px 22px; }

/* Mini app-peek components */
.uw-peek__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.uw-peek__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--brand-ink); }
.uw-peek__chips { display: flex; gap: 6px; }
.uw-peek__chip {
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  border: 1px solid var(--panel-border); color: var(--ink-muted); background: transparent;
}
.uw-peek__chip.is-active { background: var(--brand); color: var(--brand-on); border-color: var(--brand); }
.uw-peek__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.uw-peek__stat {
  background: var(--page-bg-soft);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 10px 12px;
}
.uw-peek__stat-label { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.uw-peek__stat-value { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--brand-ink); margin-top: 2px; line-height: 1; }
.uw-peek__row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--divider);
  margin-bottom: 6px;
  background: color-mix(in oklab, var(--panel) 94%, var(--brand) 6%);
}
.uw-peek__row__title { font-weight: 600; font-size: 13px; color: var(--ink); }
.uw-peek__row__meta { font-size: 11px; color: var(--ink-muted); font-family: var(--font-mono); }
.uw-peek__row__status {
  margin-left: auto;
  padding: 2px 10px; font-size: 10px; font-weight: 700; border-radius: 999px;
  background: rgba(13,193,157,.16); color: #0a8f74;
  letter-spacing: 0.06em; text-transform: uppercase;
}
body[data-theme="dark"] .uw-peek__row__status { background: rgba(13,193,157,.24); color: #5fe8c7; }
.uw-peek__row__status.is-review { background: rgba(247,147,26,.2); color: #a05a00; }
body[data-theme="dark"] .uw-peek__row__status.is-review { background: rgba(247,147,26,.25); color: #ffb970; }

/* === handoff-additions: hero-mock dashboard cards === */
/* (eyebrow-styling is volledig verhuisd naar components.css → .u-eyebrow) */
/* Inline form wrapper for theme toggle button — keeps flex alignment intact */
.uw-form-inline { display: inline; }
/* Row icon: brand-ink color, fixed size to match JSX inline style */
.uw-peek__row__icon { color: var(--brand-ink); font-size: 16px; flex-shrink: 0; }
/* Last row: remove bottom margin so appcard__body padding alone closes it */
.uw-peek__row--last { margin-bottom: 0; }
/* Risk KPI value: red accent (matches JSX color:#c8201e) */
.uw-peek__stat-value--risk { color: #c8201e; }
body[data-theme="dark"] .uw-peek__stat-value--risk { color: #ff8e8c; }
/* Login button: keep ghost pill style, icon alignment already handled by uw-btn gap */
.uw-btn--login { gap: 6px; }
/* === end handoff-additions === */

/* ---------- How it works ---------- */
.uw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.uw-step {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 24px 22px 26px;
  box-shadow: var(--panel-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.uw-step:hover { transform: translateY(-2px); box-shadow: var(--panel-shadow-hover); border-color: var(--panel-border-strong); }
.uw-step__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.uw-step__num::after { content: ""; flex: 1; height: 1px; background: var(--divider); }
.uw-step__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--code-bg);
  color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.uw-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em; }
.uw-step p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Features ---------- */
.uw-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.uw-feature {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 26px 26px 28px;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.uw-feature:hover { transform: translateY(-2px); box-shadow: var(--panel-shadow-hover); border-color: var(--panel-border-strong); }
.uw-feature--wide { grid-column: span 4; }
.uw-feature--narrow { grid-column: span 2; }
.uw-feature--half { grid-column: span 3; }
.uw-feature__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.uw-feature__icon--blue   { background: rgba(40,48,157,.12);  color: var(--brand-ink); }
.uw-feature__icon--cyan   { background: rgba(95,166,240,.16); color: #2d7ecb; }
body[data-theme="dark"] .uw-feature__icon--cyan { color: #9ec7f6; }
.uw-feature__icon--green  { background: rgba(13,193,157,.15); color: #0a8f74; }
body[data-theme="dark"] .uw-feature__icon--green { color: #5fe8c7; }
.uw-feature__icon--orange { background: rgba(247,147,26,.15); color: #a05a00; }
body[data-theme="dark"] .uw-feature__icon--orange { color: #ffb970; }
.uw-feature__icon--red    { background: rgba(255,61,59,.14);  color: #c8201e; }
body[data-theme="dark"] .uw-feature__icon--red { color: #ff8e8c; }
.uw-feature__icon--yellow { background: rgba(255,219,4,.22);  color: #8a6d00; }
body[data-theme="dark"] .uw-feature__icon--yellow { color: #ffe570; }
.uw-feature__icon--purple { background: rgba(139,92,246,.16); color: #6d28d9; }
body[data-theme="dark"] .uw-feature__icon--purple { color: #c4b5fd; }
.uw-feature__icon--slate  { background: rgba(100,116,139,.16); color: #475569; }
body[data-theme="dark"] .uw-feature__icon--slate { color: #cbd5e1; }
.uw-feature h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.01em; }
.uw-feature p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.uw-feature__viz {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--divider);
}

/* ---------- Features filter (chips + uniform grid) ---------- */
/* Pure CSS+JS — geen Blazor-circuit. JS in wwwroot/js/features-filter.js
   toggled .is-active op chips en .is-hidden op cards. */
.uw-features-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.uw-chip {
  appearance: none;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.uw-chip:hover { border-color: var(--panel-border-strong); transform: translateY(-1px); }
.uw-chip:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }

/* Inactieve chip-kleurvariant: alleen een subtiele linker dot in de
   categorie-kleur, body blijft neutraal zodat het niet als visueel ruis
   overkomt wanneer alle 6 chips naast elkaar staan. */
.uw-chip[data-filter]:not([data-filter="all"])::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: 1px;
  background: var(--brand-ink);
}
.uw-chip--blue::before   { background: var(--brand-ink) !important; }
.uw-chip--cyan::before   { background: #5fa6f0 !important; }
.uw-chip--green::before  { background: #0dc19d !important; }
.uw-chip--orange::before { background: #f7931a !important; }
.uw-chip--red::before    { background: #ff3d3b !important; }
.uw-chip--yellow::before { background: #ffd700 !important; }
.uw-chip--purple::before { background: #8b5cf6 !important; }
.uw-chip--slate::before  { background: #64748b !important; }

/* Actieve chip krijgt category-kleur als achtergrond. */
.uw-chip.is-active {
  background: var(--brand-ink);
  border-color: var(--brand-ink);
  color: #fff;
}
.uw-chip.is-active::before { background: #fff !important; }
.uw-chip--blue.is-active   { background: var(--brand-ink); border-color: var(--brand-ink); }
.uw-chip--cyan.is-active   { background: #5fa6f0; border-color: #5fa6f0; color: #08284c; }
.uw-chip--green.is-active  { background: #0dc19d; border-color: #0dc19d; color: #03362c; }
.uw-chip--orange.is-active { background: #f7931a; border-color: #f7931a; color: #3a2400; }
.uw-chip--red.is-active    { background: #ff3d3b; border-color: #ff3d3b; color: #fff; }
.uw-chip--yellow.is-active { background: #ffd700; border-color: #ffd700; color: #3a2e00; }
.uw-chip--purple.is-active { background: #8b5cf6; border-color: #8b5cf6; color: #fff; }
.uw-chip--slate.is-active  { background: #64748b; border-color: #64748b; color: #fff; }

/* Uniform-grid: 3 koloms ongeacht size-class, gebruikt op /features
   wanneer filter actief is — voorkomt dat het wide/narrow/half-pattern
   na verbergen van cards rommelig overhoudt. */
.uw-features.uw-features--uniform { grid-template-columns: repeat(3, 1fr); }
.uw-features--uniform .uw-feature--wide,
.uw-features--uniform .uw-feature--narrow,
.uw-features--uniform .uw-feature--half { grid-column: span 1; }

.uw-feature.is-hidden { display: none; }

/* Tiny viz: compare mini */
.uw-vizrow { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center; padding: 6px 0; font-size: 12px; color: var(--ink-soft); font-family: var(--font-mono); }
.uw-vizrow + .uw-vizrow { border-top: 1px solid var(--divider); }
.uw-vizrow b { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.uw-vizrow__delta { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.uw-vizrow__delta.is-down { color: #0a8f74; background: rgba(13,193,157,.15); }
.uw-vizrow__delta.is-up { color: #c8201e; background: rgba(255,61,59,.12); }

/* Tiny viz: risk chips */
.uw-risk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.uw-risk span {
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--panel-border);
  color: var(--ink-soft); background: var(--panel);
}
.uw-risk span.is-high { background: rgba(255,61,59,.12); color: #c8201e; border-color: transparent; }
.uw-risk span.is-med { background: rgba(247,147,26,.15); color: #a05a00; border-color: transparent; }
.uw-risk span.is-low { background: rgba(13,193,157,.14); color: #0a8f74; border-color: transparent; }
body[data-theme="dark"] .uw-risk span.is-high { color: #ff8e8c; }
body[data-theme="dark"] .uw-risk span.is-med { color: #ffb970; }
body[data-theme="dark"] .uw-risk span.is-low { color: #5fe8c7; }

/* Tiny viz: chat bubble */
.uw-chat { display: flex; flex-direction: column; gap: 8px; }
.uw-chat__bubble {
  font-size: 12px; padding: 8px 12px; border-radius: 12px;
  max-width: 92%; line-height: 1.5;
}
.uw-chat__bubble--user { align-self: flex-end; background: var(--brand); color: var(--brand-on); border-bottom-right-radius: 4px; }
.uw-chat__bubble--ai { align-self: flex-start; background: var(--chip-bg); color: var(--ink); border-bottom-left-radius: 4px; }
.uw-chat__ref { font-family: var(--font-mono); font-size: 10px; padding: 1px 6px; background: rgba(40,48,157,.1); color: var(--brand-ink); border-radius: 999px; margin-left: 4px; }

/* ---------- Prices ---------- */
.uw-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.uw-price {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 30px 28px 32px;
  box-shadow: var(--panel-shadow);
  position: relative;
}
.uw-price.is-featured {
  border: 1px solid var(--brand);
  box-shadow: var(--panel-shadow-hover), 0 0 0 4px rgba(40,48,157,.08);
}
body[data-theme="dark"] .uw-price.is-featured { box-shadow: var(--panel-shadow-hover), 0 0 0 4px rgba(143,168,255,.15); }
.uw-price__badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--brand); color: var(--brand-on);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.uw-price__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--brand-ink); letter-spacing: -0.01em; margin: 0 0 4px; }
.uw-price__tag { font-size: 14px; color: var(--ink-muted); margin: 0 0 20px; }
.uw-price__amount {
  font-family: var(--font-display); font-weight: 700;
  font-size: 46px; line-height: 1; color: var(--ink);
  letter-spacing: -0.02em;
  display: flex; align-items: baseline; gap: 6px;
}
.uw-price__amount small { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.uw-price__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 12px 0 22px; }
.uw-price ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 10px; }
.uw-price li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.uw-price li i { color: var(--umbiko-green); margin-top: 2px; font-size: 14px; flex-shrink: 0; }
.uw-price .uw-btn { margin-top: auto; justify-content: center; }

/* Mini trust-strip onder de Starter-feature-lijst — communiceert de
   self-serve-aard ("geen creditcard") zonder extra badge op de kaart-header.
   Twee items, gescheiden door margin/wrap, niet zwaar — moet bij blik op
   één regel passen. */
.uw-price__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -10px 0 18px;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}
.uw-price__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.uw-price__trust .bi { font-size: 13px; color: var(--umbiko-green); }

/* ---------- Blog ---------- */
.uw-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.uw-post {
  display: flex; flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.uw-post:hover { transform: translateY(-2px); box-shadow: var(--panel-shadow-hover); border-color: var(--panel-border-strong); }
.uw-post__thumb {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--divider);
}
.uw-post__thumb svg { width: 100%; height: 100%; display: block; }
.uw-post__body { padding: 20px 22px 22px; }
.uw-post__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-ink);
  text-transform: uppercase;
  margin: 0 0 8px;
  display: inline-block;
}
.uw-post h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 8px; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.uw-post p { margin: 0 0 14px; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.uw-post__meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.04em; }

/* ---------- Contact ---------- */
.uw-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.uw-contact__info { padding-right: 24px; }
.uw-contact__facts { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.uw-contact__fact { display: flex; gap: 14px; align-items: flex-start; }
.uw-contact__fact i {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--code-bg); color: var(--brand-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.uw-contact__fact-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.uw-contact__fact-value { font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.4; }

.uw-form {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 30px 30px 32px;
  box-shadow: var(--panel-shadow);
}
.uw-form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.uw-form__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.uw-form__row--split > div { display: flex; flex-direction: column; gap: 6px; }
.uw-form label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; }
.uw-form input, .uw-form textarea, .uw-form select {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--page-bg-soft);
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.uw-form input:focus, .uw-form textarea:focus, .uw-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(40,48,157,.12);
}
body[data-theme="dark"] .uw-form input:focus,
body[data-theme="dark"] .uw-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(143,168,255,.16);
}
.uw-form textarea { min-height: 120px; resize: vertical; }
.uw-form__submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.uw-form__hint { font-size: 12px; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.uw-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  position: relative;
  overflow: hidden;
}
.uw-footer::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(40vmax 40vmax at 20% 30%, rgba(40,48,157,.45), transparent 60%),
    radial-gradient(40vmax 40vmax at 80% 70%, rgba(13,193,157,.22), transparent 60%);
  filter: blur(90px);
  z-index: 0;
  animation: uw-orbs-spin 120s linear infinite;
}
.uw-footer > .uw-container { position: relative; z-index: 1; }
.uw-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 48px;
}
.uw-footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.uw-footer__brand img { height: 38px; }
.uw-footer__about { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.55; margin: 16px 0 20px; max-width: 40ch; }
.uw-footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.uw-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.uw-footer a { color: rgba(255,255,255,.7); text-decoration: none; font-size: 14px; transition: color .15s ease; }
.uw-footer a:hover { color: #fff; }
.uw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
}
.uw-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  font-size: 16px;
  transition: background .15s ease, color .15s ease;
}
.uw-footer__social:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- Blog page ---------- */
.uw-blog-page__hero {
  padding: 80px 0 24px;
  position: relative;
  z-index: 1;
}
.uw-article {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}
.uw-article__inner { max-width: 760px; margin: 0 auto; }
.uw-article__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-muted); text-decoration: none;
  font-size: 14px; font-weight: 500;
}
.uw-article__back:hover { color: var(--brand); }
.uw-article__meta {
  display: flex; gap: 8px; align-items: center;
  margin-top: 20px; color: var(--ink-muted); font-size: 14px;
}
.uw-article__hero { padding: 32px 0; }
.uw-article__hero-img {
  max-width: 980px; margin: 0 auto;
  height: 360px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(16,24,64,.18);
}
.uw-article__hero-img svg { width: 100%; height: 100%; display: block; }
.uw-article__body { max-width: 720px; margin: 0 auto; padding-bottom: 80px; }
.uw-article__lede {
  font-size: 20px; line-height: 1.55; color: var(--ink);
  font-weight: 500; padding: 24px 0;
  border-bottom: 1px solid var(--divider); margin-bottom: 32px;
  text-wrap: pretty;
}
.uw-article__cta {
  margin-top: 56px; padding: 36px;
  background: color-mix(in oklab, var(--panel) 88%, var(--brand) 12%);
  border: 1px solid var(--divider); border-radius: 20px;
  text-align: center;
}
.uw-article__cta h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 8px; color: var(--brand-ink); }
.uw-article__cta p { color: var(--ink-muted); margin: 0 0 20px; }
@media (max-width: 720px) {
  .uw-article__hero-img { height: 220px; border-radius: 12px; }
  .uw-article__lede { font-size: 17px; }
}

/* ---------- Blog detail modal ---------- */
.uw-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(8, 10, 30, .55);
  backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 24px; overflow-y: auto;
  animation: uw-modal-bg .2s ease;
}
@keyframes uw-modal-bg { from { opacity: 0; } to { opacity: 1; } }
.uw-modal__panel {
  background: var(--panel);
  border: 1px solid var(--panel-border-strong);
  border-radius: 24px; overflow: hidden;
  width: 100%; max-width: 820px;
  box-shadow: 0 30px 80px rgba(8, 10, 30, .4);
  position: relative;
  animation: uw-modal-in .25s ease;
}
@keyframes uw-modal-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.uw-modal__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: #1a1c4a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.uw-modal__close:hover { background: #fff; transform: scale(1.05); }
.uw-modal__hero {
  height: 240px; overflow: hidden;
}
.uw-modal__hero svg { width: 100%; height: 100%; display: block; }
.uw-modal__body { padding: 36px 48px 48px; }
.uw-modal__footer {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--divider);
  display: flex; justify-content: flex-end;
}
.uw-prose { color: var(--ink); line-height: 1.7; font-size: 16px; }
.uw-prose p { margin: 0 0 16px; text-wrap: pretty; }
.uw-prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 28px 0 12px; color: var(--brand-ink); }
.uw-prose h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 22px 0 10px; color: var(--brand-ink); }
.uw-prose ul { margin: 0 0 16px; padding-left: 22px; }
.uw-prose li { margin-bottom: 8px; }
@media (max-width: 720px) {
  .uw-modal { padding: 0; }
  .uw-modal__panel { border-radius: 0; min-height: 100vh; max-width: 100%; }
  .uw-modal__body { padding: 24px 20px 32px; }
  .uw-modal__hero { height: 180px; }
}

/* ---------- Chatbot ---------- */
.uw-chatbot__bubble {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--brand); color: var(--brand-on);
  border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(40,48,157,.32), 0 0 0 6px color-mix(in oklab, var(--brand) 22%, transparent);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.uw-chatbot__bubble:hover { transform: scale(1.06); }

/* Attention-pulse — alleen vóór eerste interactie. 3 iteraties en stopt vanzelf. */
.uw-chatbot__bubble.is-pulsing {
  animation: uw-chat-pulse 2.4s ease-out 3;
}
@keyframes uw-chat-pulse {
  0%   { box-shadow: 0 6px 18px rgba(40,48,157,.32), 0 0 0 0   color-mix(in oklab, var(--brand) 50%, transparent); transform: scale(1); }
  50%  { box-shadow: 0 6px 18px rgba(40,48,157,.32), 0 0 0 18px color-mix(in oklab, var(--brand) 0%,  transparent); transform: scale(1.06); }
  100% { box-shadow: 0 6px 18px rgba(40,48,157,.32), 0 0 0 6px  color-mix(in oklab, var(--brand) 22%, transparent); transform: scale(1); }
}

/* Teaser-tooltip — verschijnt naast de bubble. Auto-dismiss via component. */
.uw-chatbot__teaser {
  position: fixed; right: 96px; bottom: 38px; z-index: 201;
  appearance: none; border: 0; cursor: pointer;
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--panel-border-strong);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: inherit; font-size: 13.5px; font-weight: 500;
  box-shadow: 0 10px 28px rgba(16,24,64,.18), 0 2px 6px rgba(16,24,64,.06);
  max-width: 220px; line-height: 1.35; text-align: left;
  animation: uw-teaser-in .35s cubic-bezier(.2,.9,.3,1.2) both;
}
.uw-chatbot__teaser::after {
  content: ""; position: absolute;
  right: -7px; bottom: 18px;
  width: 12px; height: 12px;
  background: var(--panel);
  border-right: 1px solid var(--panel-border-strong);
  border-top: 1px solid var(--panel-border-strong);
  transform: rotate(45deg);
}
.uw-chatbot__teaser:hover { transform: translateY(-1px); }
@keyframes uw-teaser-in {
  from { opacity: 0; transform: translateX(8px) scale(.96); }
  to   { opacity: 1; transform: translateX(0)   scale(1); }
}

/* Mobiel: teaser kan ruimte tekortkomen — schuif verder weg van de bubble en
   verklein. Op heel kleine schermen verbergen we 'm liever dan dat hij overlapt. */
@media (max-width: 480px) {
  .uw-chatbot__teaser { right: 88px; bottom: 32px; font-size: 12.5px; padding: 8px 12px; max-width: 180px; }
}
@media (max-width: 360px) {
  .uw-chatbot__teaser { display: none; }
}

.uw-chatbot {
  position: fixed; right: 24px; bottom: 96px; z-index: 200;
  width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 140px);
  background: var(--panel); border: 1px solid var(--panel-border-strong);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(16,24,64,.18), 0 4px 12px rgba(16,24,64,.08);
  display: flex; flex-direction: column;
  animation: uw-chat-in .25s ease;
}
@keyframes uw-chat-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.uw-chatbot__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--divider);
  background: color-mix(in oklab, var(--panel) 92%, var(--brand) 8%);
}
.uw-chatbot__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-on); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.uw-chatbot__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.uw-chatbot__status { font-size: 11px; color: var(--ink-muted); display: inline-flex; align-items: center; gap: 6px; }
.uw-chatbot__status span { width: 7px; height: 7px; border-radius: 50%; background: var(--umbiko-green); box-shadow: 0 0 0 2px rgba(13,193,157,.25); }
.uw-chatbot__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--page-bg); }
.uw-chatbot__msg { padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; max-width: 88%; }
.uw-chatbot__msg--user { align-self: flex-end; background: var(--brand); color: var(--brand-on); border-bottom-right-radius: 4px; }
.uw-chatbot__msg--bot { align-self: flex-start; background: var(--panel); border: 1px solid var(--divider); color: var(--ink); border-bottom-left-radius: 4px; }
.uw-chatbot__src { margin-top: 6px; font-size: 11px; color: var(--ink-muted); font-style: italic; }
.uw-chatbot__typing { display: flex; gap: 4px; padding: 14px; }
.uw-chatbot__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-muted); animation: uw-bounce 1.2s infinite; }
.uw-chatbot__typing span:nth-child(2) { animation-delay: .15s; }
.uw-chatbot__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes uw-bounce { 0%,60%,100% { transform: translateY(0); opacity:.4; } 30% { transform: translateY(-4px); opacity:1; } }
.uw-chatbot__suggestions { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.uw-chatbot__suggestions button { appearance:none; border:1px solid var(--divider); background:var(--panel); color:var(--brand-ink); padding:8px 12px; border-radius:10px; cursor:pointer; font-family:inherit; font-size:13px; text-align:left; }
.uw-chatbot__suggestions button:hover { border-color: var(--brand); background: color-mix(in oklab, var(--panel) 90%, var(--brand) 10%); }
.uw-chatbot__input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--divider); background: var(--panel); }
.uw-chatbot__input input { flex: 1; border: 1px solid var(--divider); border-radius: 999px; padding: 10px 14px; background: var(--page-bg-soft); color: var(--ink); font-family: inherit; font-size: 13.5px; outline: none; }
.uw-chatbot__input input:focus { border-color: var(--brand); }
.uw-chatbot__input button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--brand); color: var(--brand-on); cursor: pointer; font-size: 16px; flex-shrink: 0; }
.uw-chatbot__input button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Tweaks panel ---------- */
.uw-tweaks {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--panel-border-strong);
  border-radius: 16px;
  box-shadow: var(--panel-shadow-hover);
  padding: 16px 16px 14px;
  width: 280px;
  font-size: 13px;
  display: none;
}
.uw-tweaks.is-open { display: block; }
.uw-tweaks h4 { margin: 0 0 12px; font-family: var(--font-display); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-ink); }
.uw-tweaks__group { margin-bottom: 14px; }
.uw-tweaks__group:last-child { margin-bottom: 0; }
.uw-tweaks__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.uw-tweaks__options { display: flex; gap: 6px; flex-wrap: wrap; }
.uw-tweaks__options button {
  appearance: none; border: 1px solid var(--panel-border); background: transparent;
  color: var(--ink); padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font-size: 12px; font-family: var(--font-sans);
}
.uw-tweaks__options button.is-active { background: var(--brand); color: var(--brand-on); border-color: var(--brand); }

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .uw-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .uw-steps { grid-template-columns: 1fr 1fr; }
  .uw-features { grid-template-columns: 1fr 1fr; }
  .uw-features.uw-features--uniform { grid-template-columns: 1fr 1fr; }
  .uw-feature--wide, .uw-feature--narrow, .uw-feature--half { grid-column: span 2; }
  .uw-prices { grid-template-columns: 1fr; }
  .uw-blog-grid { grid-template-columns: 1fr 1fr; }
  .uw-contact { grid-template-columns: 1fr; }
  .uw-footer__top { grid-template-columns: 1fr 1fr; }
  .uw-nav { display: none; }

  /* featured badge: kaart heeft ruimte nodig voor de absolute badge */
  .uw-price.is-featured { margin-top: 14px; }

  /* contact info: geen rechter padding nodig in gestapelde layout */
  .uw-contact__info { padding-right: 0; }

  /* section head: smal scherm altijd in kolom zodat lead niet naast titel zweeft */
  .uw-section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .uw-section__head p { max-width: 100%; }
}

@media (max-width: 720px) {
  /* Section-padding eerder terugschalen — 720px is typisch small tablet/grote telefoon */
  .uw-section { padding: 72px 0; }
  .uw-section--tight { padding: 48px 0; }

  /* Artikel CTA: minder padding op klein scherm */
  .uw-article__cta { padding: 24px; }
  .uw-article__body { padding-bottom: 48px; }
}

@media (max-width: 560px) {
  .uw-steps { grid-template-columns: 1fr; }
  .uw-features { grid-template-columns: 1fr; }
  .uw-features.uw-features--uniform { grid-template-columns: 1fr; }
  .uw-feature--wide, .uw-feature--narrow, .uw-feature--half { grid-column: span 1; }
  .uw-blog-grid { grid-template-columns: 1fr; }
  .uw-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .uw-section { padding: 56px 0; }
  .uw-section--tight { padding: 40px 0; }
  .uw-hero { padding: 48px 0 40px; }
  .uw-container { padding: 0 20px; }

  /* Hero: actions stapelen verticaal op iPhone */
  .uw-hero__actions { flex-direction: column; align-items: flex-start; }
  .uw-hero__actions .uw-btn { width: 100%; justify-content: center; }

  /* Hero meta: minder gap, kleiner font */
  .uw-hero__meta { gap: 10px; font-size: 12px; flex-wrap: wrap; }

  /* Form split-row: stack to 1 column op kleine schermen.
     Verticale gap gelijk aan de overige form-row spacing. */
  .uw-form__row--split { grid-template-columns: 1fr; gap: 18px 0; }

  /* Form submit row: stack button + hint verticaal */
  .uw-form__submit { flex-direction: column; align-items: stretch; gap: 10px; }
  .uw-form__submit .uw-btn { width: 100%; justify-content: center; }

  /* Prices: kaart-padding kleiner */
  .uw-price { padding: 24px 20px 26px; }
  .uw-price.is-featured { margin-top: 16px; }

  /* Steps: minder padding */
  .uw-step { padding: 20px 18px 22px; }

  /* Modal body al gedekt door 720px-rule; section head al gedekt */
}

/* Smooth scroll on anchor clicks */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

/* ============================================================
   ROI calculator section — RoiSection.razor (compact rewrite)
   ============================================================ */

/* Eén kaart bevat alles: inputs (links) + visualisatie (rechts). */
.uw-roi__panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--panel-shadow);
}

.uw-roi__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.4fr);
  gap: 36px;
  align-items: start;
}

@media (max-width: 880px) {
  .uw-roi__grid { grid-template-columns: 1fr; gap: 24px; }
  .uw-roi__panel { padding: 22px; }
}

/* ── Inputs (links) ─────────────────────────────────────────── */
.uw-roi__field { margin-bottom: 16px; }
.uw-roi__field:last-child { margin-bottom: 0; }
.uw-roi__field > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.uw-roi__field-label-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.uw-roi__input-wrap { position: relative; }
.uw-roi__symbol {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-muted); font-weight: 700; font-size: 15px;
  pointer-events: none;
}
.uw-roi__input-wrap input {
  width: 100%; padding: 12px 14px 12px 36px;
  font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--divider); border-radius: 10px;
  background: var(--page-bg-soft); color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.uw-roi__input-wrap input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(40,48,157,.12);
}

.uw-roi__pill {
  background: var(--brand); color: var(--brand-on);
  padding: 3px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
}

.uw-roi__field input[type="range"] {
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--chip-bg); appearance: none; cursor: pointer;
}
.uw-roi__field input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); cursor: pointer;
  box-shadow: 0 2px 6px rgba(40,48,157,.35);
}
.uw-roi__field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; border: 0;
  background: var(--brand); cursor: pointer;
  box-shadow: 0 2px 6px rgba(40,48,157,.35);
}

/* ── Visualisatie (rechts) ──────────────────────────────────── */
.uw-roi__viz { display: flex; flex-direction: column; gap: 22px; }

/* Hero: groot besparingsbedrag + ROI-badge in één regel. */
.uw-roi__hero {
  background: linear-gradient(135deg, var(--brand) 0%, color-mix(in oklab, var(--brand) 75%, #6e76ff) 100%);
  color: var(--brand-on);
  border-radius: 14px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
/* Subtiele decoratie achter het cijfer — ronde glow rechtsboven. */
.uw-roi__hero::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.uw-roi__hero-label {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  opacity: .85;
}
.uw-roi__hero-value {
  grid-column: 1; grid-row: 2;
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700; line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.uw-roi__hero-badge {
  grid-column: 2; grid-row: 1 / span 2;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Diagram: split-bar die de jaarschade visualiseert. */
.uw-roi__diagram-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 8px;
}
.uw-roi__diagram-label {
  font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.uw-roi__diagram-total {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.uw-roi__bar {
  display: flex;
  height: 36px; border-radius: 12px; overflow: hidden;
  background: var(--chip-bg);
  border: 1px solid var(--divider);
}
.uw-roi__bar-saved,
.uw-roi__bar-rest {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 14px;
  font-size: 12.5px; font-weight: 700;
  font-family: var(--font-mono);
  white-space: nowrap; overflow: hidden;
  transition: width .35s cubic-bezier(.2,.9,.3,1.05);
  font-variant-numeric: tabular-nums;
}
.uw-roi__bar-saved {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  color: #062e1f;
}
.uw-roi__bar-rest {
  background: color-mix(in oklab, var(--ink-muted) 28%, transparent);
  color: var(--ink-muted);
  justify-content: flex-end;
}
[data-theme="dark"] .uw-roi__bar-saved { color: #032117; }

/* Fineprint onder de bar: bron + 1-op-N zin. */
.uw-roi__fineprint {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  padding: 12px 14px;
  background: rgba(40,48,157,.05);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
}
.uw-roi__fineprint strong {
  color: var(--brand-ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
[data-theme="dark"] .uw-roi__fineprint { background: rgba(143,168,255,.08); }

/* Inline CTA onder visualisatie. */
.uw-roi__cta-inline {
  display: flex; justify-content: flex-start;
  margin-top: 4px;
}

@media (max-width: 880px) {
  .uw-roi__cta-inline { justify-content: stretch; }
  .uw-roi__cta-inline .uw-btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .uw-roi__hero-value { font-size: 32px; }
  .uw-roi__hero-badge { font-size: 15px; padding: 6px 10px; }
  .uw-roi__bar { height: 32px; }
  .uw-roi__bar-saved, .uw-roi__bar-rest { font-size: 11.5px; padding: 0 10px; }
}

/* ============================================================
   Standalone marketing-pages — /how-it-works, /features,
   /roi-calculator, /pricing, /contact

   Deze styles ondersteunen de "diepgang"-secties op de losse
   marketing-pagina's. De pagina's zelf zijn dunne shells: ze
   hergebruiken de homepage-Sections en hangen er een paar extra
   blokken aan.
   ============================================================ */

/* Diepgang-grid: 3-koloms cards onder een uw-section__head. Krimpen
   netjes naar 1 kolom op tablet/mobile. */
.uw-deep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.uw-deep-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.uw-deep-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
  color: var(--brand-ink);
}
.uw-deep-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
}
.uw-deep-card__icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft, rgba(95, 166, 240, .12));
  color: var(--accent, #5fa6f0);
  font-size: 20px;
}
.uw-deep-card__icon--warn {
  background: rgba(229, 99, 99, .10);
  color: #d05c5c;
}
.uw-deep-card__link {
  margin-top: 4px;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
  font-size: 14px;
}
.uw-deep-card__link:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .uw-deep-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .uw-deep-grid { grid-template-columns: 1fr; }
}

/* Vergelijkings-tabel op /features. Geen <table> omdat we de mobile-
   reflow simpel willen houden — gewoon flex/grid en op smal viewport
   stacked rows. */
.uw-compare-table {
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
}
.uw-compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--divider);
  font-size: 15px;
  color: var(--ink);
}
.uw-compare-row:last-child { border-bottom: 0; }
.uw-compare-row > div:first-child { font-weight: 600; color: var(--brand-ink); }
.uw-compare-row > div:nth-child(2) { color: var(--ink-soft); }
.uw-compare-row--head {
  background: var(--surface-2, rgba(8, 10, 30, .04));
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  color: var(--ink-soft);
}
.uw-compare-row--head > div:first-child { color: var(--ink-soft); }

@media (max-width: 720px) {
  .uw-compare-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .uw-compare-row > div:nth-child(2)::before { content: "Manueel: "; font-weight: 600; }
  .uw-compare-row > div:nth-child(3)::before { content: "Met Umbiko: "; font-weight: 600; }
  .uw-compare-row--head { display: none; }
}

/* FAQ op /pricing. Pure <details>/<summary> — geen JS, geen circuit. */
.uw-faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
.uw-faq__item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.uw-faq__item > summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--brand-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.uw-faq__item > summary::-webkit-details-marker { display: none; }
.uw-faq__item > summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform .2s;
}
.uw-faq__item[open] > summary::after { content: "−"; }
.uw-faq__item > p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15px;
}

/* Eind-CTA op de losse pagina's. Compactere variant van Hero — twee
   knoppen, gecentreerd, op de --hero-bg-soft achtergrond zodat 'ie
   visueel afsluit. */
.uw-page-cta { padding: 64px 0; }
.uw-page-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.uw-page-cta__inner .uw-h2 { margin: 0; }
.uw-page-cta__lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}
.uw-page-cta__actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 560px) {
  .uw-page-cta__actions { flex-direction: column; align-items: stretch; width: 100%; }
  .uw-page-cta__actions .uw-btn { width: 100%; justify-content: center; }
}
