/* CJC-1295 Prescribed — Feature Rich Showcase
   Manrope display + Inter body + IBM Plex Serif italic accent + JetBrains Mono
   Cool-white ground · teal primary · coral secondary
*/

:root {
  --primary: #0E7C86;
  --primary-50: #E6F4F5;
  --primary-100: #C2E6E8;
  --primary-300: #5BB8BF;
  --primary-700: #085D66;
  --primary-900: #063F46;
  --secondary: #F26B5E;
  --secondary-50: #FDECE9;
  --secondary-300: #F5998F;
  --secondary-700: #C4453A;
  --accent-steel: #3D4A5C;
  --neutral-50: #F4F6F9;
  --neutral-100: #E7ECF2;
  --neutral-200: #D2DAE3;
  --neutral-300: #B4BFCC;
  --neutral-500: #7A8595;
  --neutral-700: #3D4A5C;
  --neutral-900: #16202E;
  --bg: #F4F6F9;
  --bg-alt: #FFFFFF;
  --surface: #FFFFFF;
  --surface-tinted: #EAF2F4;
  --surface-band: #16202E;
  --text: #16202E;
  --text-strong: #0A111B;
  --text-muted: #3D4A5C;
  --text-subtle: #7A8595;
  --text-on-dark: #F4F6F9;
  --text-on-primary: #FFFFFF;
  --rule: #D2DAE3;
  --rule-strong: #16202E;

  --font-heading: 'Manrope', 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  --font-serif: 'IBM Plex Serif', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SF Mono', Consolas, monospace;

  --max-width: 78rem;
  --container-px: clamp(1rem, 3vw, 2.5rem);
  --article-width: 44rem;
  --hero-column-width: 52ch;
  --radius-card: 0.75rem;
  --radius-button: 0.5rem;
  --radius-pill: 4px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }

/* Base */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.2;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  max-width: var(--hero-column-width);
}
h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}
h3 {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

p { margin: 0 0 1rem; }
ul, ol { padding-left: 1.5rem; margin: 0 0 1rem; }
li { margin-bottom: 0.5rem; }

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 200ms ease-out, border-color 200ms ease-out;
}
a:hover { color: var(--primary-700); border-color: var(--secondary); }

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

/* Mono */
code, .mono {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  background: var(--neutral-100);
  border-radius: 4px;
  padding: 0.125rem 0.4rem;
  font-weight: 500;
}
pre {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
}

/* Italic serif accent */
.lede, .accent-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  max-width: 44rem;
}

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--neutral-200);
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  border: none;
  text-transform: lowercase;
  letter-spacing: -0.005em;
}
.brand-mark {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 4px;
  display: inline-block;
}
.site-nav { display: none; }
.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  border-bottom: none;
  position: relative;
  padding: 0.5rem 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 200ms ease-out, background-color 200ms ease-out;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 24px;
}
.site-nav a:hover::after {
  background: var(--secondary);
}

.header-spec {
  display: none;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}

.nav-toggle {
  background: none;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  color: var(--text);
  cursor: pointer;
}

@media (min-width: 768px) {
  .site-nav { display: block; }
  .header-spec { display: inline-block; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 2rem var(--container-px);
}
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: none;
}

/* ---------- HERO ---------- */
.hero {
  padding: 4rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
.hero-content { max-width: var(--hero-column-width); }
.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero .lede { margin-bottom: 2rem; }

.spec-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  background: transparent;
}
.spec-chip-label { color: var(--text-muted); }
.spec-chip-value { color: var(--primary); font-weight: 700; }

.spec-chip.is-secondary { color: var(--secondary); border-color: var(--secondary); }
.spec-chip.is-secondary .spec-chip-value { color: var(--secondary); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-figure {
  background: var(--surface-tinted);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.fig-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}
.fig-eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
  .hero-figure { align-self: start; margin-top: 3rem; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: background-color 200ms ease-out, color 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
  line-height: 1.2;
}
.btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  color: #fff;
  box-shadow: 0 2px 8px rgba(14, 124, 134, 0.18);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--surface-tinted);
  color: var(--primary-700);
}

/* ---------- MAIN ---------- */
main { padding-bottom: 4rem; }

.section { padding: 3rem 0; }

/* Feature cluster band */
.feature-band {
  background: var(--surface-tinted);
  border-radius: 16px;
  padding: 3rem clamp(1.5rem, 3vw, 2.5rem);
  margin: 4rem 0;
}
.feature-band-header {
  max-width: 56rem;
  margin-bottom: 2.5rem;
}
.feature-band-header .eyebrow { margin-bottom: 0.75rem; }
.feature-band-header .lede { margin-top: 1rem; max-width: 50rem; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Feature card */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22, 32, 46, 0.06);
}
.feature-card .icon-anchor {
  width: 40px;
  height: 40px;
  background: var(--primary-50);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}
.feature-card .icon-anchor svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5px;
}
.feature-card .card-eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.feature-card h3 { margin-bottom: 0.75rem; }
.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

/* Dark inversion band */
.dark-band {
  background: var(--surface-band);
  color: var(--text-on-dark);
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--primary);
  padding: 4rem 0;
  margin: 4rem 0;
}
.dark-band h2, .dark-band h3, .dark-band h4 { color: var(--text-on-dark); }
.dark-band .eyebrow { color: var(--primary-300); }
.dark-band .lede { color: var(--neutral-200); }
.dark-band .feature-card {
  background: transparent;
  border: 1px solid var(--neutral-700);
  color: var(--text-on-dark);
}
.dark-band .feature-card:hover {
  border-color: var(--primary-300);
  box-shadow: none;
}
.dark-band .feature-card .icon-anchor {
  background: transparent;
  border: 1px solid var(--primary-300);
  color: var(--primary-300);
}
.dark-band .feature-card .card-eyebrow { color: var(--primary-300); }
.dark-band .feature-card p { color: var(--neutral-200); }

/* ---------- ARTICLE ---------- */
.article {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 3rem 0;
}
.article-header { margin-bottom: 2.5rem; }
.article-header h1 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.article-header .lede { margin-top: 1rem; }

.article section { margin-bottom: 3rem; }
.article section h2 {
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid transparent;
  position: relative;
}
.article section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
}
.article section h3 { margin: 1.5rem 0 0.75rem; }
.article section p, .article section ul, .article section ol { margin-bottom: 1rem; }

.section-marker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 3rem 0;
}
.section-marker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
}
.section-marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}

/* Callout */
.callout {
  border-left: 4px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}
.callout .eyebrow { margin-bottom: 0.5rem; }
.callout.is-warning { border-left-color: var(--secondary); }
.callout.is-warning .eyebrow { color: var(--secondary); }

/* Citation chip */
sup.cite { font-size: 0.7em; }
a.cite-link {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
  border-bottom-color: rgba(14, 124, 134, 0.6);
  padding: 0 2px;
  text-decoration: none;
}
a.cite-link:hover {
  color: var(--primary-700);
  border-bottom-color: var(--secondary);
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--text-muted);
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2.5rem 0;
}
.pull-quote-attr {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
}

/* Figure */
figure.plate {
  background: var(--surface);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2.5rem 0;
}
figure.plate img { border-radius: 8px; width: 100%; height: auto; }
figure.plate figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 32rem;
}
figure.plate .fig-eyebrow { display: block; margin-bottom: 0.25rem; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border-top: 2px solid var(--primary);
  font-size: 0.9375rem;
}
.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--neutral-200);
  vertical-align: bottom;
}
.comparison-table th.col-dac { background: var(--primary-50); }
.comparison-table th.col-nodac { background: var(--secondary-50); }
.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: top;
}
.comparison-table td.col-dac { background: var(--primary-50); }
.comparison-table td.col-nodac { background: var(--secondary-50); }
.comparison-table td.axis {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  background: var(--surface);
  white-space: nowrap;
}
.comparison-table .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* References list */
.references-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  counter-reset: ref;
}
.references-list li {
  counter-increment: ref;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}
.references-list li::before {
  content: "[" counter(ref, decimal-leading-zero) "]";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary);
}
.references-list .ref-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}
.references-list a { word-break: break-word; }

/* FAQ */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1.25rem;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(22, 32, 46, 0.06);
}
.faq-item .icon-anchor {
  width: 40px;
  height: 40px;
  background: var(--primary-50);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}
.faq-item .icon-anchor svg { width: 20px; height: 20px; }
.faq-item h3 { margin-bottom: 0.75rem; }
.faq-item p { color: var(--text-muted); margin: 0 0 0.75rem; }

/* Form */
.contact-form {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
  max-width: 36rem;
}
.contact-form label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0.5rem;
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--secondary);
  outline-offset: 1px;
  border-color: var(--primary);
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form .field { display: grid; gap: 0.4rem; }

/* 404 */
.error-page {
  padding: 6rem 0;
  text-align: center;
}
.error-page h1 { margin: 0 auto 1rem; max-width: none; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--accent-steel);
  color: var(--text-on-dark);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .footer-disclaimer {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--text-on-dark);
  max-width: 48rem;
  margin: 0 0 2.5rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 720px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.site-footer h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-300);
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer a {
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  text-decoration: none;
}
.site-footer a:hover { color: var(--primary-300); }
.site-footer .colophon a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
}
.footer-bottom {
  border-top: 1px solid rgba(91, 184, 191, 0.3);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom .brand { color: var(--text-on-dark); }
.footer-bottom .brand-mark { background: var(--primary-300); }
.footer-bottom .footer-spec {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-300);
}

/* Tippy override */
.tippy-box[data-theme~='platform'] {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(22, 32, 46, 0.08);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.5rem 0.25rem;
}
.tippy-box[data-theme~='platform'] .tippy-content { padding: 0.5rem 0.75rem; }
.tippy-box[data-theme~='platform'][data-placement^='top'] > .tippy-arrow::before { border-top-color: var(--surface); }
.tippy-box[data-theme~='platform'][data-placement^='bottom'] > .tippy-arrow::before { border-bottom-color: var(--surface); }
.tippy-box[data-theme~='platform'] .ref-doi {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}
