/* Principly static guides. Tokens, header, footer, buttons, cards and panels follow
   the site's 2026 design (site/index.html: :root tokens, home redesign). Keep in step with it. */
/* Schibsted Grotesk, self-hosted (SIL OFL 1.1, see ../fonts/OFL.txt) */
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Schibsted Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/schibsted-grotesk-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --accent: #4a6fa5; --accent2: #3a5a8a; --accent-soft: rgba(74,111,165,0.08);
  --green: #16a34a; --red: #dc2626;
  --text: #1a1f2e; --text2: #4b5563;
  --headerbg: #2c3a55;
  --ink: #1f2940; --navy: #2c3a55; --sky: #7fb0ff; --signal: #f2a93b;
  --page: #eef2f7; --surface: #ffffff; --line: #dde3ec; --line2: #c6d0de; --muted: #5b6577;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Liberation Sans', sans-serif;
  --display: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-lg: 18px; --r-md: 12px; --r-sm: 8px;
  --lift: 0 1px 2px rgba(31,41,64,.05), 0 6px 18px rgba(31,41,64,.07);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--page); color: var(--text); font-family: var(--sans); font-size: 15px; min-height: 100vh; overflow-x: hidden; line-height: 1.5; display: flex; flex-direction: column; }
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }

header { padding: 10px 32px; display: flex; align-items: center; justify-content: space-between; background: var(--headerbg); border-bottom: 1px solid #1f2940; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo svg { height: 34px; width: auto; display: block; }
.logo .wm { font-family: var(--display); font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.2px; line-height: 1; display: block; }
.logo .wm b { color: var(--sky); font-weight: 800; }
.logo small { display: block; font-size: 12px; color: #aab3c6; margin-top: 4px; }
nav { display: flex; gap: 22px; align-items: center; }
nav a { color: #c3c9d6; font-size: 14px; }
nav a:hover { color: #fff; text-decoration: none; }
nav a.on { color: #fff; }
.nav-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff !important; }
.nav-btn:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }

main { max-width: 1264px; width: 100%; margin: 0 auto; padding: 32px 32px 72px; flex: 1; }
.kicker { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); margin-bottom: 10px; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-md); background: var(--accent); color: #fff; font-family: var(--display); font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { background: var(--accent2); text-decoration: none; box-shadow: 0 6px 18px rgba(74,111,165,.25); }
.btn.ghost { background: var(--surface); color: var(--accent2); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }

.card { background: var(--surface); border-radius: var(--r-sm); position: relative; overflow: hidden; box-shadow: var(--lift); transition: box-shadow .2s, transform .2s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--accent); opacity: .45; transition: opacity .2s; }
.card:hover { box-shadow: 0 2px 4px rgba(31,41,64,.06), 0 12px 28px rgba(31,41,64,.12); transform: translateY(-1px); }
.card:hover::before { opacity: 1; }
.tag { display: inline-flex; align-items: center; font-family: var(--display); font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; white-space: nowrap; line-height: 1.5; }
.t-blue { background: rgba(74,111,165,.1); color: var(--accent2); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.panel-h { padding: 14px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.panel-t { font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.panel-b { padding: 18px; }
.kv { padding: 6px 18px 10px; }
.kv div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.kv div:last-child { border-bottom: none; }
.kv span { color: var(--muted); }
.kv b { font-weight: 600; color: var(--ink); text-align: right; }

/* guide layout */
.g-head { margin-bottom: 26px; max-width: 900px; }
.g-head h1 { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1.08; color: var(--ink); margin-bottom: 12px; text-wrap: balance; }
.g-head .lead { font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.g-head .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.g-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.side { position: sticky; top: 16px; }
.side .panel { margin-bottom: 16px; }
.side .panel-b .btn { width: 100%; margin-bottom: 8px; }
.side ul { list-style: none; padding: 6px 18px 10px; }
.side li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.side li:last-child { border-bottom: none; }
.price-note { font-size: 13px; color: var(--muted); }

.doc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 36px 34px; min-width: 0; }
.doc.prose { max-width: none; }
.doc > * { max-width: 760px; }
.doc > .cta-band { max-width: none; }
.prose { font-size: 16px; color: var(--text2); line-height: 1.7; max-width: 760px; }
.prose h2 { font-family: var(--display); color: var(--ink); font-size: 25px; font-weight: 800; letter-spacing: -.4px; line-height: 1.2; margin: 36px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3 { font-family: var(--display); color: var(--ink); font-size: 19px; font-weight: 700; margin: 22px 0 6px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-color: rgba(58,90,138,.35); text-underline-offset: 2px; }
.tbl { overflow-x: auto; margin: 6px 0 18px; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose table { border-collapse: collapse; width: 100%; min-width: 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 9px 12px; text-align: left; font-size: 14px; vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: #f6f8fb; font-weight: 600; color: var(--ink); }
.callout { border-left: 3px solid var(--accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--accent-soft); padding: 12px 16px; margin: 4px 0 16px; font-size: 15px; }
.cta-band { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: var(--r-lg); background: radial-gradient(120% 140% at 100% 0%, #3a5180 0%, rgba(58,81,128,0) 60%), linear-gradient(160deg, var(--navy), var(--ink)); color: #c9d3e6; padding: 22px 24px; margin: 28px 0 8px; }
.cta-band p { margin: 0; font-size: 15px; color: #c9d3e6; max-width: 460px; }
.cta-band strong { color: #fff; }
.cta-band .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-band .btn { background: var(--sky); color: var(--ink); text-decoration: none; }
.cta-band .btn:hover { background: #9cc2ff; }
.cta-band .btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.cta-band .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); }
.faq dt { font-family: var(--display); color: var(--ink); font-size: 17px; font-weight: 700; margin-top: 18px; }
.faq dd { margin: 4px 0 0; }
.sources { font-size: 14px; }
.sources li { word-break: break-word; }
.checked { font-size: 13px; color: var(--muted); margin-top: 12px; }
.indep { font-size: 13.5px; color: var(--muted); margin-top: 14px; }

/* guides index */
.grid-exams { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-bottom: 36px; }
.exam { padding: 16px 18px 16px 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.exam:hover { text-decoration: none; }
.exam .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.exam h3 { font-family: var(--display); font-size: 20px; letter-spacing: -.2px; color: var(--ink); }
.exam .for { font-size: 14px; color: var(--text2); line-height: 1.45; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 14px; gap: 12px; flex-wrap: wrap; }
.group-head h2 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.group-head p { color: var(--muted); font-size: 14px; }

/* footer: the site-wide footer */
footer.site { padding: 56px 32px 28px; background: var(--ink); color: #aab3c6; font-size: 14px; border-top: 1px solid #18213a; }
footer.site a { color: #d5dae4; }
footer.site a:hover { color: #fff; }
.ft-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft-brand p { margin-top: 12px; line-height: 1.6; max-width: 300px; }
.ft-brand .mail { margin-top: 14px; color: #fff; font-weight: 600; user-select: all; }
.ft-logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; font-weight: 800; color: #fff; }
.ft-logo b { color: var(--sky); }
.ft-logo svg { height: 26px; width: auto; }
footer.site h5 { font-family: var(--display); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 12px; }
footer.site ul { list-style: none; display: grid; gap: 8px; }
.ft-tests { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.ft-base { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8c97ad; }

@media (prefers-reduced-motion: reduce) { .card, .card:hover { transition: none; transform: none; } }
@media (max-width: 900px) {
  header { padding: 10px 16px; }
  nav a:not(.nav-btn):not(.keep) { display: none; }
  main { padding: 22px 16px 48px; }
  .g-head h1 { font-size: 30px; letter-spacing: -.6px; }
  .g-head .lead { font-size: 15.5px; }
  .g-body { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; }
  .doc { padding: 20px 18px 22px; border-radius: var(--r-md); }
  .prose { font-size: 15.5px; }
  .prose h2 { font-size: 22px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .crumbs { margin: -10px 0 8px; }
  .crumbs a { display: inline-block; padding: 12px 0; }
  .g-head .ctas .btn, .cta-band .btn { flex: 1 1 100%; min-height: 48px; }
  .cta-band .btns { width: 100%; }
  .side li { padding: 0; }
  .side li a { display: inline-flex; align-items: center; min-height: 44px; }
  .grid-exams { grid-template-columns: 1fr; gap: 10px; }
  footer.site { padding: 40px 16px 24px; }
  .ft-grid { gap: 28px 20px; }
  footer.site ul { gap: 0; }
  footer.site ul a { display: inline-flex; align-items: center; min-height: 44px; }
}
