/* ==========================================================================
   Site + dashboard
   ========================================================================== */
:root {
  --paper: #f7f5f0;
  --paper-2: #efece4;
  --card: #ffffff;
  --ink: #17161a;
  --ink-2: #4a4850;
  --ink-3: #8a8790;
  --line: #e3dfd5;
  --accent: #ff5a1f;
  --accent-ink: #ffffff;
  --accent-soft: #ffe6dc;
  --ok: #157a4a;
  --ok-soft: #dcf3e6;
  --warn: #8a5a00;
  --warn-soft: #fff1cc;
  --bad: #b42318;
  --bad-soft: #fde4e1;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(23, 22, 26, .05), 0 4px 16px rgba(23, 22, 26, .06);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; color: var(--ink-3); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Knoppen ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); font: 600 14px/1.2 var(--font);
  text-decoration: none; cursor: pointer; transition: transform .12s, background .12s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--paper-2); }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.icon-btn {
  width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; padding: 0;
}
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn[disabled] { opacity: .35; cursor: default; }
.icon-btn svg { width: 16px; height: 16px; }

/* Formulieren ------------------------------------------------------------ */
label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field + .field { margin-top: 14px; }
input[type=text], input[type=email], input[type=password], input[type=url], textarea, select {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); font: inherit; transition: border-color .12s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 22, 26, .08); }
textarea { resize: vertical; min-height: 90px; }
input[type=color] { width: 44px; height: 38px; padding: 2px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--card); cursor: pointer; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--ink); }
.error { color: var(--bad); font-size: 13px; margin-top: 6px; }
.hint { color: var(--ink-3); font-size: 12.5px; margin-top: 6px; }
.prefix-input { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; }
.prefix-input span { padding: 11px 0 11px 13px; color: var(--ink-3); white-space: nowrap; }
.prefix-input input { border: 0; padding-left: 2px; box-shadow: none !important; }
.prefix-input:focus-within { border-color: var(--ink); }

/* Meldingen -------------------------------------------------------------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-bad { background: var(--bad-soft); color: var(--bad); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert a { font-weight: 600; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-accent { background: var(--accent-soft); color: #b8360a; }

/* Kaarten ---------------------------------------------------------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card + .card { margin-top: 18px; }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h2, .card-head h3 { margin: 0; }

/* ==========================================================================
   Marketing
   ========================================================================== */
.site-nav { padding: 18px 0; }
.site-nav .container { display: flex; align-items: center; gap: 12px; }
.logo { font: 800 20px/1 var(--display); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; letter-spacing: -.02em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--accent); display: inline-grid; place-items: center; }
.logo-mark::after { content: ''; width: 10px; height: 10px; border: 2.5px solid #fff; border-radius: 50%; }

.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--ink-2); max-width: 30em; margin-bottom: 26px; }
.claim { display: flex; max-width: 460px; background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 5px 5px 18px; align-items: center; }
.claim span { color: var(--ink-3); white-space: nowrap; }
.claim input { border: 0; padding: 10px 4px; background: transparent; box-shadow: none !important; min-width: 0; }

.phone {
  width: 290px; margin-inline: auto; aspect-ratio: 9 / 18.5; border-radius: 40px; border: 10px solid var(--ink);
  background: linear-gradient(170deg, #ff7e5f 0%, #feb47b 60%, #ffd29d 100%); padding: 38px 20px; position: relative;
  box-shadow: 0 30px 60px -20px rgba(23, 22, 26, .35); transform: rotate(3deg);
}
.phone .ph-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px; background: #3a1c12; color: #fff4ea; display: grid; place-items: center; font: 700 24px var(--display); }
.phone .ph-name { text-align: center; font: 700 16px var(--display); color: #3a1c12; }
.phone .ph-bio { text-align: center; font-size: 12px; color: #3a1c12; opacity: .8; margin-bottom: 18px; }
.phone .ph-link { background: #3a1c12; color: #fff4ea; border-radius: 999px; padding: 11px; text-align: center; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.phone .ph-icons { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.phone .ph-icons i { width: 18px; height: 18px; border-radius: 50%; background: #3a1c12; opacity: .85; }

.section { padding: 64px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .num { font: 800 13px var(--display); color: var(--accent); letter-spacing: .08em; margin-bottom: 10px; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.is-highlight { border-color: var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.plan.is-current { border-color: var(--ok); }
.plan .tag { position: absolute; top: -12px; left: 22px; }
.plan .price { font: 800 40px/1 var(--display); margin: 14px 0 4px; letter-spacing: -.02em; }
.plan .price small { font: 500 14px var(--font); color: var(--ink-3); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; font-size: 14px; }
.plan li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

.site-footer { padding: 48px 0 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { font: 700 13px var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 4px 0 12px; }
.footer-grid a:not(.logo) { display: block; color: var(--ink-2); text-decoration: none; padding: 3px 0; }
.footer-grid a:not(.logo):hover { color: var(--accent); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Blogbeheer ------------------------------------------------------------- */
.post-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.post-side .card { padding: 18px; }
.post-side .card + .card { margin-top: 14px; }
.post-side h3 { font-size: 1rem; margin-bottom: 12px; }
.post-side .check + .check { margin-top: 6px; }
.title-input { font: 700 26px/1.2 var(--display) !important; padding: 14px 16px !important; }
.EasyMDEContainer .editor-toolbar { background: var(--card); border-color: var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.EasyMDEContainer .CodeMirror { border-color: var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font: 15px/1.7 var(--font); }
.serp { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; font-family: Arial, sans-serif; background: #fff; }
.serp-url { font-size: 12px; color: #4d5156; }
.serp-title { color: #1a0dab; font-size: 17px; line-height: 1.3; margin: 3px 0; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.serp-desc { color: #4d5156; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog --------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 1200 / 630; background: var(--paper-2); object-fit: cover; width: 100%; }
.post-card .cover-ph { aspect-ratio: 1200 / 630; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-soft), var(--paper-2)); color: var(--accent); font: 800 40px var(--display); }
.post-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card p { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; flex: 1; }
.post-meta { font-size: 13px; color: var(--ink-3); }
.article { padding: 32px 0 20px; }
.article-head { max-width: 760px; margin: 0 auto 28px; }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.article-head .lead { font-size: 19px; color: var(--ink-2); }
.article-cover { max-width: 1000px; margin: 0 auto 36px; border-radius: 18px; overflow: hidden; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; }
.article-body h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.article-body h3 { font-size: 1.25rem; margin: 1.5em 0 .4em; }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.1em; }
.article-body li { margin: .3em 0; }
.article-body a { color: #b8360a; text-underline-offset: 3px; }
.article-body img { border-radius: 12px; margin: 1.4em auto; height: auto; }
.article-body blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--card); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.article-body blockquote p:last-child { margin: 0; }
.article-body code { background: var(--paper-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }

/* Hoofdmenu ---------------------------------------------------------------- */
.site-menu { display: flex; gap: 4px; margin-left: 22px; }
.site-menu a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 14px; }
.site-menu a:hover, .site-menu a.active { color: var(--ink); background: var(--paper-2); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; height: 18px; }
.mobile-menu-panel { position: absolute; right: 0; top: 46px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; min-width: 200px; z-index: 20; }
.mobile-menu-panel a { display: block; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-weight: 500; }
.mobile-menu-panel a:hover { background: var(--paper); }

/* Marketingpagina's -------------------------------------------------------- */
.page-hero { padding: 48px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 16em; margin-inline: auto; }
.page-hero h1 em, .hero h1 em { font-style: normal; color: var(--accent); }
.page-hero .lead { font-size: 18px; color: var(--ink-2); max-width: 36em; margin: 0 auto 24px; }
.eyebrow { display: inline-block; font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.center { text-align: center; }
.btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.compare-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 700 15px var(--display); background: var(--paper); }
.compare thead th small { display: block; font: 500 12px var(--font); color: var(--ink-3); margin-top: 2px; }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--ink-3); }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; padding: 17px 30px 17px 0; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 13px; font: 400 24px var(--font); color: var(--ink-3); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0; padding: 0 0 18px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { font-size: 1.2rem; margin-bottom: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-card .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: #b8360a; display: grid; place-items: center; margin-bottom: 14px; }
.feature-card .ico svg { width: 20px; height: 20px; }
.feature-card p { color: var(--ink-2); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 64px; }
.split.reverse > :first-child { order: 2; }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li { padding: 6px 0 6px 28px; position: relative; }
.checklist li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.cta-band { background: var(--accent); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 52px); text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.cta-band p { opacity: .92; max-width: 32em; margin: 0 auto 22px; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips a { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 500; }
.chips a:hover { border-color: var(--ink); }
.mini-phone { width: 270px; margin-inline: auto; aspect-ratio: 9 / 17; border-radius: 36px; border: 9px solid var(--ink); padding: 34px 18px; box-shadow: 0 30px 60px -24px rgba(23, 22, 26, .35); font-family: var(--mp-font); }
.mini-phone .mp-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; font: 700 22px var(--mp-font); }
.mini-phone .mp-name { text-align: center; font-weight: 700; font-size: 16px; }
.mini-phone .mp-bio { text-align: center; font-size: 12px; opacity: .8; margin-bottom: 16px; }
.mini-phone .mp-link { padding: 11px; text-align: center; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps > div::before { counter-increment: step; content: '0' counter(step); display: block; font: 800 13px var(--display); color: var(--accent); letter-spacing: .08em; margin-bottom: 10px; }
.steps p { color: var(--ink-2); margin: 0; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.25rem; }

/* Auth ------------------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.auth-box { width: min(420px, 100%); }
.auth-box .logo { margin-bottom: 26px; }
.auth-box .card { padding: 28px; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-2); }

/* ==========================================================================
   Dashboard
   ========================================================================== */
.app { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--card) 0 235px, var(--line) 235px 236px, var(--paper) 236px); }
.sidebar { background: var(--card); border-right: 1px solid var(--line); padding: 22px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.sidebar .logo { padding: 0 10px; margin-bottom: 26px; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; text-decoration: none;
  color: var(--ink-2); font: 500 14px var(--font); width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav a:hover, .nav button:hover { background: var(--paper); color: var(--ink); }
.nav a.active { background: var(--ink); color: var(--paper); }
.nav svg { width: 18px; height: 18px; flex: none; }
.nav-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); padding: 16px 12px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .me { margin-top: auto; padding: 14px 12px 0; border-top: 1px solid var(--line); }
.me-url { display: block; font-size: 13px; font-weight: 600; word-break: break-all; text-decoration: none; }
.me-url:hover { color: var(--accent); }

.main { padding: 28px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.page-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 1.8rem; margin: 0; }
.with-preview { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.preview { position: sticky; top: 28px; }
.preview-frame { width: 300px; height: 610px; border-radius: 38px; border: 9px solid var(--ink); overflow: hidden; background: var(--paper-2); margin-inline: auto; }
.preview-frame iframe { width: 100%; height: 100%; border: 0; }
.preview .tiny { text-align: center; margin-top: 10px; }

.share { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 18px; }
.share code { font: 600 14px var(--font); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.link-item + .link-item { margin-top: 10px; }
.link-item.is-off { opacity: .6; }
.link-item .order { display: flex; flex-direction: column; gap: 4px; }
.link-item .order .icon-btn { width: 28px; height: 24px; border-radius: 7px; }
.link-item .meta { min-width: 0; }
.link-item .title { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-item .url { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-item .actions { display: flex; gap: 6px; align-items: center; }
.link-item .clicks { font-size: 12px; color: var(--ink-3); margin-right: 6px; white-space: nowrap; }
.link-item.is-header { background: var(--paper-2); border-style: dashed; }
.li-media { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; flex: none; }
.li-icon { display: grid; place-items: center; background: var(--paper); color: var(--ink); }
.li-icon svg { width: 18px; height: 18px; }
.edit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px 14px; margin-bottom: 14px; }
.edit-grid .field + .field { margin-top: 0; }
.add-header { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.add-header summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.add-header summary:hover { color: var(--ink); }
.lock { display: inline-block; vertical-align: 1px; }
.link-edit { grid-column: 1 / -1; display: none; border-top: 1px dashed var(--line); padding-top: 14px; margin-top: 2px; }
.link-item.is-editing .link-edit { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; }

.switch { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line); border: 0; cursor: pointer; padding: 0; transition: background .15s; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch.on { background: var(--ok); }
.switch.on::after { transform: translateX(16px); }

.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: var(--radius); }

.avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 700 28px var(--display); flex: none; }

.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.theme-opt { position: relative; cursor: pointer; display: block; margin: 0; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-swatch { aspect-ratio: 3 / 4; border-radius: 12px; border: 2px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; justify-content: center; transition: border-color .12s, transform .12s; }
.theme-swatch b { font-size: 15px; line-height: 1; margin-bottom: 4px; text-align: center; }
.theme-swatch i { display: block; height: 13px; border-radius: 4px; background: var(--sw-bg); }
.theme-swatch.sws-pill i { border-radius: 99px; }
.theme-swatch.sws-square i { border-radius: 1px; }
.theme-swatch.sw-outline i { background: transparent; border: 1.5px solid var(--sw-text); }
.theme-swatch.sw-shadow i { border: 1.5px solid var(--sw-shadow); box-shadow: 2px 2px 0 var(--sw-shadow); }
.theme-swatch.sw-soft i { box-shadow: 0 2px 0 var(--sw-shadow); }
.theme-swatch.sw-glass i { background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .5); }
.theme-swatch.sw-underline i { background: transparent; border-radius: 0; border-bottom: 1.5px solid var(--sw-text); }
.theme-swatch.sw-custom i { background: rgba(255, 255, 255, .85); }
.theme-swatch.sw-custom b { color: #fff; }

/* Ontwerp-editor */
.custom-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.custom-fields[disabled] .card { opacity: .55; }
.custom-fields .card, #design-form > .card { margin-top: 18px; }
.upsell { margin-top: 18px; background: var(--accent-soft); border-radius: var(--radius); padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.seg-choice { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg-choice label { margin: 0; font-weight: 500; cursor: pointer; }
.seg-choice input { position: absolute; opacity: 0; pointer-events: none; }
.seg-choice span { display: block; padding: 7px 14px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2); }
.seg-choice input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); font-weight: 600; }
.seg-choice input:focus-visible + span { outline: 2px solid var(--accent); }
.small-seg span { padding: 6px 11px; font-size: 13px; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.style-opt { margin: 0; cursor: pointer; position: relative; }
.style-opt input { position: absolute; opacity: 0; }
.style-demo { display: grid; place-items: center; height: 64px; border-radius: 12px; border: 2px solid var(--line); background: linear-gradient(135deg, #ffd8c7, #dcd6ff); }
.style-opt input:checked + .style-demo { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.style-opt input:focus-visible + .style-demo { box-shadow: 0 0 0 3px var(--accent); }
.style-demo i { font-style: normal; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 8px; color: #17161a; }
.sd-fill i { background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.sd-outline i { border: 2px solid #17161a; }
.sd-shadow i { background: #fff; border: 2px solid #17161a; box-shadow: 3px 3px 0 #17161a; }
.sd-soft i { background: #fff; box-shadow: 0 4px 0 #b9a8ff; }
.sd-glass i { background: rgba(255, 255, 255, .4); border: 1px solid rgba(255, 255, 255, .8); }
.sd-underline i { border-radius: 0; border-bottom: 2px solid #17161a; }
.style-name { display: block; font-size: 12.5px; font-weight: 600; margin-top: 6px; text-align: center; }
.slider-row { margin-top: 14px; }
.slider-row input { width: 100%; accent-color: var(--ink); }
.slider-row output { font-weight: 700; margin-left: 4px; }
.bg-image-box { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.bg-thumb { width: 90px; height: 120px; border-radius: 10px; background: var(--paper-2) center / cover; display: grid; place-items: center; font-size: 12px; color: var(--ink-3); flex: none; border: 1px solid var(--line); }
.layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.layout-grid .field + .field { margin-top: 0; }
.save-bar { position: sticky; bottom: 12px; z-index: 5; margin-top: 18px; display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 10px 18px; box-shadow: var(--shadow); }
.save-bar [data-dirty] { color: var(--warn); font-weight: 600; }
.live-frame { position: relative; }
.live-frame iframe { position: absolute; inset: 0; opacity: 0; transition: opacity .15s; }
.live-frame iframe.is-active { opacity: 1; z-index: 1; }
.theme-opt:hover .theme-swatch { transform: translateY(-2px); }
.theme-opt input:checked + .theme-swatch { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.theme-opt input:focus-visible + .theme-swatch { box-shadow: 0 0 0 3px var(--accent); }
.theme-name { font-size: 13px; font-weight: 600; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.theme-opt.is-locked .theme-swatch { filter: grayscale(.4); opacity: .65; }
.lock { font-size: 10px; padding: 2px 6px; border-radius: 99px; background: var(--ink); color: var(--paper); }

.custom-box { margin-top: 18px; padding: 18px; border-radius: var(--radius-sm); background: var(--paper); display: none; }
.custom-box.show { display: block; }
.color-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.color-row .field + .field { margin-top: 0; }
.color-field { display: flex; gap: 8px; align-items: center; }
.color-field input[type=text] { font-family: ui-monospace, monospace; font-size: 13px; padding: 9px 10px; }

.socials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.socials-grid .field + .field { margin-top: 0; }
.social-label { display: flex; align-items: center; gap: 8px; }
.social-label svg { width: 16px; height: 16px; }

.stat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tile .label { font-size: 13px; color: var(--ink-2); }
.tile .value { font: 800 30px/1.1 var(--display); margin-top: 6px; letter-spacing: -.02em; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg a { padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.seg a.active { background: var(--ink); color: var(--paper); }
.seg span { padding: 6px 13px; font-size: 13px; color: var(--ink-3); }
.chart { width: 100%; height: auto; display: block; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--ink-3); font-size: 11px; font-family: var(--font); }
.chart .bar-v { fill: var(--ink); }
.chart .bar-c { fill: var(--accent); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 99px; background: var(--paper-2); overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.locked-box { position: relative; }
.locked-box::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, var(--paper) 85%); border-radius: var(--radius); }

.mobile-bar { display: none; }

/* Agency ----------------------------------------------------------------- */
.btn-light { background: var(--card); color: var(--ink); border-color: var(--card); }
.managing-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--ink); color: var(--paper); padding: 10px 12px 10px 14px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; }
.mini-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font: 700 12px var(--display); flex: none; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.client-list { list-style: none; margin: 0; padding: 0; }
.client { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.client + .client { margin-top: 10px; }
.client .avatar { width: 46px; height: 46px; font-size: 16px; }
.client .name { font-weight: 650; }
.client .meta { font-size: 13px; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.client .meta a { color: var(--ink-2); text-decoration: none; }
.client .meta a:hover { color: var(--accent); }
.client .actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.client-more { grid-column: 1 / -1; display: none; border-top: 1px dashed var(--line); padding-top: 14px; }
.client.is-open .client-more { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.client-more h4 { margin: 0 0 6px; font-size: 14px; }
.invite-link { display: flex; gap: 8px; align-items: center; background: var(--ok-soft); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; }
.invite-link code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }
.agency-band { background: var(--ink); color: var(--paper); border-radius: 22px; padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.agency-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.agency-band .muted { color: #c9c6cf; }
.agency-band ul { list-style: none; padding: 0; margin: 18px 0 0; }
.agency-band li { padding: 5px 0 5px 26px; position: relative; }
.agency-band li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.calc { background: #26252b; border-radius: var(--radius); padding: 22px; }
.calc-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #c9c6cf; }
.calc-row strong { color: var(--paper); }
.calc-total { border-top: 1px solid #3a3940; margin-top: 8px; padding-top: 12px; font: 700 22px var(--display); display: flex; justify-content: space-between; }
.calc-note { font-size: 12.5px; color: #a8a5ae; margin-top: 10px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .with-preview { grid-template-columns: 1fr; }
  .preview { display: none; }
}
@media (max-width: 960px) {
  .site-menu { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 860px) {
  .hero-grid, .features, .pricing { grid-template-columns: 1fr; }
  .feature-grid, .steps, .split, .post-grid, .post-form { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .phone { transform: none; width: 250px; }
  .app { grid-template-columns: 1fr; background: var(--paper); }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow); }
  .sidebar.open { transform: none; }
  .mobile-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .summary { grid-template-columns: 1fr; }
  .agency-band { grid-template-columns: 1fr; }
  .client { grid-template-columns: auto minmax(0, 1fr); }
  .client .actions { grid-column: 1 / -1; justify-content: flex-start; }
  .client.is-open .client-more { grid-template-columns: 1fr; }
  .socials-grid { grid-template-columns: 1fr; }
  .layout-grid, .edit-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .link-item .clicks { display: none; }
}
@media (max-width: 480px) {
  .hide-sm { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .claim { flex-wrap: wrap; border-radius: 18px; padding: 10px; }
  .claim .btn { width: 100%; margin-top: 6px; }
  .link-item { grid-template-columns: auto 1fr; }
  .link-item .actions { grid-column: 1 / -1; justify-content: flex-end; }
}
