/* ============================================================
   Fiscely premium SaaS v48 - volledige UI/UX rework
   Typografie: Manrope (display), Inter (UI/body), Fraunces (accent)
   Fonts worden zelf gehost vanuit assets/fonts/ (geen CDN).
   Palet: warm papier + diep groen/mint + donker "forest" voor
   footer, CTA-band en featured pricing.
   Alle class-namen uit v46 blijven werken (JS injecteert markup).
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800.woff2") format("woff2");
}

:root {
  /* Kleur */
  --bg: #faf8f2;
  --surface: #fffefa;
  --surface-soft: #f4faf5;
  --surface-mint: #ecf7f0;
  --ink: #0e2118;
  --ink-soft: #294235;
  --muted: #5f6f66;
  --line: #e0d9c7;
  --line-soft: #eae4d4;
  --line-mint: #d7e8dd;
  --primary: #067a55;
  --primary-strong: #056247;
  --primary-dark: #045b40;
  --primary-deep: #03462f;
  --mint: #def4e8;
  --mint-strong: #bde8d2;
  --mint-soft: #eefaf3;
  --forest: #0a2c20;
  --forest-deep: #071f16;
  --forest-line: rgba(255, 255, 255, .12);
  --warning: #a05c14;
  --warning-soft: #fff4e3;
  --warning-line: #eed3a5;
  --danger: #b42318;
  --danger-soft: #fdf1ef;
  --danger-line: #f0c4bd;

  /* Diepte */
  --shadow-xs: 0 1px 2px rgba(14, 33, 24, .05);
  --shadow-sm: 0 1px 2px rgba(14, 33, 24, .04), 0 4px 14px rgba(14, 33, 24, .06);
  --shadow-md: 0 2px 6px rgba(14, 33, 24, .05), 0 16px 40px rgba(14, 33, 24, .10);
  --shadow-lg: 0 4px 14px rgba(14, 33, 24, .07), 0 34px 90px rgba(14, 33, 24, .17);
  --shadow-primary: 0 6px 16px rgba(6, 122, 85, .26), 0 2px 5px rgba(6, 122, 85, .18);
  --shadow-primary-lg: 0 12px 26px rgba(6, 122, 85, .30), 0 3px 8px rgba(6, 122, 85, .16);
  --ring: 0 0 0 4px rgba(6, 122, 85, .14);

  /* Vorm */
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;

  /* Typografie */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Manrope", "Inter", ui-sans-serif, system-ui, sans-serif;
  --anchor-offset: 128px;

  /* Beweging */
  --ease-out: cubic-bezier(.22, .8, .32, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .48, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  font-size: 15.5px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(56rem 34rem at 86% -6%, rgba(157, 224, 191, .34), transparent 70%),
    radial-gradient(44rem 30rem at -12% 16rem, rgba(222, 244, 232, .55), transparent 70%),
    linear-gradient(180deg, #fffefa 0%, var(--bg) 42rem, #f6f2e7 100%);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtiel puntraster dat wegzakt onder de vouw */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 60rem;
  background-image: radial-gradient(rgba(14, 33, 24, .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .38;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 92%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font);
}

::selection {
  background: var(--mint-strong);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--bg);
  border-radius: 999px;
  background: rgba(14, 33, 24, .22);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(14, 33, 24, .34);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.button:focus-visible,
button:focus-visible {
  outline-offset: 3px;
  border-radius: inherit;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol,
dl,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
strong,
label,
button,
.button {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.028em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.25rem, 4.2vw, 3.6rem);
  letter-spacing: -.036em;
  line-height: 1.04;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

h4 {
  font-size: .98rem;
  margin-bottom: 10px;
}

/* Groen accent in koppen (em wordt alleen als stijlaccent gebruikt) */
h1 em {
  font-style: normal;
  color: var(--primary-dark);
}

p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

ul,
ol {
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

.section {
  padding: clamp(44px, 5vw, 72px) 0;
}

#kennismaken {
  scroll-margin-top: var(--anchor-offset);
}

.contact-section {
  padding-top: clamp(18px, 2.5vw, 34px);
}

.page-title {
  max-width: 880px;
  padding-top: 58px;
  padding-bottom: 30px;
}

.page-title p {
  max-width: 780px;
  font-size: 1.04rem;
}

.page-title h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.85rem);
}

/* ------------------------------------------------------------
   Badges en labels
   ------------------------------------------------------------ */
.eyebrow,
.status,
.plan-label,
.card-index,
.preview-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  min-height: 28px;
  padding: 5px 13px;
  border: 1px solid var(--mint-strong);
  border-radius: 999px;
  background: linear-gradient(180deg, #f2fcf6, #e7f8ee);
  color: var(--primary-dark);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(14, 33, 24, .04);
}

.eyebrow,
.card-index,
.plan-label {
  font-size: .71rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* Ruimte tussen eyebrow-pill en de kop eronder */
.eyebrow {
  margin-bottom: 16px;
}

/* Statuschips krijgen een kleurstip */
.status::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 122, 85, .16);
}

.status.review,
.plan-label-featured {
  border-color: var(--warning-line);
  background: linear-gradient(180deg, #fff8ec, var(--warning-soft));
  color: #8a4c07;
}

.status.review::before {
  background: #d98a24;
  box-shadow: 0 0 0 3px rgba(217, 138, 36, .18);
}

.status.approved {
  border-color: var(--mint-strong);
  background: linear-gradient(180deg, #f0fbf5, #e6f7ee);
  color: var(--primary-dark);
}

.hint {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.62;
}

.error {
  color: var(--danger);
  font-weight: 700;
}

.error:empty {
  display: none;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.text-link:hover {
  color: var(--primary);
}

.optional-label {
  color: var(--muted);
  font-weight: 500;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 40;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  margin: 18px auto 0;
  padding: 10px 14px 10px 20px;
  border: 1px solid rgba(224, 217, 199, .85);
  border-radius: 22px;
  background: rgba(255, 254, 250, .82);
  box-shadow: 0 1px 2px rgba(14, 33, 24, .04), 0 12px 34px rgba(14, 33, 24, .07), inset 0 1px 0 rgba(255, 255, 255, .85);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: opacity .16s ease;
}

.brand:hover {
  opacity: .82;
}

.brand-mark,
.brand-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 64px;
  overflow: visible;
}

.brand-logo-mark img {
  width: 112px;
  height: 64px;
  object-fit: contain;
  object-position: center;
}

.nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
  padding: 5px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 254, 250, .75);
  box-shadow: inset 0 1px 2px rgba(14, 33, 24, .03);
}

.nav a,
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: color .15s ease, background .15s ease, box-shadow .15s ease;
}

.nav a:hover,
.nav-button:hover {
  color: var(--ink);
  background: #fff;
  transform: none;
  box-shadow: var(--shadow-xs);
}

.nav a.active,
.nav-button.active {
  color: var(--primary-dark);
  background: linear-gradient(180deg, #e9f8f0, var(--mint));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 1px 2px rgba(14, 33, 24, .05);
}

.header-cta {
  justify-self: end;
}

/* Hamburgerknop: alleen zichtbaar op kleinere schermen. */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: rgba(255, 254, 250, .9);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:active {
  transform: none;
  background: #fff;
  border-color: var(--line-soft);
  box-shadow: var(--shadow-xs);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .18s var(--ease-out), opacity .18s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Knoppen
   ------------------------------------------------------------ */
.button,
button,
input[type="submit"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--primary-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, #0b9066 0%, var(--primary) 55%, var(--primary-strong) 100%);
  color: #fff;
  font-size: .96rem;
  font-weight: 700;
  letter-spacing: .002em;
  line-height: 1.15;
  box-shadow: var(--shadow-primary), inset 0 1px 0 rgba(255, 255, 255, .22);
  cursor: pointer;
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s ease, border-color .16s ease, color .16s ease, filter .16s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #0a8760 0%, var(--primary-strong) 60%, var(--primary-dark) 100%);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-primary-lg), inset 0 1px 0 rgba(255, 255, 255, .22);
}

.button:active,
button:active,
input[type="submit"]:active {
  transform: translateY(0) scale(.99);
  box-shadow: 0 3px 10px rgba(6, 122, 85, .2), inset 0 1px 0 rgba(255, 255, 255, .18);
}

/* Pijl-accent op de belangrijkste CTA's */
.header-cta::after,
.hero-actions .button:not(.secondary)::after,
.plan-cta:not(.secondary)::after {
  content: "\2192";
  font-weight: 700;
  transition: transform .18s var(--ease-out);
}

.header-cta:hover::after,
.hero-actions .button:not(.secondary):hover::after,
.plan-cta:not(.secondary):hover::after {
  transform: translateX(3px);
}

.button.secondary,
button.secondary,
.chip,
.compact-button {
  background: #fffefa;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.button.secondary:hover,
button.secondary:hover,
.chip:hover,
.compact-button:hover {
  border-color: var(--mint-strong);
  background: var(--mint-soft);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

button:disabled,
.button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: .6;
  transform: none;
}

.compact-button {
  min-height: 38px;
  padding: 9px 14px;
  font-size: .88rem;
  border-radius: 10px;
}

.chip {
  min-height: 34px;
  padding: 8px 14px;
  font-size: .84rem;
  font-weight: 600;
  border-radius: 999px;
}

.chip.active,
.plan-switcher .active {
  background: linear-gradient(180deg, #e9f8f0, var(--mint));
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* Niet-beschikbaar in huidig pakket (chat.js zet .upgrade-state) */
button.upgrade-state,
.button.upgrade-state {
  background: linear-gradient(180deg, #fffdf6, #fdf6e8);
  border-color: var(--warning-line);
  color: #8a5a14;
  box-shadow: var(--shadow-xs);
}

button.upgrade-state:hover,
.button.upgrade-state:hover {
  background: #fdf3de;
  border-color: #e4c185;
  color: #77490a;
  box-shadow: var(--shadow-sm);
}

.icon-help {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--line);
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.icon-help:hover {
  transform: none;
  background: var(--mint);
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  box-shadow: var(--shadow-xs);
}

/* ------------------------------------------------------------
   Formulieren
   ------------------------------------------------------------ */
.field {
  display: grid;
  gap: 8px;
}

label,
.field > span {
  color: var(--ink);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.005em;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line-mint);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 13px 15px;
  font-size: 1rem;
  line-height: 1.45;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(14, 33, 24, .04);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b4d2c1;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  box-shadow: none;
  accent-color: var(--primary);
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%235f6f66' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: var(--ring), inset 0 1px 2px rgba(14, 33, 24, .03);
}

::placeholder {
  color: #93a099;
  opacity: 1;
}

form {
  display: grid;
  gap: 18px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-actions,
.billing-actions,
.agent-action-row,
.case-actions,
.hero-actions,
.compact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* ------------------------------------------------------------
   Kaarten, panelen en grids
   ------------------------------------------------------------ */
.card,
.panel,
.pricing-card,
.product-preview,
.comparison-card,
.step-card,
.metric-card,
.usage-card,
.next-action-card,
.quote-card,
.open-payment-card,
.report-card,
.report-hero-card,
.report-section-card,
.report-subsection {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, .97);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: border-color .2s ease, box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}

.card,
.panel,
.pricing-card,
.comparison-card,
.step-card,
.metric-card,
.usage-card,
.next-action-card,
.quote-card,
.open-payment-card,
.report-card,
.report-hero-card,
.report-section-card,
.report-subsection {
  padding: 26px;
}

.card p:last-child,
.panel p:last-child,
.pricing-card p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

.use-case-grid,
.faq-grid,
.difference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.wide {
  max-width: 920px;
}

.section-heading p {
  max-width: 780px;
  font-size: 1.02rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 208px;
}

.card .card-index {
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 12px;
}

.card:hover,
.metric-card:hover,
.usage-card:hover {
  border-color: #c8ddd0;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.panel:hover {
  transform: none;
}

.card-index {
  border-radius: 11px;
  background: linear-gradient(135deg, #eafaf1, #d9f2e5);
  border-color: #c4e7d4;
}

.plan-features {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.plan-features li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .32em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%23045b40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat, linear-gradient(180deg, #e6f8ef, var(--mint));
  border: 1px solid var(--mint-strong);
  box-shadow: 0 1px 2px rgba(6, 122, 85, .12);
}

.panel-heading,
.account-panel-heading,
.agent-card-top,
.preview-topbar,
.help-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading {
  margin-bottom: 20px;
}

.panel-heading h2,
.panel-heading h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.panel-heading > a:not(.button) {
  flex-shrink: 0;
  color: var(--primary-dark);
  font-size: .92rem;
  font-weight: 700;
  line-height: 2;
}

/* Ruimte tussen pill en de kop eronder in agent-/aanvraagkaarten */
.agent-card-top .card-index {
  margin-bottom: 12px;
}

/* Bijlagen bij een vraag (chat.html) */
.attachment-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.attachment-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
}

.attachment-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: .9rem;
}

.attachment-list .hint {
  flex-shrink: 0;
  margin: 0;
}

.attachment-remove {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.attachment-remove:hover {
  border-color: var(--mint-strong);
  background: var(--mint);
}

.attachment-error {
  color: var(--danger);
}

.panel-heading > a:not(.button):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.panel.highlight-panel {
  border-color: var(--mint-strong);
  background: linear-gradient(180deg, #f1fbf5 0%, rgba(255, 254, 250, .97) 100%);
}

.status-strip {
  display: grid;
  gap: 12px;
}

.status-strip > div,
.status-strip > span,
.billing-status-box,
.profile-context-box,
.mini-block {
  border: 1px solid var(--line-mint);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 16px;
}

.status-strip span,
.status-strip dt,
.status-strip div > span {
  color: var(--muted);
  font-size: .92rem;
}

/* Label boven waarde in label/waarde-paren van de status-strip */
.status-strip > div > span {
  display: block;
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.status-strip > div > strong {
  display: block;
  line-height: 1.4;
}

.billing-status-box {
  display: grid;
  gap: 8px;
}

.billing-status-box > span {
  display: block;
  color: var(--ink-soft);
  line-height: 1.55;
}

.profile-context-box > span,
.profile-context-box > strong {
  display: block;
  line-height: 1.6;
}

.profile-context-box > a {
  display: inline-block;
  margin-top: 6px;
  color: var(--primary-dark);
  font-weight: 700;
}

.status-strip strong,
.billing-status-box strong {
  color: var(--ink);
  font-weight: 700;
}

/* ------------------------------------------------------------
   Homepage - hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, .97fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(42px, 5vw, 64px);
  padding-bottom: clamp(46px, 5.5vw, 76px);
}

/* Zachte gloed achter het productvenster */
.hero::before {
  content: "";
  position: absolute;
  top: 6%;
  right: -8%;
  width: min(46rem, 60vw);
  aspect-ratio: 1.15;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(111, 205, 165, .32), rgba(189, 232, 210, .16) 58%, transparent 74%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  max-width: 780px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.hero-note {
  color: var(--ink-soft);
}

.hero-actions {
  margin: 24px 0 12px;
}

.trust-row,
.teaser-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.trust-row span,
.teaser-price-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 254, 250, .85);
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.trust-row span::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--mint-strong);
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%23045b40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 8px no-repeat;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.hero-stats article {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 254, 250, .92);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: border-color .2s ease, box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}

.hero-stats article:hover {
  border-color: #c8ddd0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.07rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.hero-stats span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.hero-stats em {
  display: block;
  color: var(--muted);
  font-style: normal;
  font-size: .92rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   Homepage - productvenster (voorbeeldanalyse)
   ------------------------------------------------------------ */
.product-preview {
  width: 100%;
  overflow: hidden;
}

.premium-preview {
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(224, 217, 199, .9);
  border-radius: var(--radius-lg);
  background: #fffefa;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.preview-topbar {
  align-items: center;
  min-height: 56px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(250, 253, 250, .9), rgba(244, 250, 245, .65));
}

.preview-topbar span:not(.status-dot) {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.preview-topbar strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary-dark);
}

/* Drie venster-stippen uit 1 element */
.status-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 30px;
  border-radius: 999px;
  background: #f26d5f;
  box-shadow: 16px 0 0 #f5bd4f, 32px 0 0 #34c383;
}

.preview-app-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.preview-question-card,
.preview-answer-card,
.preview-check-card {
  border: 1px solid #cde2d6;
  border-radius: 16px;
  background: linear-gradient(180deg, #f3fbf6, #eef8f2);
  padding: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.preview-question-card span,
.preview-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.preview-kicker {
  display: inline-flex;
  margin-bottom: 10px;
}

.preview-question-card strong,
.preview-check-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}

.preview-answer-card {
  background: #fff;
  border-color: var(--line-soft);
}

.preview-answer-card h3 {
  margin-bottom: 0;
  font-size: 1.18rem;
  letter-spacing: -.022em;
}

.preview-answer-card p,
.preview-check-card p {
  color: var(--ink-soft);
}

.preview-steps {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.preview-steps li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: .93rem;
  line-height: 1.55;
}

.preview-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .22em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid var(--mint-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%23045b40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat, linear-gradient(180deg, #e6f8ef, var(--mint));
  box-shadow: 0 1px 2px rgba(6, 122, 85, .12);
}

.preview-steps strong {
  color: var(--ink);
  font-weight: 700;
}

/* Boekingsvoorstel in het voorbeeldvenster */
.preview-booking {
  border: 1px solid var(--line-mint);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.preview-booking .preview-kicker {
  margin-bottom: 4px;
}

.preview-booking-rows {
  display: grid;
}

.preview-booking-rows > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.preview-booking-rows > div:last-child {
  border-bottom: 0;
}

.preview-booking-rows em,
.preview-source-rows em,
.pain-card-rows em {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  padding: 3px 9px;
  border: 1px solid var(--mint-strong);
  border-radius: 7px;
  background: var(--mint-soft);
  color: var(--primary-dark);
  font-size: .68rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.preview-booking-rows em.credit,
.pain-card-rows em.credit {
  border-color: var(--warning-line);
  background: var(--warning-soft);
  color: #8a4c07;
}

.preview-booking-rows > div > span {
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-booking-rows strong {
  font-weight: 800;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* Onderbouwing met wetgeving en rechtspraak */
.preview-sources {
  border: 1px solid var(--line-mint);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.preview-sources .preview-kicker {
  margin-bottom: 4px;
}

.preview-source-rows {
  display: grid;
}

.preview-source-rows > div {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.preview-source-rows > div:last-child {
  border-bottom: 0;
}

.preview-source-rows em {
  margin-top: 2px;
}

.preview-source-rows em.case {
  border-color: var(--line);
  background: #f6f3ea;
  color: var(--ink-soft);
}

.preview-source-rows > div > span {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.preview-source-rows strong {
  display: block;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}

.preview-check-card {
  background: linear-gradient(180deg, #fffaf1, #fef6e8);
  border-color: #ecd8b2;
}

/* ------------------------------------------------------------
   Homepage - secties
   ------------------------------------------------------------ */
.split-section,
.comparison-grid,
.admin-layout,
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .76fr);
  gap: 26px;
  align-items: center;
}

.reverse-split {
  grid-template-columns: minmax(360px, .76fr) minmax(0, 1fr);
}

.conversion-card {
  min-height: auto;
  gap: 22px;
}

.conversion-card .button {
  align-self: flex-start;
}

.contrast-section,
.process-section,
.comparison-section {
  position: relative;
  background: linear-gradient(180deg, rgba(240, 248, 241, .5), rgba(244, 250, 245, .85) 30%, rgba(240, 248, 241, .5));
  border-block: 1px solid rgba(215, 232, 221, .9);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.step-card > span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 16px;
  border: 0;
  background: linear-gradient(135deg, #0b9066 10%, var(--primary-dark) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}

.step-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--mint-strong), transparent 70%);
  opacity: 0;
  transition: opacity .2s ease;
}

.step-card:hover::after {
  opacity: 1;
}

/* Vergelijking: algemene AI vs Fiscely */
.comparison-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}

.comparison-card li {
  position: relative;
  padding-left: 27px;
  line-height: 1.55;
}

.comparison-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px;
  height: 17px;
  border-radius: 999px;
}

.comparison-card.muted {
  background: rgba(255, 255, 255, .72);
  box-shadow: none;
}

.comparison-card.muted h3 {
  color: var(--muted);
}

.comparison-card.muted ul {
  color: var(--muted);
}

.comparison-card.muted li::before {
  border: 1px solid var(--line);
  background: #fbfaf6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M2 2 6 6 M6 2 2 6' fill='none' stroke='%23a3aca6' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 8px no-repeat;
}

.comparison-card.highlighted {
  border-color: rgba(7, 60, 42, .7);
  background:
    radial-gradient(30rem 18rem at 90% -20%, rgba(52, 195, 131, .25), transparent 65%),
    linear-gradient(165deg, #0d3626 0%, var(--forest) 55%, var(--forest-deep) 100%);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.comparison-card.highlighted h3 {
  color: #fff;
}

.comparison-card.highlighted ul {
  color: rgba(233, 246, 239, .92);
}

.comparison-card.highlighted li::before {
  border: 1px solid rgba(122, 216, 175, .45);
  background: rgba(52, 195, 131, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%237ee2b1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

/* Voorbeeldvragen als vraagkaarten */
.question-card {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.question-card::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 5.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--mint);
  pointer-events: none;
}

.question-card h3 {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-family: var(--font);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.question-card p {
  position: relative;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: .99rem;
  line-height: 1.62;
}

.question-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary-dark);
  font-size: .92rem;
  font-weight: 700;
}

.question-link::after {
  content: "\2192";
  transition: transform .18s var(--ease-out);
}

.question-card:hover .question-link::after {
  transform: translateX(3px);
}

/* Prijs-teaser: donkere premium CTA-band */
.pricing-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 4vw, 52px);
  border: 1px solid rgba(7, 60, 42, .7);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(46rem 24rem at 88% -30%, rgba(52, 195, 131, .3), transparent 62%),
    radial-gradient(30rem 20rem at -8% 120%, rgba(6, 122, 85, .35), transparent 60%),
    linear-gradient(160deg, #0d3626 0%, var(--forest) 50%, var(--forest-deep) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .08);
  overflow: hidden;
}

.pricing-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: .35;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000);
  mask-image: linear-gradient(115deg, transparent 40%, #000);
  pointer-events: none;
}

.pricing-teaser > * {
  position: relative;
}

.pricing-teaser .eyebrow {
  border-color: rgba(122, 216, 175, .4);
  background: rgba(52, 195, 131, .14);
  color: #8fe7bd;
  box-shadow: none;
}

.pricing-teaser h2 {
  color: #fff;
}

.pricing-teaser p {
  color: rgba(226, 242, 234, .82);
  max-width: 560px;
}

.pricing-teaser .teaser-price-row,
.pricing-teaser .compact-actions {
  grid-column: 2;
  justify-content: flex-end;
}

.pricing-teaser .teaser-price-row {
  margin: 0 0 4px;
}

.pricing-teaser .teaser-price-row span {
  border-color: var(--forest-line);
  background: rgba(255, 255, 255, .07);
  color: rgba(233, 246, 239, .9);
  box-shadow: none;
}

.pricing-teaser .button:not(.secondary) {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
  box-shadow: 0 10px 26px rgba(3, 22, 15, .4);
}

.pricing-teaser .button:not(.secondary):hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  color: var(--primary-deep);
}

.pricing-teaser .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .32);
  color: #fff;
  box-shadow: none;
}

.pricing-teaser .button.secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

/* Zen-blok: illustratie + featuregrid in een mint container */
.zen-shell {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(26px, 3.5vw, 52px);
  align-items: center;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid #cde6d8;
  border-radius: 32px;
  background:
    radial-gradient(34rem 20rem at 100% 0%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(160deg, #e3f4eb 0%, #d7eee1 100%);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.zen-visual {
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2.4vw, 30px);
  border-radius: 24px;
  background: linear-gradient(175deg, #cfeadd 0%, #bfe2d0 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  overflow: hidden;
}

.zen-visual img {
  width: min(100%, 400px);
  height: auto;
}

.zen-content .section-heading {
  margin-bottom: 26px;
}

.zen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.zen-item h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.zen-item p {
  margin-bottom: 0;
  font-size: .93rem;
}

.zen-actions {
  margin-top: 28px;
}

.zen-content > .hint {
  margin: 12px 0 0;
}

.zen-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  background: #fffefa;
  color: var(--primary-dark);
  box-shadow: var(--shadow-xs);
}

.zen-icon svg {
  width: 22px;
  height: 22px;
}

/* Assist-band: ondernemers, met accordion en chatvisual */
.assist-section {
  background: linear-gradient(180deg, #e9f4ec, #dfeee5);
  border-block: 1px solid #d2e6da;
}

.assist-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.assist-copy h2,
.assist-copy > p {
  max-width: 560px;
}

.accordion {
  margin: 24px 0 6px;
  border-top: 1px solid #c6dccd;
}

.accordion details {
  border-bottom: 1px solid #c6dccd;
}

.accordion summary {
  position: relative;
  list-style: none;
  padding: 16px 44px 16px 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: color .15s ease;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary:hover {
  color: var(--primary-dark);
}

.accordion summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--primary-dark), var(--primary-dark)) center / 14px 2px no-repeat,
    linear-gradient(var(--primary-dark), var(--primary-dark)) center / 2px 14px no-repeat;
}

.accordion details[open] summary {
  color: var(--primary-dark);
}

.accordion details[open] summary::after {
  background: linear-gradient(var(--primary-dark), var(--primary-dark)) center / 14px 2px no-repeat;
}

.accordion details > p {
  margin: 0;
  padding: 0 32px 18px 0;
  font-size: .95rem;
}

.assist-visual {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(24rem 16rem at 90% -10%, rgba(255, 255, 255, .5), transparent 60%),
    linear-gradient(170deg, #cfeadd, #b9dfcb);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.assist-bubble {
  max-width: 86%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: .95rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}

.assist-bubble.user {
  justify-self: end;
  border-bottom-right-radius: 6px;
  background: #fff;
  color: var(--ink-soft);
}

.assist-bubble.bot {
  justify-self: start;
  border-bottom-left-radius: 6px;
  background: linear-gradient(165deg, #0d3626, var(--forest-deep));
  color: rgba(233, 246, 239, .92);
}

.assist-bubble.bot strong {
  color: #fff;
}

.assist-stat {
  justify-self: center;
  display: grid;
  gap: 2px;
  margin-top: 6px;
  padding: 16px 22px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #fffefa;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.assist-stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.015em;
}

.assist-stat span {
  color: var(--muted);
  font-size: .88rem;
}

/* Donkere band: administratiekantoren */
.pain-section {
  background:
    radial-gradient(50rem 26rem at 90% -10%, rgba(52, 195, 131, .16), transparent 60%),
    linear-gradient(165deg, #0d3626 0%, var(--forest) 55%, var(--forest-deep) 100%);
  border-block: 1px solid rgba(7, 60, 42, .7);
}

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.pain-section .eyebrow {
  border-color: rgba(122, 216, 175, .4);
  background: rgba(52, 195, 131, .14);
  color: #8fe7bd;
  box-shadow: none;
}

.pain-section h2 {
  max-width: 560px;
  color: #fff;
}

.pain-list {
  list-style: none;
  counter-reset: pain;
  display: grid;
  gap: 22px;
  margin: 4px 0 26px;
  padding: 0;
}

.pain-list li {
  counter-increment: pain;
  position: relative;
  padding-left: 44px;
}

.pain-list li::before {
  content: counter(pain) ".";
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #8fe7bd;
}

.pain-list h3 {
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.06rem;
}

.pain-list p {
  margin: 0;
  color: rgba(226, 242, 234, .75);
  font-size: .95rem;
}

.pain-section .button {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
  box-shadow: 0 10px 26px rgba(3, 22, 15, .4);
}

.pain-section .button:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  color: var(--primary-deep);
}

.pain-visual {
  display: grid;
}

.pain-card {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 22px;
  background: rgba(255, 254, 250, .98);
  box-shadow: 0 30px 70px rgba(3, 22, 15, .45);
  transform: rotate(-1.2deg);
}

.pain-card > strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.4;
}

.pain-card-rows {
  display: grid;
}

.pain-card-rows > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.pain-card-rows > div:last-child {
  border-bottom: 0;
}

.pain-card-rows span {
  color: var(--muted);
  font-size: .9rem;
}

.pain-card-note {
  color: var(--muted);
  font-size: .85rem;
}

/* Kennismaking met adviseur */
.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(26px, 3.4vw, 48px);
  border: 1px solid var(--line-soft);
  border-radius: 32px;
  background: rgba(255, 254, 250, .97);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.contact-copy h2 {
  max-width: 520px;
}

.contact-copy > p {
  max-width: 540px;
}

.contact-copy .plan-features {
  margin: 4px 0 24px;
}

.contact-portrait {
  display: grid;
  gap: 6px;
}

.contact-portrait figure {
  margin: 0 0 16px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-portrait blockquote {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}

.contact-portrait strong {
  color: var(--ink);
}

.contact-portrait > span {
  color: var(--muted);
  font-size: .9rem;
}

/* Robot in de lege antwoord-staat van de chat */
.answer-empty-visual {
  width: 185px;
  margin-bottom: 18px;
}

/* ------------------------------------------------------------
   Prijzen
   ------------------------------------------------------------ */
.pricing-hero {
  max-width: 980px;
  padding-bottom: 28px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-bottom: 26px;
}

.pricing-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 16px;
  min-height: 590px;
  padding: 28px 26px;
}

.pricing-card h3 {
  margin-bottom: 0;
  font-size: 1.38rem;
  letter-spacing: -.03em;
}

.plan-topline {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  min-height: 32px;
}

.plan-summary {
  min-height: 78px;
  color: var(--muted);
  font-size: .95rem;
}

.price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price span {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--font);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Featured pakket: donkere premium kaart */
.pricing-card.featured {
  position: relative;
  border-color: rgba(7, 60, 42, .75);
  background:
    radial-gradient(26rem 16rem at 85% -12%, rgba(52, 195, 131, .28), transparent 62%),
    linear-gradient(168deg, #0d3626 0%, var(--forest) 52%, var(--forest-deep) 100%);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.pricing-card.featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .09);
}

.pricing-card.featured h3,
.pricing-card.featured .price {
  color: #fff;
}

.pricing-card.featured .plan-summary,
.pricing-card.featured .price span {
  color: rgba(226, 242, 234, .78);
}

.pricing-card.featured .plan-features li {
  color: rgba(233, 246, 239, .92);
}

.pricing-card.featured .plan-features li::before {
  border-color: rgba(122, 216, 175, .45);
  background: rgba(52, 195, 131, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%237ee2b1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
  box-shadow: none;
}

.pricing-card.featured .plan-label-featured {
  border-color: rgba(245, 189, 79, .5);
  background: rgba(245, 189, 79, .14);
  color: #f7cd7c;
  box-shadow: none;
}

.pricing-card.featured .plan-cta {
  background: #fff;
  border-color: #fff;
  color: var(--forest);
  box-shadow: 0 10px 26px rgba(3, 22, 15, .42);
}

.pricing-card.featured .plan-cta:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  color: var(--primary-deep);
}

.plan-cta {
  width: 100%;
  align-self: end;
}

/* Kaart van het pakket dat de gebruiker al heeft */
.plan-cta.current-plan,
.pricing-card.featured .plan-cta.current-plan {
  background: var(--mint);
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  box-shadow: none;
  cursor: default;
}

.plan-cta.current-plan:hover,
.pricing-card.featured .plan-cta.current-plan:hover {
  background: var(--mint);
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

.plan-cta.current-plan::after {
  content: "\2713";
  font-weight: 700;
  transform: none;
}

.contact-plan {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.2fr .55fr auto;
  grid-template-areas:
    "top summary price cta"
    "title features price cta";
  align-items: center;
  min-height: auto;
  padding: 32px;
  background: linear-gradient(120deg, rgba(240, 250, 244, .9), rgba(255, 254, 250, .97) 45%);
  border-color: var(--line-mint);
}

.contact-plan .plan-topline { grid-area: top; justify-content: flex-start; }
.contact-plan h3 { grid-area: title; margin-bottom: 0; }
.contact-plan .plan-summary { grid-area: summary; min-height: auto; margin: 0; }
.contact-plan .price { grid-area: price; font-size: 1.85rem; }
.contact-plan .plan-features {
  grid-area: features;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
.contact-plan .plan-cta {
  grid-area: cta;
  min-width: 250px;
  min-height: 62px;
  align-self: center;
  justify-self: end;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 103, 69, .2);
}

.contact-plan .plan-cta:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 86, 58, .25);
}

/* Kantoor-calculator op de prijzenpagina */
.kantoor-calc-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.kantoor-calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.kantoor-calc-inputs {
  display: grid;
  gap: 20px;
}

.calc-questions-value {
  width: 112px;
  min-height: 42px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 700;
  color: var(--primary-dark);
}

.calc-slider,
.calc-slider:hover,
.calc-slider:focus {
  min-height: 0;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .82rem;
}

.kantoor-calc-result {
  display: grid;
  gap: 6px;
}

.calc-total {
  color: var(--ink);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.calc-total-sub {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .92rem;
}

.calc-breakdown {
  margin: 0 0 12px;
}

.calc-breakdown > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}

.calc-breakdown dt {
  color: var(--ink-soft);
}

.calc-breakdown dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.calc-breakdown .calc-free {
  color: var(--primary);
}

.calc-meta dt,
.calc-meta dd {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 600;
}

.calc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-kantoor-calc {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line-mint);
  border-radius: 18px;
  background: var(--surface-soft);
}

.kantoor-inline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kantoor-inline-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
}

.kantoor-inline-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kantoor-inline-summary span {
  color: var(--ink);
  font-weight: 800;
}

.pricing-note {
  padding: 20px 24px;
  border: 1px solid var(--line-mint);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--ink-soft);
  box-shadow: var(--shadow-xs);
}

/* ------------------------------------------------------------
   Inloggen en registreren
   ------------------------------------------------------------ */
.auth-page {
  align-items: start;
  padding-top: 54px;
  padding-bottom: 64px;
}

.auth-copy {
  max-width: 680px;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.auth-benefits article {
  position: relative;
  padding: 18px 18px 18px 46px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 254, 250, .92);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out);
}

.auth-benefits article:hover {
  border-color: #c8ddd0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.auth-benefits article::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 21px;
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 1px solid var(--mint-strong);
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='9' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4.2 3.2 6 6.5 2.2' fill='none' stroke='%23045b40' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 9px no-repeat;
}

.auth-benefits strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.auth-benefits span {
  color: var(--muted);
}

.auth-panel {
  align-self: start;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.auth-switch {
  margin-top: 14px;
}

.auth-switch a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.auth-switch a:hover {
  color: var(--primary);
}

/* ------------------------------------------------------------
   Vraag stellen
   ------------------------------------------------------------ */
.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 56px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.composer-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Composer: tekstvak en werkbalk in een kader, zoals een moderne chatinvoer */
.composer {
  border: 1px solid var(--line-mint);
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(14, 33, 24, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.composer:focus-within {
  border-color: var(--primary);
  box-shadow: var(--ring), inset 0 1px 2px rgba(14, 33, 24, .03);
}

.composer textarea {
  min-height: 132px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: transparent;
  box-shadow: none;
  padding: 16px 18px 10px;
}

.composer textarea:hover,
.composer textarea:focus {
  border: 0;
  box-shadow: none;
}

.composer .attachment-list {
  margin: 0;
  padding: 0 14px 12px;
}

.composer .attachment-list li {
  background: #f6faf7;
}

.composer .attachment-error {
  margin: 0;
  padding: 0 16px 12px;
}

.composer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
}

.composer-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.composer-attach {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px dashed #a9cdba;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-size: .9rem;
  font-weight: 700;
  box-shadow: none;
}

.composer-attach:hover {
  transform: none;
  background: var(--mint);
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  box-shadow: none;
}

.composer-attach svg {
  flex-shrink: 0;
}

.composer-hint {
  color: var(--muted);
  font-size: .85rem;
}

.composer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.quick-prompts-label {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

/* Rechtsvorm/boekhoudpakket naast de profielcontext */
.composer-context {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 16px;
  align-items: stretch;
}

.composer-context .field {
  align-content: start;
}

.composer-specialist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: .92rem;
}

.profile-context-box {
  color: var(--ink-soft);
}

.profile-context-box .status {
  margin-bottom: 10px;
}

.profile-context-box strong {
  display: block;
  margin-bottom: 6px;
}

.profile-context-box p:last-child,
.profile-context-box ul:last-child {
  margin-bottom: 0;
}

.answer {
  min-height: 520px;
  overflow: visible;
}

.answer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  text-align: center;
  background:
    radial-gradient(24rem 16rem at 50% 0%, rgba(189, 232, 210, .25), transparent 65%),
    rgba(255, 254, 250, .97);
}

.answer-empty h2,
.answer-empty .hint {
  max-width: 640px;
}

.answer-empty .status {
  margin-bottom: 16px;
}

.answer-section {
  margin-bottom: 18px;
}

.meta-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.review-notice {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--warning-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0, var(--warning-soft));
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.review-notice h2 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.review-notice p {
  color: #6d5027;
}

.review-notice p:last-child {
  margin-bottom: 0;
}

/* Hulp-dialoog */
.help-dialog {
  width: min(860px, calc(100% - 36px));
  max-height: min(760px, calc(100vh - 36px));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}

.help-dialog::backdrop {
  background: rgba(7, 31, 22, .38);
  backdrop-filter: blur(4px);
}

.help-dialog[open] {
  animation: dialog-pop .26s var(--ease-out);
}

/* Bevestigings- en meldingsdialogen (vervanging van window.confirm/alert) */
.confirm-dialog {
  width: min(480px, calc(100% - 36px));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.confirm-dialog::backdrop {
  background: rgba(7, 31, 22, .38);
  backdrop-filter: blur(4px);
}

.confirm-dialog[open] {
  animation: dialog-pop .26s var(--ease-out);
}

.confirm-dialog h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.confirm-dialog p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  white-space: pre-line;
}

.confirm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.confirm-dialog-field {
  margin-bottom: 22px;
}

.confirm-dialog-field textarea {
  min-height: 96px;
}

/* Laad-overlay, bijvoorbeeld bij doorsturen naar de betaalpagina */
.loading-dialog {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: min(380px, calc(100% - 36px));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.loading-dialog:not([open]) {
  display: none;
}

.loading-dialog::backdrop {
  background: rgba(7, 31, 22, .38);
  backdrop-filter: blur(4px);
}

.loading-dialog p {
  margin: 0;
  color: var(--ink-soft);
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid var(--mint);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: agent-spin .85s linear infinite;
}

@keyframes dialog-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.help-tabs,
.report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.help-tabs button,
.report-tabs button {
  min-height: 38px;
  padding: 9px 14px;
  font-size: .88rem;
  font-weight: 600;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  border-color: var(--line-soft);
  box-shadow: var(--shadow-xs);
}

.help-tabs button:hover,
.report-tabs button:hover {
  transform: none;
  background: var(--mint-soft);
  border-color: var(--mint-strong);
  color: var(--primary-dark);
  box-shadow: var(--shadow-xs);
}

.help-tabs button.active,
.report-tabs button.active {
  background: linear-gradient(180deg, #0b9066, var(--primary-strong));
  color: #fff;
  border-color: var(--primary-strong);
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.help-tabs button.active:hover,
.report-tabs button.active:hover {
  background: linear-gradient(180deg, #0a8760, var(--primary-dark));
  border-color: var(--primary-dark);
  color: #fff;
}

.close-help {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.mini-block {
  margin-top: 16px;
}

.mini-block strong,
.mini-block span {
  display: block;
}

.mini-block strong {
  margin-bottom: 4px;
}

.report-tab-panel {
  display: grid;
  gap: 12px;
}

/* ------------------------------------------------------------
   Rapporten
   ------------------------------------------------------------ */
.report-shell,
.history-detail.compact-report {
  display: grid;
  gap: 18px;
}

.report-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.report-hero-card {
  padding: 20px;
}

.report-hero-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.report-hero-card strong {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.report-hero-card.report-conclusion,
.report-card.report-conclusion-card {
  border-color: var(--mint-strong);
  background: linear-gradient(180deg, #f2fcf6, #ecf9f2);
}

.report-hero-card.report-conclusion span {
  color: var(--primary-dark);
}

/* Risiconiveau (chat.js zet risk-low / risk-medium / risk-high) */
.report-hero-card.report-risk {
  border-left: 3px solid var(--mint-strong);
}

.report-hero-card.risk-low {
  border-left-color: #34c383;
}

.report-hero-card.risk-low strong {
  color: var(--primary-dark);
}

.report-hero-card.risk-medium {
  border-left-color: #dd9a33;
  background: linear-gradient(180deg, #fffaf0, rgba(255, 254, 250, .97));
}

.report-hero-card.risk-medium strong {
  color: var(--warning);
}

.report-hero-card.risk-high {
  border-left-color: #cf4437;
  background: linear-gradient(180deg, #fdf3f1, rgba(255, 254, 250, .97));
}

.report-hero-card.risk-high strong {
  color: var(--danger);
}

.report-hero-card.report-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-hero-card.report-actions .button,
.report-hero-card.report-actions button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: .88rem;
}

.report-card h3 {
  margin-bottom: 12px;
}

.report-metrics,
.report-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.report-metrics div,
.report-metrics article,
.report-meta-grid div {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow-xs);
}

.report-metrics span,
.report-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.report-metrics strong,
.report-meta-grid strong {
  font-weight: 800;
  letter-spacing: -.01em;
}

.report-booking-list {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.report-booking-list > article {
  border: 1px solid var(--line-mint);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow-xs);
}

.report-booking-list > article > strong {
  display: block;
  font-weight: 700;
}

.report-booking-list dl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 8px 0 0;
}

.report-booking-list dl div {
  display: flex;
  gap: 6px;
}

.report-booking-list dt {
  color: var(--muted);
  font-weight: 600;
}

.report-booking-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.report-booking-list > article > p {
  margin: 10px 0 0;
  font-size: .92rem;
}

.report-subsection,
.report-section-card {
  margin-top: 12px;
  padding: 20px;
}

/* Dynamische lijsten (antwoord, bronnen, verwerking) */
.source-list {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.source-list li {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface-soft);
  line-height: 1.55;
}

.source-list a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.source-list a:hover {
  color: var(--primary);
}

.source-list .hint {
  margin-top: 4px;
  font-size: .9rem;
}

.booking-list {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.booking-list li {
  padding: 13px 15px;
  border: 1px solid var(--line-mint);
  border-radius: 12px;
  background: var(--surface-soft);
}

.booking-list strong {
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.direct-processing-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 12px 0;
}

.direct-processing-list article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.direct-processing-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.direct-processing-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.direct-processing-list p {
  margin: 6px 0 0;
  font-size: .88rem;
}

/* ------------------------------------------------------------
   Dashboard
   ------------------------------------------------------------ */
.account-center {
  padding-bottom: 56px;
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 24px;
  align-items: end;
  padding: 50px 0 26px;
}

.account-hero h1 {
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
}

.next-action-card {
  min-height: 170px;
  border-color: var(--mint-strong);
  background:
    radial-gradient(18rem 10rem at 90% -20%, rgba(189, 232, 210, .5), transparent 70%),
    rgba(255, 254, 250, .97);
}

.next-action-card span,
.metric-card span,
.usage-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.next-action-card strong,
.metric-card strong,
.usage-card strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.next-action-card strong {
  font-size: 1.25rem;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.account-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.account-sidebar,
.admin-tabs {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, .9);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.account-sidebar {
  position: sticky;
  top: 128px;
}

.account-sidebar button,
.admin-tabs button {
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 11px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  box-shadow: none;
}

.account-sidebar button:hover,
.admin-tabs button:hover {
  transform: none;
  background: var(--surface-soft);
  color: var(--ink);
  box-shadow: none;
}

.account-sidebar button.active,
.admin-tabs button.active {
  background: linear-gradient(180deg, #0b9066, var(--primary-strong));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
}

.account-sidebar button.active:hover,
.admin-tabs button.active:hover {
  background: linear-gradient(180deg, #0a8760, var(--primary-dark));
  color: #fff;
}

.account-content {
  min-width: 0;
}

.metric-grid,
.usage-grid,
.agent-profile-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.metric-card,
.usage-card {
  min-height: 128px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.full-panel,
.profile-settings-panel {
  grid-column: 1 / -1;
}

.dashboard-list,
.quote-list,
.history-list {
  display: grid;
  gap: 12px;
}

/* Dynamische lijstitems (vragen, checks, betalingen) */
.history-item,
.dashboard-list-item,
.payment-history-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--ease-out);
}

.history-item {
  cursor: pointer;
}

.history-item:hover {
  border-color: var(--mint-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.history-item.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #f4fcf7, #eefaf3);
  box-shadow: var(--ring);
}

.history-item > div,
.dashboard-list-item > div,
.payment-history-item > div {
  min-width: 0;
}

.history-item strong,
.dashboard-list-item strong,
.payment-history-item strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
}

.history-item > div > span,
.dashboard-list-item > div > span,
.payment-history-item > div > span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}

.history-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 6px 0 0;
  font-size: .9rem;
}

.history-item .status,
.dashboard-list-item .status {
  flex-shrink: 0;
}

.payment-history-list {
  display: grid;
  gap: 10px;
}

.payment-history-item > div:last-child {
  display: grid;
  gap: 6px;
  justify-items: end;
  flex-shrink: 0;
  text-align: right;
}

.payment-history-item small {
  display: block;
  color: var(--muted);
  font-size: .82rem;
}

.history-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.history-layout {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: 20px;
}

.history-list {
  align-content: start;
}

.history-detail {
  min-height: 360px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.history-detail > .status {
  margin-bottom: 12px;
}

.account-summary {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-summary div {
  display: grid;
  grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.account-summary div:last-child {
  border-bottom: 0;
}

.account-summary dt {
  color: var(--muted);
  font-weight: 600;
}

.account-summary dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.plan-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}

.billing-actions {
  margin-top: 14px;
}

.billing-actions .button,
.billing-actions button {
  flex: 1 1 210px;
}

.open-payment-card,
.quote-card {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

/* Vraag en context/notitie in de Check & Advies-kaart */
.quote-question {
  margin: 0;
}

.quote-context {
  margin: 0;
  white-space: pre-line;
}

/* "Wat je hebt aangevraagd"-blok na een Check/Advies-aanvraag in de chat */
.quote-summary {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
}

.open-payment-card {
  border-color: var(--warning-line);
  background: linear-gradient(180deg, #fffaf0, var(--warning-soft));
}

/* ------------------------------------------------------------
   Admin
   ------------------------------------------------------------ */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.admin-tabs button {
  width: auto;
  min-width: 120px;
  justify-content: center;
}

.admin-layout {
  grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
  align-items: start;
}

.admin-settings-grid,
.quote-admin-grid,
.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.agent-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fffefa;
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.agent-card textarea {
  min-height: 170px;
}

.agent-action-row {
  gap: 10px;
}

.agent-action-row button {
  flex: 0 1 auto;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-edit-row {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.admin-login-panel {
  max-width: 560px;
}

.admin-user-detail-panel {
  margin-top: 22px;
}

.admin-rights-editor {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 14px 16px;
}

.admin-rights-editor summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 700;
}

.admin-rights-panel {
  display: grid;
  gap: 18px;
  padding-top: 18px;
}

/* Velden krijgen altijd genoeg breedte; smalle cellen stapelen vanzelf */
.admin-rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 16px;
}

.admin-rights-grid .field {
  min-width: 0;
  align-content: start;
}

.admin-rights-grid .field > span {
  overflow-wrap: anywhere;
}

.admin-rights-grid input,
.admin-rights-grid select {
  width: 100%;
  min-width: 0;
}

.admin-rights-actions button {
  width: auto;
}

.admin-rights-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.settings-note {
  color: var(--muted);
  font-size: .92rem;
  padding-left: 14px;
  border-left: 3px solid var(--mint-strong);
}

.usage-card.action-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.readiness-settings-panel {
  margin-top: 22px;
}

.case-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-list button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border-color: var(--line-soft);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.case-list button:hover {
  transform: none;
  background: var(--mint-soft);
  border-color: var(--mint-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .86rem;
}

.case-detail {
  display: grid;
  gap: 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.usage-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
}

.usage-table th,
.usage-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
}

.usage-table th {
  color: var(--muted);
  background: #f8f5ec;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.usage-table tr:hover td {
  background: #f9fdfa;
}

.usage-table tr:last-child td {
  border-bottom: 0;
}

.technical-details {
  margin-top: 10px;
}

.technical-details summary,
details summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 700;
}

details summary:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 12px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: var(--forest-deep);
  color: #e9f6ee;
  font-size: .9rem;
  line-height: 1.55;
}

.readiness-steps {
  padding-left: 22px;
}

/* ------------------------------------------------------------
   Agent-voortgang in de chat (chat.js rendert .agent-progress)
   ------------------------------------------------------------ */
.agent-progress-intro {
  margin: 4px 0 16px;
  color: var(--ink-soft);
}

.agent-progress {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.agent-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  opacity: .45;
  transition: opacity .35s ease;
}

.agent-progress li.active,
.agent-progress li.done {
  opacity: 1;
}

/* Verbindingslijn tussen de stappen */
.agent-progress li::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: -3px;
  left: 12px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-mint);
}

.agent-progress li.done::before {
  background: var(--mint-strong);
}

.agent-progress li:last-child::before {
  display: none;
}

.agent-progress-marker {
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 2px solid var(--line-mint);
  border-radius: 50%;
  background: #fff;
}

.agent-progress li.done .agent-progress-marker {
  border-color: var(--primary);
  background: var(--primary);
}

.agent-progress li.done .agent-progress-marker::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.agent-progress li.active .agent-progress-marker {
  border-color: var(--mint-strong);
}

.agent-progress li.active .agent-progress-marker::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: agent-spin .85s linear infinite;
}

.agent-progress strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
}

.agent-progress li.active strong {
  color: var(--primary-dark);
}

.agent-progress p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

@keyframes agent-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Wat je krijgt, in de lege antwoord-staat van de chat */
.answer-empty-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: center;
  gap: 10px 38px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.answer-empty-points li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 600;
}

.answer-empty-points li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* ------------------------------------------------------------
   Lege staten in dashboardlijsten (dashboard.js rendert .empty-state)
   ------------------------------------------------------------ */
.empty-state {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 22px;
  border: 1px dashed var(--mint-strong);
  border-radius: 14px;
  background: var(--mint-soft);
}

.empty-state strong {
  color: var(--ink);
  font-weight: 700;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.6;
}

.empty-state .button {
  margin-top: 6px;
  width: auto;
}

/* ------------------------------------------------------------
   Specialistenstrip op de homepage
   ------------------------------------------------------------ */
.specialist-strip {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 22px 24px;
  border: 1px solid var(--line-mint);
  border-radius: var(--radius);
  background:
    radial-gradient(24rem 12rem at 92% -30%, rgba(189, 232, 210, .4), transparent 70%),
    linear-gradient(180deg, #f7fcf9, var(--surface-mint));
  box-shadow: var(--shadow-xs);
}

.specialist-strip-label {
  color: var(--primary-dark);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.specialist-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.specialist-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-mint);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.specialist-chips span::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.specialist-chips span.check {
  border-color: var(--mint-strong);
  background: var(--mint);
  color: var(--primary-deep);
}

/* ------------------------------------------------------------
   FAQ-accordeon: veel tekst behapbaar maken
   ------------------------------------------------------------ */
.faq-accordion {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.faq-accordion details {
  min-width: 0;
  padding: 4px 20px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.faq-accordion details[open] {
  border-color: var(--mint-strong);
  background: linear-gradient(180deg, #f7fcf9, var(--surface));
  box-shadow: var(--shadow-sm);
}

.faq-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary:hover {
  text-decoration: none;
  color: var(--primary-dark);
}

.faq-accordion summary::after {
  content: "+";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-mint);
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .18s var(--ease-out), background .16s ease;
}

.faq-accordion details[open] summary::after {
  content: "\2212";
  background: var(--mint);
}

.faq-accordion details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .faq-accordion {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Tech-pijlers: state-of-the-art technologie-sectie
   ------------------------------------------------------------ */
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 18px;
}

.tech-pillars article {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--ease-out);
}

.tech-pillars article:hover {
  border-color: var(--mint-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.tech-pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--mint);
  color: var(--primary-dark);
}

.tech-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.tech-pillars h3 {
  margin: 0;
  font-size: 1.04rem;
}

.tech-pillars p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

@media (max-width: 1180px) {
  .tech-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .tech-pillars {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Fiscely Check & Advies: uitleg en offerteflow
   ------------------------------------------------------------ */
.check-advies-explainer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.check-advies-explainer article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s var(--ease-out);
}

.check-advies-explainer article:hover {
  border-color: var(--mint-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.check-advies-explainer .status {
  justify-self: start;
}

.check-advies-explainer h3 {
  margin: 0;
  font-size: 1.08rem;
}

.check-advies-explainer p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

.check-advies-flow {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 20px 24px;
  border: 1px solid var(--line-mint);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f7fcf9, var(--surface-mint));
}

.check-advies-flow-label {
  color: var(--primary-dark);
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.check-advies-flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.check-advies-flow-steps span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 600;
}

.check-advies-flow-steps em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
}

/* Offerteflow in het dashboard (Fiscely Check & Advies-tab) */
.quote-flow-panel {
  margin-bottom: 20px;
}

.quote-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: quote-step;
}

.quote-flow li {
  position: relative;
  counter-increment: quote-step;
  padding: 16px 16px 16px 52px;
  border: 1px solid var(--line-mint);
  border-radius: 14px;
  background: var(--surface-soft);
}

.quote-flow li::before {
  content: counter(quote-step);
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}

.quote-flow strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 700;
}

.quote-flow p {
  margin: 0;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.55;
}

.quote-status-hint {
  margin: 0;
  padding: 10px 14px;
  border-left: 3px solid var(--mint-strong);
  border-radius: 0 10px 10px 0;
  background: var(--mint-soft);
  color: var(--ink-soft);
  font-size: .9rem;
}

.quote-actions {
  margin-top: 4px;
}

.quote-actions .button,
.quote-actions button {
  flex: 0 1 auto;
}

@media (max-width: 1180px) {
  .quote-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .check-advies-explainer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .quote-flow {
    grid-template-columns: 1fr;
  }

  .check-advies-flow-steps {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------------------
   Admin: gegroepeerde navigatie
   ------------------------------------------------------------ */
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px 0;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 254, 250, .92);
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.admin-nav-group {
  display: grid;
  gap: 7px;
  align-content: start;
}

.admin-nav-group + .admin-nav-group {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--line-soft);
}

.admin-nav-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.admin-nav .admin-tabs {
  margin-bottom: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-nav .admin-tabs button {
  min-width: 0;
  min-height: 38px;
  padding: 8px 14px;
}

/* Tekstwaarde in een usage-card (bijv. modelnaam) */
.usage-card strong.usage-card-text {
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -.01em;
  word-break: break-word;
}

@media (max-width: 820px) {
  .admin-nav {
    display: grid;
    gap: 14px;
  }

  .admin-nav-group + .admin-nav-group {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
  }
}

/* ------------------------------------------------------------
   Footer - donkere premium afsluiting
   ------------------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: 56px;
  padding: 50px 0 26px;
  border-top: 1px solid rgba(7, 60, 42, .7);
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(52rem 26rem at 85% -20%, rgba(52, 195, 131, .18), transparent 62%),
    radial-gradient(36rem 22rem at 0% 110%, rgba(6, 122, 85, .22), transparent 60%),
    linear-gradient(180deg, #0c3123 0%, var(--forest) 45%, var(--forest-deep) 100%);
  color: rgba(233, 246, 239, .88);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .3;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%);
  mask-image: linear-gradient(180deg, transparent, #000 60%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
}

.compact-footer {
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(150px, .7fr));
  gap: 34px;
}

.footer-logo {
  width: 178px;
  height: 144px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-grid h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.2rem;
}

.footer-grid > div > p {
  color: rgba(226, 242, 234, .72);
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: #93e0ba;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin: 9px 0;
  color: rgba(226, 242, 234, .68);
  transition: color .15s ease, transform .15s var(--ease-out);
}

.footer-grid a:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-contact {
  display: grid;
  gap: 2px;
  margin-top: 16px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
  color: rgba(233, 246, 239, .9);
  font-weight: 600;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: #93e0ba;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(147, 224, 186, .35);
  border-radius: 50%;
  color: #93e0ba;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s var(--ease-out);
}

.footer-socials a:hover {
  background: rgba(52, 195, 131, .18);
  border-color: #93e0ba;
  color: #fff;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--forest-line);
  color: rgba(226, 242, 234, .55);
  font-size: .9rem;
}

.footer-bottom p {
  max-width: 650px;
  margin: 0;
  color: rgba(226, 242, 234, .55);
  font-size: .9rem;
}

/* ------------------------------------------------------------
   Juridische pagina's
   ------------------------------------------------------------ */
.legal-page,
.simple-page {
  padding: 56px 0;
}

.legal-panel h2 {
  font-size: 1.3rem;
  margin-top: 26px;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

/* ------------------------------------------------------------
   Beweging
   ------------------------------------------------------------ */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes preview-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .auth-panel {
    animation: preview-in .28s var(--ease-out) both;
  }
}

/* ------------------------------------------------------------
   Responsief
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 150px 1fr auto;
    gap: 14px;
  }

  .nav a,
  .nav-button {
    padding: 8px 11px;
    font-size: .88rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .hero::before {
    top: auto;
    bottom: -6%;
    right: -14%;
  }

  .hero-copy {
    max-width: 900px;
  }

  .premium-preview {
    max-width: 720px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-card {
    min-height: auto;
  }

  .contact-plan {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "top price"
      "title price"
      "summary summary"
      "features features"
      "cta cta";
  }

  .steps-grid,
  .report-hero-grid,
  .report-metrics,
  .report-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-case-grid,
  .faq-grid,
  .difference-grid,
  .metric-grid,
  .usage-grid,
  .agent-profile-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-layout,
  .account-shell,
  .auth-page,
  .split-section,
  .reverse-split,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .composer-context {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kantoor-calc-grid {
    grid-template-columns: 1fr;
  }

  .kantoor-inline-grid {
    grid-template-columns: 1fr;
  }

  .composer-context .profile-context-box {
    grid-column: 1 / -1;
  }

  .question-panel,
  .account-sidebar {
    position: static;
  }

  .account-sidebar {
    display: flex;
    flex-wrap: wrap;
  }

  .account-sidebar button {
    width: auto;
  }

  .pricing-teaser {
    grid-template-columns: 1fr;
  }

  .pricing-teaser .teaser-price-row,
  .pricing-teaser .compact-actions {
    grid-column: auto;
    justify-content: flex-start;
  }

  .zen-shell {
    grid-template-columns: 1fr;
  }

  .zen-visual img {
    width: min(100%, 330px);
  }

  .assist-grid,
  .pain-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-portrait img {
    width: min(100%, 250px);
  }
}

/* Compacte header met hamburgermenu op tablet en mobiel. */
@media (max-width: 1023px) {
  :root {
    --anchor-offset: 94px;
  }

  .site-header {
    position: sticky;
    top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: calc(100% - 24px);
    min-height: auto;
    margin-top: 10px;
    padding: 8px 10px 8px 14px;
    border-radius: 18px;
  }

  .brand {
    margin-right: auto;
  }

  .brand-mark,
  .brand-logo-mark,
  .brand-logo-mark img {
    width: 92px;
    height: 52px;
  }

  .header-cta {
    width: auto;
    min-height: 40px;
    padding: 9px 14px;
    font-size: .88rem;
    border-radius: 11px;
  }

  .header-cta::after {
    content: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    order: 10;
    flex-basis: 100%;
    width: 100%;
    max-width: none;
    padding: 6px;
    border-radius: 16px;
  }

  .site-header.nav-open .nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    animation: nav-drop .18s var(--ease-out) both;
  }

  .nav a,
  .nav-button {
    width: 100%;
    justify-content: flex-start;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: .95rem;
    line-height: 1.2;
    white-space: normal;
    text-align: left;
  }
}

@keyframes nav-drop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    /* clip i.p.v. hidden: voorkomt dat de sticky header loslaat. */
    overflow-x: hidden;
    overflow-x: clip;
  }

  .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  body {
    background: linear-gradient(180deg, #fffefa 0%, var(--bg) 100%);
  }

  body::before {
    height: 34rem;
    opacity: .28;
  }

  h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.07;
  }

  h2 {
    font-size: clamp(1.45rem, 5.6vw, 1.9rem);
  }

  h1,
  h2,
  h3,
  .hero h1,
  .page-title h1,
  .pricing-hero h1 {
    max-width: 100%;
    text-wrap: wrap;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .hero-copy,
  .page-title,
  .pricing-hero {
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero,
  .page-title,
  .auth-page,
  .account-hero {
    padding-top: 36px;
  }

  .hero-stats,
  .pricing-grid,
  .use-case-grid,
  .faq-grid,
  .difference-grid,
  .steps-grid,
  .comparison-grid,
  .dashboard-grid,
  .admin-settings-grid,
  .quote-admin-grid,
  .agent-grid,
  .metric-grid,
  .usage-grid,
  .agent-profile-row,
  .history-layout,
  .history-toolbar,
  .form-grid-2,
  .admin-rights-grid,
  .footer-grid,
  .account-hero {
    grid-template-columns: 1fr;
  }

  .contact-plan {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "title"
      "summary"
      "price"
      "features"
      "cta";
  }

  .contact-plan .plan-features {
    grid-template-columns: 1fr;
  }

  .button,
  button,
  input[type="submit"] {
    width: 100%;
  }

  .chip,
  .compact-button,
  .nav-button,
  .header-cta,
  .icon-help,
  .composer-attach,
  .help-tabs button,
  .report-tabs button,
  .admin-tabs button,
  .account-sidebar button {
    width: auto;
  }

  .nav-toggle {
    width: 44px;
  }

  .nav a,
  .nav-button {
    width: 100%;
  }

  .icon-help {
    width: 34px;
  }

  .form-actions .button,
  .form-actions button {
    width: 100%;
  }

  .composer-context {
    grid-template-columns: 1fr;
  }

  .composer-actions {
    width: 100%;
  }

  .answer-empty-points {
    grid-template-columns: 1fr;
  }

  .zen-grid {
    grid-template-columns: 1fr;
  }

  .zen-shell {
    border-radius: 24px;
  }

  .answer-empty-visual {
    width: 150px;
  }

  .history-item,
  .dashboard-list-item,
  .payment-history-item {
    flex-direction: column;
  }

  .payment-history-item > div:last-child {
    justify-items: start;
    text-align: left;
  }

  .answer,
  .answer-empty {
    min-height: 360px;
  }

  .site-footer {
    border-radius: 22px 22px 0 0;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
  }

  .hero-copy,
  .page-title,
  .pricing-hero,
  .hero h1,
  .page-title h1,
  .pricing-hero h1,
  .hero-copy > p,
  .page-title > p,
  .pricing-hero > p {
    width: 100%;
    max-width: 342px;
  }

  .pricing-grid,
  .pricing-card,
  .contact-plan,
  .kantoor-calc,
  .pricing-note {
    width: 100%;
    max-width: 342px;
    margin-inline: 0;
  }

  .pricing-grid {
    justify-items: start;
  }

  .plan-topline {
    justify-content: flex-start;
  }

  .section {
    padding: 40px 0;
  }

  .card,
  .panel,
  .pricing-card,
  .comparison-card,
  .step-card,
  .metric-card,
  .usage-card,
  .next-action-card,
  .quote-card,
  .open-payment-card,
  .report-card,
  .report-hero-card,
  .report-section-card,
  .report-subsection {
    padding: 20px;
    border-radius: 16px;
  }

  .auth-panel {
    padding: 22px;
  }

  .hero h1 {
    font-size: clamp(1.62rem, 7vw, 1.95rem);
    line-height: 1.1;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .premium-preview {
    border-radius: 18px;
  }

  .preview-topbar,
  .preview-app-body {
    padding: 16px;
  }

  .preview-question-card,
  .preview-answer-card,
  .preview-check-card {
    padding: 16px;
    border-radius: 15px;
  }

  .price {
    font-size: 1.85rem;
  }

  .pricing-teaser {
    padding: 26px 22px;
  }

  .usage-table {
    min-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
  }
}
