/* hw-check.css — Document check, resultaat en landenpagina's.
   Identiteit Holdwise: navy #0D1B3E, goud #C9A84C, crème #F5EDE0, paper #faf5ec.
   Fraunces (serif, tekst en koppen), Manrope (UI: formulieren, knoppen). */

:root {
  --navy: #0D1B3E;
  --gold: #C9A84C;
  --cream: #F5EDE0;
  --paper: #faf5ec;
  --ink-soft: rgba(13, 27, 62, 0.72);
  --line: rgba(13, 27, 62, 0.18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --measure: 40rem;
}

.hw-check { margin: 0; background: var(--paper); color: var(--navy); font-family: var(--serif); font-weight: 300; font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.hw-check *, .hw-check *::before, .hw-check *::after { box-sizing: border-box; }
.hw-check a { color: var(--navy); text-decoration-color: var(--gold); text-underline-offset: 0.15em; }
.hw-check a:hover { text-decoration-color: var(--navy); }
.hw-check :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* kop en voet (alleen bij ontbreken van de gedeelde header/footer) */
.dc-top { display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1.75rem 1rem 0; }
.dc-mark { display: inline-flex; width: 2.5rem; height: 2.5rem; border: 1px solid var(--gold); border-radius: 50%; align-items: center; justify-content: center; text-decoration: none; }
.dc-h { font-family: var(--serif); font-weight: 400; color: var(--gold); font-size: 1.25rem; line-height: 1; }
.dc-brand { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; text-decoration: none; letter-spacing: 0.02em; }
.dc-foot { max-width: var(--measure); margin: 5rem auto 3rem; padding: 2rem 1.25rem 0; border-top: 1px solid var(--line); text-align: center; font-size: 0.875rem; color: var(--ink-soft); }
.dc-foot-note { font-size: 0.8125rem; }

/* lay-out */
.dc-main { max-width: var(--measure); margin: 0 auto; padding: 3rem 1.25rem 2rem; }
.dc-hero { text-align: center; margin-bottom: 3.5rem; }
.dc-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 1.25rem; }
.dc-hero p { margin: 0 auto 1.25rem; max-width: 34rem; }
.dc-for { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
.dc-crumb { font-family: var(--sans); font-size: 0.875rem; margin-bottom: 2rem; text-align: center; }
.hw-check h2 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.75rem; }
.hw-check h3 { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; margin: 0 0 0.25rem; }
.hw-check p { margin: 0 0 1rem; }

/* knoppen */
.hw-check .dc-btn, .hw-check a.dc-btn, .hw-check a.dc-btn:visited, .hw-check button.dc-btn { display: inline-block; font-family: var(--sans); font-weight: 500; font-size: 0.9375rem; letter-spacing: 0.01em; color: #F5EDE0 !important; background: #0D1B3E !important; border: 1px solid #0D1B3E; padding: 0.9rem 1.75rem; text-decoration: none !important; cursor: pointer; border-radius: 2px; line-height: 1.2; }
.hw-check .dc-btn:hover, .hw-check a.dc-btn:hover { background: #142650 !important; color: #F5EDE0 !important; }
.hw-check .dc-btn-ghost { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: #0D1B3E !important; background: transparent !important; border: 1px solid var(--line); padding: 0.55rem 1rem; cursor: pointer; border-radius: 2px; text-decoration: none; }
.dc-btn-ghost:hover { border-color: var(--navy); }
.dc-remove { font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: 0.25rem 0; text-decoration: underline; text-decoration-color: var(--line); }
.dc-remove:hover { color: var(--navy); }

/* formulier */
.dc-form { margin-top: 1rem; }
.dc-step { border: 0; padding: 0; margin: 0 0 3rem; min-width: 0; }
.dc-step legend { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.25; padding: 0; margin-bottom: 0.5rem; }
.dc-help { font-size: 0.9375rem; color: var(--ink-soft); }
.dc-sub { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.hw-check label { display: block; font-family: var(--sans); font-size: 0.875rem; font-weight: 500; margin-bottom: 0.9rem; }
.hw-check input[type="text"], .hw-check input[type="email"], .hw-check select {
  display: block; width: 100%; margin-top: 0.35rem; font-family: var(--sans); font-size: 1rem; color: var(--navy);
  background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 0.7rem 0.8rem; appearance: none; -webkit-appearance: none;
}
.hw-check select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.25rem; }
.hw-check input:focus, .hw-check select:focus { border-color: var(--navy); outline: none; }
.dc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 560px) { .dc-grid2 { grid-template-columns: 1fr; } }
.dc-radios label, .dc-pep label, .dc-check { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 1.5rem 0.5rem 0; font-weight: 400; }
.dc-radios label { display: flex; margin-right: 0; }
.hw-check input[type="radio"], .hw-check input[type="checkbox"] { accent-color: var(--navy); width: 1rem; height: 1rem; margin: 0; }
.dc-pep p { font-size: 0.9375rem; color: var(--ink-soft); margin-bottom: 0.5rem; }
.dc-pep-small { display: flex; align-items: center; gap: 1rem; font-family: var(--sans); font-size: 0.875rem; }
.dc-pep-small label { margin: 0; }
.dc-pep-small .dc-remove-owner { margin-left: auto; }
.dc-check { margin-top: 1rem; }
.dc-hp { position: absolute; left: -9999px; }
.dc-add { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.dc-submit { text-align: center; margin: 1rem 0 2rem; }
.dc-errors { border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.25rem; margin-bottom: 2.5rem; font-size: 0.9375rem; }
.dc-errors ul { margin: 0; padding-left: 1.1rem; }

/* partijen: in het formulier én in het resultaat */
.dc-party { border-left: 1px solid var(--gold); padding: 0.25rem 0 0.5rem 1.5rem; margin: 0 0 2.5rem; }
.dc-party-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.dc-party-title { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--gold); }
.dc-owners .dc-owner { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 0.5rem; }
.dc-result .dc-party h2, .dc-country .dc-party h2 { margin-bottom: 0.25rem; }
.dc-party-route { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.dc-docs { list-style: none; margin: 0; padding: 0; counter-reset: doc; }
.dc-docs > li { counter-increment: doc; position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; }
.dc-docs > li::before { content: counter(doc); position: absolute; left: 0; top: 0.1rem; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.375rem; color: var(--gold); line-height: 1; }
.dc-docs p { margin-bottom: 0.5rem; }
.dc-formal { font-family: var(--sans); font-size: 0.8125rem; color: var(--ink-soft); }
.dc-formal summary { cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line); }
.dc-formal summary::-webkit-details-marker { display: none; }
.dc-formal p { margin: 0.35rem 0 0; }
.dc-note { font-size: 0.9375rem; color: var(--ink-soft); }

/* resultaat en landenpagina */
.dc-summary, .dc-next, .dc-advisers { margin: 0 0 3rem; }
.dc-summary ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.dc-next { text-align: center; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.dc-next .dc-btn { margin: 0.5rem 0 1rem; }
.dc-advisers { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 2rem; }
.dc-advisers h2 { font-size: 1.125rem; color: var(--navy); }

/* A–Z hub */
.dc-az h2 { font-style: italic; font-weight: 300; color: var(--gold); font-size: 1.5rem; margin: 2rem 0 0.5rem; }
.dc-az ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.dc-az li { break-inside: avoid; margin-bottom: 0.3rem; font-size: 1rem; }
@media (min-width: 640px) { .dc-az ul { columns: 3; } }

/* één ingetogen openingsbeweging; daarna alleen beweging als antwoord op een handeling */
.dc-live { font-family: var(--sans); font-size: 0.875rem; color: var(--navy); margin: 0.25rem 0 0.5rem; min-height: 1.4em; }
.dc-live::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 0.6rem; }
.dc-live:empty::before { display: none; }
.dc-btn[disabled] { opacity: 0.6; cursor: default; }
.dc-party.is-leaving { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .dc-hero > * { opacity: 0; transform: translateY(6px); animation: dc-rise 640ms cubic-bezier(.2,.7,.2,1) forwards; }
  .dc-hero > :nth-child(2) { animation-delay: 120ms; }
  .dc-hero > :nth-child(3) { animation-delay: 240ms; }
  .dc-form, .dc-summary, .dc-result .dc-party, .dc-next { opacity: 0; animation: dc-rise 640ms cubic-bezier(.2,.7,.2,1) forwards; animation-delay: 360ms; }
  .dc-result .dc-party:nth-of-type(2) { animation-delay: 480ms; }
  .dc-result .dc-party:nth-of-type(3) { animation-delay: 600ms; }
  .dc-result .dc-party:nth-of-type(n+4) { animation-delay: 720ms; }
  .dc-next { animation-delay: 840ms; }
  .dc-party.is-entering { animation: dc-rise 420ms cubic-bezier(.2,.7,.2,1); }
  .dc-party.is-leaving { animation: dc-fold 260ms ease-in forwards; }
  .dc-live { transition: opacity 240ms ease; }
  .dc-formal[open] p { animation: dc-in 160ms ease-out; }
}
@keyframes dc-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes dc-fold { to { opacity: 0; max-height: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; } }
@keyframes dc-in { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }
