/* Rvply site
 *
 * The tokens are the application's, so the marketing site and the product read
 * as one thing. Where a value differs from the app it is because this page is
 * read on a phone in daylight by somebody who has never heard of us, and the
 * app is read by somebody who signed in: contrast wins over fidelity, and the
 * two places that happens are marked.
 *
 * The variable names are the ones the previous palette used (--text, --border,
 * --on-accent) rather than the app's (--ink, --line, --onaccent). Renaming them
 * would have meant editing prijzen.html and the legal pages that build.mjs
 * generates, for no visible gain. New names are only added where the design
 * adds a concept, which is the deep green band.
 */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --sunken: #F6F6F4;
  --border: #ECEBE8;
  --border-strong: #D8D6D1;
  --text: #141416;
  --muted: #63636B;
  /* Decoration only: dots, hairlines, the fake URL in the product shot.
     2.9:1 on --bg. Never text that has to be read; use --muted (5.9:1). */
  --subtle: #9A9AA3;

  --accent: #0A8F73;
  --accent-hover: #07775F;
  --accent-subtle: #DDF5EC;
  --on-accent: #FFFFFF;

  --positive: #12A36B;
  --caution: #C2610A;
  --caution-subtle: #FFF0DC;
  /* The app's #DB3A34 measures 3.9:1 on white, which is fine for a chip in a
     signed-in tool and not fine for a sentence on a public page. Darkened to
     4.9:1. The tint behind it is the app's, unchanged. */
  --negative: #B4302A;
  --negative-subtle: #FFE9E7;
  --star: #FFB020;

  /* The dark green panel. Always dark, in both themes, the same way the app's
     sidebar is: it is the spine the scroll hangs on, and a band that inverts
     with the theme stops being one. */
  --deep: #0B3B30;
  --deep-fg: #F1FBF6;
  --deep-muted: #8CC2B0;
  --deep-accent: #2ED3A5;

  /* The Google preview card imitates Maps, so it carries Google's palette. */
  --g-bg: #FFFFFF;
  --g-ink: #202124;
  --g-muted: #70757A;
  --g-block: #F1F3F4;
  --g-line: #E8EAED;
  --g-star: #FBBC04;

  --sh-card: 0 1px 2px rgba(22, 22, 22, .05);
  --sh-raised: 0 1px 2px rgba(22, 22, 22, .05), 0 8px 24px -14px rgba(22, 22, 22, .18);
  --sh-pop: 0 16px 48px -16px rgba(0, 0, 0, .28);
  --sh-mock: 0 30px 80px -30px rgba(0, 0, 0, .5);

  --maxw: 1120px;
  --gutter: clamp(20px, 4vw, 40px);

  --r-control: 11px;
  --r-card: 14px;
  --r-panel: 20px;
  --r-deep: 24px;

  --t-display: clamp(2.375rem, 1.1rem + 3.8vw, 4rem);
  --t-h2: clamp(1.875rem, 1.3rem + 1.7vw, 2.75rem);
  --t-h3: 1.375rem;
  --t-lede: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-micro: .8125rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1B1B1A;
    --sunken: #1F1F1E;
    --border: #2A2A29;
    --border-strong: #3B3B39;
    --text: #F4F3F0;
    --muted: #A4A29C;
    --subtle: #6F6E69;

    --accent: #2ED3A5;
    --accent-hover: #5CE0BA;
    --accent-subtle: #123B30;
    --on-accent: #0B1613;

    --positive: #3ED68F;
    --caution: #FFA53B;
    --caution-subtle: #332413;
    --negative: #FF7A72;
    --negative-subtle: #3A1B19;
    --star: #FFC233;

    /* One shade deeper than the light theme's, so the band still separates
       from a page that is already dark. */
    --deep: #0C1D18;

    --g-bg: #202124;
    --g-ink: #E8EAED;
    --g-muted: #9AA0A6;
    --g-block: #303134;
    --g-line: #3C4043;

    --sh-card: none;
    --sh-raised: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
    --sh-pop: 0 16px 48px -16px rgba(0, 0, 0, .7);
    --sh-mock: 0 30px 80px -30px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: light dark; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, svg { max-width: 100%; }
::selection { background: var(--accent-subtle); color: var(--text); }

/* ---------- type ---------- */

/* One family throughout, with the tracking tightening as the size grows. That
   ratio is the whole typographic idea: at 64px the default spacing reads as
   loose, at 15px the same negative tracking closes the counters. */
h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: var(--t-h2); line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.02em; margin-bottom: 8px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: var(--t-lede); color: var(--muted); max-width: 34em; line-height: 1.55; }
.small { font-size: var(--t-small); }
.micro { font-size: var(--t-micro); }
.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-size: var(--t-small); text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: var(--accent); margin: 0 0 14px;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 99px; padding: 7px 14px;
  background: var(--accent-subtle); color: var(--accent);
  font-size: var(--t-small); font-weight: 600;
}

/* ---------- layout ---------- */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(72px, 10vw, 128px) 0 0; position: relative; }
section:last-of-type { padding-bottom: clamp(72px, 10vw, 128px); }
/* A tinted band carries its own bottom padding: the next section's top
   padding falls outside the tint. */
.band-sunken { background: var(--sunken); padding-bottom: clamp(72px, 10vw, 128px); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

.section-head { max-width: 40em; margin: 0 0 clamp(32px, 4vw, 56px); }
.section-head .lede { margin-top: 14px; }

/* Every grid is auto-fit with a min, so nothing needs a breakpoint: the
   columns become rows when the content stops fitting, which is the only moment
   that actually matters. */
.grid { display: grid; gap: 16px; }
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-mid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.cols-split {
  display: grid; gap: clamp(32px, 5vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

/* An always-dark panel. */
.deep {
  background: var(--deep); color: var(--deep-fg);
  border-radius: var(--r-deep);
  padding: clamp(28px, 4vw, 48px);
  --text: var(--deep-fg); --muted: var(--deep-muted);
  --border: rgba(255, 255, 255, .12); --accent: var(--deep-accent);
}

/* ---------- header ----------
 *
 * One row on a wide screen: wordmark, page links, language switcher, sign-in
 * and the trial button. Between 721 and 1099px the page links drop to a
 * second row of their own. On a phone the links, the switcher and the button
 * live in a <details> menu that needs no script: the summary is the button,
 * the panel drops down under the header. The wordmark keeps its layout in
 * every tier, because the opening animation (intro.css) lands on it.
 */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
  padding-top: 18px; padding-bottom: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 2.125rem; font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: var(--text); text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand svg { flex: 0 0 auto; }

.site-nav { display: flex; gap: 2px; align-items: center; margin-left: auto; }
.site-nav a, .head-login {
  display: inline-flex; align-items: center;
  color: var(--muted); font-size: .9375rem; font-weight: 500; text-decoration: none;
  padding: 8px 12px; border-radius: 9px;
}
.site-nav a:hover, .head-login:hover { color: var(--text); background: var(--sunken); }
.site-nav a[aria-current="page"] { color: var(--text); }

/* Three links in one pill. The current language is the raised segment. */
.lang {
  display: inline-flex; gap: 2px; padding: 3px;
  background: var(--sunken); border-radius: 99px;
}
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; padding: 6px 9px; border-radius: 99px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); text-decoration: none;
}
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--surface); color: var(--text); box-shadow: var(--sh-card); }

.head-actions { display: flex; align-items: center; gap: 6px; }

/* The phone menu. Hidden on wide screens, where the same links are inline. */
.menu { display: none; margin-left: auto; }
.menu summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  list-style: none; min-height: 44px; min-width: 44px; padding: 8px 12px;
  border-radius: var(--r-control); border: 1px solid var(--border-strong);
  font-size: .9375rem; font-weight: 600; color: var(--text); user-select: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary::marker { content: ""; }
.menu[open] summary { background: var(--sunken); }
.menu-bars {
  width: 18px; height: 12px; display: inline-block; flex: 0 0 auto;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
}
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 41;
  background: var(--bg); border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-pop);
  padding: 12px var(--gutter) 20px;
  display: grid; gap: 4px;
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.menu-panel a:not(.btn) {
  display: flex; align-items: center; min-height: 44px; padding: 8px 12px;
  border-radius: var(--r-control);
  color: var(--text); font-size: 1.0625rem; font-weight: 500; text-decoration: none;
}
.menu-panel a:not(.btn):hover { background: var(--sunken); }
.menu-panel a[aria-current="page"] { color: var(--accent); }
.menu-panel .btn { margin: 4px 0 10px; }
.menu-lang {
  display: flex; gap: 6px; margin-top: 10px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.menu-lang a {
  flex: 1 1 0; justify-content: center;
  border: 1px solid var(--border-strong); font-weight: 600;
}
.menu-lang a[aria-current] { border-color: var(--accent); color: var(--accent); }

/* Two rows: links underneath, the rest on top. Below this width the screen
   is as likely a tablet as a laptop, so every control is 44px tall. */
@media (max-width: 1099px) {
  .site-head .wrap { padding-top: 12px; padding-bottom: 10px; }
  .site-nav { order: 10; flex-basis: 100%; margin-left: -12px; flex-wrap: wrap; }
  .site-nav a, .head-login, .lang a { min-height: 44px; }
  .lang { margin-left: auto; padding: 2px; }
}

/* One row and a menu. */
@media (max-width: 720px) {
  .site-head .wrap { padding-top: 10px; padding-bottom: 10px; gap: 8px; flex-wrap: nowrap; }
  .site-nav, .lang, .head-actions .btn { display: none; }
  .head-actions { margin-left: auto; }
  .head-login { min-height: 44px; padding: 8px 10px; }
  .menu { display: block; margin-left: 0; }
  .menu-word { display: none; }
}
@media (min-width: 400px) and (max-width: 720px) {
  .menu-word { display: inline; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  border-radius: 12px; padding: 13px 22px;
  font-size: .96875rem; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .14s ease-out, border-color .14s ease-out, color .14s ease-out;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 10px 22px -12px var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; border-radius: var(--r-control); font-size: .9375rem; }
.btn-block { width: 100%; }
/* On the dark green card the primary button swaps to the band's accent. */
.btn-deep { background: var(--deep-accent); color: #0B1613; box-shadow: none; }
.btn-deep:hover { background: #5CE0BA; color: #0B1613; }
/* A ghost button on the dark band. */
.btn-ghost-deep { border-color: rgba(255, 255, 255, .25); color: var(--deep-fg); }
.btn-ghost-deep:hover { border-color: var(--deep-accent); color: var(--deep-accent); }

/* ---------- hero ---------- */

.hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { margin: 20px 0 0; max-width: 15ch; }
.hero .lede { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.hero-cta .small { color: var(--muted); }
.hero-note { margin-top: 14px; color: var(--muted); font-size: var(--t-small); }
.hero-tight { padding-bottom: clamp(32px, 4vw, 48px); }
.hero h1.h-mid { max-width: 14em; }

/* Reusable spacing, so the pages do not carry inline styles for the same gap. */
.flush-top { padding-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-18 { margin-bottom: 18px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.maxw-60 { max-width: 60em; }
.block-tag { display: block; margin: 0 0 4px; }

/* The closing call to action at the foot of a page. */
.closer { text-align: center; }
.closer .rule { margin-bottom: clamp(48px, 6vw, 80px); }
.closer .btn { margin-top: 28px; }

/* A label that says a block is a demonstration, not a customer. */
.demo-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  padding: 5px 12px; border-radius: 99px;
  background: var(--caution-subtle); color: var(--caution);
  font-size: var(--t-micro); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.mock .demo-tag { margin: 0 0 0 auto; }

/* Two lists side by side: what stops, what stays. */
.two-col { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.list-plain { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.list-plain li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.list-plain .mark {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 99px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.mark-stop { background: var(--negative-subtle); color: var(--negative); }
.mark-keep { background: var(--accent-subtle); color: var(--accent); }
.card-deep .mark-keep { background: rgba(255, 255, 255, .12); color: var(--deep-accent); }

/* Facts in a row: a label and a value, for the seller block and the trial. */
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; gap: 4px 24px; grid-template-columns: minmax(120px, 11em) 1fr; padding: 12px 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: var(--t-small); font-weight: 600; margin: 0; }
.facts dd { margin: 0; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; } }

address { font-style: normal; }

/* ---------- product mock ---------- */

.mock-frame { padding: clamp(20px, 3vw, 36px); }
.mock {
  background: #FFFFFF; color: #141416;
  border-radius: 16px; box-shadow: var(--sh-mock);
  padding: clamp(20px, 3vw, 32px);
  /* The card is a picture of the product in its light theme, so it keeps
     light values even when the page around it is dark. A screenshot that
     re-themes itself is not a screenshot. */
  --text: #141416; --muted: #63636B; --subtle: #9A9AA3;
  --border: #ECEBE8; --sunken: #F6F6F4; --surface: #FFFFFF;
  --accent: #0A8F73; --accent-subtle: #DDF5EC;
}
.mock-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
/* The name block shrinks so the avatar and the name share a line on a phone. */
.mock-head > div { flex: 1 1 160px; }
.avatar {
  flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 99px; font-weight: 700;
}
.mock-panes {
  display: grid; gap: 20px 40px; margin-top: 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.mock-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--muted); margin: 0 0 8px;
}
.mock-read { font-size: 1.0625rem; line-height: 1.5; margin: 0; max-width: 46ch; }
.mock-draft {
  margin-top: 22px; padding: 20px 22px; border-radius: 16px;
  background: var(--accent-subtle);
}
.mock-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.stars { color: var(--star); letter-spacing: .05em; }
.stars .off { color: var(--border-strong); }

/* ---------- cards ---------- */

.card {
  border-radius: var(--r-panel); padding: 30px 28px 32px;
  background: var(--surface); border: 1px solid var(--border);
}
.card-sunken { background: var(--sunken); border-color: transparent; }
.card-accent { background: var(--accent-subtle); border-color: transparent; }
.card-deep {
  background: var(--deep); color: var(--deep-fg); border-color: transparent;
  --text: var(--deep-fg); --muted: var(--deep-muted); --accent: var(--deep-accent);
  --border: rgba(255, 255, 255, .12);
}
.card p { color: var(--muted); }
.card h3 { color: var(--text); }
/* A whole card as one link, for the legal document list. */
a.card-link { display: block; text-decoration: none; color: var(--text); }
a.card-link:hover { border-color: var(--accent); color: var(--text); }
a.card-link:hover h3 { color: var(--accent); }

.card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.numeral {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 99px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--text);
  font-size: .9375rem; font-weight: 700;
}
.card-deep .numeral, .card-accent .numeral { background: rgba(255, 255, 255, .14); color: inherit; }
.tag {
  margin-left: auto; font-size: var(--t-small); font-weight: 600; color: var(--muted);
}
.mini {
  border-radius: var(--r-card); padding: 14px 16px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--t-small); line-height: 1.5;
}
.card-deep .mini { background: rgba(255, 255, 255, .08); border-color: transparent; }

.glyph {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1rem; font-weight: 700; margin-bottom: 18px;
}
.glyph-accent { background: var(--accent-subtle); color: var(--accent); }
.glyph-gray { background: var(--sunken); color: var(--muted); }
.glyph-negative { background: var(--negative-subtle); color: var(--negative); }
.glyph-caution { background: var(--caution-subtle); color: var(--caution); }
.glyph-deep { background: var(--deep); color: var(--deep-accent); }

/* ---------- pricing ---------- */

.segmented {
  display: inline-flex; gap: 4px; padding: 4px;
  background: var(--sunken); border-radius: 99px;
}
.segmented button {
  border: 0; background: transparent; cursor: pointer;
  border-radius: 99px; padding: 9px 18px;
  font: inherit; font-size: var(--t-small); font-weight: 600; color: var(--muted);
}
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--sh-card); }
@media (max-width: 1099px) { .segmented button { min-height: 44px; } }

.price {
  font-size: 2.75rem; font-weight: 700; letter-spacing: -.045em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.plan-head h3 { margin: 0; }
.plan-sub { margin-bottom: 18px; }
.plan-per { margin-top: 6px; }
.plan-year { margin-top: 4px; font-size: var(--t-small); color: var(--muted); }
.plan-cta { margin-top: 24px; }
.pill-deep { background: rgba(255, 255, 255, .12); color: var(--deep-accent); padding: 4px 10px; font-size: .75rem; }
.plan-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.5; }
.plan-list li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.card-deep .plan-list li::before { color: var(--deep-accent); }

/* The comparison table on the pricing page. Scrolls sideways on a phone rather
   than squeezing five columns into 320px. */
.compare-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { font-size: var(--t-small); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.compare th[scope="row"] { font-weight: 600; color: var(--text); }
.compare td { color: var(--text); font-variant-numeric: tabular-nums; }
.compare td .yes { color: var(--accent); font-weight: 700; }
.compare td .no { color: var(--subtle); }
.compare caption { text-align: left; padding: 0 0 12px; color: var(--muted); font-size: var(--t-small); }

/* ---------- contact form ---------- */

.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--t-small); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--r-control);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: var(--t-small); line-height: 1.5; }
.check input { flex: 0 0 auto; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--accent); }
.form-note { font-size: var(--t-small); color: var(--muted); }
/* The honeypot: off screen for people, still in the form for bots. The route
   answers a filled one as a success and sends nothing (lib/contact-rules.ts). */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* The Enterprise block on the pricing pages: its button sits beside the text
   and drops below it when the columns stack. */
.plan-aside { display: flex; align-items: center; }

/* ---------- never-list ---------- */

.never { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.never li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255, 255, 255, .06); border-radius: var(--r-card); padding: 14px 16px;
  line-height: 1.5;
}
.never .badge {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; border-radius: 99px;
  display: grid; place-items: center;
  border: 1px solid var(--deep-accent); color: var(--deep-accent);
  font-size: 12px; font-weight: 800;
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; gap: 16px; align-items: baseline; cursor: pointer;
  padding: 22px 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; margin-left: auto; color: var(--subtle);
  font-size: 1.25rem; font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--deep); color: var(--deep-fg);
  padding: clamp(48px, 6vw, 72px) 0 40px; margin-top: clamp(72px, 10vw, 128px);
}
.site-foot a { color: var(--deep-fg); text-decoration: none; }
.site-foot a:hover { color: var(--deep-accent); }
.site-foot .brand { color: var(--deep-fg); font-size: 1.5rem; }
.foot-tagline { margin-top: 10px; max-width: 34ch; color: var(--deep-muted); }
.foot-cols {
  display: grid; gap: 32px 40px; margin-top: 36px;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
.foot-cols h4 {
  margin: 0 0 14px; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--deep-accent);
}
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-cols li { font-size: .90625rem; }
.foot-cols li .small { color: var(--deep-muted); display: block; margin-top: 2px; }
.foot-cols address { color: var(--deep-muted); font-size: .90625rem; line-height: 1.5; margin-top: 10px; }
/* Footer links get a comfortable tap height on every screen; the grid is
   loose enough that 44px rows do not read as padding. */
.foot-cols a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 1099px) { .foot-cols a { min-height: 44px; } }
.foot-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--t-small); color: var(--deep-muted);
}

/* ---------- phones ----------
 *
 * The grids look after themselves (see .grid-*), so this block is only the
 * handful of things that do not: a header that wrapped its menu into three
 * rows and ate 228px of every screen, a language tab strip wider than the
 * viewport that let the whole page wobble sideways, and keyboard hints shown
 * to people with no keyboard.
 */
@media (max-width: 720px) {
  /* Belt and braces: nothing may push the page sideways on a phone. */
  html, body { overflow-x: hidden; }

  /* Scaled as one piece, ratios kept, so the opening animation still lands
     on it exactly (intro.css). */
  .brand { font-size: 1.75rem; gap: 5px; }
  .brand svg { width: 25px; height: 25px; }

  /* Every control a thumb can press is at least 44px tall. */
  .segmented button, .lang a { min-height: 44px; }

  /* Five language tabs do not fit in one pill; two rows do. */
  .mock .segmented { display: flex; flex-wrap: wrap; justify-content: center; border-radius: 18px; }
  .mock .segmented button { padding: 8px 12px; }

  /* "E goedkeuren · R afwijzen" means nothing to a thumb. */
  .mock-bar .micro { display: none; }
  .mock-bar .btn { flex: 1 1 auto; justify-content: center; }

  /* Reading sizes come down a notch: 17px prose in a 335px column wraps
     every four words. */
  .mock-read { font-size: 1rem; }
  .mock-draft { padding: 16px 16px; }

  section { padding-top: 56px; }
  section:last-of-type { padding-bottom: 56px; }
  .hero { padding: 40px 0 36px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .closer .btn { width: 100%; }
  .form .btn { width: 100%; }
}

/* ---------- legal pages, generated by build.mjs ---------- */

.doc-page { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 104px); }
.doc { max-width: 720px; }
.notice {
  background: var(--sunken); border-radius: var(--r-card);
  padding: 14px 18px; font-size: var(--t-small); color: var(--muted);
  margin: 0 0 2em;
}
.doc h2 { font-size: 1.5rem; margin-top: 2em; }
.doc h3 { font-size: 1.125rem; margin-top: 1.6em; }
.doc .table-scroll { max-width: 100%; overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: var(--t-small); }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { font-weight: 700; color: var(--muted); }
.doc ul, .doc ol { padding-left: 1.25em; }
.doc li { margin-bottom: .4em; }
/* Scope names and URLs in the legal text are longer than a phone is wide. */
.doc code, .doc a { overflow-wrap: anywhere; }
code { font-size: .92em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
