/*
 * Datingplaza signature v2 ("the honest friend who read the small print", now with warmth).
 * Elements: warm hero with organic shapes and the two-circles mark, fact sheet per platform, small-print check,
 * numbered source notes, comparison table with initials. No stars, no scores: facts with a source.
 * Load after kit.css + themes/datingplaza.css.
 */

/* ---------- Mark: two overlapping circles ("you and someone") ---------- */
.dp-mark2 { position: relative; display: inline-block; width: 2.2rem; height: 1.4rem; flex: none; }
.dp-mark2::before, .dp-mark2::after { content: ""; position: absolute; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; }
.dp-mark2::before { left: 0; background: var(--dp-coral); }
.dp-mark2::after { right: 0; background: var(--dp-honey); mix-blend-mode: multiply; }
.zs-logo:has(.dp-mark2) { display: inline-flex; align-items: center; gap: .55rem; }

/* ---------- Hero: warm band with soft organic shapes ---------- */
.dp-hero { position: relative; overflow: hidden; background: var(--zs-surface-alt); padding: clamp(2.5rem, 6vw, 5rem) 0; }
.dp-hero__shape { position: absolute; pointer-events: none; border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; }
.dp-hero__shape--a { width: 30rem; height: 26rem; right: -6rem; top: -7rem; background: var(--dp-blush); opacity: .7; }
.dp-hero__shape--b { width: 18rem; height: 16rem; left: -5rem; bottom: -8rem; background: var(--dp-honey); opacity: .45; border-radius: 42% 58% 38% 62% / 55% 45% 55% 45%; }
.dp-hero__shape--c { width: 9rem; height: 9rem; right: 38%; bottom: 2rem; background: var(--dp-coral); opacity: .35; border-radius: 50%; }
.dp-hero__grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 60rem) { .dp-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4rem; } }
.dp-hero h1 { font-size: clamp(2.2rem, 3vw + 1.2rem, 3.7rem); line-height: 1.08; color: var(--zs-brand-deep); }
.dp-hero h1 em { font-style: normal; color: var(--zs-accent); }
.dp-hero__lead { font-size: 1.18rem; margin: 1.1rem 0 1.4rem; max-width: 34rem; }
.dp-hero__note { font-size: .9rem; color: var(--zs-muted); margin: 0; }
.dp-promise { list-style: none; margin: 1.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dp-promise li { background: var(--zs-surface); border-radius: 999px; padding: .3rem .85rem; font-size: .9rem; font-weight: 600; box-shadow: 0 2px 0 var(--zs-line); }

/* ---------- Fact sheet: one platform, warm card with contract honesty ---------- */
.dp-sheet { background: var(--zs-surface); border-radius: var(--zs-radius); box-shadow: 0 10px 30px rgb(140 47 57 / .12), 0 2px 0 var(--zs-line); overflow: hidden; }
.dp-sheet__head { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem; background: var(--zs-bg); border-bottom: 1px dashed var(--zs-line); }
.dp-sheet__head h3 { font-size: 1.35rem; color: var(--zs-brand); }
.dp-sheet__head p { margin: 0 0 0 auto; font-size: .8rem; color: var(--zs-muted); }
.dp-sheet dl { margin: 0; padding: .4rem 1.25rem .7rem; }
.dp-sheet dl > div { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: .2rem 1rem; padding: .55rem 0; border-bottom: 1px solid var(--zs-line); }
.dp-sheet dl > div:last-child { border-bottom: 0; }
.dp-sheet dt { font-size: .88rem; color: var(--zs-muted); }
.dp-sheet dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.dp-sheet dd sup a, .dp-fn { font-size: .72rem; color: var(--zs-accent); text-decoration: none; font-weight: 700; }
.dp-sheet__foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; padding: .9rem 1.25rem 1.1rem; font-size: .82rem; color: var(--zs-muted); }
@media (max-width: 30rem) { .dp-sheet dl > div { grid-template-columns: 1fr; } }

/* A clause worth reading twice: a hand-drawn honey underline. */
.dp-mark { background: linear-gradient(transparent 58%, var(--zs-highlight) 58%, var(--zs-highlight) 92%, transparent 92%); padding: 0 .1em; border-radius: 3px; }

/* ---------- Initials avatar for a platform (no logos needed, no people photos) ---------- */
.dp-avatar { display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; font: 700 1rem/1 var(--zs-font-display); color: var(--zs-ink); background: var(--dp-blush); }
.dp-avatar--2 { background: var(--dp-honey); }
.dp-avatar--3 { background: #f3c7a3; }
.dp-avatar--sm { width: 2rem; height: 2rem; font-size: .85rem; }

/* ---------- Small-print check ---------- */
.dp-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.dp-check li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; padding: 1rem 1.1rem; background: var(--zs-surface); border-radius: 16px; box-shadow: 0 2px 0 var(--zs-line); }
.dp-check__verdict { font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; justify-self: start; align-self: start; white-space: nowrap; }
.dp-check__verdict.is-ok { color: var(--dp-ok); background: #e2efe8; }
.dp-check__verdict.is-warn { color: var(--dp-warn); background: #ffe6d6; }
.dp-check strong { display: block; font-size: 1.05rem; }
.dp-check p { margin: .2rem 0 0; color: var(--zs-muted); }
@media (max-width: 30rem) { .dp-check li { grid-template-columns: 1fr; } }

/* ---------- Source notes ---------- */
.dp-notes { font-size: .82rem; color: var(--zs-muted); border-top: 1px dashed var(--zs-line); padding-top: .7rem; margin-top: 1.5rem; }
.dp-notes ol { margin: 0; padding-left: 1.3rem; }
.dp-notes li { margin-bottom: .2rem; }
.dp-notes li:target { background: var(--zs-highlight); border-radius: 4px; }

/* ---------- Comparison table ---------- */
.dp-compare-wrap { overflow-x: auto; border-radius: var(--zs-radius); background: var(--zs-surface); box-shadow: 0 2px 0 var(--zs-line); }
.dp-compare { width: 100%; min-width: 44rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.dp-compare th, .dp-compare td { padding: .75rem .85rem; border-bottom: 1px solid var(--zs-line); text-align: left; vertical-align: middle; font-size: .95rem; }
.dp-compare thead th { font-size: .8rem; font-weight: 700; color: var(--zs-muted); background: var(--zs-bg); white-space: nowrap; }
.dp-compare tbody th { position: sticky; left: 0; background: var(--zs-surface); box-shadow: 1px 0 0 var(--zs-line); }
.dp-compare tbody th > span { display: flex; align-items: center; gap: .65rem; font: 700 1rem/1.2 var(--zs-font-display); color: var(--zs-brand); }
.dp-compare tbody th small { display: block; font: 400 .78rem var(--zs-font-body); color: var(--zs-muted); }
.dp-compare td.is-none { color: var(--zs-muted); }
.dp-compare tfoot td { font-size: .8rem; color: var(--zs-muted); border-bottom: 0; }
@media (max-width: 30rem) { .dp-sheet__head { flex-wrap: wrap; } .dp-sheet__head p { margin: 0; flex-basis: 100%; } }

/* ================= v3 (Terry 18-11: images) =================
 * Photo in an organic frame behind the fact sheet. Hands, cups, silhouettes only: nobody presented as a user of a platform.
 * <div class="dp-hero__visual"><img class="dp-hero__photo" src="…" alt="…"><article class="dp-sheet">…</article></div>
 */
.dp-hero__visual { position: relative; display: grid; }
.dp-hero__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: 0 0 0 .6rem var(--zs-bg), 0 20px 40px rgb(140 47 57 / .18); }
.dp-hero__visual .dp-sheet { margin: -6rem 0 0 auto; width: min(100%, 27rem); position: relative; }
@media (min-width: 60rem) { .dp-hero__visual .dp-sheet { margin: -9rem -1rem 0 auto; } }
.dp-photo-credit { font-size: .72rem; color: var(--zs-muted); margin: .4rem 0 0; text-align: right; }
/* With a photo + sheet the visual is tall: keep the copy at the top instead of centred. */
@media (min-width: 60rem) { .dp-hero__grid:has(.dp-hero__visual) { align-items: start; } .dp-hero__grid:has(.dp-hero__visual) > div:first-child { padding-top: 3rem; } }

/* ================= v4 (Terry 18-11: own pictograms) =================
 * Sprite: icons/datingplaza/sprite.svg (inline it in the page), ids dp-*.
 * <span class="dp-picto" aria-hidden="true"><svg viewBox="0 0 48 48"><use href="#dp-prijs"/></svg></span>
 * Round organic tile like dp-hero__photo. Variants: --sm, --lg, --coral, --honey (dark glyph, contrast ~11:1).
 * Cut-outs follow the tile colour through --picto-bg.
 */
.dp-picto { --picto-bg: var(--zs-brand); display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; background: var(--picto-bg); color: #fff; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.dp-picto svg { width: 80%; height: 80%; }
.dp-picto--sm { width: 2.4rem; height: 2.4rem; }
.dp-picto--lg { width: 4.5rem; height: 4.5rem; }
.dp-picto--coral { --picto-bg: var(--zs-accent); }
.dp-picto--honey { --picto-bg: var(--dp-honey); color: #3a1d1f; }
@media print { .dp-picto { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Fact sheet rows and small-print items with a pictogram. */
.dp-sheet dl > div:has(.dp-picto) { grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-items: center; }
.dp-sheet dl > div:has(.dp-picto) .dp-picto { grid-row: span 2; }
.dp-check li:has(> .dp-picto) { grid-template-columns: auto 4.6rem minmax(0, 1fr); align-items: start; }
.dp-check li:has(> .dp-picto) .dp-check__verdict { justify-self: stretch; text-align: center; }
@media (max-width: 30rem) { .dp-sheet dl > div:has(.dp-picto) { grid-template-columns: auto minmax(0, 1fr); } .dp-check li:has(> .dp-picto) { grid-template-columns: auto minmax(0, 1fr); } .dp-check li:has(> .dp-picto) .dp-check__verdict { align-self: center; justify-self: start; } .dp-check li:has(> .dp-picto) > div { grid-column: 1 / -1; } }

/* ================= Dark mode (rule 8) ================= */
.dp-avatar { color: #3a1d1f; } /* light tiles in both modes: fixed cocoa ink */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dp-hero h1 { color: var(--zs-brand-text); }
  :root:not([data-theme="light"]) .dp-sheet__head h3,
  :root:not([data-theme="light"]) .dp-compare tbody th > span { color: var(--zs-brand-text); }
  :root:not([data-theme="light"]) .dp-hero__shape { opacity: .16; }
  :root:not([data-theme="light"]) .dp-mark2::after { mix-blend-mode: normal; opacity: .85; }
  :root:not([data-theme="light"]) .dp-check__verdict.is-ok { background: #1f3a2e; }
  :root:not([data-theme="light"]) .dp-check__verdict.is-warn { background: #4a261c; }
  :root:not([data-theme="light"]) .dp-sheet { box-shadow: 0 10px 30px rgb(0 0 0 / .35), 0 2px 0 var(--zs-line); }
}

/* Seasonal hero line (December): a small warm label above the h1. */
.dp-hero__season { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .3rem .85rem .3rem .35rem; border-radius: 999px; background: var(--zs-surface); color: var(--zs-brand-text, var(--zs-brand-deep)); font-weight: 700; font-size: .98rem; box-shadow: inset 0 0 0 1px var(--zs-line); }

/* Keuzehulp (wizard) */
.dp-wiz { background: var(--zs-surface); border-radius: var(--zs-radius); box-shadow: 0 10px 30px rgb(140 47 57 / .12), 0 2px 0 var(--zs-line); padding: 1.25rem 1.25rem 1.4rem; }
.dp-wiz[hidden] { display: none; }
.dp-wiz__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.dp-wiz__eyebrow { display: flex; align-items: center; gap: .5rem; margin: 0; font-weight: 700; color: var(--zs-brand); font-size: .95rem; grid-column: 1 / -1; }
.dp-wiz__bar { height: .5rem; border-radius: 999px; background: var(--zs-line); overflow: hidden; }
.dp-wiz__bar span { display: block; height: 100%; width: var(--done, 0%); background: var(--zs-accent); border-radius: inherit; transition: width .25s ease; }
.dp-wiz__count { margin: 0; font-size: .85rem; color: var(--zs-muted); white-space: nowrap; }
.dp-wiz__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.dp-wiz__step legend { font: 700 clamp(1.3rem, 1vw + 1rem, 1.6rem)/1.2 var(--zs-font-display); color: var(--zs-brand-deep); padding: 0; margin-bottom: .5rem; }
.dp-wiz__hint { margin: 0 0 .8rem; color: var(--zs-muted); font-size: .92rem; }
.dp-wiz__options { display: grid; gap: .55rem; margin-top: .8rem; }
.dp-wiz__opt { position: relative; display: block; cursor: pointer; }
.dp-wiz__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dp-wiz__opt span { display: block; padding: .8rem 1rem; border: 2px solid var(--zs-line); border-radius: 14px; background: var(--zs-bg); font-weight: 600; line-height: 1.3; transition: border-color .15s, background .15s; }
.dp-wiz__opt:hover span { border-color: var(--zs-accent); }
.dp-wiz__opt input:focus-visible + span { outline: 3px solid var(--zs-accent); outline-offset: 2px; }
.dp-wiz__opt input:checked + span { border-color: var(--zs-accent); background: var(--zs-highlight); }
.dp-wiz__nav { display: flex; justify-content: space-between; gap: .6rem; margin-top: 1rem; }
.dp-wiz__nav [data-next] { margin-left: auto; }
.dp-wiz__nav button[disabled] { opacity: .45; cursor: not-allowed; }
.dp-wiz__result:focus { outline: none; }
.dp-wiz__result h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); color: var(--zs-brand-deep); margin: 0 0 .3rem; }
.dp-wiz__picks { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .8rem; }
.dp-pick { border: 1px solid var(--zs-line); border-radius: 16px; padding: .9rem 1rem 1rem; background: var(--zs-bg); }
.dp-pick__head { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.dp-pick__head h3 { margin: 0; font-size: 1.25rem; }
.dp-pick__head h3 a { color: var(--zs-brand); text-decoration: none; }
.dp-pick__rank { margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--zs-accent); background: var(--zs-surface); border-radius: 999px; padding: .2rem .65rem; }
.dp-pick__why { margin: .6rem 0 .4rem; padding-left: 1.1rem; font-size: .93rem; }
.dp-pick__facts { margin: .4rem 0 0; font-size: .88rem; }
.dp-pick__facts > div { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: .6rem; padding: .3rem 0; border-top: 1px dashed var(--zs-line); }
.dp-pick__facts dt { color: var(--zs-muted); }
.dp-pick__facts dd { margin: 0; }
.dp-pick__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .8rem; }
.dp-pick__foot small { flex-basis: 100%; color: var(--zs-muted); font-size: .78rem; }
.dp-wiz__note { font-size: .85rem; color: var(--zs-muted); }
.dp-wiz__again { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; }
.dp-wiz--static ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.dp-today .dp-hero__grid { align-items: start; }
/* Best-for landing pages */
.dp-best { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; }
.dp-best > li { counter-increment: best; }
.dp-best__why { margin: .5rem 0 0; }
.dp-wiz [hidden] { display: none !important; }
@media (max-width: 40rem) { .dp-hero:has(.dp-hero__wizard) { padding-top: 1.5rem; } .dp-hero:has(.dp-hero__wizard) .dp-promise { display: none; } .dp-hero:has(.dp-hero__wizard) .dp-hero__grid { gap: 1.25rem; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .dp-wiz__step legend,
  :root:not([data-theme="light"]) .dp-wiz__result h2,
  :root:not([data-theme="light"]) .dp-wiz__eyebrow,
  :root:not([data-theme="light"]) .dp-pick__head h3 a { color: var(--zs-brand-text); }
}
:root[data-theme="dark"] .dp-wiz__step legend, :root[data-theme="dark"] .dp-wiz__result h2,
:root[data-theme="dark"] .dp-wiz__eyebrow, :root[data-theme="dark"] .dp-pick__head h3 a { color: var(--zs-brand-text); }
