@import url("/huisstijl/tokens.css");

* { box-sizing: border-box; }
body { margin: 0; color: var(--petrol); background: #faf8f2; font: 400 1rem/1.55 var(--tekst); }
.shell { min-height: 100svh; display: flex; flex-direction: column; }
.shell > main { flex: 1; }
.paper { background: var(--papier); color: var(--petrol); }
.paper .wrap { width: min(88%, 78rem); }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h1 { font: 400 clamp(2.4rem, 5vw, 4.3rem)/1.03 var(--kop); letter-spacing: var(--kop-spatiering); }
h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.035em; }
:where(a:not([data-slot="button"])) { color: inherit; text-underline-offset: .2em; }
button:not([data-slot="button"]), input, textarea { font: inherit; }
[data-slot="button"] { font-family: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--bloesem); color: var(--petrol); }
.wrap { width: min(82rem, 88%); margin-inline: auto; }
.mast, .foot { border-block-end: 1px solid var(--lijn); }
.mast nav, .foot > div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.mast nav { min-height: 5.3rem; }
.wordmark { display: block; width: 13.25rem; height: auto; }
.merk-link { display: inline-block; padding-block: .35rem; }
.nav-link, .text-link { font-weight: 700; text-decoration-thickness: 1px; }
.nav-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .91rem; text-decoration: none; }
.nav-link:hover, .text-link:hover { text-decoration: underline; }
.foot { border: 0; border-top: 1px solid var(--lijn); }
.foot > div { padding-block: 1.3rem; font-size: .8rem; }
.foot span:first-child { font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-size: .71rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.stamp { display: inline-block; width: .9rem; height: .62rem; background: var(--framboos); clip-path: polygon(0 0, 100% 0, 100% 65%, 77% 100%, 0 100%); transform: rotate(-8deg); }
.login-copy h1 span { color: var(--framboos); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; }
.skip { position: absolute; z-index: 3; top: .5rem; left: 1rem; padding: .5rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }

.action, button.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  min-height: 3.1rem;
  padding: .85rem 1.25rem;
  border: 0;
  background: var(--actie);
  color: var(--actie-tekst);
  clip-path: var(--snee);
  font: 700 .98rem/1.35 var(--tekst);
  text-decoration: none;
}
.action:hover { background: var(--actie-hover); }
.action:focus-visible { outline: 3px solid var(--focus-op-donker); outline-offset: -6px; }
.action span, .secondary-action span, .text-link span { font-size: 1.25em; line-height: 1; }
.text-link { text-underline-offset: .26em; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link span { display: inline-block; margin-left: .35em; }
.paper main section[id] { scroll-margin-top: 1rem; }
.section-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  font: 650 .75rem/1.4 var(--tekst);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-label::before {
  content: "";
  width: 1.2rem;
  height: .4rem;
  background: var(--framboos);
  transform: rotate(-7deg);
  clip-path: polygon(5% 8%, 100% 0, 94% 90%, 0 100%);
}
.landing-hero {
  background: linear-gradient(rgb(255 240 220 / .86), rgb(255 240 220 / .86)),
    url("/huisstijl/papiertextuur.webp") center / 256px var(--papier);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.1rem, 3vw, 3rem);
  padding-block: clamp(2.75rem, 5vw, 5.25rem);
}
.hero h1 {
  margin: 1.3rem 0 1.15rem -.05em;
  font: 400 clamp(2.95rem, 6.6vw, 5.9rem)/.94 var(--kop);
  letter-spacing: -.065em;
}
.hero h1 em { color: var(--framboos); font-style: normal; }
.hero h1 em span { color: var(--petrol); }
.hero-intro { max-width: 39ch; font-size: clamp(1.07rem, 1.43vw, 1.35rem); line-height: 1.48; letter-spacing: -.015em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 1.45rem; }
.secondary-action { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-weight: 700; text-underline-offset: .22em; }
.secondary-action:hover { color: var(--framboos); }
.hero-rate { display: inline-block; margin-top: .95rem; font-size: .91rem; color: var(--petrol); text-decoration: none; }
.hero-rate span { margin-inline: .2rem; }
.hero-rate:hover strong { text-decoration: underline; }
.hero-mascot { display: block; width: 100%; height: auto; }
.showcase { background: var(--bloesem); border-block: 1px solid var(--lijn); }
.showcase-inner, .method-inner {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3.1rem, 5.4vw, 5.5rem);
}
.showcase-inner { align-items: center; }
.showcase h2, .method h2 {
  margin: 1.05rem 0 1rem -.045em;
  font: 400 clamp(2.25rem, 3.75vw, 3.8rem)/1.02 var(--kop);
  letter-spacing: var(--kop-spatiering);
}
.showcase h2 span, .method h2 span { color: var(--framboos); }
.showcase-copy > p:last-child, .method-intro > p:last-child { max-width: 37ch; font-size: 1.08rem; }
.method-steps { list-style: none; counter-reset: work-step; margin: 0; padding: 0; }
.method-steps li {
  counter-increment: work-step;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: .3rem .95rem;
  padding-block: 1.1rem;
  border-top: 1px solid var(--lijn);
}
.method-steps li:last-child { padding-bottom: 0; }
.method-steps li::before {
  content: counter(work-step, decimal-leading-zero);
  grid-row: span 2;
  align-self: start;
  font: 400 1.55rem/1.1 var(--kop);
  letter-spacing: var(--kop-spatiering);
  color: var(--framboos);
}
.method-steps h3 { font: 700 clamp(1.16rem, 1.5vw, 1.4rem)/1.25 var(--tekst); letter-spacing: -.03em; }
.method-steps p { grid-column: 2; max-width: 55ch; }
@media (max-width: 46rem) {
  .wrap { width: min(100% - 2.5rem, 38rem); }
  .wordmark { width: 10.25rem; }
  .mast nav { min-height: 4.4rem; }
  .paper .wrap { width: min(100% - 2.5rem, 36rem); }
  .hero, .showcase-inner, .method-inner { grid-template-columns: 1fr; gap: 1.65rem; }
  .hero { padding-block: 2.4rem 1.7rem; gap: 1.2rem; }
  .hero h1 { margin-block: 1rem; font-size: clamp(2.75rem, 13.1vw, 4.95rem); }
  .hero-actions { margin-top: 1rem; gap: .35rem .95rem; }
  .hero-rate { margin-top: .65rem; }
  .hero-mascot { width: min(96%, 24rem); justify-self: center; }
  .method-steps li { grid-template-columns: 2.2rem minmax(0, 1fr); }
}

.check-form, .check-form label, .check-fields label { display: grid; gap: .38rem; }
.check-form { gap: .85rem; margin-top: 1.4rem; }
.check-form label, .check-fields label { display: block; min-width: 0; font-size: .91rem; font-weight: 700; }
.check-form small, .check-fields small { font-weight: 400; font-size: .82rem; }
.check-fields { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: end; gap: .75rem; }
.check-form input, .check-fields input { display: block; width: 100%; margin-top: .32rem; padding: .68rem .8rem; min-height: 2.85rem; border: 1px solid var(--petrol); color: var(--petrol); background: #fffaf3; border-radius: .2rem; font-size: 1rem; }
.check-form .action { justify-self: start; }
.check-submit { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; }
.check-submit > span { font-size: .82rem; }
.check-page { max-width: 58rem; padding-block: clamp(2rem,4vw,4rem); }
.check-page h1 { margin-top: .7rem; overflow-wrap: anywhere; }
.check-region { margin-top: .4rem; }
.check-page h2 { font-size: clamp(1.35rem,3vw,2rem); }
.check-result { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--lijn); }
.check-result > p { margin-top: .7rem; }
.check-outcome { margin-bottom: 1rem; }
.source-list { padding: 0; list-style: none; }
.source-list a, .source-list button { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1.5rem; border: 0; border-bottom: 1px solid var(--lijn); padding: .65rem 0; color: inherit; background: transparent; text-align: left; }
.source-list span { overflow-wrap: anywhere; }
.scan-sources { margin-top: .85rem; }
.scan-sources summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.check-refine { max-width: 38rem; padding-bottom: .6rem; }
.review-bar, .review-decision { width: min(94%,68rem); margin: auto; }
.review-bar { padding: .75rem 0; display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: space-between; }
.design-review iframe { display: block; width: 100%; height: 74vh; height: 74svh; border: 0; border-block: 1px solid var(--lijn); background: white; }
.review-decision { display: grid; justify-items: start; gap: .7rem; padding-block: 1.5rem 2rem; }
.review-decision h1 { font-size: clamp(1.5rem,3vw,2.1rem); }
.review-decision p { max-width: 65ch; }
@media (max-width: 35rem) { .check-fields { grid-template-columns: 1fr; } }
