/* Public site (everything under src/site/), since 8 October 2026.
   Built on tokens.css only, so both themes and the contrast rules of the
   design system carry over. The app, the check and /beheer keep style.css.

   The look came from a demo page Otto approved: a deep blue hero band in both
   themes, cards that sit on its edge, wide white and tinted sections, and
   content that slides in once as it scrolls into view (public/js/site.js). */

:root {
  /* A critically damped feel for scroll reveals: fast start, long soft
     settle, no overshoot. Longer than UI motion on purpose: this is the page
     arriving, not feedback on a click. */
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-x: 56px;
  --reveal-y: 28px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-md);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; color: var(--text); }
p { margin: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: var(--focus-ring); outline-offset: var(--focus-offset);
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.hidden { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--btn-radius);
  border: 1px solid var(--btn-secondary-border); background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text); font: inherit; font-weight: var(--weight-semi);
  font-size: var(--text-sm); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-press) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { border-color: var(--text-3); text-decoration: none; }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--btn-primary-bg); border-color: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn.primary:hover { background: var(--btn-primary-bg-hover); border-color: var(--btn-primary-bg-hover); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.wide { width: 100%; }
.btn.lg { height: 52px; padding: 0 24px; font-size: var(--text-md); }
.btn.sm { height: 36px; padding: 0 12px; }

/* ------------------------------------------------------------------ forms */
input[type=text], input[type=email], input[type=number], select, textarea {
  width: 100%; height: 44px; background: var(--input-bg); border: 1px solid var(--input-border);
  color: var(--text); border-radius: var(--input-radius); padding: 0 14px;
  font: inherit; font-size: var(--text-sm);
}
textarea { height: auto; padding: 10px 14px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: var(--focus-ring); outline-offset: 0; border-color: var(--focus); }
label { display: block; font-size: var(--text-xs); font-weight: var(--weight-semi); color: var(--text-2); margin-bottom: 6px; }

/* What a sign-in form says back (public/js/landing.js). */
.notice { border-radius: var(--radius-sm); padding: 11px 14px; font-size: var(--text-sm); margin-top: 14px; border: 1px solid var(--border); color: var(--text); text-align: left; }
.notice.info { background: var(--action-soft); border-color: color-mix(in srgb, var(--action) 35%, transparent); }
.notice.warn { background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }
.notice.ok { background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.notice.err { background: color-mix(in srgb, var(--danger) 10%, var(--surface)); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }

/* -------------------------------------------------------------------- nav */
/* Translucent, so the page moves underneath; a hairline only once content
   scrolls beneath it (site.js sets .scrolled). */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: var(--weight-bold); color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--action); color: var(--on-action); font-size: var(--text-sm); font-weight: 800; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-medium); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--border); background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 18px; height: 18px; }
/* Show the icon for the theme a click switches TO. */
:root[data-theme="light"] .icon-sun, :root:not([data-theme="light"]) .icon-moon { display: none; }
.lang { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.lang a { padding: 0 10px; line-height: 38px; font-size: var(--text-xs); font-weight: var(--weight-semi); letter-spacing: .04em; color: var(--text-2); text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a.active { background: var(--surface-2); color: var(--text); }

/* ------------------------------------------------------------------- hero */
/* The hero stands apart in both themes: a deep blue band with its own light
   text. On the homepage and the pricing page it ends halfway down the price
   cards, so they sit on its edge (site.js computes --band). */
.hero {
  --hero-text: #f2f6fb;
  --hero-text-2: #b9c9da;
  --hero-accent: var(--blue-200);
  position: relative; padding: 72px 0 0; text-align: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0 0 auto; height: var(--band, calc(100% - 210px)); pointer-events: none;
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(125, 182, 238, .28), transparent 70%),
    radial-gradient(35% 45% at 88% 35%, rgba(96, 165, 232, .16), transparent 70%),
    radial-gradient(30% 40% at 8% 60%, rgba(96, 165, 232, .10), transparent 70%),
    linear-gradient(165deg, #0a1a2c 0%, var(--blue-900) 55%, #0d3554 100%);
}
/* A faint dot grid, fading out downwards: texture without a stock image. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero .wrap { position: relative; }
.pill {
  display: inline-block; padding: 6px 12px; border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  font-size: var(--text-xs); font-weight: var(--weight-semi); letter-spacing: .08em;
  text-transform: uppercase; color: var(--hero-text-2); text-decoration: none;
}
a.pill:hover { color: var(--hero-text); border-color: rgba(255, 255, 255, .32); }
.hero h1 {
  max-width: 900px; margin: 20px auto 0; color: var(--hero-text);
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.7rem); line-height: 1.06; letter-spacing: -0.03em;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #9fd0ff, var(--hero-accent) 45%, #d7ecff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 640px; margin: 18px auto 0; font-size: var(--text-lg); color: var(--hero-text-2); line-height: var(--leading-snug); }
.hero-meta { margin-top: 14px; font-size: var(--text-sm); color: var(--hero-text-2); }

/* Subpages: the same band, shorter, ending under the heading. */
.hero-page { padding: 64px 0 64px; }
.hero-page .hero-bg { height: 100%; }
.hero-page h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); max-width: 820px; }
.hero-page.has-plans { padding-bottom: 0; }
.hero-page.has-plans .hero-bg { height: var(--band, calc(100% - 210px)); }

/* The two reasons, as glass panels on the blue. */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 780px; margin: 32px auto 0; text-align: left; }
.value {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.value-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--hero-accent); margin-top: 1px; }
.value-title { font-weight: var(--weight-bold); color: var(--hero-text); font-size: var(--text-md); letter-spacing: -0.01em; }
.value-text { font-size: var(--text-sm); color: var(--hero-text-2); margin-top: 2px; line-height: var(--leading-snug); }

/* Plans: the price is the largest thing on each card, every card ends in one button. */
.plans { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 44px auto 0; max-width: 1040px; text-align: left; align-items: stretch; }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-top: 24px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px 24px; border-radius: var(--radius-lg);
  background: var(--card-bg); border: 1px solid var(--card-border);
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 18px 40px rgba(4, 18, 33, .22);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms var(--ease-out);
}
.plans.two .plan { box-shadow: var(--card-shadow); }
@media (hover: hover) {
  .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--text-3); }
}
.plan-featured { border: 1.5px solid var(--action); box-shadow: 0 0 0 4px color-mix(in srgb, var(--action) 14%, transparent), var(--shadow-md); }
.plan-featured:hover { border-color: var(--action); }
.plan-badge {
  position: absolute; top: -12px; left: 24px; padding: 3px 10px; border-radius: var(--radius-full);
  background: var(--action); color: var(--on-action); font-size: var(--text-xs); font-weight: var(--weight-bold);
}
/* .plan-name is an h2; beat the section heading size of .block h2. */
.plan .plan-name { font-size: var(--text-sm); font-weight: var(--weight-semi); color: var(--text-2); letter-spacing: 0; line-height: var(--leading-snug); }
.plan-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.plans.four .plan-price { font-size: 2.1rem; }
.plan-note { font-size: var(--text-sm); color: var(--text-3); }
.plan .ticks { margin: 14px 0 20px; flex: 1; align-content: start; }
.plan .btn { margin-top: auto; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-snug); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--action-soft); }
.ticks li::after {
  content: ""; position: absolute; left: 3px; top: 5px; width: 10px; height: 10px; background: var(--action-soft-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.8' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.trust { list-style: none; padding: 0; margin: 32px auto 0; padding-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; max-width: 1000px; }
.trust li { font-size: var(--text-sm); color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.trust a { color: var(--text-2); }

/* --------------------------------------------------------------- sections */
.block { padding: 104px 0; }
.block.band { background: var(--surface-2); }
.block.tight { padding: 64px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--action); margin-bottom: 12px; }
.block h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; }
.block h2.sm { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.lead { margin-top: 14px; font-size: var(--text-lg); color: var(--text-2); line-height: var(--leading-snug); max-width: 620px; }
.lead.center { margin-left: auto; margin-right: auto; }
.fine { font-size: var(--text-sm); color: var(--text-3); margin-top: 32px; }
.fine.center { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Two white sections in a row: a hairline between them. */
.block.rule { border-top: 1px solid var(--border); }

/* Cards on subpages. */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { padding: 24px 26px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.card h3 { font-size: var(--text-lg); letter-spacing: -0.01em; margin-bottom: 6px; }
.card p { color: var(--text-2); font-size: var(--text-sm); line-height: var(--leading-snug); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); }
.step-badge { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--action-soft); color: var(--action-soft-text); margin-bottom: 18px; }
.step-badge svg { width: 22px; height: 22px; }
.step-n { position: absolute; top: 24px; right: 26px; font-size: var(--text-3xl); font-weight: 800; line-height: 1; color: var(--border); letter-spacing: -0.04em; }
.steps h3 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.steps p { margin-top: 6px; color: var(--text-2); font-size: var(--text-sm); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.split-rev { grid-template-columns: 1fr 1.05fr; }
.copy .ticks { margin: 24px 0 28px; }
.copy .ticks li { font-size: var(--text-md); }
.shot { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--card-border); box-shadow: var(--shadow-md); background: var(--card-bg); max-height: 560px; }
.shot img { width: 100%; object-fit: cover; object-position: top; }
:root[data-theme="light"] .only-dark, :root:not([data-theme="light"]) .only-light { display: none; }

/* A findings card that builds itself up line by line. */
.findings { display: grid; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--card-border); }
.band .findings { background: var(--bg); }
.finding { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-md); background: var(--card-bg); border: 1px solid var(--card-border); }
.finding .dot { width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; flex-shrink: 0; }
.finding.red .dot { background: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 16%, transparent); }
.finding.amber .dot { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 16%, transparent); }
.f-title { font-weight: var(--weight-semi); font-size: var(--text-sm); }
.f-sub { font-size: var(--text-xs); color: var(--text-3); margin-top: 2px; }
.bubble { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--action-soft); }
.bubble p { font-size: var(--text-sm); color: var(--text); }
.who { display: block; font-size: var(--text-xs); font-weight: var(--weight-bold); color: var(--action-soft-text); margin-bottom: 2px; }
.avatar { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--action); color: var(--on-action); font-weight: 800; font-size: var(--text-sm); }

/* The demo invitation, under "Geen blinde vlekken". */
.demo-box { margin-top: 8px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); }
.demo-box h3 { font-size: var(--text-md); }
.demo-box > p { margin-top: 4px; font-size: var(--text-sm); color: var(--text-2); }
.form-row { display: flex; gap: 10px; margin-top: 14px; }
.form-row input { flex: 1; min-width: 0; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: var(--text-sm); font-weight: var(--weight-regular); color: var(--text-2); cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--action); }
.hint { margin-top: 10px; font-size: var(--text-xs); color: var(--text-3); }

/* Comparison with AI chatbots. */
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--card-border); background: var(--card-bg); box-shadow: var(--card-shadow); -webkit-overflow-scrolling: touch; }
.compare-table, .savings-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.compare-table th, .compare-table td, .savings-table th, .savings-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare-table tbody tr:last-child > *, .savings-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th, .savings-table thead th { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); background: var(--surface-2); }
.compare-table tbody th { width: 18%; font-weight: var(--weight-semi); color: var(--text); }
.compare-table td { color: var(--text-2); width: 41%; }
.compare-table .cmp-ours { color: var(--text); background: color-mix(in srgb, var(--action) 7%, transparent); }
.compare-table thead .cmp-ours { color: var(--action); background: color-mix(in srgb, var(--action) 12%, var(--surface-2)); }
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.audience p { padding: 22px 24px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); color: var(--text-2); font-size: var(--text-sm); line-height: var(--leading-snug); }
.audience strong { display: block; color: var(--text); font-size: var(--text-md); margin-bottom: 4px; }
.not-does { margin: 28px auto 0; max-width: 760px; padding: 4px 0 4px 18px; border-left: 3px solid var(--action); color: var(--text); }

/* One route per method (src/site/visuals.js). */
.section-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; margin-bottom: 48px; }
.section-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.section-media .lead { max-width: 620px; }
/* The charter definition: text and photo, no gap underneath. */
.charter-media { margin-bottom: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
.charter-media img { aspect-ratio: 4 / 3; }
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.route { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.route h3 { font-size: var(--text-xl); letter-spacing: -0.02em; }
.route-line { margin-top: 6px; font-size: var(--text-sm); color: var(--text-3); }
.route-docs { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; gap: 14px; flex: 1; align-content: start; }
.route-docs li { display: grid; gap: 2px; padding-left: 14px; border-left: 2px solid var(--border); }
.route-n { font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--action); }
.route-docs strong { font-size: var(--text-md); color: var(--text); }
.route-q { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-snug); }
.ladder-sample { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--text); text-decoration: none; font-size: var(--text-sm); font-weight: var(--weight-semi); transition: background-color var(--dur-fast) var(--ease-out); }
.band .ladder-sample { background: var(--bg); }
.ladder-sample:hover { background: var(--action-soft); }
.ladder-sample-meta { font-weight: var(--weight-regular); color: var(--text-3); font-size: var(--text-xs); white-space: nowrap; }

/* Time saved: table, and on the pricing page a calculator. */
.savings-table td { color: var(--text-2); white-space: nowrap; }
.savings-table tbody th { min-width: 220px; }
.sv-name { display: block; font-weight: var(--weight-semi); color: var(--text); }
.sv-detail { display: block; font-size: var(--text-xs); color: var(--text-3); font-weight: var(--weight-regular); margin-top: 2px; }
.savings-table .sv-saved { color: var(--ok); font-weight: var(--weight-bold); font-size: var(--text-md); }
.calc { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.calc h3 { font-size: var(--text-lg); }
.calc > p { margin: 4px 0 18px; font-size: var(--text-sm); color: var(--text-2); }
.calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.calc-inputs .field { position: relative; }
.calc-unit { position: absolute; right: 12px; bottom: 13px; font-size: var(--text-xs); color: var(--text-3); pointer-events: none; }
#calcRate { padding-right: 62px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0; padding-top: 18px; border-top: 1px solid var(--border); }
.calc-out dt { font-size: var(--text-xs); letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 5px; }
.calc-out dd { margin: 0; font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--text); }
.calc-headline dd { color: var(--ok); }

/* Confidentiality: four facts, and how it is arranged one click deeper. */
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.facts li { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--card-border); background: var(--card-bg); display: grid; gap: 6px; align-content: start; }
.facts strong { font-size: var(--text-lg); letter-spacing: -0.01em; }
.facts span { font-size: var(--text-sm); color: var(--text-2); }
.more { max-width: 760px; margin: 28px auto 0; border-radius: var(--radius-lg); border: 1px solid var(--card-border); background: var(--card-bg); }
.more summary { padding: 16px 22px; cursor: pointer; font-weight: var(--weight-semi); font-size: var(--text-sm); color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: var(--text-lg); color: var(--text-3); line-height: 1; }
.more[open] summary::after { content: "\2212"; }
.more-body { padding: 0 22px 20px; }
.more dl { margin: 0; display: grid; gap: 14px; }
.more dt { font-weight: var(--weight-semi); font-size: var(--text-sm); }
.more dd { margin: 2px 0 0; font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-snug); }
.more-body > p { margin-top: 16px; font-size: var(--text-sm); }

/* Extractable "direct answer" paragraph: what AI assistants tend to quote. */
.answer { margin-top: 16px; font-size: var(--text-md); line-height: 1.7; color: var(--text); border-left: 3px solid var(--action); padding-left: 18px; }

/* Closing call to action, with the project start form (id="start"). */
.cta { background: radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--action) 16%, transparent), transparent 70%), var(--surface-2); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.start-card { max-width: 620px; margin: 48px auto 0; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); text-align: left; scroll-margin-top: 96px; }
.start-card h3 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.start-card > p { margin-top: 6px; font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-snug); }

/* ----------------------------------------------------------- subpages */
/* Pricing */
.pricing-difference { max-width: 860px; margin: 40px auto 0; padding: 22px 26px; border-left: 3px solid var(--action); background: var(--card-bg); border-radius: 0 var(--radius-md) var(--radius-md) 0; box-shadow: var(--card-shadow); text-align: left; }
.pricing-difference h2 { font-size: var(--text-lg); letter-spacing: -0.01em; }
.pricing-difference p { margin-top: 6px; color: var(--text-2); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); padding: 22px 0; }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-item h2, .faq-item h3 { font-size: var(--text-md); line-height: 1.35; letter-spacing: -0.005em; font-weight: var(--weight-bold); }
.faq-item p { margin-top: 8px; color: var(--text-2); }

/* Business intake */
.intake { list-style: none; counter-reset: intake; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.intake-block { counter-increment: intake; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); }
.intake-block h3 { display: flex; align-items: center; gap: 10px; font-size: var(--text-md); margin-bottom: 12px; }
.intake-block h3::before { content: counter(intake); width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--action-soft); color: var(--action-soft-text); font-size: var(--text-xs); font-weight: var(--weight-bold); flex-shrink: 0; }
.intake-block ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: var(--text-sm); }
.intake-block li { margin-bottom: 6px; }

/* Guides */
.article-card h2 { font-size: var(--text-lg); line-height: 1.3; letter-spacing: -0.01em; }
.article-card h2 a { color: var(--text); text-decoration: none; }
.article-card h2 a:hover { color: var(--link); }
.article-card p { margin-top: 8px; }
.meta { font-size: var(--text-xs); color: var(--text-3); }
.article-card .meta { margin-top: 12px; }
.crumbs a { color: var(--hero-text-2); }

/* Long text: articles and the legal pages. */
.prose { max-width: 760px; margin: 0 auto; }
.toc { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 20px; margin: 28px 0; background: var(--surface-2); }
.toc h2 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; color: var(--text-2); font-size: var(--text-sm); }
.toc li { margin-bottom: 4px; }
.article-body { font-size: var(--text-md); line-height: 1.75; }
.article-body h2 { font-size: var(--text-xl); margin: 44px 0 12px; letter-spacing: -0.015em; padding-bottom: 8px; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.article-body > h2:first-child { margin-top: 0; }
.article-body h3 { font-size: var(--text-lg); margin: 28px 0 8px; scroll-margin-top: 80px; }
.article-body p { margin: 0 0 16px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 7px; }
.article-body a.anchor { float: left; margin-left: -20px; width: 20px; opacity: 0; text-decoration: none; }
.article-body h2:hover a.anchor, .article-body h3:hover a.anchor { opacity: 1; }
.article-body a.anchor::before { content: "#"; color: var(--action); }
.article-body blockquote { margin: 22px 0; padding: 14px 18px; border-left: 3px solid var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); border-radius: 0 8px 8px 0; }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0 24px; font-size: var(--text-sm); display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--surface-2); font-weight: var(--weight-semi); white-space: nowrap; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.article .faq { margin-top: 40px; }
.article .faq > h2 { font-size: var(--text-xl); margin-bottom: 16px; }
.cta-inline { margin: 44px 0 28px; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--card-border); }
.cta-inline h2 { font-size: var(--text-lg); border: 0; padding: 0; margin: 0; }
.cta-inline p { margin: 6px 0 16px; color: var(--text-2); }
.back { margin-top: 8px; font-size: var(--text-sm); }

/* ------------------------------------------------------------------ footer */
.foot { padding: 64px 0 40px; border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--text-3); }
.foot-grid { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(130px, 1fr)); gap: 32px; margin-bottom: 36px; }
.foot-grid h2 { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .09em; color: var(--text-2); margin-bottom: 12px; font-weight: var(--weight-bold); }
.foot-grid a, .foot-link { display: block; margin-bottom: 8px; color: var(--text-3); text-decoration: none; }
.foot-grid a:hover, .foot-link:hover { color: var(--text); }
.foot-grid a.brand { display: inline-flex; color: var(--text); margin: 0; }
.foot-link { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-align: left; }
/* Shown by consent.js only when a statistics service is configured. */
.foot-link[hidden] { display: none; }
.foot-tagline { max-width: 42ch; margin-top: 12px; }
.foot-legal { border-top: 1px solid var(--border); padding-top: 20px; font-size: var(--text-xs); }
.foot-legal + .foot-legal { border-top: 0; padding-top: 6px; }

/* Cookie banner (public/js/consent.js). Accept and decline weigh the same. */
.consent-banner { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); display: flex; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); box-shadow: var(--shadow-md); }
.consent-banner p { font-size: var(--text-sm); color: var(--text-2); }
.consent-banner .consent-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ------------------------------------------------------------------ motion */
/* Hero: arrives with the page, in a short stagger. */
@keyframes rise { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
.load-in { animation: rise 760ms var(--ease-reveal) both; animation-delay: var(--d, 0ms); }

/* Scroll reveals: hidden only once JavaScript has said it will reveal them
   (html.reveal), so the page is complete without JavaScript. */
html.reveal [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--rx, 0), var(--ry, var(--reveal-y)), 0);
  transition: opacity 700ms var(--ease-reveal), transform 900ms var(--ease-reveal);
  transition-delay: var(--d, 0ms);
}
html.reveal [data-reveal="left"] { --rx: calc(var(--reveal-x) * -1); --ry: 0; }
html.reveal [data-reveal="right"] { --rx: var(--reveal-x); --ry: 0; }
html.reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* The findings card fills in line by line after it has slid in. */
html.reveal .findings > * { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 500ms var(--ease-reveal), transform 600ms var(--ease-reveal); transition-delay: calc(var(--d, 0ms) + 250ms); }
html.reveal .findings.is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .load-in { animation: none; }
  html.reveal [data-reveal], html.reveal .findings > * { transform: none !important; transition: opacity 200ms linear; transition-delay: 0ms; }
  .plan, .btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ mobile */
@media (max-width: 1080px) {
  .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .plans, .plans.four, .plans.two { grid-template-columns: 1fr; max-width: 460px; gap: 14px; }
  .plan-featured { margin-top: 10px; }
  .steps, .routes, .audience, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .section-media { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .split, .split-rev { grid-template-columns: 1fr; gap: 40px; }
  .split-rev .copy { order: -1; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  :root { --reveal-x: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .nav-row { gap: 12px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn.primary { height: 38px; padding: 0 12px; }
  .hero { padding: 24px 0 0; }
  .hero-page { padding: 40px 0 44px; }
  .hero-page.has-plans { padding-bottom: 0; }
  .values { grid-template-columns: 1fr; gap: 8px; margin-top: 20px; }
  .value { padding: 10px 14px; gap: 10px; align-items: center; }
  .value-text { display: none; }
  .value-icon { width: 22px; height: 22px; }
  .hero h1 { margin-top: 12px; font-size: 1.9rem; }
  .hero-page h1 { font-size: 1.85rem; }
  .hero-sub { font-size: var(--text-md); margin-top: 12px; }
  .plans { margin-top: 20px; }
  .plan { padding: 20px; }
  .plan-price, .plans.four .plan-price { font-size: 2.1rem; }
  .plan .ticks { margin: 10px 0 16px; gap: 8px; }
  .block { padding: 72px 0; }
  .block.tight { padding: 48px 0; }
  .head { margin-bottom: 36px; }
  .facts { grid-template-columns: 1fr; }
  .trust { justify-content: flex-start; flex-direction: column; align-items: flex-start; max-width: 460px; }
  .form-row { flex-direction: column; }
  .form-row input { flex: none; }
  .start-card, .calc, .demo-box { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .consent-banner { flex-direction: column; align-items: stretch; bottom: 12px; }
  .consent-banner .consent-actions .btn { flex: 1; }
  /* The comparison becomes one card per topic: the two answers side by side
     under the topic, each with its own label. */
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody { display: block; }
  .compare-table tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
  .compare-table tbody tr:last-child { border-bottom: 0; }
  .compare-table tbody th { grid-column: 1 / -1; width: auto; padding: 14px 16px 6px; border: 0; }
  .compare-table td { width: auto; padding: 8px 16px 14px; border: 0; }
  .compare-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: var(--text-xs); font-weight: var(--weight-bold); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
  .compare-table td.cmp-ours::before { color: var(--action); }
}
/* The narrowest phones: the wordmark goes, the P mark stays. */
@media (max-width: 385px) {
  .nav .brand > span:not(.mark) { display: none; }
}
