@font-face { font-family: "Schibsted"; src: url(/fonts/schibsted-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url(/fonts/schibsted-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted"; src: url(/fonts/schibsted-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #ffffff;
  --ground: #eceff3;
  --ink: #142030;
  --muted: #566170;
  --line: #d3d9e1;
  --eu: #1d3d8f;
  --ok: #0a7650;
  --bad: #b3261e;
  --warn: #8a5a00;
  --focus: #ffcc00;
  --r: 6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 "Schibsted", system-ui, sans-serif;
}
.idfield input, td code, .code, textarea { font-variant-numeric: tabular-nums; }
a { color: var(--eu); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.brand svg { flex: none; }
.top nav { display: flex; gap: 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* hero with guilloche band */
.hero { position: relative; background: var(--ground); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background: url(/guilloche.svg) center / 1600px 100% no-repeat;
  opacity: .16; pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 52px; padding-bottom: 48px; }
h1 { font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 700; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }

/* the check form */
.check { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(20, 32, 48, .45); }
.field-row { display: flex; gap: 10px; }
.idfield { position: relative; flex: 1; min-width: 0; }
.idfield input {
  width: 100%; height: 64px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r);
  font: 500 clamp(22px, 4.6vw, 30px)/1 "Schibsted", system-ui, sans-serif; letter-spacing: .06em; color: var(--ink);
  text-transform: uppercase; background: var(--paper);
}
.idfield input::placeholder { color: #a7b0bc; letter-spacing: .06em; }
.idfield input:focus { outline: none; box-shadow: 0 0 0 4px var(--focus); }
.hint { min-height: 24px; margin: 8px 2px 0; font-size: 15px; color: var(--muted); }
.hint b { color: var(--ink); font-weight: 500; }
.btn {
  height: 64px; padding: 0 26px; border: 0; border-radius: var(--r); background: var(--eu); color: #fff;
  font: 700 18px/1 "Schibsted", system-ui, sans-serif; cursor: pointer;
}
.btn:hover { background: #163172; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--eu); border: 2px solid var(--eu); height: 48px; font-size: 16px; }

details.more { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; }
details.more summary { cursor: pointer; font-weight: 500; color: var(--eu); list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; }
details.more[open] summary::before { content: "−"; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
label small { font-weight: 400; color: var(--muted); }
.grid input {
  width: 100%; height: 46px; padding: 0 12px; border: 1px solid #aeb7c3; border-radius: var(--r);
  font: 400 17px "Schibsted", system-ui, sans-serif; color: var(--ink);
}
.grid input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--focus); }
.note { font-size: 14px; color: var(--muted); margin: 10px 0 0; }

/* result: perforated slip with a rubber stamp */
.result { margin-top: 26px; }
.slip {
  position: relative; background: var(--paper); padding: 30px 24px 22px; border-radius: 0 0 var(--r) var(--r);
  box-shadow: 0 22px 44px -30px rgba(20, 32, 48, .6), 0 0 0 1px var(--line);
  --hole: radial-gradient(circle at 8px 0, transparent 6px, #000 6.5px);
  -webkit-mask: var(--hole) top left / 16px 100% repeat-x; mask: var(--hole) top left / 16px 100% repeat-x;
  animation: feed .55s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes feed { from { transform: translateY(-14px); clip-path: inset(0 0 100% 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
.slip h2 { margin: 0 0 2px; font-size: 14px; font-weight: 500; color: var(--muted); }
.slip .num { font-size: clamp(24px, 5vw, 32px); font-weight: 700; letter-spacing: .05em; margin: 0 0 16px; word-break: break-all; }
.slip dl { display: grid; grid-template-columns: 9.5em 1fr; gap: 6px 14px; margin: 0; font-size: 16px; }
.slip dt { color: var(--muted); }
.slip dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.slip .msg { margin: 0 0 14px; font-weight: 500; max-width: 30em; }
.slip .foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--muted); }
.slip .foot button { margin-left: auto; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--eu); font: 500 15px "Schibsted", system-ui, sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.stamp {
  position: absolute; top: 22px; right: 18px; width: 132px; height: 132px; pointer-events: none;
  color: var(--ok); transform: rotate(-11deg); animation: press .42s .35s cubic-bezier(.3, 1.6, .5, 1) both;
}
.stamp.bad { color: var(--bad); transform: rotate(8deg); }
.stamp.warn { color: var(--warn); }
@keyframes press { from { opacity: 0; transform: scale(1.6) rotate(-18deg); } to { opacity: .92; } }
.stamp.bad { animation-name: press-bad; }
@keyframes press-bad { from { opacity: 0; transform: scale(1.6) rotate(16deg); } to { opacity: .92; transform: rotate(8deg); } }
.slip.has-stamp .num, .slip.has-stamp .msg { padding-right: 130px; }
.error { border-left: 4px solid var(--bad); background: #fbeceb; padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; margin-top: 18px; }

/* content */
main section { padding: 44px 0 0; }
main section:last-of-type { padding-bottom: 56px; }
h2 { font-size: 27px; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 24px 0 6px; }
p { margin: 0 0 14px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 46px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--eu); color: var(--eu); font-weight: 700; font-size: 15px; display: grid; place-items: center;
}
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 14px; font-weight: 500; color: var(--muted); }
td code, .code { font: 500 15px "Schibsted", system-ui, sans-serif; letter-spacing: .04em; }
.cc { display: inline-block; min-width: 2.4em; padding: 1px 6px; border: 1.5px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: 14px; text-align: center; letter-spacing: .04em; }
.tablewrap { overflow-x: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 500; font-size: 18px; }
.faq details p { margin: 10px 0 4px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }

/* list check */
textarea {
  width: 100%; min-height: 180px; padding: 12px; border: 2px solid var(--ink); border-radius: var(--r);
  font: 500 17px/1.6 "Schibsted", system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; resize: vertical;
}
textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--focus); }
.listbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.st-ok { color: var(--ok); font-weight: 700; }
.st-bad { color: var(--bad); font-weight: 700; }
.st-wait { color: var(--muted); }

footer { background: var(--ink); color: #c9d1db; font-size: 15px; }
footer .wrap { padding-top: 30px; padding-bottom: 30px; }
footer a { color: #fff; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
footer p { margin: 0 0 6px; max-width: 46em; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav .opt { display: none; }
  .hero .wrap { padding-top: 34px; padding-bottom: 32px; }
  .field-row { flex-direction: column; }
  .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .slip dl { grid-template-columns: 1fr; gap: 0 0; }
  .slip dt { margin-top: 8px; }
  .stamp { width: 96px; height: 96px; top: 16px; right: 10px; }
  .slip.has-stamp .msg { padding-right: 0; }
  .slip.has-stamp .num { padding-right: 96px; font-size: 21px; word-break: normal; overflow-wrap: anywhere; }
  .hero::before { opacity: .1; }
}
@media (prefers-reduced-motion: reduce) { .slip, .stamp { animation: none; } }

@media print {
  .top, .hero h1, .hero .lead, .check, footer, main > section, .foot button, .crumbs { display: none !important; }
  .hero { background: none; border: 0; }
  .hero::before { display: none; }
  .slip { box-shadow: none; border: 1px solid #000; -webkit-mask: none; mask: none; animation: none; }
  .stamp { animation: none; opacity: 1; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legal h2 { font-size: 21px; margin-top: 26px; }
