/* DONe — shared base.
   One typeface across its weight range, black on white, a single saturated blue.
   Structure comes from a 12-column grid, solid rules and type size, not from boxes. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/static/fonts/SchibstedGrotesk.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/static/fonts/SchibstedGrotesk-Italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #FFFFFF;
  --ink: #0C0C0E;
  --ink-2: #45464D;
  --mute: #74757D;
  --line: #E1E2E7;
  --line-2: #C4C6CE;
  --wash: #F2F3F6;
  --blue: #1B3BFF;
  --blue-deep: #0E25C2;
  --blue-wash: #E8ECFF;
  --warn: #8A4B00;
  --warn-wash: #FFF1DC;
  --font: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gut: clamp(14px, 1.8vw, 24px);
  --side: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.5;
  font-feature-settings: "kern" 1; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset, blockquote { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
sup { font-size: .62em; line-height: 0; vertical-align: .6em; }
sup a { text-decoration: none; color: var(--blue); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1400px; margin-inline: auto;
  padding-left: max(var(--side), env(safe-area-inset-left, 0px));
  padding-right: max(var(--side), env(safe-area-inset-right, 0px));
}
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: var(--blue); color: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1.1; padding: 1rem 1.3rem; border: 0;
}
.btn:hover { background: var(--ink); }
.btn-go::after { content: "→"; font-weight: 500; }
.btn-ink { background: var(--ink); }
.btn-ink:hover { background: var(--blue); }
.btn-line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--blue); }
.btn-paper:hover { background: var(--ink); color: var(--paper); }
.btn-sm { font-size: .875rem; padding: .6rem .8rem; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--line); color: var(--mute); box-shadow: none; cursor: not-allowed; }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { color: var(--blue); }
.textlink { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textlink:hover { color: var(--ink); }
.plain { background: none; border: 0; padding: 0; font-weight: 700; color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.plain:hover { color: var(--ink); }

/* ---------- top bar ---------- */
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; border-bottom: 2px solid var(--ink); }
.mark { font-weight: 900; font-size: 1.6rem; letter-spacing: -.045em; text-decoration: none; line-height: 1; white-space: nowrap; }
.mark span { color: var(--blue); }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav a:hover { color: var(--blue); }
.top-cta { font-weight: 700; font-size: .9375rem; color: var(--blue); text-decoration: none; white-space: nowrap; }
.top-cta::after { content: " →"; }
.top-cta:hover { color: var(--ink); }
.top-note { margin-left: auto; font-size: .9375rem; color: var(--ink-2); text-align: right; }

/* ---------- forms ---------- */
.field { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.field > label, .field > legend, .q-label { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.field > legend { margin-bottom: .5rem; }
.hint { font-size: .875rem; line-height: 1.45; color: var(--ink-2); font-weight: 400; }
.opt { font-weight: 400; color: var(--mute); }
.input, .select, .textarea {
  width: 100%; border: 2px solid var(--ink); border-radius: 0; background: var(--paper);
  padding: .78rem .9rem; font-size: 1rem; line-height: 1.3; -webkit-appearance: none; appearance: none;
}
.select {
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230C0C0E' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center;
}
.textarea { min-height: 7rem; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--warn); }
.checks { display: grid; gap: .7rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; line-height: 1.4; }
.check input {
  -webkit-appearance: none; appearance: none; flex: none; margin: .05rem 0 0;
  width: 1.375rem; height: 1.375rem; border: 2px solid var(--ink); background: var(--paper);
  display: grid; place-content: center; cursor: pointer;
}
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input[type="checkbox"]:checked::after {
  content: ""; width: .72rem; height: .4rem; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper);
  transform: translateY(-2px) rotate(-45deg);
}
.check input[type="radio"]:checked::after { content: ""; width: .5rem; height: .5rem; background: var(--paper); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.choice-row { display: flex; flex-wrap: wrap; gap: 6px; }
.choice { position: relative; display: inline-flex; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1rem;
  box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper); font-weight: 700; font-size: .9375rem; line-height: 1.2;
}
.choice:hover span { background: var(--wash); }
.choice input:checked + span { background: var(--blue); color: var(--paper); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.choice input:disabled + span { color: var(--mute); box-shadow: inset 0 0 0 2px var(--line-2); cursor: not-allowed; }
fieldset[aria-invalid="true"] .choice span { box-shadow: inset 0 0 0 2px var(--warn); }

.msg { padding: .9rem 1.1rem; font-weight: 600; line-height: 1.4; }
.msg-warn { background: var(--warn-wash); color: var(--warn); }
.msg-ok { background: var(--blue-wash); color: var(--blue-deep); }

/* ---------- page heads for the smaller pages ---------- */
.page { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.page-title { font-size: clamp(2.4rem, 1.3rem + 3.6vw, 4.6rem); font-weight: 800; line-height: .98; letter-spacing: -.035em; }
.page-lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.4; font-weight: 500; max-width: 40rem; letter-spacing: -.01em; }
.prose { max-width: 40rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.015em; margin-top: 1.25rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: .4rem; }
.prose ul li { padding-left: 1.2rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; background: var(--ink); }

.foot-simple { border-top: 2px solid var(--ink); padding-block: 1.5rem 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .8125rem; color: var(--mute); }
.foot-simple a { color: var(--ink-2); }

@media (max-width: 1100px) {
  .nav { display: none; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .top-in { gap: 1rem; min-height: 4rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } }
