/* =========================================================================
   betterflai — marketing site
   Tokens inherited verbatim from the product (web/src/styles.css), so the
   site can never drift from the app it advertises. Everything below the
   token block is marketing scale: the same voice, set much harder.
   ========================================================================= */

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/instrument-sans-latin-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* --- product tokens, verbatim ------------------------------------ */
  --canvas: #faf8f5;
  --surface: #ffffff;
  --surface-muted: #f5f2ee;
  --border: #ebe6df;
  --border-strong: #ddd5cb;

  --ink: #1c1a17;
  --ink-muted: #6b655d;
  --ink-subtle: #948d83;

  --brand-blue: #9cc0ed;
  --brand-peach: #f8ac8d;
  --brand-mint: #cfe9cc;
  --brand-blue-soft: #eaf2fc;
  --brand-peach-soft: #fdefe8;
  --brand-mint-soft: #eef7ed;

  --grad-from: #ffb07e;
  --grad-to: #894eff;

  --accent: #2f6bb0;
  --accent-soft: #eaf2fc;
  --primary: #26262b;

  /* Call to action. The logo's coral (#ff6b4a) taken down until white text
     clears 4.5:1 on it — 4.67:1 measured. Brand orange that still passes. */
  --cta: #d33f16;
  --cta-hover: #c93a12;

  --positive: #2e7d52;
  --positive-soft: #eaf5ef;
  --negative: #c0492f;
  --negative-soft: #fdeeea;
  --warning: #a86b2a;
  --warning-soft: #fdf2e6;

  --radius-card: 12px;
  --shadow-card: 0 1px 2px rgba(28, 26, 23, 0.04);

  /* --- marketing additions ----------------------------------------- */
  --wordmark: #1b1b3f;
  --shadow-float: 0 18px 40px -20px rgba(28, 26, 23, 0.28),
    0 2px 6px rgba(28, 26, 23, 0.04);
  --shadow-lift: 0 32px 70px -34px rgba(28, 26, 23, 0.34),
    0 2px 8px rgba(28, 26, 23, 0.05);

  --header-h: 4.5rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 68ch;
  --shell: 1240px;

  /* Exponential ease-out. One curve for the whole site. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

/* =========================================================================
   Reset and base
   ========================================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'kern' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Browser surfaces: the parts nobody draws still carry the design. */
::selection { background: var(--brand-peach-soft); color: var(--ink); }
:root { caret-color: var(--accent); accent-color: var(--accent); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
* { scrollbar-color: var(--border-strong) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border: 3px solid var(--canvas);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-subtle); }

/* Every number in this product is a measurement. Line them up. */
.num, table, .tabular { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-card) 0;
}
.skip-link:focus { left: 0; }

/* =========================================================================
   Layout
   ========================================================================= */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: 1440px; }

section { position: relative; }

.band { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band--surface { background: var(--surface); border-block: 1px solid var(--border); }
.band--muted { background: var(--surface-muted); border-block: 1px solid var(--border); }
.band--blue { background: var(--brand-blue-soft); }
.band--peach { background: var(--brand-peach-soft); }
.band--mint { background: var(--brand-mint-soft); }

/* More space above a heading than below it. */
.band > .shell > * + * { margin-top: 1.25rem; }
.band__head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.band__head p { color: var(--ink-muted); margin-top: 1rem; font-size: 1.125rem; }

/* =========================================================================
   Type scale
   ========================================================================= */

.display {
  font-size: clamp(2.75rem, 6.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
  font-weight: 600;
}
.h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 46ch;
}
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.small { font-size: 0.875rem; }
.muted { color: var(--ink-muted); }
.subtle { color: var(--ink-subtle); }

/* The one gradient in the type, on the one word that carries the claim.
   Inherited from the product hero and the brandmark's wings. */
.grad {
  /* Three stops, two colours: the peach returns at the far end so the drift
     loops without ever mixing in a hue the brand does not own. */
  background: linear-gradient(
    103deg,
    var(--grad-from) 0%,
    var(--grad-to) 50%,
    var(--grad-from) 100%
  );
  background-size: 230% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-inline-end: 0.04em;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .grad { animation: grad-drift 16s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
}
@keyframes grad-drift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* =========================================================================
   Controls
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.66rem 1.1rem;
  font-size: 0.9062rem;
  font-weight: 600;
  letter-spacing: -0.011em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-soft),
    border-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft),
    transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}
.btn--primary:hover { background: #16161a; }

/* The dark button stays available for places the orange would shout. */
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: #16161a; }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface-muted); border-color: var(--ink-subtle); }

.btn--lg { padding: 0.85rem 1.35rem; font-size: 0.9375rem; border-radius: 8px; }

.link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
  transition: text-decoration-color 0.2s var(--ease-soft);
  font-weight: 500;
}
.link:hover { text-decoration-color: var(--accent); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.006em;
  white-space: nowrap;
}
.pill--positive { background: var(--positive-soft); color: var(--positive); }
.pill--neutral { background: var(--surface-muted); color: var(--ink-muted); }
.pill--negative { background: var(--negative-soft); color: var(--negative); }
.pill--warning { background: var(--warning-soft); color: var(--warning); }
.pill--you { background: var(--accent-soft); color: var(--accent); }

/* =========================================================================
   Cards and panels
   ========================================================================= */

/* Elevation is declared once: border OR shadow, never a hairline under a
   wide soft shadow. Flat panels carry a border; floating ones carry shadow. */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.panel--pad { padding: clamp(1.25rem, 2.2vw, 1.75rem); }

.float {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
}

/* =========================================================================
   Plans
   Shared by the homepage and the pricing page, so it lives in the system
   rather than in one page's stylesheet.
   ========================================================================= */

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1000px; margin-inline: auto; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.35rem;
  display: flex; flex-direction: column; height: 100%;
}
.plan[data-featured] { border-color: var(--ink); }
.plan__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; }
.plan__price { margin-top: 0.9rem; font-size: 2.25rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price small { font-size: 0.875rem; font-weight: 500; color: var(--ink-subtle); letter-spacing: -0.01em; }
.plan__for { margin-top: 0.5rem; font-size: 0.875rem; color: var(--ink-muted); min-height: 2.6em; }
.plan .btn { margin-top: 1.25rem; width: 100%; }
.plan__assure { margin-top: 0.55rem; font-size: 0.75rem; line-height: 1.4; color: var(--ink-subtle); text-align: center; }
.plan__list { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.plan__list li { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-muted); padding: 0.28rem 0; }
.plan__list li svg { width: 15px; height: 15px; flex: none; margin-top: 0.2em; color: var(--positive); }
.plan__list li[data-off] { color: var(--ink-subtle); }
.plan__list li[data-soon] { color: var(--ink-muted); }
.plan__list li[data-soon] svg { color: var(--warning); }
.plan__list li .soon {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.plan__list li[data-off] svg { color: var(--border-strong); }
@media (max-width: 1000px) { .plans, .plans--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans, .plans--3 { grid-template-columns: 1fr; } }

/* =========================================================================
   FAQ
   Gedeeld door de homepage, de prijzenpagina en elke pagina waar een
   FAQ-groep aan hangt — dus hier en niet in home.css.
   ========================================================================= */

.faq { max-width: 800px; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg {
  width: 18px; height: 18px; flex: none; color: var(--ink-subtle);
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__a { padding-bottom: 1.5rem; color: var(--ink-muted); max-width: 68ch; line-height: 1.65; }
.faq__a p + p { margin-top: 0.85em; }


/* =========================================================================
   Aurora — the peach-to-violet bloom from the product's own backdrop.
   Painted, never an image, so it costs nothing and scales anywhere.
   ========================================================================= */

.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora::before,
.aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .aurora::before { animation: aurora-a 34s ease-in-out infinite alternate; }
  .aurora::after { animation: aurora-b 41s ease-in-out infinite alternate; }
}
@keyframes aurora-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-7%, 5%, 0) scale(1.14); }
}
@keyframes aurora-b {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8%, -6%, 0) scale(1.1); }
}

/* Static grain over the bloom. One tiled 140px tile, painted once, never
   animated: it gives the light a surface without costing a frame. */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
  background-repeat: repeat;
}
.aurora::before {
  width: 58vw;
  height: 58vw;
  max-width: 900px;
  max-height: 900px;
  top: -28vw;
  right: -14vw;
  background: radial-gradient(
    circle at 50% 50%,
    color-mix(in srgb, var(--grad-from) 46%, transparent) 0%,
    color-mix(in srgb, var(--grad-from) 12%, transparent) 55%,
    transparent 72%
  );
}
.aurora::after {
  width: 46vw;
  height: 46vw;
  max-width: 760px;
  max-height: 760px;
  bottom: -24vw;
  left: -16vw;
  background: radial-gradient(
    circle at 50% 50%,
    color-mix(in srgb, var(--grad-to) 24%, transparent) 0%,
    color-mix(in srgb, var(--grad-to) 7%, transparent) 55%,
    transparent 72%
  );
}

/* =========================================================================
   Header
   ========================================================================= */

/* At the top of the page the header is nothing but its own contents: no
   ground, no blur, no rule. It only becomes a bar once it starts covering
   something. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease-soft),
    background-color 0.35s var(--ease-soft),
    backdrop-filter 0.35s var(--ease-soft);
}
.site-header[data-stuck='true'] {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 26px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.site-nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: -0.01em;
  transition: color 0.18s var(--ease-soft);
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn)[aria-current='page'] { color: var(--ink); }
.site-nav a.btn { text-decoration: none; }
.site-nav a.btn--primary { color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0.25s;
  }
  .site-nav[data-open='true'] { opacity: 1; visibility: visible; transform: none; }
  .site-nav a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1.0625rem; }
  .site-nav .btn { margin-top: 1rem; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .icon-close, .nav-toggle[aria-expanded='true'] .icon-open { display: none; }
  .nav-toggle[aria-expanded='true'] .icon-close { display: block; }
}

/* =========================================================================
   Motion — one authored grammar, used everywhere.
   Content is visible by default; the reveal only adds the arrival.
   ========================================================================= */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.9s var(--ease),
      filter 0.7s var(--ease);
    filter: blur(6px);
    transition-delay: var(--delay, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

  .js [data-reveal='rise'] { transform: translateY(34px) scale(0.985); }
  .js [data-reveal='left'] { transform: translateX(-24px); filter: blur(4px); }
  .js [data-reveal='right'] { transform: translateX(24px); filter: blur(4px); }
}

.js-off [data-reveal] { opacity: 1; transform: none; filter: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; filter: none; }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-grid h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-subtle);
  margin-bottom: 1rem;
}
.footer-grid li + li { margin-top: 0.6rem; }
.footer-grid a {
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.9375rem;
  transition: color 0.18s var(--ease-soft);
}
.footer-grid a:hover { color: var(--ink); }
.footer-base {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  color: var(--ink-subtle);
  font-size: 0.8125rem;
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* =========================================================================
   Utilities
   ========================================================================= */

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================================
   The mark
   Two wings, pivoting on the body. At rest they flutter once every 18s;
   the rest of the keyframe timeline is deliberately still, so the page is
   not animating continuously — it just occasionally breathes.
   ========================================================================= */

.bf-logo {
  height: 26px;
  width: auto;
  display: block;
  overflow: visible;
}
.bf-logo--footer { height: 26px; }

.bf-wing {
  transform-box: fill-box;
  transform-origin: var(--pivot) 62%;
}
/* Each wing pivots on the edge that meets the body. */
.bf-wing--l { --pivot: 100%; }
.bf-wing--r { --pivot: 0%; }

/* The interval and the speed are both set by site.js, so no two flaps are
   quite the same. A fixed loop reads as a GIF; a varying one reads alive. */
@media (prefers-reduced-motion: no-preference) {
  .bf-logo.is-flapping .bf-wing--l { animation: bf-flap-l var(--flap, 900ms) var(--ease-soft) 1; }
  .bf-logo.is-flapping .bf-wing--r { animation: bf-flap-r var(--flap, 900ms) var(--ease-soft) 1; }

  /* Hover anywhere on the mark flaps it now. */
  .brand:hover .bf-wing--l,
  .brand:focus-visible .bf-wing--l,
  .bf-logo:hover .bf-wing--l { animation: bf-flap-l 820ms var(--ease-soft) 1; }
  .brand:hover .bf-wing--r,
  .brand:focus-visible .bf-wing--r,
  .bf-logo:hover .bf-wing--r { animation: bf-flap-r 820ms var(--ease-soft) 1; }
}

@keyframes bf-flap-l {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  18%  { transform: scaleX(0.64) rotate(-4deg); }
  38%  { transform: scaleX(1.06) rotate(2deg); }
  58%  { transform: scaleX(0.78) rotate(-2deg); }
  80%  { transform: scaleX(1.02) rotate(0.6deg); }
}
@keyframes bf-flap-r {
  0%, 100% { transform: scaleX(1) rotate(0deg); }
  18%  { transform: scaleX(0.64) rotate(4deg); }
  38%  { transform: scaleX(1.06) rotate(-2deg); }
  58%  { transform: scaleX(0.78) rotate(2deg); }
  80%  { transform: scaleX(1.02) rotate(-0.6deg); }
}

/* =========================================================================
   WordPress
   Alles hieronder bestond niet in de statische site en is nodig zodra de
   inhoud uit een editor komt: rasters die met een groeiende blog meegroeien,
   de blokken die het thema zelf toevoegt, en de klassen die WordPress in de
   tekst zet. Verder niets — de rest van dit bestand blijft het ontwerp.
   ========================================================================= */

/* --- prijsraster bij een ander aantal plannen -------------------------- */
.plans--1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.plans--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .plans--1, .plans--2, .plans--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .plans--1 { grid-template-columns: minmax(0, 380px); }
}
@media (max-width: 560px) {
  .plans--1, .plans--2, .plans--4 { grid-template-columns: 1fr; }
}

/* Het label op een kaart, bijvoorbeeld "Meest gekozen". */
.plan { position: relative; }
.plan__badge {
  position: absolute;
  top: -0.7rem; left: 1.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

/* --- het korte antwoord ----------------------------------------------- */
/* Het blok bovenaan een pagina waar de speakable in het schema naar wijst.
   Wit en strak: het is een samenvatting van de pagina, geen uitgelicht
   kader dat om aandacht vraagt. De hiërarchie zit in gewicht en kleur, niet
   in grootte — kop en tekst staan op dezelfde corpsgrootte.

   De selectors zijn expres zwaar genoeg om .read__body h2 te verslaan. Op
   de pagina's staat dit blok binnen .read__body, en die h2-regel zou de
   kop anders op paginakop-formaat zetten. */
.answer-box {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}
.answer-box .answer-box__title,
.read__body .answer-box__title,
.article .answer-box__title {
  margin: 0 0 0.3rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
}
.answer-box__body > :first-child { margin-top: 0; }
.answer-box__body > :last-child { margin-bottom: 0; }
.answer-box .answer-box__body p,
.read__body .answer-box__body p {
  margin-bottom: 0.6em;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-muted);
}
.answer-box .answer-box__body p:last-child,
.read__body .answer-box__body p:last-child { margin-bottom: 0; }

/* --- inhoudsopgave ----------------------------------------------------- */
.toc {
  margin: 0 0 2.5rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}
.toc__title {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.toc__list { margin: 0; padding-left: 1.1rem; }
.toc__list li { font-size: 0.9375rem; padding: 0.15rem 0; color: var(--ink-muted); }
.toc__list a { color: var(--ink-muted); text-decoration: none; }
.toc__list a:hover { color: var(--ink); text-decoration: underline; }

/* --- overzicht dat blijft werken als de blog groeit --------------------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .story-grid { grid-template-columns: 1fr; } }

/* --- paginering -------------------------------------------------------- */
.pager { margin-top: 3rem; }
.pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
}
.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.pager .page-numbers:hover { color: var(--ink); border-color: var(--border-strong); }
.pager .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.pager .page-numbers.dots { border-color: transparent; background: transparent; }

/* --- zoekformulier ----------------------------------------------------- */
.search-form { display: flex; gap: 0.6rem; margin-bottom: 2.5rem; max-width: 34rem; }
.search-form input[type='search'] {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
}
.search-form input[type='search']:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* --- kleine dingen ----------------------------------------------------- */
.footer-tagline { margin-top: 1rem; max-width: 32ch; }
.notice-empty {
  padding: 1rem 1.25rem;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-card);
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* --- klassen die WordPress zelf in de tekst zet ------------------------ */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.alignleft { float: left; margin: 0.4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: none; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption,
figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--ink-subtle);
}
.wp-block-image img,
.wp-block-embed iframe { max-width: 100%; height: auto; border-radius: var(--radius-card); }
.wp-block-table { overflow-x: auto; }
.wp-block-quote { padding-left: 1.1rem; border-left: 2px solid var(--border-strong); font-style: normal; }
