/* The site's one sheet. --colour comes from the schema, set in each page's head. */
:root {
  --ink: #1b1d1f;
  --soft: #55595e;
  --paper: #faf9f6;
  --card: #ffffff;
  --line: #dedbd3;
  --tint: color-mix(in srgb, var(--colour) 9%, var(--card));
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 1.1875rem/1.6 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
main, .top, footer { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem }
a { color: var(--colour) }
:focus-visible { outline: 3px solid var(--colour); outline-offset: 3px }

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; margin: 0 0 1.2rem; letter-spacing: -0.02em; text-wrap: balance }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -0.01em }
h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 .6rem }
h4 { font-size: 1.1875rem; margin: 0 }
p { margin: 0 0 1rem; max-width: 42rem }
main > section { padding: 3.5rem 0; border-top: 1px solid var(--line) }
main > section:first-child { border-top: 0 }


.top { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.25rem; padding-bottom: 1.25rem }
.top .name { font-weight: 800; font-size: 1.5rem; color: var(--ink); text-decoration: none; letter-spacing: -0.02em }
footer { padding-top: 2rem; padding-bottom: 3rem; color: var(--soft); border-top: 1px solid var(--line); font-size: 1rem }

.hero { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; padding-top: 2rem }
/* A frame around the picture, which is a screen on a ground of the page's own colour. */
.hero img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 10px 30px rgba(27, 29, 31, .10) }
.eyebrow { color: var(--soft); margin: 0 0 .4rem }
.lead { font-size: 1.4rem; line-height: 1.45 }
@media (min-width: 56rem) { .hero:has(img) { grid-template-columns: 1fr 1fr } }

.button {
  display: inline-block; background: var(--colour); color: #fff; text-decoration: none; font-weight: 650;
  padding: .7rem 1.15rem; border-radius: 9px; border: 2px solid var(--colour); margin: 0 .4rem .5rem 0;
}
.button.plain { background: transparent; color: var(--colour) }
button.button { font: inherit; font-weight: 650; cursor: pointer }
[popover] { padding: .8rem; border: 2px solid var(--colour); border-radius: 9px }
[popover] .button { display: block; margin-right: 0 }
[popover] .button:last-child { margin-bottom: 0 }
/* The popover under the button that opens it, where the browser can tie the two; elsewhere it keeps the browser's centred place. */
@supports (position-area: block-end) {
  [popover] { inset: auto; margin: .3rem 0 0; position-area: block-end span-inline-end; position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline }
}
.button small { font-weight: 400; opacity: .85; margin-left: .35rem }
.button[aria-disabled] { cursor: default }

/* What is in it: the werkplek's menu, an area a card, a group a line that opens. */
.menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0 2.5rem }
.menu section { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.2rem }
.menu p { font-size: 1.05rem; color: var(--soft); margin: .2rem 0 .7rem }
details > summary { cursor: pointer; padding: .28rem 0 }
details > summary:hover { color: var(--colour) }
.extra { margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr)); gap: .9rem 2rem }
.extra dt { font-weight: 650 }
.extra dd { margin: 0; color: var(--soft) }
.extra b { color: var(--ink); font-weight: 650 }

/* What one needs: the two programs side by side, the startsleutel under them over the whole
   width, what it is beside its form. */
.need { display: grid; gap: 1rem; margin-top: 1.5rem; align-items: start }
.need > section { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem }
@media (min-width: 44rem) {
  .need { grid-template-columns: 1fr 1fr }
  .need > .key { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; align-items: start }
  .need > .key h3 { grid-column: 1 / -1 }
  .need > .key .order { margin-top: 0 }
}
@media (min-width: 56rem) {
  .need > .key .order { grid-template-columns: 1fr 1fr }
  .need > .key .order > * { grid-column: 1 / -1 }
  .need > .key .order > .stepper { grid-column: auto }
}
.need h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.45rem }
.need h3 span, .steps > li::before {
  flex: none; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--colour); color: #fff; font-size: 1.15rem; font-weight: 700;
}
.buttons { margin-bottom: .3rem }
.buttons .button { display: block; margin-right: 0 }
.buttons button.button { width: 100%; text-align: start; line-height: inherit }
.buttons .button small { display: block; margin-left: 0 }
.dev { background: #fff3c4; border-left: 4px solid #a07800; padding: .5rem .7rem; font-size: 1.05rem }
.version { color: var(--soft) }
table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; font-variant-numeric: tabular-nums }
th, td { text-align: left; padding: .3rem 0; border-bottom: 1px solid var(--line) }
th:last-child, td:last-child { text-align: right }
.order { background: var(--tint); border-radius: 10px; padding: 1.1rem; margin-top: 1.2rem; display: grid; gap: .8rem }
.order label { display: grid; gap: .2rem; font-size: 1.05rem }
.order p { margin: 0; font-size: 1.05rem }
.order output { font-weight: 700; font-size: 1.3rem }
.order label[hidden] { display: none }
.order label small { color: var(--soft) }
.order textarea { font: .9rem/1.4 ui-monospace, Consolas, monospace; padding: .5rem .6rem; border: 1px solid #8a8d91; border-radius: 7px; background: #fff; width: 100%; resize: vertical }
.order table { margin: 0 }
.order .step { color: var(--soft); font-weight: 650 }
.order .buttons-row { display: flex; align-items: center; gap: 1rem }
.order button.plain { background: transparent; color: var(--colour); padding-left: 0; padding-right: 0; text-decoration: underline; font-weight: 400 }
.order tr:last-child td { font-weight: 700; border-bottom: 0 }
.stepper { display: grid; gap: .2rem; font-size: 1.05rem }
.stepper > span:last-child { display: flex; align-items: center; gap: .6rem }
.stepper output { min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums }
.stepper button { width: 2.6rem; padding: .45rem 0; font-size: 1.2rem; line-height: 1.2 }
.stepper button:disabled { opacity: .35; cursor: default }
input, select, button { font: inherit; color: inherit }
input, select { padding: .5rem .6rem; border: 1px solid #8a8d91; border-radius: 7px; background: #fff; width: 100% }
button { background: var(--colour); color: #fff; border: 0; border-radius: 9px; padding: .6rem 1rem; font-weight: 650; cursor: pointer; justify-self: start }

/* How to begin. */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0; max-width: 46rem }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.4rem 3.2rem }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: .05rem }
.steps ul { margin: .6rem 0 0; padding-left: 1.2rem }
.steps ul li { margin-bottom: .4rem }
.command { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .5rem 0 0; max-width: none }
code { background: #1b1d1f; color: #f3f1ea; padding: .5rem .7rem; border-radius: 7px; font: 1rem/1.4 ui-monospace, Consolas, monospace; overflow-wrap: anywhere }
.command button { padding: .4rem .8rem; font-size: 1rem }
.other { margin-bottom: 2.5rem }
.other summary { font-weight: 650 }

/* The home's list. */
label[for="zoek"] { display: block; font-weight: 650; margin-bottom: .3rem }
#zoek { max-width: 28rem; font-size: 1.3rem; padding: .7rem .9rem }
.list { columns: 15rem; column-gap: 2.5rem; margin: 2rem 0 }
.list section { break-inside: avoid; margin-bottom: 1.4rem }
.list h3 { color: var(--colour); border-bottom: 2px solid var(--colour); padding-bottom: .1rem }
.list ul { list-style: none; margin: 0; padding: 0 }
.list a { display: block; padding: .22rem 0; color: var(--ink); text-decoration: none }
.list a:hover { color: var(--colour); text-decoration: underline }
[hidden] { display: none !important }

/* On a narrow screen the text outside a block gets a box of its own, as far in as the text inside a
   block; the blocks stay where they are. */
@media (max-width: 43.99rem) {
  .top, footer { padding-inline: calc(1.25rem + 1.4rem) }
  .hero > div, main > section > :is(h2, h3, p, ol, dl, details, .list) { padding-inline: 1.4rem }
}

/* What is optional in the list of what is in it. */
.optional { display: inline-block; font-size: .8rem; font-weight: 600; line-height: 1.4; padding: 0 .45rem; border-radius: 999px; background: var(--tint); color: var(--colour); vertical-align: .1em; white-space: nowrap }
.legend { font-size: 1.05rem; color: var(--soft) }
/* A line of the menu that opens nothing: the height of a line that does, its text where that one's
   text stands when they share a card. */
.menu .line { margin: 0; padding: .28rem 0; font-size: inherit; color: inherit }
.menu section:has(details) .line { padding-left: 1.05em }
/* The blocks divided over columns by site.js; without it the grid above. */
.menu.columns { display: flex; gap: 1rem; align-items: stretch }
.menu.columns > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1rem }
.menu.columns > div > section { flex-grow: 1 }
/* A line to run in a terminal. */
.snippet { margin: .3rem 0 1rem }
.snippet code { display: block; white-space: pre-wrap; overflow-wrap: anywhere }
