@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("/fonts/schibsted-grotesk.woff") format("woff"); }

:root {
  --paper: #ffffff;
  --ink: #0e1e14;
  --sub: #5b6763;
  --line: #e3e7e4;
  --tint: #f2f5f3;
  --link: #1d5c78;
  --sage: #8da683;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.6 "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { max-width: 1040px; display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 68px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -.02em; text-decoration: none; }
.logo img { width: 60px; height: auto; flex: none; }
.logo .bit { color: #7b983e; }
header.site nav { display: flex; gap: 26px; font-size: 16px; }
header.site nav a { color: var(--sub); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
header.site nav a[aria-current] { color: var(--ink); font-weight: 600; }

/* Text */
main { padding: 44px 0 72px; }
.crumbs { font-size: 15px; color: var(--sub); margin-bottom: 14px; }
.crumbs a { color: var(--sub); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
h1 { font-size: 44px; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; margin: 0 0 14px; }
h2 { font-size: 26px; line-height: 1.25; letter-spacing: -.015em; font-weight: 700; margin: 48px 0 12px; }
h3 { font-size: 19px; line-height: 1.35; font-weight: 700; margin: 28px 0 6px; }
p, ul, ol { margin: 0 0 18px; }
li { margin-bottom: 6px; }
.meta { font-size: 15px; color: var(--sub); margin-bottom: 28px; }
.meta a { color: var(--sub); }
.lead { font-size: 21px; line-height: 1.5; color: var(--ink); }

/* Panels */
.box { background: var(--tint); border-radius: 8px; padding: 20px 24px; margin: 28px 0 8px; }
.box .t { display: block; font-weight: 700; margin-bottom: 8px; }
.box ul { margin: 0; padding-left: 20px; }
.box li:last-child, .box p:last-child { margin-bottom: 0; }
.own { background: none; border: 1px solid var(--line); margin-top: 36px; }
.own .sign { color: var(--sub); }

/* Tables */
.table { margin: 24px 0 12px; background: var(--tint); border-radius: 12px; padding: 6px 24px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; line-height: 1.5; }
th, td { text-align: left; padding: 16px 20px 16px 0; border-bottom: 1px solid #dfe6e2; vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
th { color: var(--sub); font-weight: 500; font-size: 14px; padding-top: 14px; padding-bottom: 12px; border-bottom-color: #cdd7d1; }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }
td .p { display: block; font-weight: 600; white-space: nowrap; }
td .s { display: block; font-size: 14px; color: var(--sub); }
td .na { color: #a9b5ae; }
td .buy { display: block; color: inherit; text-decoration: none; }
td .buy .p { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
td .buy:hover .p { text-decoration-thickness: 2px; }
.note { font-size: 15px; color: var(--sub); }
@media (min-width: 1000px) {
  .table { width: 920px; margin-left: -120px; margin-right: -120px; }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--sub); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 2px; color: var(--sub); }

.sources { font-size: 15px; color: var(--sub); padding-left: 20px; }
.sources a { color: var(--sub); }

/* Guide list */
.home { max-width: 720px; }
.hero { display: grid; grid-template-columns: 1fr; gap: 8px; }
.hero .moss { width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.home h1 { font-size: 64px; line-height: 1.02; letter-spacing: -.035em; max-width: 9em; margin-bottom: 20px; }
.home .lead { max-width: 30em; color: var(--sub); }
.calm { margin-top: 56px; }
.calm h2 { margin-top: 0; }
.calm p { color: var(--sub); }
.calm strong { color: var(--ink); }
@media (min-width: 980px) {
  .home { max-width: 1000px; margin-left: calc((720px - 1000px) / 2); margin-right: calc((720px - 1000px) / 2); }
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .hero .moss { max-width: none; }
  .home .list, .calm { max-width: 720px; }
}
.list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--ink); }
.list li { margin: 0; border-bottom: 1px solid var(--line); }
.list a { display: block; padding: 20px 0; color: var(--ink); text-decoration: none; }
.list .txt { display: grid; grid-template-columns: 1fr auto; gap: 2px 24px; align-content: center; }
.list a:hover .n { text-decoration: underline; text-underline-offset: 4px; }
.list .n { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.list .c { font-size: 15px; color: var(--sub); align-self: center; }
.list .d { grid-column: 1 / -1; color: var(--sub); font-size: 17px; }
.list.has-img a { display: grid; grid-template-columns: 136px 1fr; gap: 20px; align-items: center; }
.list .t { width: 136px; height: 102px; object-fit: cover; border-radius: 6px; background: var(--tint); }
.soon { margin-top: 18px; color: var(--sub); font-size: 15px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 44px; font-size: 15px; color: var(--sub); }
footer.site .wrap { max-width: 1040px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer.site p { margin: 0; }
footer.site a { color: var(--sub); text-decoration: none; margin-right: 20px; }
footer.site a:hover { color: var(--ink); }

@media (max-width: 600px) {
  body { font-size: 17px; }
  h1 { font-size: 34px; }
  .home h1 { font-size: 44px; }
  h2 { font-size: 23px; }
  .lead { font-size: 19px; }
  main { padding-top: 30px; }
  header.site .wrap { padding-top: 12px; padding-bottom: 12px; }
  header.site nav { gap: 20px; font-size: 15px; }
  .list .txt { grid-template-columns: 1fr; }
  .list .c { order: -1; }
  .list.has-img a { grid-template-columns: 96px 1fr; gap: 14px; }
  .list .t { width: 96px; height: 72px; }
  .list .n { font-size: 19px; }
  .list .d { font-size: 15px; }
}

/* Figurer */
.fig { margin: 28px 0; }
.fig img { width: 100%; height: auto; display: block; }
.fig-labels { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 6px; }
.fig-labels.three { grid-template-columns: 1fr 1fr 1fr; }
.fig-labels p { margin: 0; font-size: 15px; color: var(--sub); }
.fig-labels strong { display: block; color: var(--ink); font-size: 16px; }
.fig figcaption { font-size: 15px; color: var(--sub); margin-top: 10px; }

/* Tabeller på mobil: en rad blir ett eget block */
@media (max-width: 600px) {
  .table { padding: 2px 18px; border-radius: 10px; }
  .table thead { display: none; }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { padding: 16px 0; border-bottom: 1px solid #dfe6e2; }
  .table tr:last-child { border-bottom: 0; }
  .table td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; }
  .table td::before { content: attr(data-label); color: var(--sub); font-size: 14px; font-weight: 400; padding-top: 1px; }
  .table td:first-child { display: block; font-size: 18px; padding-bottom: 6px; }
  .table td:first-child::before { content: none; }
  .table td .s { grid-column: 2; margin-top: -10px; }
}
