/* bonusjagers.nl — vergelijkingssite
   Ontwerp: kolommen naast elkaar. Elke tabel eindigt op een "past bij"-kolom,
   en die kolom is de enige die kleur krijgt. */

:root {
  --bg: #111213;
  --surface: #1a1b21;
  --surface-2: #202128;
  --btn: #51fe9e;
  --btn-hover: #9affd5;
  --btn-text: #1f2028;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.74);
  --ink-faint: rgba(255, 255, 255, 0.52);
  --head: #ffffff;
  --link: #5aef9f;
  --link-hover: #5dffc9;
  --line: #343641;
  --line-soft: rgba(52, 54, 65, 0.6);
  --accent: #22d6e4;
  --accent-wash: rgba(34, 214, 228, 0.09);
  --font: Poppins, sans-serif;
  --rail: 268px;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--link);
  text-decoration-color: rgba(90, 239, 159, 0.4);
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--link-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--head);
  font-weight: 600;
  line-height: 1.22;
  margin: 0;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.05rem;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.shell {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 1.75rem, 1180px);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  background: var(--btn);
  color: var(--btn-text);
  padding: 0.65rem 1.1rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  color: var(--btn-text);
}

/* ---------- leeftijdsbalk ---------- */

.agebar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.agebar__inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.agebar b {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- header ---------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(17, 18, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.7rem 0;
}

.wordmark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  flex: 0 0 auto;
}

.wordmark img {
  width: 108px;
  height: auto;
}

.mainnav {
  flex: 1 1 auto;
  min-width: 0;
}

.mainnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.mainnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.87rem;
  padding: 0.35rem 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.mainnav a:hover,
.mainnav a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.mainnav a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--btn);
}

.masthead__actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--primary {
  background: var(--btn);
  color: var(--btn-text);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--btn-hover);
  color: var(--btn-text);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--ink);
  border-color: var(--accent);
}

.btn--wide {
  padding-inline: 1.6rem;
  font-size: 0.94rem;
}

.navtoggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}

.navtoggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  .navtoggle {
    display: block;
    order: 3;
    margin-left: auto;
  }
  .masthead__actions {
    order: 4;
  }
  .masthead__actions .btn--ghost {
    display: none;
  }
  .masthead__inner {
    gap: 0.5rem;
  }
  .wordmark {
    flex: 1 1 auto;
  }
  .wordmark img {
    width: 86px;
  }
  .masthead__actions .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }
  .mainnav {
    order: 5;
    flex-basis: 100%;
    display: none;
    border-top: 1px solid var(--line);
    padding-top: 0.6rem;
    margin-top: 0.15rem;
  }
  .mainnav.is-open {
    display: block;
  }
  .mainnav ul {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
  }
  .mainnav a {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line-soft);
    display: block;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0 1.4rem;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}

.hero__kicker {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 4.4vw, 2.75rem);
  max-width: 24ch;
  margin-inline: auto;
}

.hero__crumb {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.hero__crumb a {
  color: var(--ink-faint);
}

/* ---------- promo paneel ---------- */

.promo {
  margin-top: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  overflow: hidden;
}

.promo__body {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 214, 228, 0.42);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.85rem;
}

.promo h2 {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  margin-bottom: 0.7rem;
}

.promo p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

.promo__media {
  align-self: stretch;
  min-height: 190px;
  position: relative;
}

.promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 760px) {
  .promo {
    grid-template-columns: 1fr;
  }
  .promo__media {
    order: -1;
    min-height: 0;
    background: var(--surface-2);
  }
  .promo__media img {
    object-fit: contain;
    height: auto;
  }
}

/* ---------- intro ---------- */

.intro {
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0 0.4rem;
}

.intro__lead {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: var(--ink-soft);
  max-width: 68ch;
}

.intro__lead strong {
  color: var(--btn);
}

.intro__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

/* ---------- getallenrij ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.figures li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  text-align: center;
}

.figures b {
  display: block;
  font-size: 1.45rem;
  color: var(--btn);
  font-weight: 600;
  line-height: 1.2;
}

.figures span {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- pagina-indeling met rail ---------- */

.layout {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;
  padding: clamp(1.8rem, 4vw, 2.8rem) 0 0;
}

@media (max-width: 1040px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.rail {
  position: sticky;
  top: 5.2rem;
}

@media (max-width: 1040px) {
  .rail {
    position: static;
  }
}

/* ---------- inhoudsopgave ---------- */

.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.toc h2 {
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
}

.toc li {
  counter-increment: toc;
  border-bottom: 1px solid var(--line-soft);
}

.toc li:last-child {
  border-bottom: 0;
}

.toc a {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--ink-faint);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}

.toc a:hover,
.toc a:focus-visible,
.toc a.is-current {
  background: var(--surface-2);
  color: var(--ink);
}

.toc a.is-current::before {
  color: var(--accent);
}

.rail__note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  border-left: 2px solid var(--accent);
  padding-left: 0.8rem;
}

/* ---------- inhoudssecties ---------- */

.topic {
  padding-bottom: 0.4rem;
  margin-bottom: 2.1rem;
}

.topic__head {
  background: linear-gradient(90deg, rgba(34, 214, 228, 0.2), rgba(81, 254, 158, 0.06) 62%, transparent);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 0.7rem 1rem;
  margin-bottom: 1.05rem;
}

.topic__head h2 {
  font-size: clamp(1.18rem, 2.3vw, 1.45rem);
}

.topic h3 {
  font-size: 1.02rem;
  margin: 1.5rem 0 0.6rem;
}

.topic > p + ul,
.topic > p + ol {
  margin-top: -0.2rem;
}

.topic ul,
.topic ol {
  margin: 0 0 1.05rem;
  padding-left: 1.15rem;
}

.topic li {
  margin-bottom: 0.5rem;
}

.topic li::marker {
  color: var(--accent);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 1.1rem;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.6rem;
  margin-bottom: 0.75rem;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--btn);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- tabellen ---------- */

.tablewrap {
  margin: 0 0 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tablewrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.88rem;
}

.tablewrap caption {
  caption-side: top;
  text-align: left;
  padding: 0.75rem 1rem 0;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.tablewrap th,
.tablewrap td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.tablewrap thead th {
  background: var(--surface-2);
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.tablewrap tbody th {
  color: var(--ink);
  font-weight: 600;
}

.tablewrap tbody tr:last-child th,
.tablewrap tbody tr:last-child td {
  border-bottom: 0;
}

/* de "past bij"-kolom: het antwoord op de vraag van deze site */
.tablewrap th.fit,
.tablewrap td.fit {
  background: var(--accent-wash);
  border-left: 1px solid rgba(34, 214, 228, 0.25);
  color: var(--ink);
}

.tablewrap thead th.fit {
  color: var(--accent);
}

.scrollhint {
  display: none;
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin: -0.7rem 0 1.1rem;
}

@media (max-width: 700px) {
  .scrollhint {
    display: block;
  }
}

/* ---------- keuzekaarten ---------- */

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.3rem;
  padding: 0;
  list-style: none;
}

.choices li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 12px;
  padding: 1rem 1.05rem;
  margin: 0;
}

.choices h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
}

.choices p {
  font-size: 0.87rem;
  margin-bottom: 0.55rem;
}

.choices .fitline {
  display: block;
  font-size: 0.8rem;
  color: var(--accent);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.5rem;
  margin-top: 0.6rem;
}

/* ---------- vraagblok (keuzehulp) ---------- */

.quiz {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  counter-reset: quiz;
}

.quiz li {
  counter-increment: quiz;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.95rem 1.05rem;
  margin-bottom: 0.7rem;
}

.quiz h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  display: flex;
  gap: 0.55rem;
}

.quiz h3::before {
  content: counter(quiz);
  color: var(--btn-text);
  background: var(--btn);
  border-radius: 6px;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  flex: 0 0 auto;
}

.quiz p {
  font-size: 0.88rem;
}

/* ---------- figuur ---------- */

.shot {
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.shot img {
  margin-inline: auto;
}

.shot--inset {
  padding: 1.3rem 1.3rem 0;
}

.shot--inset figcaption {
  padding-inline: 0;
  margin-top: 1.1rem;
}

.shot figcaption {
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
}

/* ---------- waarschuwingsblok ---------- */

.caution {
  border: 1px solid rgba(34, 214, 228, 0.3);
  background: var(--accent-wash);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin: 0 0 1.2rem;
  font-size: 0.89rem;
}

.caution strong {
  color: var(--accent);
}

/* ---------- spellenrij met tabs ---------- */

.showcase {
  padding: clamp(2rem, 4vw, 2.8rem) 0 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 1rem;
}

.showcase > h2 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.showcase > p {
  font-size: 0.88rem;
  max-width: 62ch;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.1rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.tabs button {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.tabs button[aria-selected='true'] {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-text);
  font-weight: 600;
}

.grid6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 980px) {
  .grid6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .grid6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.tile img {
  width: 100%;
  aspect-ratio: 263 / 156;
  object-fit: cover;
}

.tile h3 {
  font-size: 0.83rem;
  margin: 0;
  padding: 0.55rem 0.65rem 0.1rem;
}

.tile p {
  font-size: 0.74rem;
  color: var(--ink-faint);
  padding: 0 0.65rem 0.6rem;
  margin: 0;
}

/* ---------- pictogramroosters ---------- */

.iconrow {
  padding: clamp(1.8rem, 3.5vw, 2.4rem) 0 0;
}

.iconrow h2 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 860px) {
  .icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icons li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--ink-faint);
}

.icons svg {
  width: 26px;
  height: 26px;
  margin: 0 auto 0.4rem;
  display: block;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icons b {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
}

.icons .no {
  color: var(--ink-faint);
}

.icons li.is-off svg {
  stroke: var(--ink-faint);
}

/* ---------- faq ---------- */

.faq {
  padding: clamp(2rem, 4vw, 2.8rem) 0 0;
}

.faq h2 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.faq > p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: 0.55rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 2.6rem 0.8rem 1rem;
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 1.05rem;
  top: 1.15rem;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
}

.faq details > div {
  padding: 0 1rem 0.95rem;
  font-size: 0.9rem;
}

/* ---------- bronnen ---------- */

.sources {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.84rem;
  color: var(--ink-faint);
}

.sources h2 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.sources dl {
  margin: 0;
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.45rem 1rem;
}

@media (max-width: 620px) {
  .sources dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.15rem;
  }
  .sources dd {
    margin-bottom: 0.65rem;
  }
}

.sources dt {
  color: var(--ink);
  font-weight: 600;
}

.sources dd {
  margin: 0;
}

/* ---------- footer ---------- */

.sitefoot {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(1.8rem, 4vw, 2.6rem) 0 1.4rem;
}

.sitefoot__top {
  text-align: center;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-soft);
}

.sitefoot__top img {
  width: 116px;
  margin: 0 auto 0.9rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.8rem;
  font-size: 0.74rem;
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
}

.footcols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.4rem;
  padding: 1.5rem 0 1.2rem;
}

.footcols h2 {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.6rem;
}

.footcols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footcols li {
  margin-bottom: 0.38rem;
  font-size: 0.85rem;
}

.footcols a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footcols a:hover,
.footcols a:focus-visible {
  color: var(--link-hover);
  text-decoration: underline;
}

.footcols p {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.copyline {
  border-top: 1px solid var(--line-soft);
  padding-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-align: center;
}

.totop {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  display: none;
  place-items: center;
  cursor: pointer;
  font: inherit;
}

.totop.is-visible {
  display: grid;
}

.totop svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--btn);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
