    html { scroll-behavior: smooth; }

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

    :root {
      --orange: #E84E1B;
      --black: #0a0a0a;
      --white: #ffffff;
      --purple: #9B8CE8;
    }

    body {
      font-family: 'IBM Plex Sans', sans-serif;
      background: var(--white);
      color: var(--black);
      overflow-x: hidden;
    }

    /* NAV */
    nav {
      background: var(--black);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 56px;
      height: 72px;
      position: sticky;
      top: 0;
      z-index: 200;
    }

    footer {
      background: #9B8CE8;
      padding: 64px 56px 40px;
      margin-top: 48px;
    }
    .footer-inner {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
    }
    .footer-contact h3 {
      font-family: 'Syne', sans-serif;
      font-weight: 500;
      font-size: clamp(32px, 3.5vw, 52px);
      letter-spacing: -0.02em;
      color: #0a0a0a;
      margin-bottom: 16px;
    }
    .footer-contact p {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 20px;
      color: #0a0a0a;
      line-height: 1.7;
    }
    .footer-links {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 48px;
      justify-self: end;
      text-align: right;
    }
    .footer-link-group { display: flex; flex-direction: column; gap: 4px; }
    .footer-link-group a {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 22px;
      color: #0a0a0a;
      text-decoration: none;
      line-height: 1.6;
      transition: color 0.15s;
    }
    .footer-link-group a:hover { color: #C8E600; }
    .footer-bottom {
      max-width: 1400px;
      margin: 56px auto 0;
      padding-top: 24px;
      border-top: 1px solid rgba(0,0,0,0.15);
    }
    .footer-bottom p {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 14px;
      color: #0a0a0a;
      opacity: 0.7;
    }
    @media (max-width: 767px) {
      .footer-inner { grid-template-columns: 1fr; }
      footer { padding: 48px 20px 32px; margin-top: 32px; }
      .footer-links { justify-self: start; text-align: left; }
    }

    .logo { height: 48px; width: auto; flex-shrink: 0;
      margin-top: 5px; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 40px;
      list-style: none;
    }

    .nav-links a {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: var(--white);
      text-decoration: none;
      letter-spacing: 0.01em;
      transition: opacity 0.15s;
    }

    .nav-links a:hover { opacity: 1; color: #E84E1B; }
    .nav-links a.active { color: var(--orange); }
    .nav-links a.current { color: var(--white); font-weight: 600; }

    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }

    .nav-toggle span {
      display: block;
      width: 26px;
      height: 2px;
      background: var(--white);
      border-radius: 2px;
    }

    /* PAGE */
    .page {
      max-width: 1400px;
      margin: 0 auto;
      padding: 72px 56px 96px;
    }

    .page h1 {
      font-family: 'Syne', sans-serif;
      font-weight: 500;
      font-size: clamp(40px, 4.5vw, 64px);
      letter-spacing: -0.02em;
      margin-bottom: 40px;
    }

    /* FILTER BUTTONS */
    .filters {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 40px;
    }

    .filter-btn {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 16px;
      font-weight: 500;
      padding: 12px 28px;
      border: 2.5px solid var(--purple);
      background: none;
      color: var(--black);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }

    .filter-btn:hover { background: var(--purple); color: var(--white); }
    .filter-btn.active { background: var(--purple); color: var(--white); }

    /* TABLE */
    .table-wrap {
      background: var(--purple);
      padding: 24px;
      border-radius: 0;
    }

    .tool-table {
      width: 100%;
      border-collapse: collapse;
    }

    .tool-table thead tr {
      background: transparent;
    }

    .tool-table th {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: var(--black);
      text-align: left;
      padding: 12px 20px 16px;
    }

    .tool-table tbody tr {
      background: var(--white);
      margin-bottom: 8px;
    }

    .tool-table tbody tr + tr {
      margin-top: 8px;
    }

    /* gap between rows using box-shadow trick */
    .tool-table tbody td {
      font-family: 'IBM Plex Sans', sans-serif;
      font-size: 15px;
      color: var(--black);
      padding: 18px 20px;
      border-top: 8px solid var(--purple);
    }

    .tool-table tbody tr:first-child td {
      border-top: none;
    }

    .kurs-badge {
      display: inline-block;
      background: #E84E1B;
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      padding: 3px 10px;
      font-family: 'IBM Plex Sans', sans-serif;
    }

    .kurs-nei {
      color: #aaa;
      font-size: 14px;
    }

    .tool-row { transition: opacity 0.15s; }
    .tool-row.hidden { display: none; }

    /* MOBILE */
    @media (max-width: 1024px) {
      nav { padding: 0 32px; }
      .nav-links { gap: 24px; }
      .nav-links a { font-size: 14px; }
      .page { padding: 56px 32px 72px; }
    }

    @media (max-width: 767px) {
      nav { padding: 0 20px; height: 64px; position: sticky; }
      .logo { height: 38px; }
      .nav-toggle { display: flex; }
      .nav-links {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--black);
        padding: 8px 0 16px;
        z-index: 100;
        gap: 0;
      }
      .nav-links.open { display: flex; }
      .nav-links li { width: 100%; }
      .nav-links a { display: block; padding: 12px 20px; font-size: 16px; }
      .page { padding: 40px 16px 64px; }
      .table-wrap { padding: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
      .tool-table { min-width: 0; width: 100%; table-layout: fixed; }
      .tool-table th, .tool-table tbody td { padding: 10px 8px; font-size: 13px; word-break: break-word; }
      .tool-table th:nth-child(1), .tool-table td:nth-child(1) { width: 28%; }
      .tool-table th:nth-child(2), .tool-table td:nth-child(2) { width: 32%; }
      .tool-table th:nth-child(3), .tool-table td:nth-child(3) { width: 24%; }
      .tool-table th:nth-child(4), .tool-table td:nth-child(4) { width: 16%; }
      /* Skjul Kategori (kol 2) og Produsent (kol 4) på mobil */
      .tool-table th:nth-child(2),
      .tool-table td:nth-child(2),
      .tool-table th:nth-child(4),
      .tool-table td:nth-child(4) { display: none; }
    }
