/* Kop Klaar public pages: bottle green, apricot and cream, one font, thin lines. */
@font-face { font-family: "Andika"; font-weight: 400; font-display: swap; src: url("fonts/andika-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Andika"; font-weight: 700; font-display: swap; src: url("fonts/andika-latin-700-normal.woff2") format("woff2"); }

@font-face { font-family: "Quicksand"; font-weight: 700; font-display: swap; src: url("fonts/quicksand-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #faf4e8; --surface: #ffffff; --ink: #1e4a42; --muted: #5b6f69; --line: #e6dccb;
  --green: #1e4a42; --green-ink: #faf4e8; --apricot: #f29e4c; --apricot-ink: #2b1a08;
  --primary: #1e4a42; --primary-ink: #faf4e8;
  --good: #1b7a44; --good-bg: #e3f2e8; --bad: #b02e28; --bad-bg: #fae6e3; --chip: #f1e9da;
  --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10201c; --surface: #172b27; --ink: #faf4e8; --muted: #a8bdb6; --line: #2c4640;
    --green: #163a33; --primary: #faf4e8; --primary-ink: #1e4a42;
    --good: #6fd49a; --good-bg: #173726; --bad: #ff9088; --bad-bg: #42201e; --chip: #203833;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #10201c; --surface: #172b27; --ink: #faf4e8; --muted: #a8bdb6; --line: #2c4640;
  --green: #163a33; --primary: #faf4e8; --primary-ink: #1e4a42;
  --good: #6fd49a; --good-bg: #173726; --bad: #ff9088; --bad-bg: #42201e; --chip: #203833;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Andika", "Segoe UI", system-ui, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }

.top { background: var(--green); color: var(--green-ink); border-bottom: 3px solid var(--apricot); padding-top: env(safe-area-inset-top, 0px); }
.top-in { max-width: 640px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Quicksand", "Andika", sans-serif; font-weight: 700; font-size: 1.35rem; text-decoration: none; color: inherit; }
.brand .mark { width: 1.6em; height: 1.6em; flex: none; }
.top a.small { font-size: .95rem; color: var(--green-ink); opacity: .9; }

.wrap { max-width: 640px; margin: 0 auto; padding: 22px 16px 40px; display: flex; flex-direction: column; gap: 20px; }
h1, h2 { font-family: "Quicksand", "Andika", sans-serif; }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.25; margin: 0; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.steps { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.price { font-size: 1.6rem; font-weight: 700; }

label.field { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .95rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); font-weight: 400; font-size: 1rem; }
input.code { text-transform: uppercase; letter-spacing: .15em; }
input.pin { letter-spacing: .5em; font-size: 1.3rem; text-align: center; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
label.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }

.btn { display: inline-block; text-align: center; border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn-gold { background: var(--primary); color: var(--primary-ink); }
.btn-navy { background: var(--primary); color: var(--primary-ink); }
.btn-plain { background: var(--chip); color: var(--ink); }
.btn-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .95rem; }
.btn:disabled { opacity: .6; cursor: default; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.msg { border-radius: 8px; padding: 10px 12px; font-size: .95rem; }
.msg:empty { display: none; }
.msg.bad { background: var(--bad-bg); color: var(--bad); }
.msg.good { background: var(--good-bg); color: var(--good); }

.tag { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: .85rem; font-weight: 700; background: var(--chip); }
.tag.good { background: var(--good-bg); color: var(--good); }
.tag.bad { background: var(--bad-bg); color: var(--bad); }
.list { display: flex; flex-direction: column; gap: 10px; }
.item { border-top: 1px solid var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.item:first-child { border-top: 0; padding-top: 0; }
.bank { white-space: pre-line; background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.bigcode { font-size: 1.6rem; font-weight: 700; letter-spacing: .15em; }

.foot { max-width: 640px; margin: 0 auto; padding: 8px 16px 32px; color: var(--muted); font-size: .85rem; display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; }
[hidden] { display: none !important; }
.newschool { display: flex; flex-direction: column; gap: 12px; border-left: 3px solid var(--apricot); padding-left: 12px; }
fieldset.ask { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
fieldset.ask legend { font-weight: 700; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.prog { display: flex; flex-direction: column; gap: 6px; border-left: 3px solid var(--line); padding-left: 12px; margin: 4px 0; }
.prog .bar { height: 6px; background: var(--chip); border-radius: 99px; overflow: hidden; }
.prog .bar span { display: block; height: 100%; background: var(--apricot); }
.prog details summary { cursor: pointer; font-weight: 700; }
ul.plain { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
ul.plain li span { display: inline-block; min-width: 7.5em; color: var(--muted); }
.pw { position: relative; display: block; }
.pw input { padding-right: 96px; }
.pw-show { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--chip); color: var(--ink);
  border-radius: 6px; padding: 6px 10px; font-size: .85rem; font-weight: 700; cursor: pointer; }
input.pin[type=text] { letter-spacing: .5em; }
.btn-link.right { align-self: flex-end; margin-top: -4px; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin-top: 4px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.hint { color: var(--muted); font-size: .92rem; text-align: center; margin: 0 8px; }
