/* WaveQR design system
   Kleuren: ink #10132A · slate #5A6178 · mist #F5F6FA · line #E4E6EF · wave #5B3DF5
   Eén lettertype (DM Sans, zelf gehost — geen Google Fonts-verzoeken, AVG-vriendelijk). */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/DMSans.woff") format("woff");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #10132a;
  --ink-2: #2a2f4a;
  --slate: #5a6178;
  --slate-2: #8a90a3;
  --mist: #f5f6fa;
  --paper: #ffffff;
  --line: #e4e6ef;
  --line-2: #eef0f5;
  --wave: #5b3df5;
  --wave-hover: #4a2ee0;
  --wave-tint: #efebff;
  --wave-tint-2: #f7f5ff;
  --go: #0e9f6e;
  --go-tint: #e7f7f0;
  --full: #e0444b;
  --full-tint: #fdeced;
  --warn: #b7791f;
  --warn-tint: #fdf5e6;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-1: 0 1px 2px rgba(16, 19, 42, .05), 0 1px 1px rgba(16, 19, 42, .03);
  --shadow-2: 0 1px 2px rgba(16, 19, 42, .04), 0 8px 24px -6px rgba(16, 19, 42, .10);
  --shadow-3: 0 2px 4px rgba(16, 19, 42, .04), 0 24px 60px -12px rgba(36, 22, 120, .22);

  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
body.app { background: var(--mist); }
img, svg { display: block; max-width: 100%; }
a { color: var(--wave); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -0.022em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.012em; }
h4 { font-size: 1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--slate); }
.faint { color: var(--slate-2); }
:focus-visible { outline: 2px solid var(--wave); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grow { flex: 1; }
.hide-mobile { }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.03em; }
.logo:hover { text-decoration: none; }
.logo img { width: 32px; height: 32px; }

/* ---------- Knoppen ---------- */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font: 600 .95rem/1 var(--font); letter-spacing: -0.005em; cursor: pointer; white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), transform .1s;
  box-shadow: var(--shadow-1);
}
.btn:hover { text-decoration: none; border-color: #cfd3e0; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { --btn-bg: var(--wave); --btn-fg: #fff; --btn-bd: var(--wave); box-shadow: 0 1px 2px rgba(91, 61, 245, .3), inset 0 1px 0 rgba(255,255,255,.14); }
.btn-primary:hover { --btn-bg: var(--wave-hover); border-color: var(--wave-hover); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn-dark:hover { --btn-bg: var(--ink-2); border-color: var(--ink-2); }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; box-shadow: none; }
.btn-ghost:hover { --btn-bg: var(--line-2); border-color: transparent; }
.btn-danger { --btn-fg: var(--full); }
.btn-danger:hover { --btn-bg: var(--full-tint); border-color: #f5c2c5; }
.btn-danger-solid { --btn-bg: var(--full); --btn-fg: #fff; --btn-bd: var(--full); }
.btn-sm { height: 34px; padding: 0 12px; font-size: .875rem; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 36px; padding: 0; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--wave); font: inherit; cursor: pointer; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--line-2); color: var(--slate); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-plain::before { display: none; }
.badge-open, .badge-published, .badge-confirmed { background: var(--go-tint); color: var(--go); }
.badge-full, .badge-closed, .badge-ended { background: var(--full-tint); color: var(--full); }
.badge-waitlist, .badge-not_open { background: var(--warn-tint); color: var(--warn); }
.badge-draft, .badge-past, .badge-cancelled { background: var(--line-2); color: var(--slate); }
.badge-pro { background: var(--ink); color: #fff; }
.badge-pro::before { display: none; }

/* ---------- Kaarten ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.card-pad { padding: 24px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--line-2); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.05rem; }
.card-body { padding: 24px; }

/* ---------- Formulieren ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .hint { font-size: .83rem; color: var(--slate); }
.field .error, .error-text { font-size: .83rem; color: var(--full); font-weight: 500; }
.req { color: var(--full); margin-left: 2px; }
.optional { color: var(--slate-2); font-weight: 400; }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; border: 1px solid #d9dce7;
  background: var(--paper); color: var(--ink); font: 400 .97rem/1.4 var(--font);
  transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
select.input { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A6178' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:hover { border-color: #c5c9d8; }
.input:focus { outline: none; border-color: var(--wave); box-shadow: 0 0 0 4px rgba(91, 61, 245, .14); }
.input.has-error, .has-error .input { border-color: var(--full); }
.input-prefix { display: flex; align-items: stretch; border: 1px solid #d9dce7; border-radius: 10px; overflow: hidden; background: var(--paper); }
.input-prefix span { display: flex; align-items: center; padding: 0 12px; background: var(--mist); color: var(--slate); font-size: .9rem; border-right: 1px solid var(--line); white-space: nowrap; }
.input-prefix .input { border: 0; border-radius: 0; }
.input-prefix:focus-within { border-color: var(--wave); box-shadow: 0 0 0 4px rgba(91, 61, 245, .14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wave); flex: none; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: #c9c3fb; }
.radio-card input { accent-color: var(--wave); width: 18px; height: 18px; margin: 0; flex: none; }
.radio-card:has(input:checked) { border-color: var(--wave); background: var(--wave-tint-2); box-shadow: 0 0 0 3px rgba(91, 61, 245, .10); }
.radio-card.is-full { cursor: not-allowed; background: var(--mist); color: var(--slate-2); }
.radio-card .rc-main { flex: 1; min-width: 0; }
.radio-card .rc-title { font-weight: 600; }
.radio-card .rc-sub { font-size: .85rem; color: var(--slate); }
.segmented { display: inline-flex; padding: 4px; background: var(--line-2); border-radius: 11px; gap: 4px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: .9rem; color: var(--slate); cursor: pointer; }
.segmented input:checked + span { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-1); }
.segmented input:focus-visible + span { outline: 2px solid var(--wave); }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.toggle:first-child { border-top: 0; }
.switch { position: relative; width: 42px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 100%; height: 100%; margin: 0; position: absolute; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d5d8e3; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--wave); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .5; }
.switch input:focus-visible + span { outline: 2px solid var(--wave); outline-offset: 2px; }
.dropzone { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1.5px dashed #cdd1df; border-radius: 14px; background: var(--mist); }
.dropzone .grow { min-width: 0; }
.dropzone .thumb { width: 96px; height: 64px; border-radius: 10px; background: var(--line-2) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--slate-2); }
.dropzone .thumb.logo { width: 64px; background-size: contain; background-color: #fff; }
.cover-drop { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 7; min-height: 190px; border: 1.5px dashed #c4c8da; border-radius: 16px; background: var(--mist) center/cover no-repeat; cursor: pointer; overflow: hidden; text-align: center; transition: border-color .15s; }
.cover-drop:hover, #cover_image:focus-visible + .cover-drop { border-color: var(--accent); }
.cover-empty { display: grid; justify-items: center; gap: 6px; padding: 20px; color: var(--slate); }
.cover-empty svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 4px; }
.cover-empty b { color: var(--ink); font-size: 1.02rem; }
.cover-change { position: absolute; right: 12px; bottom: 12px; display: none; pointer-events: none; }
.cover-drop.has-image { border-style: solid; border-color: transparent; }
.cover-drop.has-image .cover-empty { display: none; }
.cover-drop.has-image .cover-change { display: inline-flex; }
.pass-card { border-color: #d9d3ff; background: linear-gradient(180deg, #f7f5ff, var(--paper) 60%); }
.pass-card.is-active { background: var(--paper); }
.pass-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.pass-list li { display: flex; align-items: center; gap: 10px; }
.pass-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.msg-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.msg-history li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.msg-history li:last-child { border-bottom: 0; padding-bottom: 0; }
.series-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; max-height: 220px; overflow: auto; }
.series-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 8px; background: var(--mist); }
.series-list li.is-current { background: #ece8ff; }
.series-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.series-form .btn { grid-column: 1 / -1; }
.ev-dates { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-dates a { display: inline-flex; flex-direction: column; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--paper); font-weight: 600; text-decoration: none; }
.ev-dates a:hover { border-color: var(--accent); }
.ev-dates small { font-weight: 500; color: var(--slate); }
.tpl-pick { margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); display: grid; gap: 10px; }
.tpl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-chip { position: relative; cursor: pointer; }
.tpl-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 600; font-size: .9rem; transition: border-color .15s, background .15s; }
.tpl-chip:hover span { border-color: #c9bfff; }
.tpl-chip input:checked + span { border-color: var(--wave); background: #f1eeff; color: #3d24c4; }
.tpl-chip input:focus-visible + span { outline: 2px solid var(--wave); outline-offset: 2px; }
.cal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .cal-grid { grid-template-columns: minmax(0, 1fr); } }
.stock-pick { margin-top: 12px; display: grid; gap: 8px; }
.stock-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stock-item { position: relative; cursor: pointer; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; outline: 2px solid transparent; outline-offset: 2px; }
.stock-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.stock-item:hover img { transform: scale(1.05); }
.stock-item input { position: absolute; opacity: 0; pointer-events: none; }
.stock-item:has(input:checked) { outline-color: var(--accent); }
.stock-item:has(input:focus-visible) { outline-color: var(--accent); }
@media (max-width: 560px) { .stock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.dropzone input[type=file] { font: inherit; font-size: .88rem; max-width: 100%; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }

/* ---------- Meldingen ---------- */
.flashes { display: grid; gap: 10px; margin: 0 0 20px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-size: .94rem; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.alert-success { background: var(--go-tint); border-color: #bfe8d6; color: #0b6b4b; }
.alert-error { background: var(--full-tint); border-color: #f6c6c9; color: #a32a30; }
.alert-info { background: var(--wave-tint-2); border-color: #ddd5ff; color: #3b26b8; }
.alert-upgrade, .alert-warn { background: var(--warn-tint); border-color: #f2dfb5; color: #7a5212; }
.alert a { color: inherit; font-weight: 600; text-decoration: underline; }

/* ---------- Publieke navigatie ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-links a:hover { background: var(--line-2); text-decoration: none; }
.nav-links a.is-active { color: var(--ink); font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; background:
  radial-gradient(900px 420px at 78% 8%, rgba(91, 61, 245, .10), transparent 60%),
  linear-gradient(var(--paper), var(--paper)); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--slate); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--slate); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; gap: 6px; align-items: center; }
.hero-note svg { width: 16px; height: 16px; color: var(--go); }

/* Product-weergave in de hero: waves die vollopen */
.showcase { position: relative; }
.sc-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-3); overflow: hidden; }
.sc-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.sc-cover { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #2b1f8f, #5b3df5 55%, #8f7bff); flex: none; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }
.sc-title { font-weight: 700; letter-spacing: -0.015em; }
.sc-sub { font-size: .82rem; color: var(--slate); }
.sc-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-2); }
.sc-stat { padding: 14px 20px; }
.sc-stat + .sc-stat { border-left: 1px solid var(--line-2); }
.sc-stat b { display: block; font-size: 1.35rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sc-stat span { font-size: .78rem; color: var(--slate); }
.sc-waves { padding: 8px 20px 10px; }
.sc-top { padding-right: 110px; }
.sc-foot { display: flex; justify-content: flex-end; gap: 8px; align-items: center; padding: 14px 20px 16px; border-top: 1px solid var(--line-2); font-size: .82rem; color: var(--slate); }
.sc-foot b { color: var(--ink); font-weight: 600; }
.sc-qr { position: absolute; right: -28px; top: -34px; width: 116px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); text-align: center; }
.sc-qr img { width: 100%; height: auto; image-rendering: pixelated; }
.sc-qr small { display: block; margin-top: 6px; font-weight: 600; font-size: .75rem; color: var(--slate); }
.sc-toast { position: absolute; left: -26px; bottom: -26px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); font-size: .85rem; }
.sc-toast .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--go-tint); color: var(--go); display: grid; place-items: center; font-weight: 700; font-size: .75rem; }

/* ---------- Wave-balken (het terugkerende motief) ---------- */
.wave-list { display: grid; gap: 2px; }
.wave-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.wave-row:last-child { border-bottom: 0; }
.wave-name { font-weight: 600; letter-spacing: -0.01em; }
.wave-time { color: var(--slate); font-size: .86rem; font-variant-numeric: tabular-nums; margin-left: 8px; font-weight: 500; }
.wave-count { font-size: .86rem; color: var(--slate); font-variant-numeric: tabular-nums; text-align: right; }
.wave-count b { color: var(--ink); }
.wave-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.wave-bar i { display: block; height: 100%; border-radius: 99px; background: var(--wave); width: 0; transition: width 1.1s var(--ease); }
.wave-row.is-full .wave-bar i { background: var(--full); }
.wave-row.is-almost .wave-bar i { background: linear-gradient(90deg, var(--wave), #b14be8); }
.chip-full { display: inline-flex; height: 20px; align-items: center; padding: 0 8px; border-radius: 6px; background: var(--full); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .02em; margin-left: 8px; vertical-align: 1px; }
.chip-left { display: inline-flex; height: 20px; align-items: center; padding: 0 8px; border-radius: 6px; background: var(--go-tint); color: var(--go); font-size: .72rem; font-weight: 700; margin-left: 8px; vertical-align: 1px; }

/* ---------- Secties homepage ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; }
.section-head p { color: var(--slate); font-size: 1.08rem; margin: 0; }
.logos-strip { padding-top: 56px; color: var(--slate); font-size: .92rem; }
.type-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.type-pills span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 500; color: var(--ink-2); font-size: .9rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.step-num { width: 34px; height: 34px; border-radius: 10px; background: var(--wave-tint); color: var(--wave); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--slate); font-size: .95rem; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.feature { background: var(--paper); padding: 30px 28px; }
.feature .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--wave-tint); color: var(--wave); margin-bottom: 18px; }
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--slate); margin: 0; font-size: .95rem; }
.feature .pro-tag { margin-left: 6px; vertical-align: 2px; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud { padding: 22px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.aud h3 { font-size: 1.02rem; margin-bottom: 4px; }
.aud p { margin: 0; color: var(--slate); font-size: .92rem; }
.aud .example { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--slate); font-variant-numeric: tabular-nums; }

/* Prijzen */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1180px; margin: 0 auto; }
.plan ul { flex: 1; }
.plan.is-pass { border: 1.5px solid #c9bfff; background: linear-gradient(180deg, #f7f5ff, var(--paper) 45%); }
.badge-pass { background: #ece8ff; color: #4a2fd6; }
.btn-pass { --btn-bg: #ece8ff; --btn-bd: #c9bfff; --btn-fg: #3d24c4; }
@media (max-width: 1020px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }
.btn-pass:hover { filter: brightness(.97); }
.plan { position: relative; padding: 32px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.plan.is-pro { border: 1.5px solid var(--wave); box-shadow: var(--shadow-3); }
.plan-name { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.plan-price { margin: 18px 0 4px; font-size: 3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 1rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan-desc { color: var(--slate); margin-bottom: 22px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.plan li svg { width: 18px; height: 18px; color: var(--wave); flex: none; margin-top: 2px; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 130px; }
.compare thead th { font-size: .9rem; color: var(--slate); font-weight: 600; }
.compare .yes { color: var(--wave); font-weight: 700; }
.compare .no { color: var(--slate-2); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--slate); border-bottom: 2px solid var(--slate); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { color: var(--slate); padding-bottom: 22px; margin: 0; max-width: 62ch; }

.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 56px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(123, 97, 255, .55), transparent); pointer-events: none; }
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; margin-bottom: 10px; }
.cta-band p { color: #b9bdd3; margin: 0; font-size: 1.05rem; }
.cta-band .btn { position: relative; z-index: 1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 96px; color: var(--slate); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { color: var(--ink); font-size: .92rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--slate); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-main { display: flex; flex-direction: column; padding: 32px; }
.auth-box { width: 100%; max-width: 400px; margin: auto; padding: 32px 0; }
.auth-box h1 { font-size: 1.9rem; letter-spacing: -0.03em; }
.auth-side { background: var(--ink); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -200px; bottom: -200px; width: 600px; height: 600px; background: radial-gradient(closest-side, rgba(123,97,255,.45), transparent); }
.auth-side blockquote { margin: 0; font-size: 1.5rem; line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; max-width: 22em; position: relative; z-index: 1; }
.auth-side .sc-panel { margin-top: 40px; position: relative; z-index: 1; max-width: 440px; color: var(--ink); }

/* ---------- App shell ---------- */
.app-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.app-nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.app-nav .nav-links a { font-size: .93rem; }
.account-menu { position: relative; margin-left: auto; }
.account-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 4px 8px 4px 4px; border-radius: 999px; border: 1px solid var(--line); }
.account-menu summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--wave-tint); color: var(--wave); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-2); z-index: 50; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; padding: 9px 12px; border-radius: 8px; color: var(--ink); font: 500 .93rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--mist); text-decoration: none; }
.menu-pop hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 0; }
.menu-pop .who { padding: 8px 12px 10px; font-size: .85rem; color: var(--slate); }
.menu-pop .who b { display: block; color: var(--ink); }
.app-main { padding: 36px 0 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.page-head p { margin: 6px 0 0; color: var(--slate); }
.breadcrumb { font-size: .88rem; color: var(--slate); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.stat { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.stat span { font-size: .88rem; color: var(--slate); font-weight: 500; }
.stat b { display: block; font-size: 2rem; letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--slate); font-weight: 600; font-size: .93rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--wave); }
.tabs .count { margin-left: 6px; font-size: .78rem; padding: 1px 7px; border-radius: 99px; background: var(--line-2); color: var(--slate); }

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.event-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: box-shadow .2s var(--ease), border-color .2s; }
.event-card:hover { box-shadow: var(--shadow-2); border-color: #d9dcea; }
.ec-cover { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(135deg, #2b1f8f, #5b3df5 55%, #8f7bff) center/cover no-repeat; }
.ec-cover .badge { position: absolute; left: 14px; top: 14px; box-shadow: var(--shadow-1); }
.ec-date { position: absolute; right: 14px; bottom: -22px; width: 54px; padding: 6px 0; text-align: center; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow-2); line-height: 1.1; }
.ec-date b { display: block; font-size: 1.25rem; letter-spacing: -0.02em; }
.ec-date span { font-size: .72rem; color: var(--slate); font-weight: 600; }
.ec-body { padding: 18px 20px 16px; flex: 1; }
.ec-body h3 { margin: 0 64px 6px 0; font-size: 1.08rem; }
.ec-body h3 a { color: var(--ink); }
.ec-meta { display: grid; gap: 4px; font-size: .88rem; color: var(--slate); }
.ec-meta div { display: flex; gap: 8px; align-items: center; }
.ec-meta svg { width: 15px; height: 15px; flex: none; }
.ec-fill { margin-top: 14px; }
.ec-fill .row-between { font-size: .84rem; color: var(--slate); margin-bottom: 6px; }
.ec-actions { display: flex; gap: 6px; padding: 12px 14px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.ec-actions form { margin: 0; }
.ec-actions .spacer { flex: 1; }

.empty { text-align: center; padding: 64px 24px; background: var(--paper); border: 1px dashed #d3d7e4; border-radius: var(--r-xl); }
.empty .ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--wave-tint); color: var(--wave); }
.empty h3 { font-size: 1.25rem; }
.empty p { color: var(--slate); max-width: 420px; margin: 0 auto 22px; }

/* Stappen-indicator */
.stepper { display: flex; gap: 0; margin-bottom: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 6px; overflow-x: auto; }
.stepper a, .stepper span.st { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: var(--slate); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.stepper a:hover { background: var(--mist); text-decoration: none; }
.stepper .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--line-2); color: var(--slate); flex: none; }
.stepper .is-done .n { background: var(--wave-tint); color: var(--wave); }
.stepper .is-current { background: var(--wave-tint-2); color: var(--ink); }
.stepper .is-current .n { background: var(--wave); color: #fff; }
.progress { height: 4px; border-radius: 99px; background: var(--line-2); margin: -18px 0 28px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--wave); border-radius: 99px; transition: width .4s var(--ease); }
.wizard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.aside-tip { position: sticky; top: 88px; padding: 20px; border-radius: var(--r-lg); background: var(--wave-tint-2); border: 1px solid #e4ddff; font-size: .92rem; color: var(--ink-2); }
.aside-tip h4 { margin-bottom: 8px; }
.aside-tip p:last-child { margin: 0; }

/* Builders (velden / waves) */
.builder-list { display: grid; gap: 12px; }
.builder-item { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); padding: 16px; display: grid; gap: 12px; }
.builder-item.is-locked { background: var(--mist); }
.bi-head { display: flex; gap: 10px; align-items: center; }
.bi-head .handle { color: var(--slate-2); font-weight: 700; font-variant-numeric: tabular-nums; width: 24px; }
.bi-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .9fr; gap: 10px; }
.bi-grid-fields { display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 10px; align-items: center; }
.bi-tools { display: flex; gap: 4px; margin-left: auto; }
.std-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.std-field { padding: 10px 12px; border-radius: 10px; background: var(--mist); border: 1px solid var(--line-2); font-size: .88rem; font-weight: 600; }
.std-field small { display: block; font-weight: 500; color: var(--slate); }
.lock-note { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 12px; background: var(--mist); border: 1px dashed #cfd3e0; font-size: .92rem; flex-wrap: wrap; }

/* Tabel */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th { text-align: left; font-weight: 600; font-size: .82rem; color: var(--slate); padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfd; }
.table .name { font-weight: 600; color: var(--ink); }
.table .sub { font-size: .82rem; color: var(--slate); }
.table td.actions { text-align: right; white-space: nowrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px; border-bottom: 1px solid var(--line-2); align-items: center; }
.filters .input { width: auto; min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: .92rem; }
.filters .search { flex: 1; min-width: 200px; }
.live-banner { display: none; margin: 12px 16px 0; }
.live-banner.is-visible { display: flex; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 0 rgba(14,159,110,.5); animation: pulse 2s infinite; margin-right: 6px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(14,159,110,.45); } 70% { box-shadow: 0 0 0 8px rgba(14,159,110,0); } 100% { box-shadow: 0 0 0 0 rgba(14,159,110,0); } }

/* Beheerpagina */
.manage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.share-link { display: flex; gap: 8px; }
.share-link .input { font-size: .92rem; background: var(--mist); }
.share-btns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.share-btns a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); font-size: .76rem; font-weight: 600; }
.share-btns a:hover { background: var(--mist); text-decoration: none; }
.share-btns svg { width: 20px; height: 20px; }
.qr-box { display: flex; gap: 16px; align-items: center; }
.qr-box img { width: 132px; height: 132px; border-radius: 12px; border: 1px solid var(--line); image-rendering: pixelated; background: #fff; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mini-stats > div { padding: 16px 18px; background: var(--paper); }
.mini-stats > div + div { border-left: 1px solid var(--line); }
.mini-stats b { display: block; font-size: 1.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: .84rem; color: var(--slate); }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding-top: 8px; }
.bars div { flex: 1; min-width: 6px; background: var(--wave); border-radius: 4px 4px 2px 2px; opacity: .85; position: relative; }
.bars div:hover { opacity: 1; }
.bars-axis { display: flex; justify-content: space-between; font-size: .76rem; color: var(--slate); margin-top: 6px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: .93rem; }
.list-plain li:last-child { border-bottom: 0; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; font-size: .95rem; }
.kv dt { color: var(--slate); }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* Modal */
dialog.modal { border: 0; padding: 0; border-radius: 20px; width: min(560px, calc(100vw - 32px)); box-shadow: 0 30px 80px -20px rgba(16,19,42,.45); color: var(--ink); }
dialog.modal::backdrop { background: rgba(16, 19, 42, .45); backdrop-filter: blur(2px); }
dialog.modal[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-body { padding: 16px 24px 24px; max-height: 70vh; overflow: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--mist); }

/* ---------- Openbare evenementpagina ---------- */
.ev { --accent: var(--wave); }
.ev-hero { position: relative; min-height: clamp(340px, 42vw, 540px); display: flex; align-items: flex-end; background: linear-gradient(135deg, #2b1f8f, var(--accent) 55%, #8f7bff) center/cover no-repeat; color: #fff; }
.ev-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,30,0) 35%, rgba(10,12,30,.75)); }
.ev-hero .container { position: relative; padding-top: 80px; padding-bottom: 40px; }
.ev-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1.04; margin-bottom: 14px; max-width: 18em; }
.ev-hero .ev-logo { width: 64px; height: 64px; border-radius: 16px; background: #fff center/contain no-repeat; margin-bottom: 18px; box-shadow: var(--shadow-2); }
.ev-facts { display: flex; gap: 10px 22px; flex-wrap: wrap; font-weight: 500; opacity: .95; }
.ev-facts span { display: inline-flex; align-items: center; gap: 8px; }
.ev-facts svg { width: 18px; height: 18px; }
.ev-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding-top: 48px; padding-bottom: 32px; align-items: start; }
.ev-desc { font-size: 1.05rem; line-height: 1.7; color: var(--ink-2); white-space: pre-line; max-width: 66ch; }
.ev-side { position: sticky; top: 24px; }
.ev-card { padding: 24px; }
.ev-card .btn-primary { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.ev-card .btn-primary:hover { filter: brightness(.92); }
.ev .wave-bar i { background: var(--accent); }
.ev-org { display: flex; gap: 12px; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--slate); }
.ev-footer { padding: 40px 0; text-align: center; font-size: .85rem; color: var(--slate-2); }
.ev-footer a { color: var(--slate); font-weight: 600; }
.preview-bar { position: sticky; top: 0; z-index: 50; background: var(--warn-tint); color: #7a5212; border-bottom: 1px solid #f2dfb5; font-size: .9rem; padding: 10px 0; }
.mobile-cta { display: none; }

.reg-wrap { max-width: 680px; margin: 0 auto; padding: 40px 24px 80px; }
.reg-head { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.reg-head .thumb { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #2b1f8f, var(--accent) 60%, #8f7bff) center/cover; flex: none; }
.reg-section { padding: 24px; }
.reg-section + .reg-section { border-top: 1px solid var(--line-2); }
.reg-section h2 { font-size: 1.08rem; margin-bottom: 16px; }
.done-check { width: 64px; height: 64px; border-radius: 50%; background: var(--go-tint); color: var(--go); display: grid; place-items: center; margin: 0 auto 20px; }
.done-check.wait { background: var(--warn-tint); color: var(--warn); }
.done-check svg { width: 30px; height: 30px; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 24px; }
.error-page .code { font-size: 5rem; font-weight: 700; letter-spacing: -0.05em; color: var(--wave); line-height: 1; margin-bottom: 12px; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.3rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }

/* Check-in */
.checkin-list { display: grid; gap: 8px; }
.ci-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.ci-row.is-in { background: var(--go-tint); border-color: #bfe8d6; }
.ci-row .grow { min-width: 0; }
.ci-row .name { font-weight: 600; font-size: 1.02rem; }
.ci-btn { min-width: 128px; }
.ci-row.is-in .ci-btn { --btn-bg: var(--go); --btn-fg: #fff; --btn-bd: var(--go); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .showcase { max-width: 560px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .manage-grid, .wizard-grid, .ev-body { grid-template-columns: minmax(0, 1fr); }
  .aside-tip, .ev-side { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .nav-links, .nav-cta .btn-ghost, .nav-cta .hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .nav-cta { margin-left: auto; }
  .mobile-menu.is-open { display: grid; gap: 4px; padding: 8px 18px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-menu a { padding: 12px 8px; color: var(--ink); font-weight: 500; border-radius: 8px; }
  .hero { padding-top: 40px; }
  .sc-qr { right: -6px; width: 92px; top: -40px; }
  .sc-top { padding-right: 86px; }
  .sc-toast { left: -6px; bottom: -30px; }
  .section { padding: 64px 0; }
  .steps, .feature-grid, .audience, .plans { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .span-2 { grid-column: auto; }
  .bi-grid { grid-template-columns: 1fr 1fr; }
  .bi-grid-fields { grid-template-columns: 1fr; }
  .std-fields { grid-template-columns: 1fr 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 16px; }
  .stat b { font-size: 1.6rem; }
  .stepper .lbl { display: none; }
  .stepper .is-current .lbl { display: inline; }
  .table .hide-sm { display: none; }
  .share-btns { grid-template-columns: repeat(3, 1fr); }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .ev-hero { min-height: 280px; }
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .ev-page { padding-bottom: 80px; }
  .app-nav .nav-links { display: none; }
  .mini-stats b { font-size: 1.3rem; }
  .compare th:not(:first-child), .compare td:not(:first-child) { width: 70px; }
  .account-menu .acc-name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.ico-inline { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; margin-right: 6px; }
[hidden] { display: none !important; }
.manage-grid aside .share-btns { grid-template-columns: repeat(3, 1fr); }
.bars { justify-content: flex-start; }
.bars div { max-width: 28px; }
.card .table td:first-child, .card .table th:first-child { padding-left: 24px; }
.card .table td:last-child, .card .table th:last-child { padding-right: 24px; }
.switch { display: inline-block; vertical-align: middle; }
.stat .chip-full { color: #fff; font-size: .68rem; }
.wave-bar.is-full i { background: var(--full); }
.ec-actions { gap: 2px; padding: 10px 10px; flex-wrap: nowrap; overflow-x: auto; }
.ec-actions .btn-sm { padding: 0 9px; }

.radio-card .rc-title .wave-time { margin-left: 6px; }
@media (max-width: 760px) {
  .radio-card .rc-title .wave-time { display: block; margin-left: 0; }
  .ev-body { padding-top: 32px; gap: 28px; }
  .showcase { margin-top: 24px; margin-bottom: 24px; }
}
@media (max-width: 760px) { .sc-toast { display: none; } }

.ev-brandbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.ev-brandbar .container { height: 56px; }
.ev-brandbar .logo { font-size: 1.08rem; }
.ev-brandbar .logo img { width: 28px; height: 28px; }
@media (max-width: 480px) { .hide-xs { display: none; } }

.chip-almost { display: inline-flex; height: 20px; align-items: center; padding: 0 8px; border-radius: 6px; background: var(--warn-tint); color: var(--warn); font-size: .72rem; font-weight: 700; margin-left: 8px; vertical-align: 1px; white-space: nowrap; }
.ev-made { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2) !important; font-weight: 600; }
.ev-made:hover { border-color: #c9c3fb; text-decoration: none; }
.promo-card { display: flex; gap: 14px; align-items: center; margin-top: 28px; background: var(--wave-tint-2); border-color: #e4ddff; }
@media (max-width: 760px) { .promo-card { flex-wrap: wrap; } .promo-card .btn { width: 100%; } }
.compare svg { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

.aud { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.aud-photo { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #efebff, #f7f5ff) center/cover no-repeat; display: grid; place-items: center; color: var(--wave); }
.aud-photo svg { width: 36px; height: 36px; opacity: .7; }
.aud-body { padding: 18px 20px 20px; flex: 1; }
.photo-band { height: 360px; border-radius: 28px; background: center/cover no-repeat; margin-bottom: -80px; }
.photo-band + .cta-band { position: relative; margin: 0 32px; }
@media (max-width: 760px) { .photo-band { height: 220px; margin-bottom: -40px; } .photo-band + .cta-band { margin: 0 12px; } }

.audience { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud-photo.has-photo { background-position: center 35%; }
@media (max-width: 1024px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }
