:root {
  --page: #fcfcfa;
  --stone: #f1f3ef;
  --ink: #11201d;
  --muted: #4b5954;
  --faint: #63706b;
  --rule: #dde2dc;
  --rule-strong: #c4ccc6;
  --spruce: #134e44;
  --spruce-hover: #0e3f37;
  --spruce-deep: #0c2f2a;
  --night: #08221e;
  --tint: #edf3f0;
  --tint-strong: #dbe9e3;
  --brass: #b58a3a;
  --brass-ink: #6b4c12;
  --brass-bg: #f7f0dd;
  --brass-line: #e2cd9b;
  --on-dark: #e9efec;
  --on-dark-muted: #a9bbb5;
  --sans: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wide: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--spruce);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 10;
  text-decoration: none;
}
.skip:focus {
  left: 16px;
}
.wrap {
  max-width: calc(var(--wide) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.serif {
  font-family: var(--serif);
  font-optical-sizing: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Edition strip (every page). The Worker fills time[data-edition] with today's UTC date. */
.edition {
  background: var(--spruce-deep);
  color: var(--on-dark-muted);
  font: 500 0.8125rem/1.2 var(--sans);
}
.edition-in {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.edition-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  letter-spacing: 0.01em;
}
.edition-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.edition-date {
  white-space: nowrap;
}
.edition-date time {
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) {
  .edition-label {
    display: none;
  }
  .edition-in {
    justify-content: flex-end;
  }
}

/* Header */
.top {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 700 1.0625rem/1 var(--sans);
  letter-spacing: -0.02em;
}
.brand svg {
  flex: none;
}
.brand .wm span {
  color: var(--faint);
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 24px;
  font: 500 0.9375rem/1 var(--sans);
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.nav a:hover {
  color: var(--ink);
}
.nav a[aria-current='page'] {
  color: var(--ink);
  border-bottom-color: var(--spruce);
}
/* Seven links do not fit beside the brand on a narrow screen: the nav drops to its own row and
   wraps, so the current page (Glossary, FAQ, About sit last) is never hidden off-screen. */
@media (max-width: 860px) {
  .top {
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    min-height: 56px;
  }
  .nav {
    order: 2;
    flex-wrap: wrap;
    width: calc(100% + 2 * var(--gutter));
    margin: 0 calc(-1 * var(--gutter));
    padding: 2px var(--gutter);
    gap: 0 22px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .nav a {
    flex: none;
    padding: 11px 0 9px;
  }
}

/* Hero */
.hero {
  text-align: center;
  padding: clamp(36px, 5vw, 64px) 0 0;
}
.stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font: 500 0.875rem/1 var(--sans);
  color: var(--muted);
}
.stamp i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
  flex: none;
}
.hero h1 {
  margin-top: 24px;
  font: 800 clamp(3.25rem, 1.4rem + 7.6vw, 7.5rem)/0.92 var(--sans);
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.lede {
  margin: 28px auto 0;
  max-width: 36rem;
  font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.4375rem);
  line-height: 1.45;
  color: var(--muted);
  text-wrap: pretty;
}
.act {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--spruce);
  color: #fff;
  text-decoration: none;
  font: 600 1.0625rem/1 var(--sans);
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 30px -16px rgba(12, 47, 42, 0.6);
  transition:
    background-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn:hover {
  background: var(--spruce-hover);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 34px -16px rgba(12, 47, 42, 0.7);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.act small {
  font: 400 0.9375rem/1.3 var(--sans);
  color: var(--faint);
}
.inline-cta {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}
.inline-cta small {
  font: 400 0.9375rem/1.3 var(--sans);
  color: var(--faint);
}
@media (max-width: 520px) {
  .btn {
    width: 100%;
    max-width: 340px;
  }
  .inline-cta {
    flex-direction: column;
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--brass-line);
  background: var(--brass-bg);
  color: var(--brass-ink);
  font: 600 0.75rem/1 var(--sans);
  letter-spacing: 0;
  white-space: nowrap;
}

.h2 {
  font: 700 clamp(1.875rem, 1.25rem + 2.2vw, 2.875rem)/1.06 var(--sans);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
/* Validator vs chatbot */
.vs {
  width: 100%;
  border-collapse: collapse;
  font: 400 1rem/1.5 var(--sans);
}
.vs th,
.vs td {
  text-align: left;
  vertical-align: top;
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid var(--rule-strong);
}
.vs thead th {
  font: 600 0.9375rem/1.3 var(--sans);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-top: 0;
  vertical-align: bottom;
}
.vs thead th small {
  display: block;
  font-weight: 400;
  color: var(--faint);
  font-size: 0.8125rem;
  margin-top: 2px;
}
.vs tbody th {
  font: 500 0.875rem/1.5 var(--sans);
  color: var(--faint);
  width: 26%;
}
.vs td {
  color: var(--ink);
  width: 37%;
}
.vs-note {
  margin-top: 16px;
  font: 400 0.875rem/1.55 var(--sans);
  color: var(--faint);
}
@media (max-width: 640px) {
  .vs,
  .vs tbody,
  .vs tr,
  .vs th,
  .vs td {
    display: block;
    width: auto;
  }
  .vs thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .vs tbody tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--rule-strong);
  }
  .vs tbody tr:first-child {
    border-top: 1px solid var(--ink);
  }
  .vs tbody th,
  .vs td {
    border: 0;
    padding: 0;
  }
  .vs tbody th {
    margin-bottom: 8px;
  }
  .vs td {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 12px;
    padding: 3px 0;
  }
  .vs td::before {
    content: attr(data-label);
    font: 500 0.8125rem/1.5 var(--sans);
    color: var(--faint);
  }
}

/* How to choose */
.rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}
.rules li {
  padding: 28px 32px 32px 0;
  border-bottom: 1px solid var(--rule-strong);
}
.rules li:nth-child(even) {
  padding-left: 32px;
  padding-right: 0;
  border-left: 1px solid var(--rule-strong);
}
.rules h3 {
  font: 650 1.1875rem/1.3 var(--sans);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.rules p {
  margin-top: 8px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 640px) {
  .rules {
    grid-template-columns: 1fr;
  }
  .rules li,
  .rules li:nth-child(even) {
    padding: 22px 0 24px;
    border-left: 0;
  }
  .rules li:last-child {
    border-bottom: 0;
  }
}

/* FAQ */
.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--rule-strong);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font: 600 1.1875rem/1.35 var(--sans);
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:focus-visible {
  outline-offset: 4px;
}
.faq .pm {
  flex: none;
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.faq .pm::before,
.faq .pm::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq .pm::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq details[open] .pm {
  background: var(--ink);
  border-color: var(--ink);
}
.faq details[open] .pm::before,
.faq details[open] .pm::after {
  background: #fff;
}
.faq details[open] .pm::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq summary:hover .pm {
  border-color: var(--ink);
}
.faq .a {
  padding: 0 56px 26px 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40rem;
}

/* Final band and footer */
.final {
  background: var(--spruce-deep);
  color: var(--on-dark);
  text-align: center;
  padding: clamp(80px, 10vw, 128px) 0;
}
.final .h2 {
  color: #fff;
  font-size: clamp(2.125rem, 1.3rem + 3vw, 3.75rem);
  max-width: 15ch;
  margin: 0 auto;
}
.final p {
  margin: 20px auto 0;
  max-width: 34rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--on-dark-muted);
}
.final .btn {
  margin-top: 36px;
  background: #fff;
  color: var(--spruce-deep);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6);
}
.final .btn:hover {
  background: #eef4f1;
}
.final :focus-visible {
  outline-color: #e7cd8c;
}
.foot {
  background: var(--night);
  color: var(--on-dark-muted);
  padding: 56px 0 40px;
  font: 400 0.9375rem/1.6 var(--sans);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 40px;
  align-items: start;
}
.foot p {
  max-width: 40rem;
}
.foot strong {
  color: var(--on-dark);
  font-weight: 600;
}
.foot a {
  color: var(--on-dark);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(233, 239, 236, 0.35);
}
.foot a:hover {
  text-decoration-color: currentColor;
}
.foot-grid > nav {
  justify-self: end;
}
.foot ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 10px 40px;
}
.foot :focus-visible {
  outline-color: #e7cd8c;
}
.foot-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(233, 239, 236, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: #7f948e;
}
@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid > nav {
    justify-self: start;
  }
  .foot-base {
    flex-direction: column;
  }
}

/* Article pages (templates/page.html). Palette, fonts and spacing are the home page's. */
/* Head: the lead (crumbs, h1, stamp, brief) on the left, the infobox on the right. */
.art-head {
  display: grid;
  grid-template-columns: minmax(0, 48rem) 20rem;
  justify-content: space-between;
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px) 0 0;
}
.art-lead {
  min-width: 0;
}
@media (max-width: 960px) {
  .art-head {
    grid-template-columns: minmax(0, 1fr);
  }
  .art-lead {
    max-width: 56rem;
  }
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font: 500 0.875rem/1.4 var(--sans);
  color: var(--faint);
}
.crumbs li + li::before {
  content: '/';
  margin: 0 10px;
  color: var(--rule-strong);
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.crumbs [aria-current='page'] {
  color: var(--ink);
}
.art-head h1 {
  margin-top: 20px;
  font: 800 clamp(2.25rem, 1.2rem + 4.2vw, 4.25rem)/1 var(--sans);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.art-head .stamp {
  margin-top: 24px;
}
/* Who makes the site, under the stamp on every article page. Plain text, visible at every width. */
.disclosure {
  margin-top: 12px;
  max-width: 46rem;
  font: 400 0.875rem/1.5 var(--sans);
  color: var(--muted);
}
.disclosure a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Answer in brief */
.brief {
  margin-top: 28px;
  max-width: 46rem;
  padding: 24px 28px 26px;
  background: var(--tint);
  border: 1px solid var(--tint-strong);
  border-radius: 18px;
}
.brief-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.8125rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spruce);
}
.brief-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brass);
}
.brief p:not(.brief-label) {
  margin-top: 12px;
  font: 400 clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem)/1.5 var(--serif);
  color: var(--ink);
  text-wrap: pretty;
}

/* Infobox: the page's fact box. Right of the lead on wide screens, under the brief on narrow ones. */
.infobox {
  margin-top: 44px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  overflow: hidden;
  font: 400 0.9375rem/1.45 var(--sans);
}
.infobox-title {
  padding: 18px 20px 0;
  font: 700 1.1875rem/1.2 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.infobox-kind {
  padding: 6px 20px 16px;
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass-ink);
  border-bottom: 1px solid var(--ink);
}
.infobox dl > div {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--rule);
}
.infobox dl > div:nth-child(even) {
  background: var(--page);
}
.infobox dt {
  font: 600 0.8125rem/1.6 var(--sans);
  color: var(--faint);
}
.infobox dd {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.infobox dd a {
  color: var(--spruce);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(19, 78, 68, 0.35);
}
.infobox dd a:hover {
  text-decoration-color: currentColor;
}
.infobox-links {
  display: grid;
  gap: 8px;
  padding: 16px 20px 18px;
  background: var(--tint);
}
.infobox-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 0.9375rem/1.3 var(--sans);
  color: var(--spruce);
  text-decoration: none;
}
.infobox-links a::after {
  content: '\2192';
  transition: transform 0.2s var(--ease);
}
.infobox-links a:hover {
  color: var(--spruce-hover);
}
.infobox-links a:hover::after {
  transform: translateX(3px);
}
.infobox-links a.infobox-cta {
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--spruce);
  color: #fff;
}
.infobox-links a.infobox-cta:hover {
  background: var(--spruce-hover);
  color: #fff;
}
@media (max-width: 960px) {
  .infobox {
    margin-top: 0;
    max-width: 46rem;
  }
}

/* Page body: table of contents rail, then the column */
.art {
  padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 9vw, 120px);
}
.art-grid {
  display: grid;
  grid-template-columns: 14rem minmax(0, 42rem);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.art-main {
  min-width: 0;
}
.toc {
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.toc-title {
  font: 700 0.8125rem/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.toc ol {
  margin-top: 14px;
  border-left: 1px solid var(--rule);
}
.toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 0 7px 16px;
  border-left: 2px solid transparent;
  font: 500 0.9375rem/1.35 var(--sans);
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.toc a:hover {
  color: var(--ink);
  border-left-color: var(--spruce);
}
@media (max-width: 1000px) {
  .art-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .art-main {
    max-width: 42rem;
  }
  .toc {
    position: static;
    max-height: none;
    padding: 20px 22px 14px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 16px;
  }
  .toc ol {
    margin-top: 8px;
    border-left: 0;
  }
  .toc a {
    margin-left: 0;
    padding: 7px 0;
    border-left: 0;
  }
}

/* Body text */
.prose {
  font: 400 1.1875rem/1.65 var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: pretty;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose figure,
.prose .tablewrap {
  margin-top: 1.15em;
}
.prose > :first-child,
.prose > section:first-child > h2:first-child {
  margin-top: 0;
}
.prose h2 {
  margin-top: 3.25rem;
  scroll-margin-top: 24px;
  font: 700 clamp(1.625rem, 1.2rem + 1.4vw, 2.125rem)/1.12 var(--sans);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.prose h3 {
  margin-top: 2.25rem;
  scroll-margin-top: 24px;
  font: 650 1.3125rem/1.25 var(--sans);
  letter-spacing: -0.02em;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 1rem;
}
.prose strong {
  font-weight: 500;
}
.prose a {
  color: var(--spruce);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(19, 78, 68, 0.35);
  transition: text-decoration-color 0.2s var(--ease);
}
.prose a:hover {
  text-decoration-color: currentColor;
}
/* A button inside the body keeps its own colors: .prose a would paint its label spruce on spruce. */
.prose a.btn {
  color: #fff;
  text-decoration: none;
}
.prose ul {
  padding-left: 1.5rem;
}
.prose ul li {
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: -1.1rem;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.prose ol {
  padding-left: 1.75rem;
  list-style: decimal;
}
.prose ol li::marker {
  font: 600 0.9em var(--sans);
  color: var(--faint);
}
.prose li + li {
  margin-top: 0.5em;
}
.prose blockquote {
  margin-inline: 0;
  padding-left: 22px;
  border-left: 3px solid var(--brass-line);
  color: var(--muted);
  font-style: italic;
}
.prose code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--stone);
  font:
    0.86em ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.prose .tablewrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}
.prose table {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  font: 400 0.9375rem/1.5 var(--sans);
}
.prose th,
.prose td {
  padding: 14px 16px 14px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.prose thead th {
  font: 600 0.8125rem/1.2 var(--sans);
  color: var(--faint);
  border-bottom-color: var(--rule-strong);
}
.prose tbody th {
  font-weight: 600;
}
.prose caption {
  caption-side: bottom;
  padding: 12px 0 0;
  text-align: left;
  font: 400 0.8125rem/1.5 var(--sans);
  color: var(--faint);
}
/* Phone: each row becomes a block. The first cell is its heading, every other cell carries the
   column name from its data-label. */
@media (max-width: 640px) {
  .prose .tablewrap {
    overflow-x: visible;
  }
  .prose .tablewrap table {
    min-width: 0;
  }
  .prose .tablewrap table,
  .prose .tablewrap tbody,
  .prose .tablewrap tr,
  .prose .tablewrap th,
  .prose .tablewrap td {
    display: block;
    width: auto;
  }
  .prose .tablewrap caption {
    display: block;
  }
  .prose .tablewrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .prose .tablewrap tbody tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .prose .tablewrap tbody th,
  .prose .tablewrap tbody td {
    border: 0;
    padding: 0;
  }
  .prose .tablewrap tbody tr > :first-child {
    margin-bottom: 6px;
    font-weight: 600;
  }
  .prose .tablewrap tbody tr > :not(:first-child) {
    padding: 4px 0;
  }
  .prose .tablewrap tbody tr > :not(:first-child)::before {
    content: attr(data-label);
    display: block;
    font: 600 0.75rem/1.5 var(--sans);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--faint);
  }
}

/* Sources, related pages, cite box */
.sources,
.related,
.cite {
  margin-top: clamp(48px, 6vw, 72px);
}
.sources h2,
.related h2,
.cite h2 {
  font: 700 1.375rem/1.2 var(--sans);
  letter-spacing: -0.02em;
}
.sources ol {
  margin-top: 16px;
  border-top: 1px solid var(--ink);
  counter-reset: src;
}
.sources li {
  counter-increment: src;
  position: relative;
  padding: 14px 0 14px 2.25rem;
  border-bottom: 1px solid var(--rule);
  font: 400 0.9375rem/1.5 var(--sans);
  color: var(--muted);
}
.sources li::before {
  content: counter(src);
  position: absolute;
  left: 0;
  top: 14px;
  font: 600 0.8125rem/1.85 var(--sans);
  font-variant-numeric: tabular-nums;
  color: var(--faint);
}
.sources a {
  color: var(--ink);
  font-weight: 500;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}
.sources .src-meta {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--faint);
}
.sources .src-note {
  margin-top: 14px;
  max-width: 44rem;
  font: 400 0.8125rem/1.55 var(--sans);
  color: var(--faint);
}
.related ul {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.related li {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.related a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px 20px 20px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.related a:hover {
  background: var(--tint);
}
.related a:focus-visible {
  outline-offset: -3px;
  border-radius: 0;
}
.related .nm {
  font: 650 1.0625rem/1.25 var(--sans);
  letter-spacing: -0.015em;
}
.related .pr {
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--muted);
}
.cite {
  padding: 22px 24px 24px;
  background: #fff;
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
}
.cite h2 {
  font-size: 1.0625rem;
}
.cite p {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--stone);
  font: 400 0.9375rem/1.55 var(--sans);
  color: var(--muted);
  overflow-wrap: anywhere;
  user-select: all;
}

/* Card grid: hub pages and the home Guides section. Same look as the related-pages grid. */
.cards,
.prose ul.cards {
  margin-top: 24px;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.cards li,
.prose ul.cards li {
  margin-top: 0;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.prose ul.cards li::before {
  content: none;
}
.cards a,
.prose .cards a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px 20px 20px;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}
.cards a:hover {
  background: var(--tint);
}
.cards a:focus-visible {
  outline-offset: -3px;
  border-radius: 0;
}
.cards .nm {
  font: 650 1.0625rem/1.25 var(--sans);
  letter-spacing: -0.015em;
}
.cards .pr {
  font: 400 0.9375rem/1.4 var(--sans);
  color: var(--muted);
}

/* 404 page */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.0625rem/1 var(--sans);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.nf-cards {
  margin: 48px auto clamp(56px, 8vw, 96px);
  max-width: 48rem;
  text-align: left;
}
/* Fixed column counts so 4 cards (404) and 6 cards (home guides) fill whole rows, with no empty cell. */
.nf-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home #guides .cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .home #guides .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .nf-cards,
  .home #guides .cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Home page (layout B): answer in brief and the featured-entity box, then the comparison table above the fold.
   Every rule is scoped to body.home so the article pages keep their own look. */
.brand-ref {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid var(--rule-strong);
  font: 600 0.625rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spruce);
  white-space: nowrap;
}
.home .nav {
  margin-left: auto;
  gap: 0 22px;
}
.hcta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--spruce);
  color: var(--spruce);
  font: 600 0.875rem/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.hcta:hover {
  color: var(--spruce-hover);
}
.home .label {
  font: 600 0.6875rem/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spruce);
}
.home-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  padding: 34px 0 30px;
  align-items: start;
}
.home h1 {
  font: 500 clamp(2.5rem, 4.6vw, 3.5rem)/1 var(--serif);
  letter-spacing: -0.025em;
}
.home h1 span {
  color: var(--faint);
  font-style: italic;
  font-weight: 400;
}
.home-byline {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font: 400 0.8125rem/1.5 var(--sans);
  color: var(--faint);
}
.home-byline .stamp {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  color: var(--ink);
}
/* The promotional disclosure sits in the home byline, so it reads stronger than the other byline items. */
.home-byline .byline-disclosure {
  color: var(--muted);
}
.home-byline a,
.home .fine a,
.thead-row a {
  color: var(--muted);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule-strong);
}
.home-byline a:hover,
.home .fine a:hover,
.thead-row a:hover {
  text-decoration-color: currentColor;
}
.home .ab {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.home .answer {
  font: 400 1.1875rem/1.5 var(--sans);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.home .answer strong {
  font-weight: 600;
}
.home .fine {
  margin-top: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--faint);
}
.glance {
  border: 1px solid var(--rule);
  background: #fff;
  padding: 16px 18px 6px;
}
.glance-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.glance-name {
  margin-top: 6px;
  font: 500 1.5rem/1 var(--serif);
  letter-spacing: -0.015em;
}
.glance dl {
  margin-top: 12px;
}
.glance dl div {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.glance dt {
  color: var(--faint);
}
.glance dd a {
  color: var(--spruce);
  text-underline-offset: 3px;
}
.glance .infobox-links {
  margin: 8px -18px -6px;
  padding: 12px 18px 14px;
  border-top: 1px solid var(--rule);
}
.glance .infobox-links a {
  font-size: 0.875rem;
}
.glance-narrow {
  display: none;
}
.thead-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}
.thead-row h2 {
  font: 600 0.9375rem/1.2 var(--sans);
  letter-spacing: -0.005em;
}
.thead-row p {
  font-size: 0.8125rem;
  color: var(--faint);
}
#compare {
  scroll-margin-top: 16px;
}
.home .cmp-wrap {
  margin-top: 14px;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font: 400 0.84rem/1.45 var(--sans);
  color: var(--muted);
}
.cmp thead th {
  text-align: left;
  font: 600 0.6875rem/1.2 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 0 14px 12px;
  border-bottom: 1px solid var(--ink);
}
.cmp tbody th,
.cmp tbody td {
  text-align: left;
  vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid var(--rule);
}
.cmp thead th:first-child,
.cmp tbody th {
  padding-left: 0;
}
.cmp tbody th {
  font-weight: 400;
  width: 17%;
}
.cmp td.price {
  width: 17%;
  color: var(--ink);
}
.cmp td.price b {
  display: block;
  font-weight: 600;
}
.cmp td.price span {
  color: var(--muted);
  font-size: 0.8125rem;
}
.cmp td.catch {
  color: var(--ink);
}
.cmp .tool {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.cmp .tool a {
  font: 600 0.95rem/1.25 var(--sans);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.cmp .tool a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cmp .checked {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--faint);
}
.cmp .checked a {
  color: var(--faint);
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
}
.cmp .checked a:hover {
  color: var(--ink);
}
.cmp tr.pick th,
.cmp tr.pick td {
  background: var(--tint);
}
.cmp tr.pick th {
  box-shadow: inset 3px 0 0 var(--spruce);
  padding-left: 16px;
}
.rowcta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font: 600 0.8125rem/1 var(--sans);
  color: var(--spruce);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--tint-strong);
}
.rowcta:hover {
  text-decoration-color: currentColor;
}
.home .cmp-note {
  margin-top: 14px;
  font: 400 0.8125rem/1.5 var(--sans);
  color: var(--faint);
}
.home .block {
  margin-top: 64px;
}
.home .block .h2 {
  font: 500 clamp(1.6rem, 2.6vw, 2rem)/1.15 var(--serif);
  letter-spacing: -0.015em;
}
.home-prose {
  max-width: 68ch;
}
.home-prose p,
.home .sub {
  margin-top: 14px;
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
}
.home .vs,
.home .rules,
.home .faq {
  margin-top: 20px;
}
.home .vs {
  font-size: 0.9375rem;
}
.home .rules p {
  font-size: 1rem;
}
.home .faq summary {
  padding: 18px 0;
  font-size: 1.0625rem;
}
.home .faq .a {
  font-size: 1rem;
}
.cards .go {
  margin-top: auto;
  padding-top: 8px;
  font: 600 0.8125rem/1 var(--sans);
  color: var(--spruce);
}
.cards .go::after {
  content: ' \2197';
}
.home .sources,
.home .cite {
  max-width: 52rem;
}
.home .final {
  margin-top: clamp(64px, 8vw, 96px);
}
@media (max-width: 1180px) {
  .brand-ref {
    display: none;
  }
}
@media (max-width: 1040px) {
  .home-lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 860px) {
  .home .nav {
    margin-left: calc(-1 * var(--gutter));
  }
  .hcta {
    order: 1;
    margin-left: auto;
  }
  .cmp thead {
    display: none;
  }
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
    width: auto !important;
  }
  .cmp tr {
    border-bottom: 1px solid var(--rule);
    padding: 14px 0;
  }
  .cmp tbody th,
  .cmp tbody td {
    border: 0;
    padding: 0;
  }
  .cmp tbody td {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    margin-top: 7px;
    font-size: 0.8125rem;
  }
  .cmp tbody td::before {
    content: attr(data-label);
    font: 600 0.625rem/1.6 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
    padding-top: 2px;
  }
  .cmp tbody td[data-label='You get'],
  .cmp tbody td[data-label='Sources'] {
    color: var(--faint);
  }
  .cmp td.price b {
    display: inline;
  }
  .cmp tr.pick {
    background: var(--tint);
    padding: 14px 16px;
    margin: 0 -16px;
    box-shadow: inset 3px 0 0 var(--spruce);
  }
  .cmp tr.pick th,
  .cmp tr.pick td {
    background: none;
    box-shadow: none;
    padding-left: 0;
  }
  .cmp .checked {
    display: inline;
    margin: 0 0 0 8px;
  }
  .cmp th .tool {
    display: inline-flex;
  }
  .rowcta {
    display: flex;
    width: max-content;
    margin-top: 8px;
  }
}
@media (max-width: 720px) {
  .home-lead {
    padding: 22px 0;
  }
  .home h1 {
    font-size: 2.375rem;
  }
  .home .ab {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .home .answer {
    font-size: 1.0625rem;
  }
  .glance-wide {
    display: none;
  }
  .glance-narrow {
    display: block;
    margin-top: 40px;
  }
  .thead-row {
    display: block;
  }
  .thead-row p {
    margin-top: 6px;
  }
  .home .block {
    margin-top: 52px;
  }
}
