:root {
  --bg: #f4f7ff;
  --bg-accent: radial-gradient(circle at 15% -15%, rgba(67, 97, 238, 0.16), transparent 42%),
    radial-gradient(circle at 90% 0%, rgba(59, 130, 246, 0.1), transparent 36%);
  --surface: #ffffff;
  --surface-alt: #f7f9ff;
  --text: #0b1324;
  --text-soft: #44506b;
  --primary: #2956f2;
  --primary-dark: #1f3fb8;
  --primary-soft: #eef2ff;
  --border: #dbe3ff;
  --border-strong: #c7d3ff;
  --shadow-sm: 0 8px 20px rgba(11, 19, 36, 0.06);
  --shadow-md: 0 16px 36px rgba(24, 44, 94, 0.1);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.6rem;
  --space-6: 2rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-accent), var(--bg);
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-150%);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-dark);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease;
}

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

p {
  margin: 0;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 255, 0.86);
  border-bottom: 1px solid rgba(199, 211, 255, 0.65);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(199, 211, 255, 0.9);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex-wrap: wrap;
}

.site-header nav > a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-header nav > a:hover,
.site-header nav > a:focus-visible {
  color: var(--primary-dark);
  background: rgba(41, 86, 242, 0.08);
  border-color: rgba(41, 86, 242, 0.12);
}

.site-header nav > a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(41, 86, 242, 0.18);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.72rem;
  border-radius: 10px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.nav-dropdown summary::after {
  content: "▾";
  font-size: 0.72rem;
  color: #7a87a8;
  transition: transform 0.2s ease;
}

.nav-dropdown[open] summary::after {
  transform: rotate(180deg);
}

.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible {
  color: var(--primary-dark);
  background: rgba(41, 86, 242, 0.08);
  border-color: rgba(41, 86, 242, 0.12);
}

.nav-dropdown.active summary,
.nav-dropdown[open] summary {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(41, 86, 242, 0.18);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  z-index: 40;
  min-width: 19rem;
  max-width: min(28rem, 88vw);
  max-height: min(65vh, 34rem);
  overflow: auto;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.22rem;
}

.nav-dropdown:not([open]) .nav-dropdown-menu {
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 550;
  padding: 0.42rem 0.56rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-item-label {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.26;
}

.nav-item-summary {
  display: block;
  margin-top: 0.18rem;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.78rem;
  line-height: 1.34;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: var(--primary-dark);
  background: rgba(41, 86, 242, 0.08);
  border-color: rgba(41, 86, 242, 0.12);
}

.nav-dropdown-menu a.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
  border-color: rgba(41, 86, 242, 0.18);
}

.nav-dropdown-menu a.active .nav-item-label {
  color: var(--primary-dark);
}

.nav-hover-preview {
  position: fixed;
  z-index: 60;
  width: min(20rem, calc(100vw - 1.5rem));
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
  padding: 0.72rem 0.8rem;
  pointer-events: none;
  top: 82px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-hover-preview.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-hover-preview-title {
  margin: 0;
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 750;
  line-height: 1.25;
}

.nav-hover-preview-summary {
  margin: 0.28rem 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.menu-button {
  display: none;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  font-weight: 700;
}

.hero {
  padding: clamp(3.2rem, 8vw, 5.4rem) 0 clamp(2.3rem, 5vw, 3.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.hero-grid-single {
  display: grid;
  gap: var(--space-3);
}

.content-flow {
  display: grid;
  gap: var(--space-4);
}

.content-flow p {
  color: var(--text-soft);
}

.breadcrumb {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #95a2c3;
}

.breadcrumb-current {
  font-weight: 600;
  color: var(--text-soft);
}

h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 + p,
h1 + ul,
h2 + p,
h2 + ul,
h2 + ol,
h2 + .cards,
h2 + .split,
h2 + .timeline,
h2 + .stat-grid,
h2 + .quotes,
h2 + .hero-card {
  margin-top: var(--space-3);
}

.section h2 + .key-points,
.section h2 + .numbered,
.section h2 + .link-list {
  margin-top: var(--space-3);
}

.lede {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.65vw, 1.18rem);
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.74rem 1.28rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
    color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: linear-gradient(135deg, #2b5dfb, #1f48d9);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #2755e4, #1e41bf);
}

.btn-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.hero-card {
  background: linear-gradient(155deg, #fff, #f4f8ff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}

.hero-card h2,
.hero-card h3 {
  margin: 0 0 0.74rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.hero-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.5rem;
}

.section {
  padding: clamp(2.45rem, 6vw, 4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(239, 244, 255, 0.68), rgba(247, 250, 255, 0.95));
  border-top: 1px solid rgba(199, 211, 255, 0.62);
  border-bottom: 1px solid rgba(199, 211, 255, 0.62);
}

h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.08rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0;
  line-height: 1.3;
}

.timeline {
  display: grid;
  gap: var(--space-3);
  position: relative;
  padding-left: 2.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.72rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(41, 86, 242, 0.78), rgba(41, 86, 242, 0.34));
}

.timeline article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline article::before {
  content: "";
  position: absolute;
  left: -1.98rem;
  top: 1.04rem;
  width: 0.86rem;
  height: 0.86rem;
  border-radius: 999px;
  background: var(--primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(41, 86, 242, 0.26);
}

.timeline article::after {
  content: "";
  position: absolute;
  left: -1.12rem;
  top: 1.39rem;
  width: 0.78rem;
  height: 2px;
  background: rgba(41, 86, 242, 0.42);
  border-radius: 999px;
}

.timeline h3 {
  margin: 0;
  font-size: 1rem;
}

.timeline .timeline-meta {
  margin-top: var(--space-1);
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.timeline .timeline-period {
  color: var(--primary-dark);
}

.timeline .timeline-location {
  color: var(--text-soft);
}

.stat-grid,
.cards,
.quotes {
  display: grid;
  gap: var(--space-3);
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid article,
.cards article,
.quotes blockquote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.08rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cards article:hover,
.cards article:focus-within,
.quotes blockquote:hover,
.stat-grid article:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.stat-number {
  margin: 0;
  background: linear-gradient(135deg, #2753e6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  line-height: 1;
}

.stat-label {
  margin-top: var(--space-1);
  color: var(--text-soft);
}

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

.cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards h3 {
  margin-bottom: var(--space-1);
}

.cards p {
  color: var(--text-soft);
}

.quotes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

blockquote {
  margin: 0;
}

blockquote cite {
  display: block;
  margin-top: var(--space-3);
  color: var(--text-soft);
  font-style: normal;
  font-weight: 600;
}

.testimonials {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.testimonial-name {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
}

.testimonial-title {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.testimonial-company {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.3;
}

.testimonial-quote {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--border-strong);
  color: var(--text-soft);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.55;
}

.cta {
  text-align: center;
}

.key-points {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: var(--space-2);
  color: var(--text-soft);
}

.key-points strong {
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.small-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
}

.meta-line {
  margin-top: var(--space-2);
  color: var(--text-soft);
  font-size: 0.93rem;
}

.meta-line a,
.link-list a {
  color: var(--primary-dark);
  text-underline-offset: 0.16em;
}

.meta-line a:hover,
.link-list a:hover {
  color: var(--primary);
}

.contact-form {
  display: grid;
  gap: var(--space-3);
  max-width: 760px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: 1.15rem;
  align-items: start;
}

.contact-links-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.7rem;
}

.contact-links-panel .link-list {
  margin-top: 0.1rem;
}

.contact-form .split {
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.34rem;
  font-weight: 600;
  color: var(--text-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.74rem 0.84rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  border-color: rgba(41, 86, 242, 0.42);
  outline: none;
  box-shadow: 0 0 0 4px rgba(41, 86, 242, 0.14);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.form-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.form-note[data-state="success"] {
  color: #156a3a;
}

.form-note[data-state="error"] {
  color: #b3261e;
}

.form-note[data-state="pending"] {
  color: var(--primary-dark);
}

.form-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.link-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: var(--space-2);
}

.numbered {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: var(--space-2);
  color: var(--text-soft);
}

.numbered strong {
  color: var(--text);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.74rem;
  background: var(--surface);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 600;
}

.highlight {
  border-left: 4px solid var(--primary);
  padding-left: 0.86rem;
  color: var(--text-soft);
}

.site-footer {
  border-top: 1px solid rgba(199, 211, 255, 0.72);
  padding: 1.8rem 0 2.2rem;
  background: rgba(247, 250, 255, 0.92);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  align-items: start;
}

.footer-block {
  display: grid;
  gap: 0.62rem;
}

.footer-brand-block {
  max-width: 36ch;
}

.footer-heading {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-brand-link {
  color: var(--text);
  text-decoration: none;
}

.footer-brand-link:hover,
.footer-brand-link:focus-visible {
  color: var(--text);
  text-decoration: none;
}

.footer-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

@media (max-width: 1100px) {
  .site-header nav {
    gap: 0.2rem;
  }

  .site-header nav > a,
  .nav-dropdown summary {
    font-size: 0.83rem;
    padding: 0.42rem 0.62rem;
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .stat-grid,
  .cards,
  .quotes,
  .cards.three {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-hover-preview {
    display: none !important;
  }

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

  .site-header nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(247, 250, 255, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.82rem 1rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .site-header nav > a,
  .nav-dropdown summary {
    font-size: 0.95rem;
    padding: 0.58rem 0.7rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    z-index: auto;
    min-width: 0;
    max-width: none;
    max-height: none;
    box-shadow: none;
    margin-top: 0.25rem;
    border-color: rgba(199, 211, 255, 0.85);
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-dropdown-menu a {
    font-size: 0.9rem;
    padding: 0.5rem 0.62rem;
  }

  .nav-item-summary {
    font-size: 0.8rem;
  }

  .site-header nav.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.55rem 0 2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .hero-grid-single,
  .content-flow {
    gap: var(--space-3);
  }

  .breadcrumb {
    gap: 0.4rem;
    font-size: 0.8rem;
  }

  h1 {
    margin: 0.5rem 0 var(--space-2);
    line-height: 1.12;
  }

  h2 {
    font-size: clamp(1.35rem, 7.1vw, 1.75rem);
    line-height: 1.24;
  }

  h1 + p,
  h1 + ul,
  h2 + p,
  h2 + ul,
  h2 + ol,
  h2 + .cards,
  h2 + .split,
  h2 + .timeline,
  h2 + .stat-grid,
  h2 + .quotes,
  h2 + .hero-card {
    margin-top: var(--space-2);
  }

  .section h2 + .key-points,
  .section h2 + .numbered,
  .section h2 + .link-list {
    margin-top: var(--space-2);
  }

  .stat-grid,
  .cards,
  .quotes,
  .timeline {
    gap: var(--space-2);
  }

  .timeline {
    padding-left: 1.65rem;
  }

  .timeline::before {
    left: 0.48rem;
  }

  .timeline article::before {
    left: -1.38rem;
    top: 0.9rem;
    width: 0.66rem;
    height: 0.66rem;
  }

  .hero-card,
  .stat-grid article,
  .cards article,
  .quotes blockquote,
  .timeline article {
    padding: var(--space-3);
  }

  .hero-grid,
  .stat-grid,
  .cards,
  .quotes,
  .cards.three,
  .contact-layout,
  .split,
  .contact-form .split {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-block {
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed rgba(199, 211, 255, 0.75);
  }

  .footer-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

/* Keep protocol implementation pages centered and visually consistent. */
body.protocol-library .container {
  width: min(1180px, calc(100vw - 2.25rem));
  margin-inline: auto;
}

body.protocol-library .section .content-flow {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(0.95rem, 2vw, 1.35rem);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  body.protocol-library .container {
    width: min(1180px, calc(100vw - 1.5rem));
  }
}
