/**
 * factuur-tool.css — scoped styles for /factuur-maken-gratis.
 *
 * Page is a static landing page with a petite-vue powered invoice tool.
 * Everything is namespaced under .factuur-tool-* so it can't leak into
 * other landing pages. The Vue tool selectors (factuur-tool-form,
 * factuur-tool-card, factuur-tool-field, factuur-tool-lines, …) keep
 * their original names so factuur-tool.js binds without changes.
 */

/*
 * FOUC guard for the petite-vue shell. Without it, a fresh visitor
 * sees raw `{{ pdfFilename() }}`, `{{ form.business.name || ... }}`,
 * `{{ formatCurrency(item.unitPrice) }}` etc. until petite-vue mounts
 * — reads as a broken page on the highest-conversion lead-gen
 * surface. petite-vue strips the v-cloak attribute on mount, so the
 * section flips visible the instant the scope is bound. Visibility
 * (not display:none) keeps the layout height reserved, so the page
 * doesn't jump after mount.
 */
.factuur-tool-shell[v-cloak] {
  visibility: hidden;
}

.factuur-tool-body {
  --ftc-blue-900: #042c5c;
  --ftc-blue-800: #06346e;
  --ftc-blue-700: #0a488b;
  --ftc-blue-600: #015ea8;
  --ftc-blue-500: #0d7fc6;
  --ftc-blue-400: #0da8ec;
  --ftc-blue-100: #e3f1fb;
  --ftc-blue-50: #f4faff;
  --ftc-green-600: #2c6f22;
  --ftc-green-500: #4f9a18;
  --ftc-green-400: #72b518;
  --ftc-green-50: #f1faea;
  --ftc-ink-900: #0b1620;
  --ftc-ink-700: #2a3947;
  --ftc-ink-500: #5a6878;
  --ftc-ink-400: #8a96a4;
  --ftc-ink-300: #c8d0d9;
  --ftc-ink-200: #e3e8ee;
  --ftc-ink-100: #eef1f5;
  --ftc-ink-50: #f6f8fa;
  --ftc-bg: #fbfcfd;
  --ftc-card: #ffffff;
  --ftc-radius: 14px;
  --ftc-radius-lg: 22px;
  --ftc-shadow-sm: 0 1px 2px rgba(8, 22, 40, 0.04), 0 1px 1px rgba(8, 22, 40, 0.03);
  --ftc-shadow: 0 6px 20px -8px rgba(8, 22, 40, 0.12), 0 2px 6px -2px rgba(8, 22, 40, 0.06);
  --ftc-shadow-lg: 0 30px 60px -25px rgba(8, 30, 70, 0.25), 0 10px 25px -10px rgba(8, 30, 70, 0.12);
  --ftc-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ftc-mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;

  background: var(--ftc-bg);
  color: var(--ftc-ink-900);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  /* Hint to the UA + form controls that this page is light only. The
     inline theme-init also pins data-theme=light, but this keeps form
     widgets (date pickers, scrollbars, autofill) from rendering in
     dark variants on dark-mode systems. */
  color-scheme: light;
}

/* Reset the inherited landing-main constraint — the new design uses
   section-level containers with their own max-width. */
.factuur-tool-body .factuur-tool-main {
  max-width: none;
  margin: 0;
  padding: 0;
}

.factuur-tool-body .factuur-tool-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ─────────────────────────────────────────────────────────────
   1. Top nav — light tweaks on top of landing-nav
   ───────────────────────────────────────────────────────────── */
.factuur-tool-body .factuur-tool-nav {
  background: rgba(251, 252, 253, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(8, 22, 40, 0.06);
}

/* ─────────────────────────────────────────────────────────────
   2. Hero — gradient blobs, eyebrow pill, italic accent, preview card
   ───────────────────────────────────────────────────────────── */
.factuur-tool-hero {
  position: relative;
  overflow: hidden;
  /* Reserve top space for the fixed .landing-nav (height + float offset)
     so the eyebrow doesn't slide behind the nav pill. */
  padding: calc(var(--landing-nav-height, 76px) + var(--landing-nav-float-y, 12px) + 1.75rem) 0 2rem;
  text-align: center;
  margin: 0;
}
.factuur-tool-hero-intro {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.875rem;
  justify-items: center;
}
.factuur-tool-hero-intro .factuur-tool-hero-title {
  margin: 0;
}
.factuur-tool-hero-intro .factuur-tool-hero-lede {
  margin: 0;
  max-width: 38rem;
}
.factuur-tool-hero::before {
  content: "";
  position: absolute;
  inset: -40% 25% auto auto;
  width: 56rem;
  height: 56rem;
  background: radial-gradient(closest-side, rgba(13, 168, 236, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.factuur-tool-hero::after {
  content: "";
  position: absolute;
  left: -10rem;
  bottom: -18rem;
  width: 44rem;
  height: 44rem;
  background: radial-gradient(closest-side, rgba(114, 181, 24, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.factuur-tool-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ftc-ink-700);
  box-shadow: var(--ftc-shadow-sm);
}
.factuur-tool-eyebrow-dot {
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--ftc-green-50);
  display: grid;
  place-items: center;
}
.factuur-tool-eyebrow-dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ftc-green-400);
  box-shadow: 0 0 0 4px rgba(114, 181, 24, 0.2);
}

.factuur-tool-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  color: var(--ftc-ink-900);
}
.factuur-tool-hero-title em {
  font-family: var(--ftc-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--ftc-blue-600), var(--ftc-blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.05em;
}

.factuur-tool-hero-lede {
  font-size: 1.0625rem;
  color: var(--ftc-ink-500);
  max-width: 36rem;
  margin: 0;
  line-height: 1.55;
}

/* Button styling — overrides landing-btn for this page so we can use
   the Anthropic primary/outline shape inline. */
.factuur-tool-body .factuur-tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.375rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  transition:
    transform 80ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.factuur-tool-body .factuur-tool-btn:active {
  transform: translateY(1px);
}
.factuur-tool-body .factuur-tool-btn-primary {
  background: var(--ftc-blue-600);
  color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 20px -8px rgba(1, 94, 168, 0.55);
}
.factuur-tool-body .factuur-tool-btn-primary:hover {
  background: var(--ftc-blue-700);
}
.factuur-tool-body .factuur-tool-btn-outline {
  background: #ffffff;
  border-color: var(--ftc-ink-200);
  color: var(--ftc-ink-900);
}
.factuur-tool-body .factuur-tool-btn-outline:hover {
  border-color: var(--ftc-ink-300);
  background: var(--ftc-ink-50);
}
.factuur-tool-body .factuur-tool-btn-ghost {
  color: var(--ftc-ink-700);
  background: transparent;
}
.factuur-tool-body .factuur-tool-btn-ghost:hover {
  background: var(--ftc-ink-100);
}

/* (Removed) Static invoice mock that used to live in the hero — the
   live builder preview pane below now does this job for real. The
   pulse keyframe is still used by .factuur-tool-shell-live-dot. */
@keyframes factuur-tool-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(114, 181, 24, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(114, 181, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(114, 181, 24, 0);
  }
}

/* ─────────────────────────────────────────────────────────────
   3. Logo trust strip
   ───────────────────────────────────────────────────────────── */
.factuur-tool-strip {
  padding: 2.25rem 0;
  border-top: 1px solid var(--ftc-ink-100);
  border-bottom: 1px solid var(--ftc-ink-100);
  background: #ffffff;
}
.factuur-tool-strip-head {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ftc-ink-500);
  margin-bottom: 1.125rem;
  font-weight: 500;
}
.factuur-tool-strip-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  color: var(--ftc-ink-400);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.125rem;
  flex-wrap: wrap;
}
.factuur-tool-strip-logos span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  opacity: 0.75;
}
.factuur-tool-strip-logos .ideal-logo {
  color: #c2007a;
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────
   4. Section frame
   ───────────────────────────────────────────────────────────── */
.factuur-tool-section {
  padding: 5.625rem 0;
}
.factuur-tool-section-head {
  max-width: 45rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.factuur-tool-section-tag {
  display: inline-block;
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--ftc-blue-600);
  background: var(--ftc-blue-50);
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.875rem;
  letter-spacing: 0.02em;
}
.factuur-tool-section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.875rem;
  color: var(--ftc-ink-900);
}
.factuur-tool-section-head h2 em {
  font-family: var(--ftc-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ftc-blue-600);
}
.factuur-tool-section-head p {
  font-size: 1.0625rem;
  color: var(--ftc-ink-500);
  margin: 0;
}

/* ─────────────────────────────────────────────────────────────
   5. Live builder shell (split-pane: form left, live preview right)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-builder-section {
  padding: 0 0 4.5rem;
  scroll-margin-top: calc(
    var(--landing-nav-height, 76px) + var(--landing-nav-float-y, 12px) + 1rem
  );
}

.factuur-tool-shell {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  border-radius: 1.5rem;
  box-shadow: var(--ftc-shadow-lg);
  /* clip (not hidden) keeps the rounded corners but lets the sticky
     preview paper inside still stick — hidden would break it. */
  overflow: clip;
}

/* "Browser-window" topbar with dots, filename crumb, and live indicator */
.factuur-tool-shell-topbar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.375rem;
  background: #fafbfc;
  border-bottom: 1px solid var(--ftc-ink-100);
}
.factuur-tool-shell-dots {
  display: flex;
  gap: 0.3125rem;
}
.factuur-tool-shell-dots span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: #d0d6dd;
}
.factuur-tool-shell-dots span:nth-child(1) {
  background: #ff6159;
}
.factuur-tool-shell-dots span:nth-child(2) {
  background: #ffbd2e;
}
.factuur-tool-shell-dots span:nth-child(3) {
  background: #29c93f;
}
.factuur-tool-shell-crumb {
  flex: 1;
  text-align: center;
  font-size: 0.78125rem;
  color: var(--ftc-ink-500);
  font-family: var(--ftc-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.factuur-tool-shell-crumb b {
  color: var(--ftc-ink-900);
  font-weight: 600;
}
.factuur-tool-shell-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.75rem;
  color: var(--ftc-green-500);
  font-weight: 600;
  white-space: nowrap;
}
.factuur-tool-shell-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ftc-green-400);
  box-shadow: 0 0 0 0 rgba(114, 181, 24, 0.7);
  animation: factuur-tool-pulse 1.8s infinite;
}

/* Split-pane grid: form gets ~55% so the inputs fit nicely, preview
   ~45% — slimmer than the form on purpose, since the paper is locked
   to A4 proportions and a wider preview would dwarf the form. */
.factuur-tool-shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: stretch;
}

.factuur-tool-shell-form-pane {
  background: #fafbfc;
  border-right: 1px solid var(--ftc-ink-100);
  padding: 1.75rem 2rem 2rem;
  min-width: 0;
}

.factuur-tool-shell-preview-pane {
  background: #f4f6f9;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

/* A4 paper (210×297mm = 1:1.414). Lock aspect-ratio so the preview
   always reads as a sheet, not a content-driven blob. Container-type
   lets the doc inside size everything in cqi units so the content
   scales with paper width (true A4 miniature, not a fixed-px card). */
.factuur-tool-shell-paper {
  background: #ffffff;
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 210 / 297;
  border-radius: 6px;
  box-shadow:
    0 20px 40px -20px rgba(8, 22, 40, 0.15),
    0 4px 10px -4px rgba(8, 22, 40, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  /* Keep the invoice in view while the (taller) form scrolls.
     Works because the shell + html/body use overflow:clip, not hidden. */
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

/* Mobile: stack form on top, preview below */
@media (max-width: 960px) {
  .factuur-tool-shell-grid {
    grid-template-columns: 1fr;
  }
  .factuur-tool-shell-form-pane {
    border-right: 0;
    border-bottom: 1px solid var(--ftc-ink-100);
    padding: 1.625rem 1.5rem 1.75rem;
  }
  .factuur-tool-shell-preview-pane {
    padding: 1.5rem;
  }
  .factuur-tool-shell-paper {
    /* Stacked layout: preview sits below the form, no sticking. */
    position: static;
  }
}

/* Inside the narrow form pane, flatten the card chrome so 4 cards in
   a 380px column stay legible. Keep the legend's blue dot for hierarchy. */
.factuur-tool-shell-form-pane .factuur-tool-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}
.factuur-tool-shell-form-pane .factuur-tool-card + .factuur-tool-card {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ftc-ink-100);
}
.factuur-tool-shell-form-pane .factuur-tool-card-title {
  padding: 0;
  font-size: 0.875rem;
}
.factuur-tool-shell-form-pane .factuur-tool-grid {
  margin-top: 0.75rem;
}
.factuur-tool-shell-form-pane .factuur-tool-more {
  margin-top: 0.625rem;
  font-size: 0.8125rem;
}
.factuur-tool-shell-form-pane .factuur-tool-more summary {
  cursor: pointer;
  color: var(--ftc-blue-600);
  font-weight: 500;
  padding: 0.375rem 0;
}
/* Logo on/off toggle in the business card. The checkbox needs explicit
   sizing to escape the global `input { width:100%; height:control }` reset. */
.factuur-tool-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  color: var(--ftc-ink-700);
  cursor: pointer;
}
.factuur-tool-toggle input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex: none;
  margin: 0;
  padding: 0;
  accent-color: var(--ftc-blue-600);
  cursor: pointer;
}
/* Inline hint under a toggle (e.g. the reverse-charge explainer + app upsell). */
.factuur-tool-toggle-hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ftc-ink-500);
}
.factuur-tool-toggle-hint a {
  color: var(--ftc-blue-600);
  font-weight: 500;
}
/* Reverse-charge notice in the live preview (mirrors the PDF block). */
.factuur-tool-preview-rc {
  margin: 4cqi 0 0;
  padding: 3cqi 3.5cqi;
  border: 1px solid var(--ftc-ink-100);
  border-radius: 2cqi;
  background: #f8fafc;
}
.factuur-tool-preview-rc b {
  display: block;
  font-size: 2.6cqi;
  color: var(--ftc-ink-700);
}
.factuur-tool-preview-rc span {
  font-size: 2.6cqi;
  color: var(--ftc-ink-500);
}
/* Compact line-item grid in the narrow form pane: drop the per-line
   subtotal column (it's visible in the live preview) and tighten widths. */
.factuur-tool-shell-form-pane .factuur-tool-lines-head,
.factuur-tool-shell-form-pane .factuur-tool-line {
  grid-template-columns: 2.2fr 0.7fr 1fr 0.9fr 1.75rem;
}
.factuur-tool-shell-form-pane .factuur-tool-line-subtotal,
.factuur-tool-shell-form-pane .factuur-tool-lines-head > span:nth-child(5) {
  display: none;
}
.factuur-tool-shell-form-pane .factuur-tool-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ftc-ink-100);
  text-align: left;
  display: grid;
  gap: 0.5rem;
}
.factuur-tool-shell-form-pane .factuur-tool-actions .landing-btn-primary {
  width: 100%;
  justify-self: stretch;
}
.factuur-tool-actions-hint {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ftc-ink-400);
}

/* ── Live preview document (right pane) ──────────────────────
   All sizes use container query units (cqi = 1% of paper width)
   so the doc scales as a true A4 miniature. Reference values: a
   typical printed A4 has ~12-16mm margins, ~10pt body type. At
   210mm-wide paper that maps to ~6-8% margins and ~1.8% font. */
.factuur-tool-preview-doc {
  padding: 6cqi 7cqi 7cqi;
  font-size: 2cqi;
  color: var(--ftc-ink-900);
  line-height: 1.5;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.factuur-tool-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3cqi;
  padding-bottom: 3cqi;
  border-bottom: 1px solid var(--ftc-ink-100);
}
.factuur-tool-preview-brand {
  display: flex;
  align-items: center;
  gap: 1.6cqi;
  min-width: 0;
}
.factuur-tool-preview-swatch {
  width: 5cqi;
  height: 5cqi;
  border-radius: 1.25cqi;
  background: linear-gradient(135deg, var(--ftc-blue-600), var(--ftc-blue-400));
  flex-shrink: 0;
  /* Live monogram: first letter of the business name (updates as you type),
     so the square reads as a logo placeholder instead of empty chrome. */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 2.75cqi;
  line-height: 1;
}
.factuur-tool-preview-brand b {
  font-size: 2.4cqi;
  font-weight: 600;
  word-break: break-word;
}
.factuur-tool-preview-brand-sub {
  font-size: 1.7cqi;
  color: var(--ftc-ink-500);
}
.factuur-tool-preview-meta {
  text-align: right;
  font-size: 1.8cqi;
  color: var(--ftc-ink-500);
  line-height: 1.6;
  white-space: nowrap;
}
.factuur-tool-preview-meta b {
  color: var(--ftc-ink-900);
  font-size: 2cqi;
  font-weight: 600;
}
.factuur-tool-preview-num {
  font-family: var(--ftc-mono);
}
.factuur-tool-preview-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5cqi;
  padding: 2.8cqi 0;
  font-size: 1.9cqi;
  color: var(--ftc-ink-500);
}
.factuur-tool-preview-parties .label {
  font-size: 1.6cqi;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ftc-ink-400);
  margin-bottom: 0.9cqi;
}
.factuur-tool-preview-parties b {
  color: var(--ftc-ink-900);
  font-weight: 600;
  display: block;
  font-size: 2cqi;
  margin-bottom: 0.6cqi;
  word-break: break-word;
}
.factuur-tool-preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.9cqi;
}
.factuur-tool-preview-table th {
  text-align: left;
  padding: 1.6cqi 0;
  font-weight: 500;
  color: var(--ftc-ink-400);
  border-bottom: 1px solid var(--ftc-ink-100);
  font-size: 1.6cqi;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.factuur-tool-preview-table td {
  padding: 1.7cqi 0;
  border-bottom: 1px dashed var(--ftc-ink-100);
  vertical-align: top;
}
.factuur-tool-preview-table td.num,
.factuur-tool-preview-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--ftc-mono);
}
.factuur-tool-preview-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.9cqi 3.5cqi;
  margin-top: 2.8cqi;
  font-size: 1.9cqi;
}
.factuur-tool-preview-totals .row {
  display: contents;
}
.factuur-tool-preview-totals .row > div:first-child {
  color: var(--ftc-ink-500);
  text-align: right;
}
.factuur-tool-preview-totals .row > div:last-child {
  font-variant-numeric: tabular-nums;
  font-family: var(--ftc-mono);
  text-align: right;
}
.factuur-tool-preview-totals .grand {
  font-weight: 700;
  font-size: 2.5cqi;
  color: var(--ftc-ink-900);
}
.factuur-tool-preview-totals .grand > div {
  padding-top: 1.25cqi;
  border-top: 1px solid var(--ftc-ink-200);
  margin-top: 0.6cqi;
}
.factuur-tool-preview-totals .grand > div:first-child {
  color: var(--ftc-ink-900);
}
.factuur-tool-preview-pay {
  margin-top: 3.4cqi;
  padding: 2.2cqi 2.5cqi;
  border-radius: 1.9cqi;
  background: linear-gradient(135deg, var(--ftc-blue-50), #ffffff);
  border: 1px solid var(--ftc-blue-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5cqi;
}
.factuur-tool-preview-pay .text {
  font-size: 1.9cqi;
  color: var(--ftc-ink-700);
  display: grid;
  gap: 0.3cqi;
}
.factuur-tool-preview-pay .text b {
  color: var(--ftc-ink-900);
  font-weight: 600;
}
.factuur-tool-preview-pay .qr {
  background: #ffffff;
  padding: 1.25cqi 1.9cqi;
  border-radius: 1.25cqi;
  font-size: 1.7cqi;
  font-weight: 700;
  color: var(--ftc-blue-700);
  border: 1px solid var(--ftc-ink-200);
  white-space: nowrap;
}

/* The post-download conversion CTA sits below the grid, full-width
   inside the shell. */
.factuur-tool-shell > .factuur-tool-conversion {
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--ftc-blue-100);
  margin: 0;
  padding: 2rem 1.5rem;
}

.factuur-tool-form {
  display: grid;
  gap: 1.5rem;
}
.factuur-tool-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Cards (form sections) ────────────────────────────────── */
.factuur-tool-card {
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  border-radius: var(--ftc-radius-lg);
  padding: 1.75rem;
  box-shadow: var(--ftc-shadow-sm);
}
.factuur-tool-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ftc-ink-900);
  letter-spacing: -0.01em;
  padding: 0 0.25rem;
  margin: 0 0 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.factuur-tool-card-title::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--ftc-blue-500);
  box-shadow: 0 0 0 3px var(--ftc-blue-50);
}
.factuur-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  margin-top: 1.125rem;
}
.factuur-tool-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
}
.factuur-tool-field-wide {
  grid-column: span 2;
}
.factuur-tool-field > span {
  font-weight: 500;
  color: var(--ftc-ink-500);
  font-size: 0.78125rem;
}
.factuur-tool-field > span small {
  font-weight: 400;
  color: var(--ftc-ink-400);
}
.factuur-tool-required {
  color: #d33;
  margin-left: 0.125rem;
}
.factuur-tool-field input,
.factuur-tool-field textarea,
.factuur-tool-field select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--ftc-ink-200);
  border-radius: 0.5625rem;
  background: #ffffff;
  color: var(--ftc-ink-900);
  font-size: 0.875rem;
  font-family: inherit;
  transition:
    border-color 120ms,
    box-shadow 120ms;
}
.factuur-tool-field input:focus,
.factuur-tool-field textarea:focus,
.factuur-tool-field select:focus {
  outline: none;
  border-color: var(--ftc-blue-500);
  box-shadow: 0 0 0 4px rgba(13, 127, 198, 0.12);
}
.factuur-tool-field small {
  font-size: 0.75rem;
  color: var(--ftc-ink-500);
}
.factuur-tool-field small.factuur-tool-error {
  color: #dc2626;
}

/* ── KVK customer search suggestions ─────────────────────── */
.factuur-tool-field-search {
  position: relative;
}
.factuur-tool-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  border-radius: 0.625rem;
  margin-top: 0.25rem;
  max-height: 18rem;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  z-index: 10;
  box-shadow: var(--ftc-shadow);
}
.factuur-tool-suggest li {
  padding: 0.625rem 0.875rem;
  cursor: pointer;
  border-bottom: 1px solid var(--ftc-ink-100);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.factuur-tool-suggest li:last-child {
  border-bottom: none;
}
.factuur-tool-suggest li:hover {
  background: var(--ftc-ink-50);
}
.factuur-tool-suggest li strong {
  font-weight: 600;
  font-size: 0.9375rem;
}
.factuur-tool-suggest li span {
  font-size: 0.8rem;
  color: var(--ftc-ink-500);
}

/* ── Line items ────────────────────────────────────────────── */
.factuur-tool-lines {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}
.factuur-tool-lines-head,
.factuur-tool-line {
  display: grid;
  grid-template-columns: 2.5fr 0.7fr 1.1fr 0.8fr 1fr 2rem;
  gap: 0.5rem;
  align-items: center;
}
.factuur-tool-lines-head {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ftc-ink-400);
  padding: 0 0.25rem;
  font-weight: 600;
}
.factuur-tool-line input,
.factuur-tool-line select {
  padding: 0.5rem 0.625rem;
  border: 1px solid var(--ftc-ink-200);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  background: #ffffff;
}
.factuur-tool-line-subtotal {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: var(--ftc-mono);
}
.factuur-tool-line-remove {
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  color: var(--ftc-ink-400);
  font-size: 1.125rem;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  border-radius: 0.4375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.factuur-tool-line-remove:hover {
  color: #d33;
  border-color: #fbb;
}
.factuur-tool-line-add {
  margin-top: 0.625rem;
  background: #ffffff;
  color: var(--ftc-blue-600);
  border: 1px dashed var(--ftc-blue-400);
  padding: 0.5625rem 0.75rem;
  border-radius: 0.5625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}
.factuur-tool-line-add:hover {
  background: var(--ftc-blue-50);
}

/* ── Actions ───────────────────────────────────────────────── */
.factuur-tool-actions {
  text-align: center;
  display: grid;
  gap: 0.5rem;
}
.factuur-tool-actions .landing-btn-primary,
.factuur-tool-actions .factuur-tool-btn-primary {
  font-size: 1rem;
  padding: 1rem 2.25rem;
  justify-self: center;
  border-radius: 0.75rem;
}
.factuur-tool-actions button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Tame the legacy landing-btn-primary visual on this page so it matches
   the Anthropic-inspired btn-primary. */
.factuur-tool-body .factuur-tool-actions .landing-btn-primary {
  background: var(--ftc-blue-600);
  color: #ffffff;
  border: 1px solid var(--ftc-blue-600);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 8px 20px -8px rgba(1, 94, 168, 0.55);
}
.factuur-tool-body .factuur-tool-actions .landing-btn-primary:hover {
  background: var(--ftc-blue-700);
  border-color: var(--ftc-blue-700);
}
.factuur-tool-status {
  color: var(--ftc-ink-500);
  font-size: 0.875rem;
  margin: 0;
}
.factuur-tool-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin: 0;
}
.factuur-tool-draft-hint {
  color: var(--ftc-ink-500);
  font-size: 0.8rem;
  margin: 0;
}

/* ── Post-download conversion CTA ────────────────────────── */
.factuur-tool-conversion {
  background: linear-gradient(135deg, var(--ftc-blue-50), #ffffff);
  border: 1px solid var(--ftc-blue-100);
  border-radius: var(--ftc-radius-lg);
  padding: 2rem;
  text-align: center;
  display: grid;
  gap: 0.75rem;
  box-shadow: var(--ftc-shadow);
}
.factuur-tool-conversion h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.factuur-tool-conversion p {
  margin: 0 auto;
  max-width: 38rem;
  color: var(--ftc-ink-700);
  line-height: 1.55;
  font-size: 0.9375rem;
}
.factuur-tool-conversion .landing-btn,
.factuur-tool-conversion .factuur-tool-btn {
  justify-self: center;
}
.factuur-tool-claim-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 0.75rem auto 0;
}
.factuur-tool-claim-form input[type="email"] {
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--ftc-ink-200);
  border-radius: 0.5625rem;
  background: #ffffff;
  color: var(--ftc-ink-900);
  font-size: 0.9375rem;
  font-family: inherit;
}
.factuur-tool-claim-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ftc-blue-500);
  box-shadow: 0 0 0 4px rgba(13, 127, 198, 0.12);
}
.factuur-tool-claim-form button {
  white-space: nowrap;
}
.factuur-tool-claim-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--ftc-ink-500);
}
.factuur-tool-claim-hint a {
  color: var(--ftc-blue-600);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   6. Features grid (6 cards)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.375rem;
}
.factuur-tool-features-grid.factuur-tool-features-4 {
  grid-template-columns: repeat(4, 1fr);
}
.factuur-tool-feature {
  background: #ffffff;
  border-radius: var(--ftc-radius-lg);
  border: 1px solid var(--ftc-ink-200);
  padding: 1.75rem;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    border-color 150ms ease;
}
.factuur-tool-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--ftc-shadow);
  border-color: var(--ftc-ink-300);
}
.factuur-tool-feature-icon {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.6875rem;
  background: var(--ftc-blue-50);
  color: var(--ftc-blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.factuur-tool-feature.green .factuur-tool-feature-icon {
  background: var(--ftc-green-50);
  color: var(--ftc-green-500);
}
.factuur-tool-feature h3 {
  font-size: 1.0625rem;
  margin: 0 0 0.375rem;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ftc-ink-900);
}
.factuur-tool-feature p {
  color: var(--ftc-ink-500);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   7. How it works (4 steps, was already in old CSS as howto)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-how {
  background: linear-gradient(180deg, #ffffff, var(--ftc-blue-50));
  border-top: 1px solid var(--ftc-ink-100);
}
.factuur-tool-howto {
  margin: 0;
}
.factuur-tool-howto-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 2rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.factuur-tool-howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.375rem;
  position: relative;
}
.factuur-tool-howto-steps::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ftc-ink-300), transparent);
  z-index: 0;
}
.factuur-tool-howto-steps li {
  background: #ffffff;
  border: 1px solid var(--ftc-ink-200);
  border-radius: var(--ftc-radius-lg);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--ftc-shadow-sm);
}
.factuur-tool-howto-num {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--ftc-ink-900);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 1.125rem;
  box-shadow:
    0 0 0 6px #ffffff,
    0 0 0 7px var(--ftc-ink-100);
}
.factuur-tool-howto-steps h3 {
  margin: 0 0 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ftc-ink-900);
}
.factuur-tool-howto-steps p {
  margin: 0;
  color: var(--ftc-ink-500);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   8. Comparison (Excel vs MCD)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.375rem;
  max-width: 64rem;
  margin: 0 auto;
}
.factuur-tool-compare > div {
  background: #ffffff;
  border-radius: var(--ftc-radius-lg);
  padding: 2rem;
  border: 1px solid var(--ftc-ink-200);
}
.factuur-tool-compare .bad {
  background: var(--ftc-ink-50);
}
.factuur-tool-compare .good {
  border: 2px solid var(--ftc-blue-600);
  position: relative;
  box-shadow: 0 20px 40px -25px rgba(1, 94, 168, 0.4);
}
.factuur-tool-compare .good::before {
  content: "Aanbevolen";
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: var(--ftc-blue-600);
  color: #ffffff;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.factuur-tool-compare h3 {
  font-size: 1.1875rem;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.factuur-tool-compare .sub {
  color: var(--ftc-ink-500);
  font-size: 0.84375rem;
  margin-bottom: 1.125rem;
}
.factuur-tool-compare ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.factuur-tool-compare li {
  display: flex;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--ftc-ink-700);
  align-items: flex-start;
  line-height: 1.5;
}
.factuur-tool-compare li svg {
  flex-shrink: 0;
  margin-top: 0.1875rem;
}
.factuur-tool-compare .bad li svg {
  color: var(--ftc-ink-400);
}
.factuur-tool-compare .good li svg {
  color: var(--ftc-green-500);
}

/* ─────────────────────────────────────────────────────────────
   9. Legal checklist (dark)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-legal {
  background: var(--ftc-ink-900);
  color: #ffffff;
}
.factuur-tool-legal .factuur-tool-section-head h2 {
  color: #ffffff;
}
.factuur-tool-legal .factuur-tool-section-head p {
  color: rgba(255, 255, 255, 0.65);
}
.factuur-tool-legal .factuur-tool-section-tag {
  background: rgba(13, 168, 236, 0.15);
  color: var(--ftc-blue-400);
}
.factuur-tool-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.375rem;
  max-width: 64rem;
  margin: 0 auto;
}
.factuur-tool-legal-item {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1.125rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
}
.factuur-tool-legal-item .num {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: 0.5rem;
  background: rgba(13, 168, 236, 0.15);
  color: var(--ftc-blue-400);
  display: grid;
  place-items: center;
  font-size: 0.78125rem;
  font-weight: 700;
  font-family: var(--ftc-mono);
  flex-shrink: 0;
}
.factuur-tool-legal-item h4 {
  margin: 0 0 0.25rem;
  font-size: 0.90625rem;
  font-weight: 600;
}
.factuur-tool-legal-item p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}
.factuur-tool-legal-note {
  margin: 2.25rem auto 0;
  padding: 1.125rem 1.375rem;
  border-radius: 0.875rem;
  background: rgba(114, 181, 24, 0.1);
  border: 1px solid rgba(114, 181, 24, 0.25);
  display: flex;
  gap: 0.875rem;
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 64rem;
}
.factuur-tool-legal-note b {
  color: var(--ftc-green-400);
}
.factuur-tool-legal-note svg {
  color: var(--ftc-green-400);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   10. FAQ (accordion via <details>)
   ───────────────────────────────────────────────────────────── */
.factuur-tool-faq {
  max-width: 50rem;
  margin: 0 auto;
}
.factuur-tool-faq-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 2rem;
  text-align: center;
  letter-spacing: -0.02em;
}
.factuur-tool-faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ftc-ink-200);
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.factuur-tool-faq details:first-of-type {
  border-top: 1px solid var(--ftc-ink-200);
}
.factuur-tool-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  font-size: 1.0625rem;
  color: var(--ftc-ink-900);
  letter-spacing: -0.01em;
  padding: 1.375rem 0.25rem;
}
.factuur-tool-faq summary::-webkit-details-marker {
  display: none;
}
.factuur-tool-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--ftc-ink-100);
  color: var(--ftc-ink-700);
  font-size: 1.125rem;
  line-height: 1;
  transition:
    transform 200ms ease,
    background 200ms,
    color 200ms;
}
.factuur-tool-faq details[open] summary::after {
  content: "+";
  background: var(--ftc-blue-600);
  color: #ffffff;
  transform: rotate(45deg);
}
.factuur-tool-faq p {
  margin: 0 0.25rem 1.375rem;
  color: var(--ftc-ink-500);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 41rem;
}

/* ─────────────────────────────────────────────────────────────
   11. Cross-sell row
   ───────────────────────────────────────────────────────────── */
.factuur-tool-cross-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1.75rem;
  border-top: 1px solid var(--ftc-ink-200);
}
.factuur-tool-cross-links a {
  color: var(--ftc-ink-500);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}
.factuur-tool-cross-links a:hover {
  color: var(--ftc-blue-600);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────
   11b. Optional-fields disclosure inside form cards
   ───────────────────────────────────────────────────────────── */
.factuur-tool-more {
  margin-top: 1.125rem;
  border-top: 1px dashed var(--ftc-ink-200);
  padding-top: 0.5rem;
}
.factuur-tool-more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ftc-blue-600);
}
.factuur-tool-more > summary::-webkit-details-marker {
  display: none;
}
.factuur-tool-more > summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--ftc-blue-50);
  color: var(--ftc-blue-600);
  font-size: 0.9375rem;
  line-height: 1;
  font-weight: 600;
  transition: transform 150ms ease;
}
.factuur-tool-more[open] > summary::before {
  content: "−";
}
.factuur-tool-more > summary:hover {
  color: var(--ftc-blue-700);
}
.factuur-tool-more > .factuur-tool-grid {
  margin-top: 0.75rem;
}

/* ─────────────────────────────────────────────────────────────
   12. Final CTA banner
   ───────────────────────────────────────────────────────────── */
.factuur-tool-cta-banner {
  margin: 0 auto 5rem;
  max-width: 71.5rem;
  background: linear-gradient(135deg, var(--ftc-blue-700), var(--ftc-blue-500));
  color: #ffffff;
  padding: 3.5rem;
  border-radius: var(--ftc-radius-lg);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(1, 94, 168, 0.5);
}
.factuur-tool-cta-banner::before {
  content: "";
  position: absolute;
  right: -6.25rem;
  top: -6.25rem;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 168, 236, 0.5), transparent);
}
.factuur-tool-cta-banner::after {
  content: "";
  position: absolute;
  left: -5rem;
  bottom: -7.5rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(114, 181, 24, 0.35), transparent);
}
.factuur-tool-cta-banner > div {
  position: relative;
  z-index: 1;
}
.factuur-tool-cta-banner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.625rem;
  color: #ffffff;
  font-weight: 700;
}
.factuur-tool-cta-banner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.375rem;
  max-width: 28.75rem;
}
.factuur-tool-cta-banner .factuur-tool-btn {
  background: #ffffff;
  color: var(--ftc-blue-700);
}
.factuur-tool-cta-banner .factuur-tool-btn:hover {
  background: var(--ftc-blue-50);
}
.factuur-tool-cta-banner .factuur-tool-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.factuur-tool-cta-banner .factuur-tool-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.factuur-tool-cta-banner-actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.factuur-tool-cta-banner-side ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.factuur-tool-cta-banner-side li {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  font-size: 0.9rem;
}
.factuur-tool-cta-banner-side li svg {
  color: var(--ftc-green-400);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   13. Footer — keep landing-footer but soften
   ───────────────────────────────────────────────────────────── */
.factuur-tool-footer {
  border-top: 1px solid var(--ftc-ink-100);
  background: #ffffff;
}
.factuur-tool-footer .landing-footer-inner {
  text-align: center;
  padding: 2.5rem 1rem;
}
.factuur-tool-footer p {
  margin: 0.25rem 0;
  color: var(--ftc-ink-500);
  font-size: 0.84375rem;
}
.factuur-tool-footer a {
  color: var(--ftc-ink-700);
  text-decoration: none;
}
.factuur-tool-footer a:hover {
  color: var(--ftc-blue-600);
}

/* ─────────────────────────────────────────────────────────────
   14. Responsive
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .factuur-tool-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .factuur-tool-preview-card {
    transform: rotate(-1deg);
  }
  .factuur-tool-features-grid,
  .factuur-tool-features-grid.factuur-tool-features-4,
  .factuur-tool-howto-steps,
  .factuur-tool-legal-grid,
  .factuur-tool-compare {
    grid-template-columns: 1fr;
  }
  .factuur-tool-howto-steps::before {
    display: none;
  }
  .factuur-tool-cta-banner {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.75rem;
  }
}
@media (max-width: 768px) {
  .factuur-tool-section {
    padding: 3.5rem 0;
  }
  .factuur-tool-hero {
    padding: 2.5rem 0 3.5rem;
  }
  .factuur-tool-grid {
    grid-template-columns: 1fr;
  }
  .factuur-tool-field-wide {
    grid-column: span 1;
  }
  .factuur-tool-card {
    padding: 1.25rem;
  }
}
@media (max-width: 640px) {
  .factuur-tool-body .factuur-tool-container {
    padding: 0 1.125rem;
  }
  .factuur-tool-preview-badge,
  .factuur-tool-preview-toast {
    transform: none;
  }
  .factuur-tool-preview-badge {
    right: 0.5rem;
    top: 0.5rem;
  }
  .factuur-tool-preview-toast {
    left: 0.5rem;
    bottom: 0.5rem;
  }
  .factuur-tool-lines-head {
    display: none;
  }
  .factuur-tool-line {
    grid-template-columns: 1fr 1fr 2rem;
    grid-template-areas:
      "desc desc remove"
      "qty price vat"
      "subtotal subtotal subtotal";
    background: var(--ftc-ink-50);
    padding: 0.75rem;
    border-radius: 0.5rem;
    gap: 0.5rem;
  }
  .factuur-tool-line input:nth-child(1) {
    grid-area: desc;
  }
  .factuur-tool-line input:nth-child(2) {
    grid-area: qty;
  }
  .factuur-tool-line input:nth-child(3) {
    grid-area: price;
  }
  .factuur-tool-line select {
    grid-area: vat;
  }
  .factuur-tool-line-subtotal {
    grid-area: subtotal;
    text-align: right;
  }
  .factuur-tool-line-remove {
    grid-area: remove;
  }
}
@media (max-width: 480px) {
  .factuur-tool-claim-form {
    grid-template-columns: 1fr;
  }
}
