@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-4Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Detailry v2 evidence, search, and consent components */
.article-inline-figure {
  margin: 2rem 0;
  padding: 0;
}

.article-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line, #d8e2e8);
  border-radius: 1.5rem;
  background: #fff;
}

.article-inline-figure figcaption,
.article-cover figcaption {
  margin-top: .75rem;
  color: var(--muted, #56636b);
  font-size: .92rem;
  line-height: 1.65;
}

.article-table-wrap {
  max-width: 100%;
  margin: 1.5rem 0;
  overflow-x: auto;
  border: 1px solid var(--line, #d8e2e8);
  border-radius: 1rem;
  background: #fff;
}

.article-table-wrap:focus-visible {
  outline: 3px solid #118ab2;
  outline-offset: 3px;
}

.article-table-wrap table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
}

.article-table-wrap th,
.article-table-wrap td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line, #d8e2e8);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.article-table-wrap th {
  color: #173743;
  background: #f1f8fa;
  font-weight: 700;
}

.source-ref {
  display: block;
  margin-top: .55rem;
  color: #405965;
  font-size: .9rem;
}

.source-ref a,
.article-sources a {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.article-sources {
  display: grid;
  gap: 1rem;
  padding-left: 1.35rem;
}

.article-sources li {
  padding-left: .35rem;
}

.article-sources span {
  display: block;
  margin-top: .25rem;
  color: var(--muted, #56636b);
  font-size: .9rem;
}

.article-sources p {
  margin: .35rem 0 0;
}

.search-page {
  display: grid;
  gap: 2rem;
  padding-block: 3rem 5rem;
}

.search-page-form,
.search-page-section {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line, #d8e2e8);
  border-radius: 1.5rem;
  background: #fff;
}

.search-page-form label {
  display: block;
  margin-bottom: .55rem;
  font-weight: 700;
}

.search-page-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.search-page-card {
  padding: 1.25rem;
  border: 1px solid var(--line, #d8e2e8);
  border-radius: 1rem;
  background: #f8fbfc;
}

.search-page-card span,
.search-page-card time {
  color: var(--muted, #56636b);
  font-size: .86rem;
}

.search-page-card h2 {
  margin: .45rem 0;
  font-size: 1.2rem;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  max-width: 72rem;
  margin-inline: auto;
  padding: 1rem 1.2rem;
  border: 1px solid #b9d5de;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 60px rgba(16, 40, 52, .2);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p {
  margin: .3rem 0 0;
  color: #405965;
  line-height: 1.55;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
}

.consent-actions button,
.footer-cookie-button {
  min-height: 2.75rem;
  padding: .65rem .9rem;
  border: 1px solid #8fb7c4;
  border-radius: .75rem;
  color: #173743;
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-actions button[data-cookie-choice="all"] {
  color: #fff;
  border-color: #173743;
  background: #173743;
}

.consent-actions a {
  padding: .65rem .25rem;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.footer-cookie-button {
  min-height: 2.25rem;
  padding: .35rem .65rem;
  color: inherit;
  border-color: currentColor;
  background: transparent;
  font-size: .86rem;
}

@media (max-width: 760px) {
  .search-page-results {
    grid-template-columns: 1fr;
  }

  .consent-banner {
    grid-template-columns: 1fr;
  }

  .consent-actions {
    align-items: stretch;
  }

  .consent-actions button,
  .consent-actions a {
    flex: 1 1 9rem;
    text-align: center;
  }
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-6SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Paperlogy";
  src: url("assets/fonts/Paperlogy-7Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3fbff;
  --surface: #ffffff;
  --ink: #101418;
  --muted: #52656b;
  --line: rgba(16, 20, 24, 0.14);
  --line-dark: rgba(243, 251, 255, 0.18);
  --dark: #101418;
  --accent: #0f766e;
  --signal: #2563eb;
  --soft: #e7f6f3;
  --container: 1280px;
  --shell: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --header-height: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f3fbff 0%, #e9f7f7 48%, #f3fbff 100%);
  color: var(--ink);
  font-family: "Paperlogy", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}

html[data-menu-open="true"]::before {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(16, 20, 24, 0.36);
  backdrop-filter: blur(8px);
  content: "";
  display: block;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button:active,
a:active {
  transform: translateY(1px);
}

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

p,
li,
dd {
  text-wrap: pretty;
}

h1,
h2,
h3,
.keep,
.no-break {
  word-break: keep-all;
  overflow-wrap: normal;
  text-wrap: balance;
}

.keep,
.no-break {
  display: inline-block;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

#main:focus {
  outline: none;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--article-accent, var(--accent)), var(--signal));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  pointer-events: none;
}

.section-shell,
.header-inner,
.footer-inner,
.footer-bottom,
.lab-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 251, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  transition: box-shadow 220ms var(--ease-soft), background-color 220ms var(--ease-soft);
}

html[data-scrolled="true"] .site-header {
  box-shadow: 0 10px 34px rgba(16, 20, 24, 0.07);
}

.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 150px;
}

.brand-link img {
  width: 150px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  white-space: nowrap;
}

.desktop-nav a,
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(16, 20, 24, 0.76);
}

.desktop-nav a {
  position: relative;
  min-width: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-block: 28px;
}

.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--paper);
}

.icon-button,
.menu-toggle,
.header-cta,
.search-form button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease-soft),
    border-color 160ms var(--ease-soft),
    color 160ms var(--ease-soft),
    box-shadow 180ms var(--ease-soft),
    transform 180ms var(--ease-soft);
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button svg,
.menu-toggle svg {
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.header-cta {
  height: 40px;
  padding-inline: 16px;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  padding: 0;
}

.icon-button:hover,
.menu-toggle:hover,
.header-cta:hover,
.search-form button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(16, 20, 24, 0.1);
}

.icon-button[aria-expanded="true"],
.menu-toggle[aria-expanded="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 55;
  max-height: min(620px, 72svh);
  overflow-y: auto;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(16, 20, 24, 0.1);
}

.search-panel:not([hidden]) {
  animation: panelReveal 180ms var(--ease-out) both;
}

.search-panel::after {
  position: sticky;
  bottom: -1px;
  display: block;
  height: 18px;
  margin-bottom: -18px;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0.08), rgba(16, 20, 24, 0));
  content: "";
  pointer-events: none;
}

.search-form {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding: 26px 20px 30px;
}

.search-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.search-row input {
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
}

.search-row input:hover {
  border-color: rgba(16, 20, 24, 0.34);
}

.search-form button {
  height: 50px;
  padding-inline: 22px;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  font-weight: 700;
}

.search-results {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-height: 44svh;
  overflow-y: auto;
  padding-right: 4px;
}

.search-form button.search-close {
  position: static;
  height: 50px;
  min-height: 44px;
  padding-inline: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition:
    border-color 180ms var(--ease-soft),
    box-shadow 180ms var(--ease-soft),
    transform 180ms var(--ease-soft);
}

.search-result span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.search-result strong {
  font-size: 18px;
  line-height: 1.35;
}

.search-result p,
.search-empty {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.mobile-menu {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
}

.mobile-menu:not([hidden]) {
  animation: menuReveal 180ms ease both;
}

@keyframes menuReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelReveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  min-height: 46px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.mobile-menu a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  min-height: min(700px, calc(100svh - var(--header-height) - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(38px, 5.4vw, 82px);
  align-items: center;
  padding-block: clamp(44px, 6vw, 92px);
}

.hero-copy,
.hero-visual,
.visual-feature,
.feature-copy,
.report-preview,
.visual-notes,
.hero-actions {
  min-width: 0;
}

@media (min-width: 761px) {
  .motion-ready .reveal-item {
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 560ms var(--ease-out),
      transform 560ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }

  .motion-ready .reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.tilt-surface {
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--tilt-lift, 0px));
  transform-style: preserve-3d;
  transition:
    transform 240ms var(--ease-out),
    box-shadow 240ms var(--ease-soft);
  will-change: transform;
}

.premium-spotlight {
  position: relative;
  overflow: hidden;
}

.premium-spotlight::before {
  position: absolute;
  inset: -1px;
  z-index: 0;
  background:
    radial-gradient(
      circle at var(--spot-x, 50%) var(--spot-y, 34%),
      rgba(243, 251, 255, 0.2),
      rgba(243, 251, 255, 0) 36%
    );
  opacity: 0;
  transition: opacity 220ms var(--ease-soft);
  content: "";
  pointer-events: none;
}

.premium-spotlight:hover::before {
  opacity: 1;
}

.premium-spotlight > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 3.9vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-deck {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.76;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.text-button.quiet {
  border-color: var(--line);
  color: rgba(16, 20, 24, 0.72);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.hero-proof span {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: rgba(16, 20, 24, 0.68);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.hero-visual {
  min-height: 438px;
  color: var(--ink);
  padding: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.visual-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-inline: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.visual-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  padding: clamp(20px, 2.6vw, 36px);
  background: #101418;
  color: var(--paper);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  box-shadow: 0 22px 58px rgba(16, 20, 24, 0.14);
  transition:
    opacity 180ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft);
}

.visual-feature.is-swapping {
  opacity: 0.76;
}

.visual-feature.is-swapping .feature-copy,
.visual-feature.is-swapping .report-preview {
  transform: translateY(4px);
  transition: transform 160ms var(--ease-soft);
}

.visual-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 30px;
  padding: 5px 10px;
  color: rgba(243, 251, 255, 0.82);
  background: rgba(243, 251, 255, 0.08);
  border: 1px solid rgba(243, 251, 255, 0.14);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.feature-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 14px;
  color: rgba(243, 251, 255, 0.46);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-meta span {
  position: relative;
}

.feature-meta span + span::before {
  position: absolute;
  top: 50%;
  left: -9px;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  content: "";
}

.feature-copy h2 {
  width: 100%;
  max-width: 12ch;
  margin-top: 24px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.16;
  letter-spacing: 0;
  word-break: keep-all;
  text-wrap: balance;
}

.feature-copy h2 .keep {
  display: block;
  max-width: 100%;
  white-space: normal;
}

.report-preview {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(16, 20, 24, 0.08);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.report-preview > span {
  justify-self: start;
  padding: 5px 8px;
  color: #2458d3;
  background: rgba(36, 88, 211, 0.08);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.report-preview strong {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.08em 0.32em;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(18px, 1.65vw, 25px);
  line-height: 1.22;
  white-space: nowrap;
  word-break: keep-all;
}

.report-preview .metric-chunk {
  white-space: nowrap;
}

.report-preview .metric-separator {
  color: rgba(16, 20, 24, 0.48);
  white-space: nowrap;
}

.report-preview ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-preview li {
  position: relative;
  padding-left: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 20, 24, 0.14);
  color: rgba(16, 20, 24, 0.7);
  font-size: 13px;
  line-height: 1.48;
  font-weight: 600;
}

.report-preview li::before {
  position: absolute;
  top: 13px;
  left: 1px;
  width: 8px;
  height: 8px;
  background: rgba(36, 88, 211, 0.16);
  border: 2px solid #2458d3;
  border-radius: 50%;
  content: "";
}

.feature-copy p {
  max-width: 36ch;
  margin-top: 22px;
  color: rgba(243, 251, 255, 0.62);
  font-size: 15px;
  line-height: 1.68;
}

.visual-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.visual-notes button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(16, 20, 24, 0.74);
  background: transparent;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  min-height: 58px;
  padding: 0 clamp(16px, 2vw, 26px);
  border-right: 1px solid var(--line);
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 160ms var(--ease-soft),
    color 160ms var(--ease-soft),
    box-shadow 180ms var(--ease-soft);
}

.visual-notes button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.visual-notes button:last-child {
  border-right: 0;
}

.section-toggle {
  width: 100%;
  min-height: 48px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.section-toggle::after {
  font-size: 18px;
  line-height: 1;
  content: "+";
}

.section-toggle[aria-expanded="true"]::after {
  content: "-";
}

.lab-toggle {
  display: none;
}

.index-strip {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(46px, 6.4vw, 104px);
  align-items: start;
  padding-block: clamp(48px, 5.8vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.index-strip-head {
  min-width: 0;
  display: grid;
  gap: 16px;
  padding-top: 2px;
}

.index-strip-head span {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.index-strip-head strong {
  max-width: 13ch;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
  word-break: keep-all;
  text-wrap: balance;
}

.index-strip-head p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 600;
}

.index-strip-list {
  min-width: 0;
  border-top: 1px solid var(--line);
}

.index-strip article {
  min-width: 0;
  display: grid;
  grid-template-columns: 62px minmax(150px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(18px, 2.7vw, 42px);
  align-items: start;
  padding: clamp(22px, 2.5vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}

.index-strip article:last-child {
  border-bottom: 0;
}

.index-strip article span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 118, 110, 0.32);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.index-strip article strong {
  display: block;
  padding-top: 9px;
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.28;
  word-break: keep-all;
}

.index-strip p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.74;
  font-weight: 600;
}

.audit-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
  padding-block: clamp(68px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.audit-copy h2 {
  max-width: 520px;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.24;
}

.audit-copy > p:last-child {
  max-width: 560px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.audit-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.audit-board details {
  min-width: 0;
  padding: clamp(22px, 2.5vw, 32px);
  border-right: 1px solid var(--line);
}

.audit-board details:last-child {
  border-right: 0;
}

.audit-board summary {
  display: grid;
  gap: 0;
  cursor: pointer;
  list-style: none;
}

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

.audit-board summary::after {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  content: "+";
}

.audit-board details[open] summary::after {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  content: "-";
}

.audit-board span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.audit-board strong {
  display: block;
  font-size: 21px;
  line-height: 1.34;
}

.audit-board p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.audit-board ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 1.1em;
  color: rgba(16, 20, 24, 0.68);
  font-size: 13px;
  line-height: 1.58;
}

.reading-section,
.note-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(52px, 7vw, 112px);
  padding-block: clamp(72px, 8vw, 112px);
}

.section-heading h2,
.lab-intro h2,
.note-section h2 {
  max-width: 680px;
  font-size: clamp(30px, 3.1vw, 48px);
  line-height: 1.24;
  letter-spacing: 0;
}

.article-list {
  border-top: 1px solid var(--line);
}

.article-list article {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.article-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-meta span,
.article-meta time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-meta time {
  color: var(--accent);
}

.article-list h3 {
  max-width: 620px;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.32;
}

.article-list h3 a,
.topic-card strong a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.article-list p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.lab-section {
  margin-top: 10px;
  background: var(--dark);
  color: var(--paper);
}

.lab-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(48px, 6vw, 90px);
  padding-block: clamp(68px, 8vw, 102px);
}

.lab-intro .eyebrow {
  color: rgba(243, 251, 255, 0.58);
}

.lab-showcase {
  position: relative;
  min-width: 0;
  min-height: clamp(420px, 48vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #0f0f0f;
  box-shadow: 0 34px 92px rgba(0, 0, 0, 0.28);
}

.lab-showcase img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.92) contrast(0.98) brightness(0.72);
}

.lab-showcase::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.72), rgba(15, 15, 15, 0.12) 56%, rgba(15, 15, 15, 0.34)),
    linear-gradient(180deg, rgba(15, 15, 15, 0.08), rgba(15, 15, 15, 0.62));
  content: "";
}

.lab-report-card,
.lab-score-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(243, 251, 255, 0.22);
  background: rgba(17, 17, 17, 0.82);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.lab-report-card {
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: min(360px, calc(100% - 36px));
  display: grid;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 28px);
}

.lab-report-card span,
.lab-score-card span {
  color: rgba(243, 251, 255, 0.58);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.lab-report-card strong {
  max-width: 10ch;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.lab-report-card p {
  color: rgba(243, 251, 255, 0.72);
  font-size: 15px;
  line-height: 1.64;
}

.lab-score-card {
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: min(290px, calc(100% - 36px));
  display: grid;
}

.lab-score-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(243, 251, 255, 0.16);
}

.lab-score-card div:last-child {
  border-bottom: 0;
}

.lab-score-card strong {
  font-size: 19px;
  line-height: 1;
}

.note-board {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 34px;
  align-items: start;
}

.note-board > p {
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.56;
  font-weight: 600;
}

.note-board dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.note-board div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.note-board dt {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.note-board dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.content-page {
  padding-bottom: clamp(72px, 8vw, 120px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: end;
  padding-block: clamp(74px, 10vw, 136px) clamp(48px, 7vw, 92px);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-deck {
  max-width: 760px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.68;
  font-weight: 600;
}

.page-meta-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
}

.page-meta-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-meta-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.35;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: start;
}

.page-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.page-toc strong {
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
}

.page-toc a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: rgba(16, 20, 24, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.page-article {
  display: grid;
  gap: clamp(34px, 4vw, 58px);
}

.article-section {
  display: grid;
  gap: 20px;
  padding-top: 4px;
}

.article-section h2 {
  max-width: 760px;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.22;
}

.article-section h3 {
  margin-top: 8px;
  font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.34;
}

.article-section p,
.article-section li,
.article-section dd {
  color: rgba(16, 20, 24, 0.72);
  font-size: 17px;
  line-height: 1.82;
}

.article-section ul,
.article-section ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15em;
}

.article-section dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.article-section dt {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

.policy-panel,
.smart-panel,
.contact-panel {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.policy-panel {
  display: grid;
  gap: 16px;
}

.policy-panel strong {
  font-size: 20px;
  line-height: 1.35;
}

.check-grid,
.feature-grid,
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-grid article,
.feature-grid article,
.sitemap-grid article {
  min-width: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    border-color 180ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.check-grid span,
.feature-grid span,
.sitemap-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.check-grid strong,
.feature-grid strong,
.sitemap-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.34;
}

.check-grid p,
.feature-grid p,
.sitemap-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.sitemap-grid a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  margin-top: 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.sitemap-intro {
  max-width: 860px;
  margin-bottom: clamp(28px, 4vw, 46px);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
  font-weight: 600;
}

.article-page {
  --article-accent: var(--accent);
  padding-bottom: clamp(72px, 8vw, 120px);
}

.article-page.detail {
  --article-accent: #0f766e;
}

.article-page.design {
  --article-accent: #315fbd;
}

.article-page.marketing {
  --article-accent: #9f3667;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: end;
  padding-block: clamp(70px, 9vw, 124px) clamp(34px, 5vw, 72px);
}

.article-kicker {
  margin-bottom: 18px;
  color: var(--article-accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-title {
  max-width: 940px;
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.14;
}

.article-summary {
  max-width: 760px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.72;
  font-weight: 600;
}

.article-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 24px;
}

.article-evidence span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--article-accent) 36%, transparent);
  border-radius: 999px;
  color: var(--article-accent);
  background: color-mix(in srgb, var(--article-accent) 8%, transparent);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.article-meta-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--dark);
  color: var(--paper);
  border-radius: 8px;
  transition:
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.article-meta-toggle {
  display: none;
}

.article-meta-panel div {
  display: grid;
  gap: 4px;
}

.article-meta-panel span {
  color: rgba(243, 251, 255, 0.48);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-meta-panel strong,
.article-meta-panel time {
  color: var(--paper);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}

.article-cover {
  padding-bottom: clamp(46px, 6vw, 86px);
}

.article-cover img {
  width: 100%;
  height: clamp(210px, 49vw, 720px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(16, 20, 24, 0.12);
  transition:
    box-shadow 240ms var(--ease-soft),
    filter 240ms var(--ease-soft);
}

.article-cover figcaption {
  max-width: 780px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.19fr) minmax(0, 0.58fr) minmax(230px, 0.23fr);
  gap: clamp(30px, 4.6vw, 72px);
  align-items: start;
}

.article-toc,
.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.article-toc {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.article-toc strong,
.article-aside strong {
  color: var(--article-accent);
  font-size: 13px;
  text-transform: uppercase;
}

.article-toc a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: rgba(16, 20, 24, 0.72);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  transition:
    border-color 160ms var(--ease-soft),
    color 160ms var(--ease-soft),
    transform 160ms var(--ease-soft);
}

.article-toc a[aria-current="location"] {
  color: var(--ink);
  border-color: var(--article-accent);
}

.article-body {
  display: grid;
  gap: clamp(28px, 3.6vw, 48px);
}

.article-body section {
  display: grid;
  gap: 18px;
}

.article-body h2 {
  max-width: 760px;
  font-size: clamp(28px, 2.7vw, 42px);
  line-height: 1.22;
}

.article-body h3 {
  margin-top: 6px;
  font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.34;
}

.article-body p,
.article-body li {
  color: rgba(16, 20, 24, 0.74);
  font-size: 17px;
  line-height: 1.86;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15em;
}

  .article-note,
  .article-log,
  .article-check,
  .article-compare,
  .article-disclosure,
  .article-related {
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.article-note {
  display: grid;
  gap: 12px;
  border-left: 4px solid var(--article-accent);
}

  .article-note strong,
  .article-log strong,
  .article-check strong,
  .article-compare strong,
  .article-disclosure strong,
  .article-related strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

  .article-check ul {
    margin-top: 14px;
  }

  .article-log {
    display: grid;
    gap: 16px;
    background: #ffffff;
  }

  .article-log dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0;
  }

  .article-log div {
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .article-log dt {
    margin-bottom: 6px;
    color: var(--article-accent);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
  }

.article-log dd {
    margin: 0;
    color: rgba(16, 20, 24, 0.74);
    font-size: 15px;
    line-height: 1.68;
    font-weight: 600;
  }

.article-log .section-toggle {
  display: none;
}

.article-compare {
  display: grid;
  gap: 16px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compare-grid div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.compare-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--article-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.article-aside {
  display: grid;
  gap: 18px;
}

.aside-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
}

.aside-card p,
.aside-card li,
.article-disclosure p,
.article-related p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.article-disclosure p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.article-disclosure p .keep {
  display: inline-block;
  white-space: nowrap;
}

.disclosure-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.disclosure-list li {
  min-width: 0;
  min-height: 36px;
  display: flex;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.aside-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
}

.aside-card a,
.article-disclosure a,
.article-related a {
  color: var(--article-accent);
  font-weight: 700;
}

.article-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-bottom-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.category-page {
  --category-accent: var(--accent);
  --category-tint: rgba(15, 118, 110, 0.09);
  --category-panel: var(--dark);
  padding-bottom: clamp(72px, 8vw, 118px);
}

.category-detail {
  --category-accent: #0f766e;
  --category-tint: rgba(15, 118, 110, 0.1);
}

.category-design {
  --category-accent: #315fbd;
  --category-tint: rgba(49, 95, 189, 0.11);
}

.category-marketing {
  --category-accent: #9f3667;
  --category-tint: rgba(159, 54, 103, 0.12);
}

.category-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(300px, 0.32fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(42px, 5.6vw, 76px);
}

.category-hero::before {
  position: absolute;
  inset: clamp(36px, 5vw, 72px) auto auto 0;
  width: min(38vw, 520px);
  height: 1px;
  background: linear-gradient(90deg, var(--category-accent), transparent);
  content: "";
}

.category-page .eyebrow,
.category-page .category-strip span,
.category-page .topic-card span,
.category-page .path-item span,
.category-page .checklist-status span {
  color: var(--category-accent);
}

.category-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 3.9vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
}

.category-deck {
  max-width: 760px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1.62;
  font-weight: 600;
}

.category-panel {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--category-panel);
  color: var(--paper);
  border-radius: 8px;
  overflow: hidden;
  transition:
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.category-panel::after {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(243, 251, 255, 0.16);
  background:
    linear-gradient(90deg, transparent 49%, rgba(243, 251, 255, 0.18) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(243, 251, 255, 0.18) 50%, transparent 51%);
  opacity: 0.75;
  content: "";
}

.category-design .category-panel::after {
  border-radius: 50%;
}

.category-marketing .category-panel::after {
  width: 92px;
  height: 54px;
  transform: skewX(-12deg);
}

.category-panel span {
  color: rgba(243, 251, 255, 0.52);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.category-panel strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.category-panel p {
  color: rgba(243, 251, 255, 0.66);
  font-size: 15px;
  line-height: 1.68;
}

.category-panel-link {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding-top: 20px;
  color: var(--paper);
  text-decoration: none;
  border-top: 1px solid rgba(243, 251, 255, 0.2);
}

.category-panel-link span {
  color: rgba(243, 251, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-panel-link strong {
  max-width: 15ch;
  font-size: clamp(20px, 1.75vw, 28px);
  line-height: 1.25;
}

.category-meter {
  display: grid;
  gap: 10px;
}

.meter-track {
  height: 9px;
  overflow: hidden;
  background: rgba(243, 251, 255, 0.14);
}

.meter-fill {
  width: var(--meter, 0%);
  height: 100%;
  background: var(--paper);
  transition: width 360ms var(--ease-out);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-strip article {
  min-width: 0;
  padding: 24px clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line);
}

.category-strip article:last-child {
  border-right: 0;
}

.category-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.category-strip strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.category-section {
  padding-block: clamp(70px, 9vw, 118px);
}

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

.category-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.category-heading h2 {
  max-width: 620px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.22;
}

.category-heading p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.74;
  font-weight: 600;
}

.category-article-section {
  padding-top: clamp(22px, 3vw, 42px);
  padding-bottom: clamp(48px, 6vw, 82px);
}

.category-article-heading {
  align-items: start;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.category-article-list {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 1.04fr);
  gap: 14px;
}

.article-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(24px, 4vw, 44px);
}

.article-pagination button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.article-pagination button[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.article-pagination button:disabled {
  opacity: 0.42;
  cursor: default;
}

.category-article-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(16px, 2vw, 22px);
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    border-color 180ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.category-article-card.is-primary {
  grid-row: span 2;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  background: var(--dark);
  color: var(--paper);
}

.category-article-card figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark);
  border-radius: 4px;
}

.category-article-card.is-primary figure {
  aspect-ratio: 16 / 7.2;
}

.category-article-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 260ms var(--ease-soft);
}

.category-article-card > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.article-kicker,
.category-article-meta {
  color: var(--category-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.category-article-card.is-primary .article-kicker,
.category-article-card.is-primary .category-article-meta {
  color: rgba(243, 251, 255, 0.68);
}

.category-article-card h3 {
  max-width: 720px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.23;
}

.category-article-card:not(.is-primary) h3 {
  font-size: clamp(20px, 1.4vw, 25px);
}

.category-article-card p {
  max-width: 650px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.category-article-card.is-primary p {
  color: rgba(243, 251, 255, 0.72);
  font-size: 16px;
}

.category-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.category-article-card > div > strong {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    border-color 180ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 220ms var(--ease-soft);
}

.topic-card.is-featured {
  grid-column: span 2;
  grid-template-columns: minmax(0, 0.78fr) minmax(160px, 0.22fr);
  align-items: end;
  background: var(--dark);
  color: var(--paper);
}

.topic-card.is-featured span {
  grid-column: 1 / -1;
  color: rgba(243, 251, 255, 0.54);
}

.topic-card.is-featured strong {
  max-width: 12ch;
  font-size: clamp(28px, 3vw, 44px);
}

.topic-card.is-featured p {
  color: rgba(243, 251, 255, 0.7);
  font-size: 17px;
}

.topic-card.is-featured ul {
  margin-left: auto;
  color: rgba(243, 251, 255, 0.7);
}

.topic-card span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.topic-card strong {
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.28;
}

.topic-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.topic-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 1.1em;
  color: rgba(16, 20, 24, 0.68);
  font-size: 14px;
  line-height: 1.62;
}

.path-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.path-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition:
    border-color 180ms var(--ease-soft),
    transform 180ms var(--ease-soft);
}

.path-item span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.path-item strong {
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1.32;
}

.path-item p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.category-lab {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.category-lab > .category-heading {
  display: block;
  margin-bottom: 0;
}

.category-lab > .category-heading p {
  margin-top: 18px;
}

.checklist-panel {
  display: grid;
  gap: 14px;
}

.checklist-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.checklist-status span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.checklist-status strong {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1;
}

.lab-toggle {
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.lab-toggle::after {
  font-size: 18px;
  line-height: 1;
  content: "+";
}

.lab-toggle[aria-expanded="true"]::after {
  content: "-";
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(16, 20, 24, 0.74);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 600;
}

.check-row input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.check-row:has(input:checked) {
  color: var(--ink);
}

.result-note {
  min-height: 68px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
}

.diagnosis-output {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--dark);
  color: var(--paper);
  border-radius: 6px;
}

.diagnosis-output strong {
  font-size: 16px;
  line-height: 1.4;
}

.diagnosis-output ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.1em;
  color: rgba(243, 251, 255, 0.72);
  font-size: 14px;
  line-height: 1.62;
}

.diagnosis-output .text-button {
  width: fit-content;
  border-color: rgba(243, 251, 255, 0.34);
  color: var(--paper);
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.inquiry-submit-row {
  align-items: center;
}

.inquiry-submit-row button {
  font: inherit;
}

.inquiry-submit-row button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: #08745f;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-pending {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.checkbox-field {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
}

.form-field textarea {
  min-height: 172px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  line-height: 1.55;
  cursor: pointer;
}

.checkbox-field input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 0;
  accent-color: var(--accent);
}

.brief-box {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: #101418;
  color: var(--paper);
  border-radius: 6px;
}

.brief-box pre {
  margin: 0;
  color: rgba(243, 251, 255, 0.76);
  font: inherit;
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.text-button,
.dark-button {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    background-color 180ms var(--ease-soft),
    border-color 180ms var(--ease-soft),
    color 180ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft),
    transform 180ms var(--ease-soft);
}

.dark-button {
  background: var(--ink);
  color: var(--paper);
}

@media (hover: hover) and (pointer: fine) {
  .text-button:hover,
  .dark-button:hover,
  .article-bottom-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 20, 24, 0.12);
  }

  .text-button:hover,
  .article-bottom-links a:hover {
    border-color: var(--ink);
    background: rgba(16, 20, 24, 0.04);
  }

  .search-result:hover,
  .topic-card:hover,
  .check-grid article:hover,
  .feature-grid article:hover,
  .sitemap-grid article:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 20, 24, 0.26);
    box-shadow: 0 18px 42px rgba(16, 20, 24, 0.08);
  }

  .topic-card.is-featured:hover {
    box-shadow: 0 24px 54px rgba(16, 20, 24, 0.16);
  }

  .path-item:hover,
  .article-toc a:hover {
    border-color: rgba(16, 20, 24, 0.28);
    transform: translateX(3px);
  }

  .article-cover img:hover {
    filter: saturate(1.02) contrast(1.01);
    box-shadow: 0 28px 68px rgba(16, 20, 24, 0.16);
  }
}

.cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-controls button {
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-controls button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.site-footer {
  background: var(--dark);
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(54px, 9vw, 130px);
  padding-block: clamp(58px, 7vw, 86px);
}

.footer-brand img {
  width: 150px;
  height: auto;
}

.footer-brand p {
  max-width: 520px;
  margin-top: 28px;
  color: rgba(243, 251, 255, 0.68);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.7;
  font-weight: 600;
}

.footer-meta {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 26px 0 0;
  padding: 0;
  color: rgba(243, 251, 255, 0.48);
  font-size: 13px;
  line-height: 1.5;
  list-style: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  min-width: 0;
}

.footer-links strong {
  display: block;
  margin-bottom: 16px;
  color: rgba(243, 251, 255, 0.48);
  font-size: 13px;
  text-transform: uppercase;
}

.footer-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: rgba(243, 251, 255, 0.76);
  line-height: 1.4;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px 34px;
  border-top: 1px solid var(--line-dark);
  color: rgba(243, 251, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1120px) {
  :root {
    --header-height: 68px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-actions {
    position: absolute;
    top: 50%;
    right: var(--gutter);
    transform: translateY(-50%);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu:not([hidden]) {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    left: 16px;
    right: 16px;
    z-index: 60;
    width: auto;
    max-height: calc(100svh - var(--header-height) - 24px);
    overflow-y: auto;
    margin: 0;
    padding: 12px 14px 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 30px 90px rgba(16, 20, 24, 0.3);
  }

  .mobile-menu a {
    min-height: 48px;
    padding-inline: 4px;
  }

  .mobile-menu .mobile-menu-cta {
    justify-content: center;
    margin-top: 12px;
    background: var(--ink);
    border-bottom: 0;
    border-radius: 4px;
    color: var(--paper);
  }

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

  .hero-visual {
    min-height: auto;
  }

  .reading-section,
  .note-section,
  .audit-section,
  .lab-inner,
  .page-hero,
  .page-layout,
  .article-hero,
  .article-layout,
  .category-hero,
  .category-heading,
  .category-lab {
    grid-template-columns: 1fr;
  }

  .page-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .page-toc strong {
    grid-column: 1 / -1;
  }

  .article-toc,
  .article-aside {
    position: static;
  }

  .article-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }

  .note-board {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links a {
    white-space: normal;
  }

  .category-strip,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-card.is-featured {
    grid-column: 1 / -1;
  }

  .category-strip article:nth-child(2n) {
    border-right: 0;
  }

  .category-strip article {
    border-bottom: 1px solid var(--line);
  }

  .category-strip article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .path-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .path-item p {
    grid-column: 2;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .tilt-surface {
    transform: none !important;
    will-change: auto;
  }

  .premium-spotlight::before {
    display: none;
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .hero {
    min-height: calc(100svh - var(--header-height) - 32px);
    gap: clamp(30px, 4.2vw, 58px);
    padding-block: 32px;
  }

  .hero h1 {
    font-size: clamp(38px, 4.25vw, 62px);
    line-height: 1.06;
  }

  .hero-deck {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.62;
  }

  .hero-proof {
    margin-top: 18px;
  }

  .hero-proof span {
    padding-top: 9px;
    font-size: 12px;
    line-height: 1.38;
  }

  .hero-visual {
    min-height: 420px;
    gap: 16px;
    padding: 24px;
  }

  .visual-feature {
    gap: 22px;
    padding: 22px;
  }

  .feature-copy h2 {
    margin-top: 20px;
    font-size: 34px;
  }

}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  .brand-link,
  .brand-link img,
  .footer-brand img {
    width: 118px;
    min-width: 118px;
  }

  .header-inner {
    min-height: 60px;
  }

  .icon-button,
  .menu-toggle {
    width: 44px;
    min-height: 44px;
  }

  .hero {
    min-height: auto;
    padding-block: 22px 22px;
    gap: 14px;
  }

  .hero h1 {
    max-width: 14.5ch;
    font-size: clamp(30px, 8.35vw, 37px);
    line-height: 1.08;
  }

  .hero h1 .keep,
  .hero-deck .keep {
    display: inline;
  }

  .hero-deck {
    max-width: 22rem;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .hero-actions .dark-button,
  .hero-actions .text-button {
    width: 100%;
    flex: initial;
    padding-inline: 10px;
    white-space: normal;
  }

  .hero-actions .quiet {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .hero-proof span {
    padding-top: 9px;
    font-size: 12px;
    line-height: 1.42;
  }

  .hero-visual {
    padding: 0;
    gap: 8px;
  }

  .visual-feature {
    grid-template-columns: minmax(0, 1fr) minmax(142px, 0.72fr);
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
  }

  .visual-toolbar {
    font-size: 11px;
  }

  .feature-copy h2 {
    max-width: 11ch;
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.16;
  }

  .feature-meta {
    gap: 6px 10px;
    margin-top: 9px;
    font-size: 10px;
  }

  .feature-copy p {
    display: none;
  }

  .report-preview {
    gap: 7px;
    padding: 10px;
  }

  .report-preview > span {
    padding: 4px 6px;
    font-size: 9px;
  }

  .report-preview strong {
    flex-wrap: wrap;
    overflow: visible;
    font-size: 12px;
    line-height: 1.24;
    white-space: normal;
  }

  .report-preview ul {
    display: none;
  }

  .report-preview li {
    font-size: 12px;
  }

  .visual-notes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-color: var(--line);
  }

  .visual-notes button {
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    padding: 0 8px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .visual-notes button:last-child {
    border-right: 0;
  }

  .sitemap-grid.is-collapsed article:nth-of-type(n + 7) {
    display: none;
  }

  .index-strip {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 34px;
  }

  .index-strip-head {
    gap: 12px;
  }

  .index-strip-head strong {
    max-width: 12.5ch;
    font-size: 29px;
    line-height: 1.16;
  }

  .index-strip-head p {
    max-width: none;
    font-size: 15px;
    line-height: 1.64;
  }

  .section-toggle {
    display: flex;
  }

  .index-strip.is-collapsed .index-strip-list article:nth-of-type(n + 2),
  .topic-grid.is-collapsed .topic-card:nth-of-type(n + 4) {
    display: none;
  }

  .audit-section {
    padding-block: 42px 46px;
    gap: 22px;
  }

  .audit-board {
    grid-template-columns: 1fr;
  }

  .audit-board details,
  .audit-board details:last-child {
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .audit-board details:last-child {
    border-bottom: 0;
  }

  .audit-board summary {
    min-height: 82px;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
  }

  .audit-board summary::after {
    width: 40px;
    height: 40px;
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
  }

  .audit-board span {
    margin-bottom: 8px;
  }

  .audit-board strong {
    font-size: 24px;
  }

  .audit-board p {
    margin-top: 0;
    padding-bottom: 12px;
  }

  .audit-board ul {
    margin-top: 0;
    padding-bottom: 18px;
  }

  .index-strip article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .index-strip article:last-child {
    border-bottom: 0;
  }

  .index-strip article span {
    grid-row: 1 / 3;
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .index-strip article strong {
    padding-top: 2px;
    font-size: 23px;
  }

  .index-strip article p {
    grid-column: 2;
    font-size: 15px;
    line-height: 1.62;
  }

  .article-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .reading-section,
  .note-section {
    gap: 22px;
    padding-block: 54px;
  }

  .lab-section {
    margin-top: 0;
  }

  .lab-inner {
    gap: 28px;
    padding-block: 54px;
  }

  .lab-showcase {
    min-height: 360px;
  }

  .lab-score-card {
    top: 14px;
    right: 14px;
    width: min(230px, calc(100% - 28px));
  }

  .lab-score-card div {
    padding: 12px 14px;
  }

  .lab-score-card span {
    font-size: 11px;
  }

  .lab-score-card strong {
    font-size: 17px;
  }

  .lab-report-card {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    gap: 8px;
    padding: 16px;
  }

  .lab-report-card strong {
    max-width: 14ch;
    font-size: 28px;
  }

  .lab-report-card p {
    font-size: 14px;
    line-height: 1.52;
  }

  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-block: 48px 32px;
  }

  .footer-brand p {
    margin-top: 18px;
  }

  .footer-meta {
    margin-top: 18px;
  }

  .category-hero {
    padding-block: 24px 18px;
    gap: 12px;
  }

  .category-hero::before {
    display: none;
  }

  .category-hero h1 {
    max-width: 14.5ch;
    font-size: 29px;
    line-height: 1.14;
  }

  .category-deck {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.58;
    display: -webkit-box;
    overflow: hidden;
    word-break: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .category-links {
    margin-top: 14px;
    gap: 8px;
  }

  .category-panel {
    min-width: 0;
    gap: 0;
    padding: 12px 14px;
    overflow: hidden;
  }

  .category-panel > div {
    display: none;
  }

  .category-panel-link {
    padding-top: 0;
    border-top: 0;
  }

  .category-panel-link span {
    font-size: 11px;
  }

  .category-panel strong {
    max-width: none;
    word-break: normal;
    overflow-wrap: anywhere;
    font-size: 18px;
    line-height: 1.3;
  }

  .category-panel p {
    font-size: 14px;
    line-height: 1.55;
  }

  .category-panel > p {
    display: none;
  }

  .category-section {
    padding-block: 42px;
  }

  .category-section.is-promoted-lab {
    padding-block: 24px 36px;
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .is-promoted-lab .category-lab {
    gap: 20px;
  }

  .is-promoted-lab .category-heading {
    margin-bottom: 0;
  }

  .category-heading {
    gap: 16px;
    margin-bottom: 14px;
  }

  .category-heading h2 {
    font-size: 25px;
  }

  .category-heading p {
    font-size: 15px;
    line-height: 1.68;
  }

  .category-article-heading > p {
    display: none;
  }

  .category-article-section {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .category-article-list,
  .category-article-card {
    grid-template-columns: 1fr;
  }

  .category-article-card.is-primary {
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
  }

  .category-article-list {
    gap: 9px;
  }

  .category-article-card,
  .category-article-card.is-primary {
    gap: 10px 12px;
    padding: 14px;
  }

  .category-article-card:not(.is-primary) figure {
    display: none;
  }

  .category-article-card figure,
  .category-article-card.is-primary figure {
    aspect-ratio: 1 / 1;
  }

  .category-article-card h3,
  .category-article-card:not(.is-primary) h3 {
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 20px;
    line-height: 1.24;
  }

  .category-article-card.is-primary p,
  .category-article-card p {
    display: none;
  }

  .category-article-meta {
    gap: 5px 9px;
    font-size: 11px;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .category-article-card > div > strong {
    min-height: 28px;
    margin-top: 0;
    font-size: 13px;
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .topic-grid + .section-toggle {
    margin-top: 12px;
  }

  .category-strip article,
  .category-strip article:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-strip article:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .category-strip article:last-child {
    border-bottom: 0;
  }

  .category-strip article:nth-last-child(2) {
    border-bottom: 0;
  }

  .category-strip article {
    padding: 16px 14px;
  }

  .category-strip strong {
    font-size: 15px;
    line-height: 1.42;
  }

  .topic-card {
    gap: 10px;
    padding: 18px;
  }

  .topic-card.is-featured {
    grid-template-columns: 1fr;
  }

  .topic-card.is-featured strong {
    font-size: 30px;
  }

  .topic-card.is-featured p {
    font-size: 15px;
  }

  .topic-card:not(.is-featured) ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding-left: 0;
    list-style: none;
    font-size: 12px;
  }

  .topic-card:not(.is-featured) li {
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }

  .path-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .path-item p {
    grid-column: auto;
  }

  .check-row {
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 15px;
  }

  .check-row input {
    width: 44px;
    height: 44px;
    margin-top: 0;
  }

  .lab-toggle {
    display: flex;
  }

  .checklist-panel.is-lab-condensed .check-row,
  .checklist-panel.is-lab-condensed .category-meter,
  .checklist-panel.is-lab-condensed .diagnosis-output {
    display: none;
  }

  .checklist-panel.is-lab-condensed .result-note {
    min-height: auto;
    padding: 14px;
  }

  .checkbox-field input {
    width: 44px;
    height: 44px;
  }

  .article-disclosure a,
  .article-related a,
  .aside-card a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-inline: 2px;
    line-height: 1.25;
  }

  .article-bottom-links a {
    min-height: 44px;
    margin-top: 0;
  }

  .disclosure-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .article-log dl {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .article-log dd {
    font-size: 14px;
    line-height: 1.62;
  }

  .disclosure-list li {
    min-height: 40px;
  }

  .check-row:has(input:checked) {
    background: rgba(18, 102, 95, 0.08);
    border-color: rgba(18, 102, 95, 0.26);
  }

  .is-mobile-section-collapsed > :not(h2):not(.section-toggle) {
    display: none;
  }

  .page-hero {
    padding-block: 42px 34px;
    gap: 20px;
  }

  .article-hero {
    padding-block: 46px 26px;
    gap: 22px;
  }

  .page-hero h1 {
    max-width: 12ch;
    font-size: 32px;
    line-height: 1.14;
  }

  .page-deck {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.62;
  }

  .page-meta-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .page-meta-card div {
    padding-top: 8px;
  }

  .page-meta-card strong {
    font-size: 14px;
    line-height: 1.38;
  }

  .article-title {
    max-width: 13ch;
    font-size: 33px;
    line-height: 1.14;
  }

  .article-summary {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.68;
  }

  .article-meta-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
  }

  .article-meta-panel div {
    padding: 9px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .article-meta-panel span {
    display: none;
  }

  .article-meta-panel strong,
  .article-meta-panel time {
    margin-top: 0;
    color: rgba(16, 20, 24, 0.78);
    font-size: 13px;
    line-height: 1;
  }

  .article-meta-panel.is-condensed div {
    display: none;
  }

  .article-meta-panel.is-condensed div:nth-of-type(5),
  .article-meta-panel.is-condensed div:nth-of-type(6) {
    display: block;
  }

  .article-meta-toggle {
    display: block;
    width: auto;
    flex: 1 1 100%;
    min-height: 44px;
    margin-top: 4px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .article-cover {
    padding-bottom: 34px;
  }

  .article-layout {
    gap: 32px;
  }

  .article-body {
    gap: 30px;
  }

  .article-body section {
    gap: 14px;
  }

  .article-body p,
  .article-body li {
    font-size: 16px;
    line-height: 1.82;
  }

  .article-note,
  .article-log,
  .article-check,
  .article-compare,
  .article-disclosure,
  .article-related {
    padding: 16px;
  }

  .article-log.is-condensed dl {
    display: none;
  }

  .article-log .section-toggle {
    display: flex;
    margin-top: 8px;
  }

  .article-log dd {
    font-size: 14px;
    line-height: 1.58;
  }

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

  .check-grid,
  .feature-grid,
  .sitemap-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links div {
    border-top: 1px solid var(--line-dark);
  }

  .footer-links strong {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    cursor: pointer;
  }

  .footer-links strong::after {
    color: rgba(243, 251, 255, 0.52);
    content: "+";
  }

  .footer-links div.is-open strong::after {
    content: "-";
  }

  .footer-links div:not(.is-open) a {
    display: none;
  }

}

@media (max-width: 374px) {
  .visual-feature {
    grid-template-columns: minmax(0, 1fr) minmax(98px, 0.4fr);
  }

  .report-preview {
    align-content: center;
  }
}

@media (max-width: 430px) {
  .search-row {
    grid-template-columns: 1fr;
  }

  .search-form button {
    width: 100%;
  }

  .search-form button.search-close {
    width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: 31px;
  }

  .section-heading h2,
  .audit-copy h2,
  .lab-intro h2,
  .note-section h2 {
    font-size: 29px;
  }

  .footer-links a {
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reading-progress {
    display: none;
  }

  .motion-ready .reveal-item {
    opacity: 1;
    transform: none;
  }

  .tilt-surface {
    transform: none !important;
  }

  .premium-spotlight::before {
    opacity: 0 !important;
  }
}

/* DETAILRY_WORKED_EXAMPLES */
/* Worked examples are scoped so they cannot restyle the site's contact form. */
.article-body section.dr-lab{display:block;scroll-margin-top:100px;margin:36px 0;padding:28px;border:1px solid #a9c3cc;border-radius:18px;background:#f3f9fb;max-width:100%;min-width:0;overflow-wrap:anywhere}
.dr-lab .dr-label{font-size:13px;letter-spacing:.08em;color:#216b74;font-weight:700;margin:0 0 10px}
.dr-lab h2{font-size:clamp(21px,2.2vw,29px);line-height:1.45;margin:0 0 16px}
.dr-lab h3{font-size:18px;line-height:1.5;margin:0 0 12px}
.dr-lab p,.dr-lab li,.dr-lab label,.dr-lab dd,.dr-lab dt{font-size:16px;line-height:1.8}
.dr-lab .dr-hint{font-size:14px;color:#496472;margin:12px 0 18px}
.dr-lab button,.dr-lab select,.dr-lab input:not([type=radio]):not([type=checkbox]),.dr-lab textarea{font:inherit;font-size:16px;min-height:44px;border:1px solid #678994;border-radius:7px;background:white;color:#183342;max-width:100%;padding:10px 12px;box-sizing:border-box}
.dr-lab input:not([type=radio]):not([type=checkbox]),.dr-lab textarea,.dr-lab form select{width:100%;display:block}
.dr-lab textarea{min-height:120px;resize:vertical}
.dr-lab label{display:block;font-weight:600;margin:10px 0 7px}
.dr-lab button{cursor:pointer;font-weight:700;background:#fff}
.dr-lab button[aria-pressed=true],.dr-lab button[type=submit]{background:#174d5e;color:#fff;border-color:#174d5e}
.dr-lab :focus-visible{outline:3px solid #c45418;outline-offset:4px}
.dr-lab [hidden]{display:none!important}
.dr-switch,.dr-controls,.dr-journey{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.dr-controls>label{flex:1 1 160px}
.dr-controls select{width:100%;display:block;margin-top:6px}
.dr-card{display:block;padding:20px;margin:16px 0;border:1px solid #c7d8df;border-radius:12px;background:#fff;max-width:100%;min-width:0}
.dr-card p:last-child,.dr-card ul:last-child{margin-bottom:0}
.dr-card ul{padding-left:1.25em}
.dr-total{display:block;font-size:clamp(23px,3vw,34px);font-weight:700;line-height:1.45;color:#174d5e}
.dr-lab fieldset{border:1px solid #adc7cf;border-radius:9px;padding:16px;margin:18px 0;min-width:0}
.dr-lab legend{font-size:16px;font-weight:700;padding:0 6px}
.dr-lab input[type=radio],.dr-lab input[type=checkbox]{width:19px;height:19px;vertical-align:middle;margin-right:8px;accent-color:#174d5e}
.dr-takeaway{border-top:1px solid #afc8d1;padding-top:20px;margin-top:28px}
.dr-faq{border-bottom:1px solid #b6ccd4;padding:14px 0}
.dr-faq summary{font-size:16px;font-weight:700;cursor:pointer;min-height:32px}
.dr-journey a,.dr-skip-demo{display:inline-block;padding:10px 14px;border:1px solid #7a9ca8;border-radius:7px;background:white;font-size:16px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.dr-demo-header{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px;border:1px solid #abc5ce;background:#fff;border-radius:10px}
.dr-lab #dr-example-menu{display:flex;flex-wrap:wrap;gap:10px;padding:14px;background:#e0edf1}
.dr-lab #dr-example-menu a{padding:10px;font-size:16px}
.dr-state{font-size:15px!important;padding:12px;background:#e4f1ec}
.dr-reading{padding:22px;background:white;border:1px solid #a3bfca;border-radius:10px;width:100%;box-sizing:border-box}
.dr-reading p{line-height:1.6;overflow-wrap:anywhere}
.dr-reading.dr-wide-spacing p{line-height:2;letter-spacing:.04em;word-spacing:.12em;margin-bottom:2em}
.dr-link-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.dr-link-groups a{display:block;padding:8px 0;font-size:16px}
.dr-dl{margin:0}.dr-dl>div{padding:12px 0;border-bottom:1px solid #d7e4e9}.dr-dl dt{font-weight:700}.dr-dl dd{margin:0}
.dr-errors{padding:20px;border:2px solid #a93425;background:#fff4f0;margin:0 0 20px}.dr-errors a{color:#8b271b}
.dr-field-error{color:#9b2f22;font-size:14px!important;margin:3px 0 10px!important}
.dr-table-wrap{overflow-x:auto;max-width:100%;margin:20px 0}.dr-table-wrap table{min-width:540px;border-collapse:collapse;background:#fff;width:100%}.dr-table-wrap th,.dr-table-wrap td{padding:14px;border:1px solid #b6cdd4;text-align:left;font-size:15px}.dr-table-wrap caption{text-align:left;font-size:14px;padding-bottom:10px}
@media(max-width:600px){.article-body section.dr-lab{padding:18px 16px;margin:28px 0}.dr-card{padding:16px}.dr-link-groups{grid-template-columns:1fr}.dr-lab h2{font-size:22px}.dr-lab h3{font-size:17px}.dr-switch button{flex:1}.dr-lab p,.dr-lab li{font-size:15px;line-height:1.85}.dr-controls>label{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.dr-lab *{scroll-behavior:auto!important}}

.article-page .article-body{min-width:0;width:100%;grid-template-columns:minmax(0,1fr)}.article-body section.dr-lab{width:100%;box-sizing:border-box}.dr-lab legend{max-width:100%;white-space:normal;box-sizing:border-box}.dr-lab fieldset,.dr-demo-header{max-width:100%;box-sizing:border-box}

.article-page .article-body section{min-width:0;grid-template-columns:minmax(0,1fr)}.article-page .article-body section> *{min-width:0}.article-page .article-body h2,.article-page .article-body h3,.article-page .article-body p,.article-page .article-body li{overflow-wrap:anywhere}

/* DAILY_FIVE_EXAMPLES */
.article-code,.dr-code{max-width:100%;min-width:0;padding:16px;border:1px solid #b7cbd4;border-radius:8px;background:#fff;color:#173448;white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;font:14px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace}
.dr-alt-scene{padding:26px 18px;background:#e7f0ed;border-radius:12px;text-align:center;margin:18px 0}.dr-alt-scene span{display:block;margin-top:16px;font-size:14px}.dr-tray-drawing{width:min(220px,90%);height:80px;margin:auto;border:10px solid #88a3a5;border-top-width:5px;border-radius:15px;background:#f9fcfa;transform:skewX(-8deg);box-shadow:0 12px 0 #c2d3d1}
.dr-color-preview{padding:25px 18px;border:1px solid #6b8490;border-radius:8px;margin:18px 0}.dr-color-preview p{margin:0!important;font-size:17px!important;background:transparent}
.dr-layout-stage{position:relative;border:1px solid #a6bdc8;padding:18px;border-radius:10px;background:#fff;margin:18px 0}.dr-layout-slot{height:0;overflow:hidden}.dr-layout-slot.is-reserved,.dr-layout-slot.is-loaded{height:160px}.dr-layout-slot.is-reserved{background:repeating-linear-gradient(45deg,#edf3f4,#edf3f4 8px,#e5edef 8px,#e5edef 16px)}.dr-layout-box{height:160px;box-sizing:border-box;padding:24px;background:#b9dcd3;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700}.dr-layout-anchor{padding:14px!important;margin:16px 0 0!important;background:#f8eed6}
.dr-lab [data-dr-contrast-output] h3,.dr-lab [data-dr-clear-output] h3{font-variant-numeric:tabular-nums}
