:root {
  color-scheme: light dark;
  --paper: #f3f4f5;
  --surface: #ffffff;
  --ink: #17181b;
  --ink-soft: #565b64;
  --ink-faint: #70757e;
  --line: #d4d7dc;
  --line-strong: #9da2ab;
  --blue: #246fce;
  --blue-soft: #dceaff;
  --red: #d94d3f;
  --gold: #a97500;
  --green: #126b48;
  --shell: min(1120px, calc(100vw - 48px));
  --reading: 720px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a,
summary {
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

::selection {
  background: var(--blue-soft);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand-product {
  color: var(--ink-faint);
  font-weight: 620;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
  padding: clamp(76px, 9vw, 122px) 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 26px;
  color: var(--ink-faint);
  font-size: 13px;
}

.breadcrumb a {
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 740;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

[data-product="hereon"] .eyebrow::before {
  background: var(--gold);
}

h1 {
  max-width: 16ch;
  margin-bottom: 26px;
  font-size: clamp(48px, 5.6vw, 72px);
  font-weight: 720;
  letter-spacing: -0.047em;
  line-height: 1;
  text-wrap: balance;
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 10px 17px;
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: var(--surface);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero-visual {
  position: relative;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 22px;
}

.hero-visual::after {
  position: absolute;
  right: 22px;
  bottom: -10px;
  padding: 2px 8px;
  background: var(--paper);
  color: var(--ink-faint);
  content: attr(data-caption);
  font-size: 11px;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.fact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.fact {
  min-width: 0;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
  padding-right: 0;
}

.fact strong,
.fact span {
  display: block;
}

.fact strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.fact span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: clamp(86px, 10vw, 132px) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
  margin-bottom: 52px;
}

.section-index {
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.article-copy h2,
.cta h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 700;
  letter-spacing: -0.043em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-head p {
  max-width: 60ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.decision-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.decision-primary,
.decision-secondary {
  padding: clamp(28px, 4vw, 48px);
}

.decision-primary {
  padding-left: 0;
  border-right: 1px solid var(--line);
}

.decision-secondary {
  padding-right: 0;
}

.decision-grid h3 {
  margin-bottom: 15px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.decision-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.decision-grid ul,
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.decision-grid li,
.check-list li {
  border-top: 1px solid var(--line);
  padding: 11px 0;
  color: var(--ink-soft);
}

.decision-grid li::before,
.check-list li::before {
  margin-right: 10px;
  color: var(--green);
  content: "✓";
  font-weight: 850;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(250px, 1fr);
  gap: clamp(56px, 9vw, 120px);
  align-items: start;
}

.article-copy h2:not(:first-child) {
  margin-top: 70px;
}

.article-copy h3 {
  margin-top: 38px;
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.article-copy p,
.article-copy li {
  color: var(--ink-soft);
}

.article-copy a,
.source-note a {
  color: var(--blue);
}

.article-copy ul,
.article-copy ol {
  padding-left: 1.3em;
}

.article-copy li + li {
  margin-top: 8px;
}

.aside {
  position: sticky;
  top: 24px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.aside strong {
  display: block;
  margin-bottom: 9px;
}

.aside p,
.aside li {
  color: var(--ink-soft);
  font-size: 14px;
}

.aside ul {
  margin-bottom: 0;
  padding-left: 1.1em;
}

.table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--ink);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 13px;
}

thead th {
  background: var(--surface);
}

tbody th {
  width: 24%;
  color: var(--ink-soft);
  font-weight: 650;
}

td {
  color: var(--ink-soft);
  font-size: 14px;
}

.source-note {
  margin: 20px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 2px;
  cursor: pointer;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 680;
  letter-spacing: -0.02em;
  list-style: none;
}

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

.faq summary::after {
  color: var(--ink-faint);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 72ch;
  margin: -2px 0 26px;
  color: var(--ink-soft);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding: 52px 0;
}

.cta h2 {
  max-width: 14ch;
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 38px 0 48px;
  color: var(--ink-faint);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151619;
    --surface: #202226;
    --ink: #f2f3f4;
    --ink-soft: #bec2c8;
    --ink-faint: #9399a2;
    --line: #363a40;
    --line-strong: #646a74;
    --blue: #80b7ff;
    --blue-soft: #19365d;
    --green: #69cf9d;
  }

  .button-primary {
    background: var(--ink);
    color: #151619;
  }
}

@media (max-width: 860px) {
  .hero,
  .section-head,
  .article-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 54px;
  }

  .fact-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) {
    border-right: 0;
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .fact:nth-child(3) {
    padding-left: 0;
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }

  .decision-primary {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .decision-secondary {
    padding-left: 0;
  }

  .aside {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 30px, 1120px);
  }

  .site-header {
    min-height: 66px;
  }

  .brand-product,
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 58px 0 74px;
  }

  h1 {
    max-width: none;
    font-size: clamp(42px, 13vw, 60px);
  }

  .hero-visual {
    padding: 12px;
  }

  .fact-rail {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:first-child,
  .fact:nth-child(3),
  .fact:last-child {
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .fact:first-child {
    border-top: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    gap: 20px;
    margin-bottom: 38px;
  }

  .decision-primary,
  .decision-secondary {
    padding: 30px 0;
  }

  th,
  td {
    padding: 15px 14px;
  }

  .cta {
    align-items: start;
    padding: 40px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
