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

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f6fb;
  --ink: #16182b;
  --muted: #4f5368;
  --blue: #1f3bb3;
  --blue-dark: #142a85;
  --blue-soft: #e6eafb;
  --rule: #dfe1ea;
  --green: #1f8a4c;
  --green-soft: #e3f4ea;
  --yellow: #b7791f;
  --yellow-dot: #f2b705;
  --yellow-soft: #fdf3d8;
  --red: #c0392b;
  --red-soft: #fbe6e3;
  --radius: 1.1rem;
  --shell: min(100% - 2rem, 62rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1875rem; line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: .4rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .7rem 1rem; border-radius: .6rem; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

/* Header / footer */
.top { border-bottom: 1px solid var(--rule); background: #fff; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand-mark { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: var(--blue); }
.brand-mark span { width: .55rem; height: .55rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .22rem rgba(255,255,255,.35); }
.by { font-size: .9375rem; color: var(--muted); text-decoration: none; white-space: nowrap; }
.by:hover { color: var(--blue); }
.foot { margin-top: 4rem; padding-block: 2.25rem; border-top: 1px solid var(--rule); background: var(--bg-soft); font-size: .9375rem; color: var(--muted); }
.foot p + p { margin-top: .35rem; }
.foot a { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: 1.0625rem; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-small { min-height: 2.6rem; padding: .5rem 1rem; font-size: .9375rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.note { font-size: .9375rem; color: var(--muted); }

/* Traffic light dots */
.dots { display: inline-flex; gap: .35rem; vertical-align: middle; }
.dot { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; flex: none; }
.dot-red { background: var(--red); }
.dot-yellow { background: var(--yellow-dot); }
.dot-green { background: var(--green); }

/* Landing */
.hero { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -.035em; max-width: 16ch; }
.hero h1 span { color: var(--blue); }
.hero .lead { margin-top: 1.25rem; max-width: 34rem; font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--muted); }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.25rem; }
.entry { padding: 1.5rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: .8rem; }
.entry-main { background: var(--blue-soft); border-color: transparent; }
.entry h2 { font-size: 1.2rem; }
.entry .btn { align-self: flex-start; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .9375rem; font-weight: 700; }
.input {
  width: 100%; min-height: 3.25rem; padding: .7rem 1rem; border: 2px solid var(--rule); border-radius: .8rem;
  font: inherit; font-size: 1.0625rem; color: var(--ink); background: #fff;
}
.input:focus { outline: none; border-color: var(--blue); }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 13rem; }

.section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section-soft { background: var(--bg-soft); }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.section .intro { margin-top: .75rem; max-width: 38rem; color: var(--muted); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.steps li { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--rule); }
.steps .num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin-top: .4rem; color: var(--muted); font-size: 1.0625rem; }
.who { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.who li { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--rule); font-weight: 700; font-size: 1rem; }
.trust { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; }
.trust ul { list-style: none; display: grid; gap: .8rem; margin-top: 1.25rem; }
.trust li { display: flex; gap: .7rem; align-items: baseline; }
.trust li::before { content: ""; flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); transform: translateY(-.1rem); }
.person { padding: 1.5rem; border-radius: var(--radius); background: var(--blue); color: #fff; }
.person p + p { margin-top: .6rem; }
.person .name { font-size: 1.35rem; font-weight: 800; }
.person a { color: #fff; font-weight: 700; }
.closing { text-align: left; }
.closing p { margin: .75rem 0 1.5rem; color: var(--muted); }

/* Quiz */
.app { padding-block: clamp(1.5rem, 5vw, 3rem); max-width: 40rem; }
.progress { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.75rem; font-size: .9375rem; color: var(--muted); font-weight: 700; }
.bar { flex: 1; height: .5rem; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .35s var(--ease); }
.q-title { font-size: clamp(1.6rem, 4.5vw, 2.2rem); letter-spacing: -.03em; }
.choices { display: grid; gap: .7rem; margin-top: 1.75rem; }
.choice {
  display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 3.6rem; padding: .8rem 1.1rem;
  border: 2px solid var(--rule); border-radius: .9rem; background: #fff; color: var(--ink);
  font: inherit; font-size: 1.125rem; font-weight: 700; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice:hover { border-color: var(--blue); }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.choice .key { display: inline-grid; place-items: center; flex: none; width: 1.9rem; height: 1.9rem; border-radius: .5rem; background: var(--bg-soft); font-size: .875rem; color: var(--muted); }
.why { margin-top: 1.5rem; }
.why summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: 1rem; }
.why p { margin-top: .6rem; padding: 1rem 1.1rem; border-radius: .8rem; background: var(--bg-soft); color: var(--muted); font-size: 1.0625rem; }
.nav-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }

/* Result */
.light { display: flex; gap: 1.25rem; align-items: center; padding: 1.5rem; border-radius: var(--radius); }
.light-red { background: var(--red-soft); }
.light-yellow { background: var(--yellow-soft); }
.light-green { background: var(--green-soft); }
.lamp { flex: none; display: grid; gap: .35rem; padding: .55rem; border-radius: 1rem; background: var(--ink); }
.lamp i { display: block; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #3a3d52; }
.light-red .lamp i:nth-child(1) { background: var(--red); box-shadow: 0 0 12px var(--red); }
.light-yellow .lamp i:nth-child(2) { background: var(--yellow-dot); box-shadow: 0 0 12px var(--yellow-dot); }
.light-green .lamp i:nth-child(3) { background: var(--green); box-shadow: 0 0 12px var(--green); }
.light h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
.light p { margin-top: .35rem; font-size: 1.0625rem; }
.block { margin-top: 2.25rem; }
.block > h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.tasks { list-style: none; display: grid; gap: .9rem; }
.task { padding: 1.2rem 1.25rem; border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; }
.task.is-done { background: var(--green-soft); border-color: transparent; }
.task-head { display: flex; gap: .9rem; align-items: flex-start; }
.task-head input { flex: none; width: 1.5rem; height: 1.5rem; margin-top: .2rem; accent-color: var(--green); }
.task h3 { font-size: 1.15rem; }
.task.is-done h3 { text-decoration: line-through; text-decoration-thickness: 2px; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .3rem; font-size: .9375rem; color: var(--muted); }
.task .reason { margin-top: .6rem; font-size: 1.0625rem; color: var(--muted); }
.task details { margin-top: .8rem; }
.task summary { cursor: pointer; font-weight: 800; color: var(--blue); font-size: 1rem; }
.task ol { margin: .7rem 0 0 1.3rem; display: grid; gap: .35rem; font-size: 1.0625rem; }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.way { padding: .8rem .9rem; border-radius: .8rem; background: var(--bg-soft); font-size: .9375rem; }
.way strong { display: block; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.way-bericode { background: var(--blue-soft); }
.good { list-style: none; display: grid; gap: .45rem; }
.good li { display: flex; gap: .6rem; align-items: baseline; }
.good li::before { content: "✓"; color: var(--green); font-weight: 800; }
.cta-box { margin-top: 2.25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--blue); color: #fff; }
.cta-box h2 { font-size: 1.45rem; }
.cta-box p { margin: .5rem 0 1.1rem; color: #dfe4ff; }
.cta-box .btn-ghost { border-color: #fff; }
.disclaimer { margin-top: 2rem; font-size: .9375rem; color: var(--muted); }

/* Profile */
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
.profile-form .field:first-child { grid-column: 1 / -1; }
.toolbar { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.lang-switch { display: inline-flex; border: 2px solid var(--rule); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: #fff; padding: .5rem 1rem; font: inherit; font-weight: 800; font-size: .9375rem; cursor: pointer; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sheet { margin-top: 1.75rem; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid var(--rule); border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -35px rgba(22,24,43,.5); }
.sheet-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 1.25rem; border-bottom: 2px solid var(--ink); }
.sheet-head h2 { font-size: 1.6rem; }
.sheet-head .sub { color: var(--muted); font-size: .9375rem; margin-top: .25rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; font-weight: 800; font-size: .9375rem; white-space: nowrap; }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-yellow { background: var(--yellow-soft); color: var(--yellow); }
.badge-green { background: var(--green-soft); color: var(--green); }
.areas { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: 1rem; }
.areas th, .areas td { text-align: left; padding: .65rem .4rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.areas th { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.st { font-weight: 800; white-space: nowrap; }
.st-ok { color: var(--green); }
.st-wip { color: var(--yellow); }
.sheet h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.sheet .wip { margin-top: .5rem; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: 1rem; }
.sheet-foot { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: .875rem; color: var(--muted); }
.sheet-foot p + p { margin-top: .3rem; }

/* Website check */
.check-list { list-style: none; display: grid; gap: .8rem; }
.check { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--rule); background: #fff; }
.check .dot { margin-top: .45rem; }
.check > div, .light > div, .task-head > div { min-width: 0; }
.check h3, .check p, .light h1, .light h2, .task h3, .q-title { overflow-wrap: break-word; hyphens: auto; }
.check h3 { font-size: 1.1rem; }
.check p { margin-top: .25rem; font-size: 1.0625rem; color: var(--muted); }
.check .fix { margin-top: .5rem; font-size: 1rem; color: var(--ink); }
.spinner { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 4px solid var(--blue-soft); border-top-color: var(--blue); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; color: var(--muted); }
.error { margin-top: 1rem; padding: 1rem; border-radius: .8rem; background: var(--red-soft); color: var(--red); font-weight: 700; }

/* Prose pages */
.prose { max-width: 40rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p, .prose li { color: #2b2e45; }
.prose p { margin-top: .8rem; }
.prose ul { margin-top: .6rem; padding-left: 1.3rem; display: grid; gap: .35rem; }

@media (max-width: 760px) {
  .entries, .steps, .trust, .two-ways, .profile-form { grid-template-columns: 1fr; }
  .profile-form .field:first-child { grid-column: auto; }
  .sheet-head { flex-direction: column; }
  .by .long { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bar span, .btn, .choice { transition: none; }
  .spinner { animation-duration: 3s; }
}

@media print {
  body { font-size: 11pt; background: #fff; }
  .no-print, .top, .foot, .skip { display: none !important; }
  .app { max-width: none; padding: 0; }
  .sheet { margin: 0; border: 0; box-shadow: none; padding: 0; }
  .areas th, .areas td { padding: .35rem .3rem; }
}
