:root {
  --wnjolt-ink: #0a0a0a;
  --wnjolt-red: #b91c1c;
  --wnjolt-red-bright: #dc2626;
  --wnjolt-yellow: #facc15;
  --wnjolt-cream: #f5f1e8;
  --wnjolt-cream-2: #ece6d6;
  --wnjolt-card: #fbfaf6;
  --wnjolt-charcoal: #3a3a3a;
  --wnjolt-max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--wnjolt-ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(10, 10, 10, 0.04) 1px, transparent 0),
    linear-gradient(180deg, var(--wnjolt-cream) 0%, var(--wnjolt-cream-2) 100%);
  background-size: 4px 4px, auto;
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

a {
  color: var(--wnjolt-ink);
}

a:hover {
  background: var(--wnjolt-yellow);
}

.wnjolt-page {
  min-height: 100dvh;
}

.wnjolt-container {
  width: min(var(--wnjolt-max), calc(100% - 2rem));
  margin: 0 auto;
}

.wnjolt-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--wnjolt-cream);
  border-bottom: 3px solid var(--wnjolt-ink);
}

.wnjolt-header.wnjolt-stuck {
  background: #efe8d6;
}

.wnjolt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.wnjolt-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 0.6rem;
  position: relative;
  padding-bottom: 0.35rem;
}

.wnjolt-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--wnjolt-red);
}

.wnjolt-brand-square {
  width: 28px;
  height: 28px;
  background: var(--wnjolt-ink);
  display: inline-block;
}

.wnjolt-brand-text {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  font-weight: 700;
}

.wnjolt-burger {
  display: none;
  border: 3px solid var(--wnjolt-ink);
  background: #fff;
  color: var(--wnjolt-ink);
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 0.5rem 0.7rem;
}

.wnjolt-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.wnjolt-nav-link {
  text-decoration: none;
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 0.5rem 0.6rem;
  display: inline-flex;
  align-items: center;
}

.wnjolt-nav-link.is-active::before {
  content: "•";
  color: var(--wnjolt-red);
  margin-right: 0.35rem;
}

.wnjolt-main {
  padding: 1.25rem 0 3.4rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Mono", monospace;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 4.5rem);
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  text-transform: uppercase;
}

.wnjolt-subtitle {
  max-width: 64ch;
  color: var(--wnjolt-charcoal);
  margin: 0 0 1.1rem;
}

.wnjolt-byline {
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wnjolt-section {
  margin: 1.4rem 0;
  padding: 1.2rem;
  border: 3px solid var(--wnjolt-ink);
  border-top: 4px solid var(--wnjolt-red);
  background: var(--wnjolt-card);
}

.wnjolt-divider {
  border: 0;
  border-top: 1px solid var(--wnjolt-ink);
  margin: 1rem 0;
}

.wnjolt-btn {
  display: inline-block;
  background: var(--wnjolt-ink);
  color: #fff;
  border: 3px solid var(--wnjolt-ink);
  border-radius: 0;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 0.72rem 1rem;
  font-size: 0.76rem;
}

.wnjolt-btn:hover,
.wnjolt-btn:focus-visible {
  background: var(--wnjolt-red-bright);
  color: #fff;
  outline: 2px solid var(--wnjolt-ink);
  outline-offset: 2px;
}

.wnjolt-compare-wrap {
  width: 100%;
  min-width: 0;
}

.wnjolt-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.wnjolt-compare-table th,
.wnjolt-compare-table td {
  border: 2px solid var(--wnjolt-ink);
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}

.wnjolt-compare-table th {
  font-family: "Space Mono", monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.wnjolt-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(140px, 100%);
  height: auto;
  min-height: 4.25rem;
  max-width: 100%;
  background: #ffffff;
  border-radius: 0;
  padding: 8px 12px;
  box-shadow: none;
  flex-shrink: 0;
  border: 1px solid #0a0a0a;
}

.wnjolt-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wnjolt-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  border: 3px solid var(--wnjolt-ink);
  background: linear-gradient(120deg, #f5f1e8 0% 55%, #ece6d6 55% 100%);
  min-height: 360px;
}

.wnjolt-hero-copy,
.wnjolt-hero-art {
  padding: clamp(1.1rem, 2.5vw, 2rem);
}

.wnjolt-hero-copy h1 span {
  border-bottom: 5px solid var(--wnjolt-ink);
}

.wnjolt-hero-art {
  background:
    radial-gradient(circle at 1px 1px, rgba(10, 10, 10, 0.11) 1px, transparent 0),
    linear-gradient(170deg, rgba(185, 28, 28, 0.1) 0 40%, transparent 40% 100%);
  background-size: 5px 5px, auto;
}

.wnjolt-cards {
  display: grid;
  gap: 0.95rem;
}

.wnjolt-card {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) 1.1fr 0.45fr 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 3px solid var(--wnjolt-ink);
  border-top: 4px solid var(--wnjolt-red);
  padding: 0.8rem;
  background: var(--wnjolt-card);
}

.wnjolt-card-num {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.wnjolt-card-name {
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  margin: 0;
}

.wnjolt-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
  margin-top: 0.35rem;
}

.wnjolt-pill {
  border: 1px solid var(--wnjolt-ink);
  padding: 0.15rem 0.38rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
  background: #fff;
}

.wnjolt-badge {
  border: 1px solid var(--wnjolt-ink);
  display: inline-block;
  padding: 0.18rem 0.35rem;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.wnjolt-muted {
  color: var(--wnjolt-charcoal);
  font-size: 0.92rem;
}

.wnjolt-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.wnjolt-timeline::before {
  content: "";
  position: absolute;
  left: 0.53rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--wnjolt-ink);
}

.wnjolt-timeline li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.wnjolt-timeline li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.5rem;
  width: 0.66rem;
  height: 0.66rem;
  border: 2px solid var(--wnjolt-ink);
  background: var(--wnjolt-yellow);
}

.wnjolt-timeline h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.wnjolt-team {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wnjolt-person {
  border: 2px solid var(--wnjolt-ink);
  padding: 0.8rem;
  background: #fff;
}

.wnjolt-person h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.wnjolt-person small {
  display: block;
  text-transform: uppercase;
  font-family: "Space Mono", monospace;
  margin-bottom: 0.6rem;
}

.wnjolt-glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.wnjolt-term {
  border: 2px solid var(--wnjolt-ink);
  padding: 0.75rem;
  background: #fff;
}

.wnjolt-term h4 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.wnjolt-rg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.wnjolt-rg-links a {
  border: 1px solid var(--wnjolt-ink);
  padding: 0.22rem 0.4rem;
  text-decoration: none;
  background: #fff;
}

.wnjolt-18 {
  display: inline-block;
  border: 3px solid var(--wnjolt-ink);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  padding: 0.3rem 0.48rem;
  margin-top: 0.8rem;
  background: var(--wnjolt-yellow);
}

.wnjolt-footer {
  border-top: 3px solid var(--wnjolt-ink);
  padding: 1.4rem 0 1.6rem;
  background: #ece6d6;
}

.wnjolt-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 1rem;
}

.wnjolt-footer h4 {
  font-size: 0.88rem;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

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

.wnjolt-footer li {
  margin-bottom: 0.25rem;
}

.wnjolt-footer a {
  text-decoration: none;
}

.wnjolt-copy {
  border-top: 1px solid var(--wnjolt-ink);
  margin-top: 1rem;
  padding-top: 0.7rem;
  font-size: 0.85rem;
}

.wnjolt-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2147483645;
  background: #fff;
  border-top: 3px solid var(--wnjolt-ink);
  padding: 0.85rem;
}

.wnjolt-cookie-inner {
  width: min(var(--wnjolt-max), calc(100% - 1rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.wnjolt-age-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 2147483646;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
}

.wnjolt-age-box {
  margin-block: auto;
  flex-shrink: 0;
  max-width: 100%;
  width: min(420px, calc(100% - 12px));
  background: #ffffff;
  border-radius: 0;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 3px solid #0a0a0a;
}

.wnjolt-read-meta {
  font-family: "Space Mono", monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.5rem 0 0.9rem;
}

.wnjolt-scrolltop {
  position: fixed;
  right: 0.7rem;
  bottom: 4.2rem;
  z-index: 60;
  display: none;
}

.wnjolt-scrolltop.is-visible {
  display: inline-block;
}

@media (max-width: 980px) {
  .wnjolt-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .wnjolt-compare-table {
    min-width: 640px;
  }

  .wnjolt-card {
    grid-template-columns: 1fr 1fr;
  }

  .wnjolt-team,
  .wnjolt-footer-grid,
  .wnjolt-glossary {
    grid-template-columns: 1fr 1fr;
  }

  .wnjolt-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .wnjolt-burger {
    display: inline-block;
  }

  .wnjolt-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--wnjolt-cream);
    border-bottom: 3px solid var(--wnjolt-ink);
    padding: 0.8rem 1rem;
    display: none;
  }

  body.wnjolt-nav-open .wnjolt-nav {
    display: block;
  }

  .wnjolt-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .wnjolt-card {
    grid-template-columns: 1fr;
  }

  .wnjolt-compare-wrap {
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .wnjolt-compare-table {
    min-width: 0;
    border: none;
  }

  .wnjolt-compare-table thead {
    display: none;
  }

  .wnjolt-compare-table,
  .wnjolt-compare-table tbody {
    display: block;
  }

  .wnjolt-compare-table tr {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "rank name rating"
      "bonus bonus bonus"
      "key key key"
      "cta cta cta";
    gap: 0.45rem 0.65rem;
    border: 3px solid var(--wnjolt-ink);
    border-top: 4px solid var(--wnjolt-red);
    padding: 0.85rem;
    margin-bottom: 0.85rem;
    background: var(--wnjolt-card);
  }

  .wnjolt-compare-table tr:last-child {
    margin-bottom: 0;
  }

  .wnjolt-compare-table td {
    display: block;
    border: none;
    padding: 0;
    min-width: 0;
  }

  .wnjolt-compare-table td:nth-child(1) {
    grid-area: rank;
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    align-self: center;
  }

  .wnjolt-compare-table td:nth-child(2) {
    grid-area: name;
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-size: 1rem;
    align-self: center;
  }

  .wnjolt-compare-table td:nth-child(3) {
    grid-area: bonus;
    font-size: 0.92rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(10, 10, 10, 0.15);
  }

  .wnjolt-compare-table td:nth-child(3)::before {
    content: "Bonus";
    display: block;
    font-family: "Space Mono", monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
  }

  .wnjolt-compare-table td:nth-child(4) {
    grid-area: rating;
    font-family: "Space Mono", monospace;
    font-weight: 700;
    font-size: 0.95rem;
    align-self: center;
    justify-self: end;
    border: 1px solid var(--wnjolt-ink);
    padding: 0.2rem 0.45rem;
    background: #fff;
  }

  .wnjolt-compare-table td:nth-child(5) {
    grid-area: key;
    font-size: 0.9rem;
    color: var(--wnjolt-charcoal);
  }

  .wnjolt-compare-table td:nth-child(5)::before {
    content: "Nøglepunkt";
    display: block;
    font-family: "Space Mono", monospace;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    color: var(--wnjolt-ink);
  }

  .wnjolt-compare-table td:nth-child(6) {
    grid-area: cta;
    padding-top: 0.35rem;
  }

  .wnjolt-compare-table td:nth-child(6) .wnjolt-btn {
    display: block;
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .wnjolt-team,
  .wnjolt-footer-grid,
  .wnjolt-glossary,
  .wnjolt-cookie-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 390px) {
  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .wnjolt-card {
    grid-template-columns: 1fr !important;
  }

  img,
  svg {
    max-width: 100% !important;
    height: auto !important;
  }

  h1 {
    font-size: clamp(24px, 7vw, 36px) !important;
  }
}
