/* /css/whitepaper/whitepaper.css
   ==========================================================================
   GFC – Whitepaper Page
   --------------------------------------------------------------------------
   - Für /de/whitepaper/ und /en/whitepaper/
   - Vollständig auf body.gfc-whitepaper-page begrenzt
   - Abgestimmt auf Whitepaper v4.2 mit 20 Hauptabschnitten
   - Verändert keine globalen Header-, Footer- oder Modal-Komponenten
   ========================================================================== */


/* ==========================================================================
   1) PAGE TOKENS
   ========================================================================== */

.gfc-whitepaper-page {
  --wp-bg: #020617;
  --wp-bg-soft: #07101f;
  --wp-bg-deep: #030712;

  --wp-surface: rgba(255, 255, 255, 0.055);
  --wp-surface-soft: rgba(255, 255, 255, 0.032);
  --wp-surface-hover: rgba(92, 200, 255, 0.055);

  --wp-border: rgba(255, 255, 255, 0.14);
  --wp-border-soft: rgba(255, 255, 255, 0.095);
  --wp-border-accent: rgba(92, 200, 255, 0.3);

  --wp-ink: #eaf2f7;
  --wp-muted: rgba(234, 242, 247, 0.72);
  --wp-muted-strong: rgba(234, 242, 247, 0.88);

  --wp-accent: #5cc8ff;
  --wp-accent-hover: #8bddff;

  --wp-good: #22c55e;
  --wp-warn: #f59e0b;
  --wp-danger: #ef4444;

  --wp-radius: 14px;
  --wp-radius-lg: 20px;

  --wp-shadow:
    0 14px 42px rgba(0, 0, 0, 0.34);

  --wp-shadow-soft:
    0 10px 28px rgba(0, 0, 0, 0.22);

  --wp-aside-width: 292px;

  --wp-sticky-top:
    calc(var(--header-h, 78px) + 22px);
}


/* ==========================================================================
   2) PAGE BASE
   ========================================================================== */

.gfc-whitepaper-page {
  background:
    radial-gradient(
      circle at top center,
      rgba(92, 200, 255, 0.06),
      transparent 34rem
    ),
    var(--wp-bg);

  color: var(--wp-ink);
}

.gfc-whitepaper-page main {
  min-width: 0;
}

.gfc-whitepaper-page .wp-main {
  position: relative;
}

.gfc-whitepaper-page .muted {
  color: var(--wp-muted);
}

.gfc-whitepaper-page .center {
  text-align: center;
}

.gfc-whitepaper-page .small {
  font-size: 0.92rem;
}

.gfc-whitepaper-page .wp-content strong {
  color: var(--wp-ink);
}

.gfc-whitepaper-page .wp-content a:not(.btn) {
  color: var(--wp-accent);

  font-weight: 700;

  text-decoration: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.18em;

  transition:
    color 150ms ease,
    text-decoration-color 150ms ease;
}

.gfc-whitepaper-page .wp-content a:not(.btn):hover {
  color: var(--wp-accent-hover);
}

.gfc-whitepaper-page .wp-content a:not(.btn):focus-visible {
  border-radius: 4px;

  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}


/* ==========================================================================
   3) HERO
   ========================================================================== */

.gfc-whitepaper-page .wp-hero {
  position: relative;

  overflow: hidden;

  padding:
    clamp(44px, 7vw, 84px)
    0
    clamp(38px, 5vw, 62px);

  border-bottom: 1px solid var(--wp-border);

  background:
    radial-gradient(
      1100px 360px at 18% -10%,
      rgba(92, 200, 255, 0.14),
      transparent 60%
    ),
    radial-gradient(
      860px 280px at 82% 0%,
      rgba(92, 200, 255, 0.085),
      transparent 55%
    ),
    var(--wp-bg-soft);
}

.gfc-whitepaper-page .wp-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: 0.12;

  background-image:
    radial-gradient(
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px
    );

  background-size: 28px 28px;
}

.gfc-whitepaper-page .wp-hero > .container {
  position: relative;
  z-index: 1;
}

.gfc-whitepaper-page .wp-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.14fr)
    minmax(320px, 0.86fr);

  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}

.gfc-whitepaper-page .wp-hero-copy {
  min-width: 0;
}

.gfc-whitepaper-page .wp-hero h1 {
  max-width: 12ch;

  margin: 0 0 18px;

  color: var(--wp-ink);

  font-size: var(--h1-size);
  line-height: 1.06;
  letter-spacing: -0.04em;

  text-wrap: balance;
}

.gfc-whitepaper-page .wp-hero .lead {
  max-width: 82ch;

  margin: 0;

  color: var(--wp-muted-strong);

  line-height: 1.68;
}

.gfc-whitepaper-page .wp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 22px;
}

.gfc-whitepaper-page .wp-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  max-width: 100%;
  min-height: 34px;

  padding: 7px 11px;

  border: 1px solid var(--wp-border);
  border-radius: 999px;

  background:
    linear-gradient(
      180deg,
      var(--wp-surface),
      var(--wp-surface-soft)
    );

  color: var(--wp-ink);

  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.2;

  white-space: nowrap;
}

.gfc-whitepaper-page .wp-badge.planned {
  border-color: rgba(245, 158, 11, 0.3);

  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
}

.gfc-whitepaper-page .wp-hero .note {
  max-width: 94ch;

  margin-top: 20px;
  padding: 15px 17px;

  border: 1px solid rgba(245, 158, 11, 0.28);
  border-left: 3px solid rgba(245, 158, 11, 0.68);
  border-radius: var(--wp-radius);

  background: rgba(245, 158, 11, 0.075);
  color: var(--wp-muted-strong);

  line-height: 1.62;
}

.gfc-whitepaper-page .wp-hero .note strong {
  color: var(--wp-ink);
}


/* ==========================================================================
   4) HERO SUMMARY CARD
   ========================================================================== */

.gfc-whitepaper-page .wp-hero-card {
  min-width: 0;

  padding: clamp(20px, 2.8vw, 27px);

  border: 1px solid rgba(92, 200, 255, 0.26);
  border-radius: var(--wp-radius-lg);

  background:
    radial-gradient(
      circle at top right,
      rgba(92, 200, 255, 0.14),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      var(--wp-surface),
      var(--wp-surface-soft)
    ),
    var(--wp-bg-soft);

  box-shadow: var(--wp-shadow);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gfc-whitepaper-page .wp-hero-card h2 {
  margin: 0 0 16px;

  color: var(--wp-ink);

  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.gfc-whitepaper-page .wp-hero-card .checklist {
  margin-top: 0;
}

.gfc-whitepaper-page .wp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 20px;
}

.gfc-whitepaper-page .wp-actions .btn {
  min-height: 44px;

  text-align: center;
}

.gfc-whitepaper-page .wp-content .link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}


/* ==========================================================================
   5) MAIN DOCUMENT LAYOUT
   ========================================================================== */

.gfc-whitepaper-page .wp-layout {
  display: grid;

  grid-template-columns:
    minmax(0, var(--wp-aside-width))
    minmax(0, 1fr);

  gap: clamp(24px, 4vw, 44px);
  align-items: start;

  padding-block:
    clamp(42px, 6vw, 76px);
}

.gfc-whitepaper-page .wp-aside {
  position: sticky;
  top: var(--wp-sticky-top);

  align-self: start;

  min-width: 0;
}

.gfc-whitepaper-page .wp-content {
  min-width: 0;
}


/* ==========================================================================
   6) TABLE OF CONTENTS
   ========================================================================== */

.gfc-whitepaper-page .wp-toc {
  max-height:
    calc(
      100vh -
      var(--wp-sticky-top) -
      24px
    );

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  scrollbar-color:
    rgba(92, 200, 255, 0.3)
    rgba(255, 255, 255, 0.035);

  scrollbar-width: thin;

  -webkit-overflow-scrolling: touch;
}

.gfc-whitepaper-page .wp-toc.wp-card {
  padding: 18px;
}

.gfc-whitepaper-page .toc-title {
  margin: 0 0 14px;

  color: var(--wp-ink);

  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.gfc-whitepaper-page .toc-list {
  margin: 0;
  padding-left: 1.3rem;

  color: var(--wp-muted);
}

.gfc-whitepaper-page .toc-list li {
  margin: 6px 0;
  padding-left: 2px;
}

.gfc-whitepaper-page .toc-list li::marker {
  color: rgba(234, 242, 247, 0.42);

  font-size: 0.82rem;
  font-weight: 750;
}

.gfc-whitepaper-page .toc-list a {
  display: block;

  padding: 4px 5px;

  border-radius: 6px;

  color: var(--wp-muted);

  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.38;

  text-decoration: none;

  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.gfc-whitepaper-page .toc-list a:hover {
  background: rgba(92, 200, 255, 0.055);
  color: var(--wp-accent);
}

.gfc-whitepaper-page .toc-list a:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

.gfc-whitepaper-page
  .toc-list
  a[aria-current="location"],
.gfc-whitepaper-page
  .toc-list
  a[aria-current="true"] {
  background: rgba(92, 200, 255, 0.09);
  color: var(--wp-accent);

  font-weight: 800;
}

.gfc-whitepaper-page .wp-mobile-menu-toggle {
  display: none;
}


/* ==========================================================================
   7) SHARED SURFACES
   ========================================================================== */

.gfc-whitepaper-page .wp-section,
.gfc-whitepaper-page .wp-card,
.gfc-whitepaper-page .kp,
.gfc-whitepaper-page .warn,
.gfc-whitepaper-page .risk,
.gfc-whitepaper-page .table-wrap,
.gfc-whitepaper-page .wp-footer {
  min-width: 0;

  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-lg);

  background:
    linear-gradient(
      180deg,
      var(--wp-surface),
      var(--wp-surface-soft)
    ),
    var(--wp-bg-soft);

  box-shadow: var(--wp-shadow);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


/* ==========================================================================
   8) WHITEPAPER SECTIONS
   ========================================================================== */

.gfc-whitepaper-page .wp-section {
  margin-bottom: 24px;

  padding:
    clamp(22px, 3.5vw, 36px);

  scroll-margin-top:
    calc(var(--header-h, 78px) + 18px);
}

.gfc-whitepaper-page .wp-section:last-of-type {
  margin-bottom: 0;
}

.gfc-whitepaper-page .wp-section h2 {
  max-width: 32ch;

  margin: 0 0 18px;

  color: var(--wp-ink);

  font-size: var(--h2);
  line-height: 1.18;
  letter-spacing: -0.025em;

  text-wrap: balance;
}

.gfc-whitepaper-page .wp-section h3 {
  margin: 24px 0 11px;

  color: var(--wp-ink);

  font-size: var(--h3);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.gfc-whitepaper-page .wp-section > h3:first-child {
  margin-top: 0;
}

.gfc-whitepaper-page .wp-section p {
  max-width: 88ch;

  margin: 0;

  color: var(--wp-muted);

  line-height: 1.72;
}

.gfc-whitepaper-page .wp-section p + p {
  margin-top: 1rem;
}

.gfc-whitepaper-page .wp-section > ul,
.gfc-whitepaper-page .wp-section > ol {
  max-width: 88ch;
}


/* ==========================================================================
   9) CONTENT CARDS AND GRIDS
   ========================================================================== */

.gfc-whitepaper-page .wp-grid {
  display: grid;
  gap: 17px;

  margin-top: 22px;
}

.gfc-whitepaper-page .wp-grid.cols-2 {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.gfc-whitepaper-page .wp-grid.cols-3 {
  grid-template-columns:
    repeat(3, minmax(0, 1fr));
}

.gfc-whitepaper-page .wp-card {
  padding:
    clamp(18px, 2.5vw, 24px);

  box-shadow: var(--wp-shadow-soft);
}

.gfc-whitepaper-page .wp-card h3 {
  margin: 0 0 10px;

  color: var(--wp-ink);

  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.3;
}

.gfc-whitepaper-page .wp-card p {
  margin: 0;

  color: var(--wp-muted);

  line-height: 1.65;
}

.gfc-whitepaper-page .wp-card p + p {
  margin-top: 11px;
}


/* ==========================================================================
   10) KEY POINTS, WARNINGS AND RISKS
   ========================================================================== */

.gfc-whitepaper-page .kp,
.gfc-whitepaper-page .warn,
.gfc-whitepaper-page .risk {
  margin-top: 22px;
  padding: 17px 19px;

  box-shadow: var(--wp-shadow-soft);
}

.gfc-whitepaper-page .kp {
  border-color: rgba(92, 200, 255, 0.24);

  background:
    radial-gradient(
      circle at top left,
      rgba(92, 200, 255, 0.11),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      var(--wp-surface),
      var(--wp-surface-soft)
    ),
    var(--wp-bg-soft);
}

.gfc-whitepaper-page .warn {
  border-color: rgba(245, 158, 11, 0.3);

  background:
    linear-gradient(
      180deg,
      rgba(245, 158, 11, 0.1),
      rgba(245, 158, 11, 0.045)
    ),
    var(--wp-bg-soft);
}

.gfc-whitepaper-page .risk {
  border-color: rgba(239, 68, 68, 0.3);

  background:
    linear-gradient(
      180deg,
      rgba(239, 68, 68, 0.1),
      rgba(239, 68, 68, 0.045)
    ),
    var(--wp-bg-soft);
}

.gfc-whitepaper-page .kp h3,
.gfc-whitepaper-page .warn h3,
.gfc-whitepaper-page .risk h3 {
  margin: 0 0 10px;
}

.gfc-whitepaper-page .kp p,
.gfc-whitepaper-page .warn p,
.gfc-whitepaper-page .risk p {
  margin: 0;

  color: var(--wp-muted-strong);
}

.gfc-whitepaper-page .kp p + p,
.gfc-whitepaper-page .warn p + p,
.gfc-whitepaper-page .risk p + p {
  margin-top: 10px;
}


/* ==========================================================================
   11) TABLES
   ========================================================================== */

.gfc-whitepaper-page .table-wrap {
  width: 100%;

  margin: 20px 0;

  overflow-x: auto;
  overflow-y: hidden;

  border-radius: var(--wp-radius-lg);

  background: rgba(255, 255, 255, 0.025);

  scrollbar-color:
    rgba(92, 200, 255, 0.32)
    rgba(255, 255, 255, 0.035);

  scrollbar-width: thin;

  overscroll-behavior-inline: contain;

  -webkit-overflow-scrolling: touch;
}

.gfc-whitepaper-page .table-wrap:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
}

.gfc-whitepaper-page .wp-section .table-scroll-hint {
  display: none;

  margin: 14px 0 -8px;

  color: var(--wp-muted);

  font-size: 0.82rem;
  line-height: 1.45;
}

.gfc-whitepaper-page .wp-table {
  width: 100%;
  min-width: 720px;

  border-collapse: collapse;
  border-spacing: 0;
}

.gfc-whitepaper-page .wp-table th,
.gfc-whitepaper-page .wp-table td {
  padding: 14px 15px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.1);

  text-align: left;
  vertical-align: top;

  line-height: 1.52;
}

.gfc-whitepaper-page .wp-table thead th {
  background: rgba(2, 6, 23, 0.34);
}

.gfc-whitepaper-page .wp-table th {
  color: var(--wp-ink);

  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.045em;

  text-transform: uppercase;
  white-space: nowrap;
}

.gfc-whitepaper-page .wp-table tbody th[scope="row"] {
  width: 32%;

  background: rgba(255, 255, 255, 0.018);

  font-size: 0.86rem;
  letter-spacing: 0.02em;

  text-transform: none;
  white-space: normal;
}

.gfc-whitepaper-page .wp-table td {
  color: var(--wp-muted);

  overflow-wrap: anywhere;
}

.gfc-whitepaper-page .wp-table tbody tr:last-child th,
.gfc-whitepaper-page .wp-table tbody tr:last-child td {
  border-bottom: 0;
}

.gfc-whitepaper-page .wp-table tbody tr {
  transition: background-color 150ms ease;
}

.gfc-whitepaper-page .wp-table strong {
  color: var(--wp-ink);
}


/* ==========================================================================
   12) LISTS
   ========================================================================== */

.gfc-whitepaper-page .checklist {
  display: grid;
  gap: 9px;

  margin: 20px 0 0;
  padding: 0;

  list-style: none;
}

.gfc-whitepaper-page .checklist li {
  position: relative;

  min-height: 23px;

  margin: 0;
  padding-left: 30px;

  color: var(--wp-muted);

  line-height: 1.62;
}

.gfc-whitepaper-page .checklist li::before {
  content: "✓";

  position: absolute;
  top: 0.08em;
  left: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 21px;
  height: 21px;

  border: 1px solid rgba(92, 200, 255, 0.34);
  border-radius: 999px;

  background: rgba(92, 200, 255, 0.08);
  color: var(--wp-accent);

  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.gfc-whitepaper-page .bullets {
  margin: 0;
  padding-left: 1.25rem;
}

.gfc-whitepaper-page .bullets li {
  margin: 8px 0;

  color: var(--wp-muted);

  line-height: 1.62;
}

.gfc-whitepaper-page .bullets li::marker {
  color: var(--wp-accent);
}

.gfc-whitepaper-page .bullets li strong,
.gfc-whitepaper-page .checklist li strong {
  color: var(--wp-ink);
}


/* ==========================================================================
   13) NUMBERED STEPS
   ========================================================================== */

.gfc-whitepaper-page .steps {
  display: grid;
  gap: 13px;

  margin: 22px 0 0;
  padding: 0;

  counter-reset: wp-step;

  list-style: none;
}

.gfc-whitepaper-page .steps li {
  position: relative;

  min-height: 34px;

  margin: 0;
  padding: 4px 0 4px 46px;

  color: var(--wp-muted);

  line-height: 1.62;
}

.gfc-whitepaper-page .steps li::before {
  counter-increment: wp-step;

  content: counter(wp-step);

  position: absolute;
  top: 0;
  left: 0;

  display: grid;
  place-items: center;

  width: 32px;
  height: 32px;

  border: 1px solid rgba(92, 200, 255, 0.3);
  border-radius: 999px;

  background: rgba(92, 200, 255, 0.085);
  color: var(--wp-accent);

  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1;
}

.gfc-whitepaper-page .steps li strong {
  color: var(--wp-ink);
}


/* ==========================================================================
   14) STATUS PILLS
   ========================================================================== */

.gfc-whitepaper-page .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 30px;

  padding: 6px 10px;

  border: 1px solid var(--wp-border);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.04);
  color: var(--wp-ink);

  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;

  text-align: center;
  white-space: nowrap;
}

.gfc-whitepaper-page .pill.planned {
  border-color: rgba(245, 158, 11, 0.3);

  background: rgba(245, 158, 11, 0.075);
  color: #fde68a;
}

.gfc-whitepaper-page .pill.live {
  border-color: rgba(34, 197, 94, 0.3);

  background: rgba(34, 197, 94, 0.075);
  color: #bbf7d0;
}


/* ==========================================================================
   16) DOCUMENT FOOTER
   ========================================================================== */

.gfc-whitepaper-page .wp-footer {
  margin-top: 24px;
  padding: 19px;

  box-shadow: var(--wp-shadow-soft);
}

.gfc-whitepaper-page .wp-footer p {
  margin: 0;

  color: var(--wp-muted);

  line-height: 1.55;
}

.gfc-whitepaper-page .wp-footer p + p {
  margin-top: 8px;
}

.gfc-whitepaper-page .to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;

  padding: 8px 13px;

  border: 1px solid rgba(92, 200, 255, 0.28);
  border-radius: 999px;

  background: rgba(92, 200, 255, 0.075);
  color: var(--wp-accent);

  font-weight: 800;
  text-decoration: none;

  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease;
}

.gfc-whitepaper-page .to-top:hover {
  border-color: rgba(92, 200, 255, 0.46);

  background: rgba(92, 200, 255, 0.12);
  color: var(--wp-accent-hover);
}

.gfc-whitepaper-page .to-top:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}


/* ==========================================================================
   17) POINTER-SPECIFIC INTERACTIONS
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
  .gfc-whitepaper-page .wp-card {
    transition:
      border-color 170ms ease,
      background-color 170ms ease,
      transform 170ms ease,
      box-shadow 170ms ease;
  }

  .gfc-whitepaper-page .wp-card:hover {
    border-color: rgba(92, 200, 255, 0.23);

    background:
      linear-gradient(
        180deg,
        rgba(92, 200, 255, 0.07),
        rgba(255, 255, 255, 0.032)
      ),
      var(--wp-bg-soft);

    box-shadow:
      0 16px 42px rgba(0, 0, 0, 0.3);

    transform: translateY(-2px);
  }

  .gfc-whitepaper-page .wp-table tbody tr:hover {
    background: rgba(92, 200, 255, 0.035);
  }
}


/* ==========================================================================
   18) RESPONSIVE – TABLET / MOBILE TOC
   ========================================================================== */

@media (max-width: 1120px) {
  .gfc-whitepaper-page .wp-hero-grid {
    grid-template-columns: 1fr;
  }

  .gfc-whitepaper-page .wp-hero-card {
    width: 100%;
    max-width: 780px;
  }

  .gfc-whitepaper-page .wp-grid.cols-3 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) {
  .gfc-whitepaper-page .wp-layout {
    grid-template-columns: 1fr;
  }

  .gfc-whitepaper-page.wp-toc-open {
    overflow: hidden;
  }

  .gfc-whitepaper-page.wp-toc-open::before {
    content: "";

    position: fixed;
    inset: var(--header-h, 68px) 0 0;
    z-index: 1100;

    background: rgba(2, 6, 23, 0.68);

    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .gfc-whitepaper-page .wp-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;

    min-width: 44px;
    min-height: 44px;

    gap: 8px;
    padding: 0.55rem 0.7rem;

    border: 1px solid var(--wp-border);
    border-radius: 999px;

    background: var(--wp-surface);
    color: var(--wp-ink);

    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;

    cursor: pointer;
  }

  .gfc-whitepaper-page .wp-mobile-menu-toggle:hover {
    border-color: var(--wp-border-accent);
    background: var(--wp-surface-hover);
    color: var(--wp-accent);
  }

  .gfc-whitepaper-page .wp-mobile-menu-toggle:focus-visible {
    outline: var(--focus-ring);
    outline-offset: 3px;
  }

  .gfc-whitepaper-page .wp-mobile-menu-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 20px;

    gap: 4px;
  }

  .gfc-whitepaper-page .wp-mobile-menu-icon span {
    display: block;

    width: 20px;
    height: 2px;

    border-radius: 999px;

    background: currentColor;

    transform-origin: center;
    transition:
      transform 170ms ease,
      opacity 150ms ease;
  }

  .gfc-whitepaper-page
    .wp-mobile-menu-toggle[aria-expanded="true"]
    .wp-mobile-menu-icon
    span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .gfc-whitepaper-page
    .wp-mobile-menu-toggle[aria-expanded="true"]
    .wp-mobile-menu-icon
    span:nth-child(2) {
    opacity: 0;
  }

  .gfc-whitepaper-page
    .wp-mobile-menu-toggle[aria-expanded="true"]
    .wp-mobile-menu-icon
    span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .gfc-whitepaper-page .wp-aside {
    position: fixed;
    inset-block-start: calc(var(--header-h, 68px) + 0.5rem);
    inset-inline: 0.625rem;
    z-index: 1200;

    display: none;

    width: auto;
    max-height: calc(100dvh - var(--header-h, 68px) - 1.5rem);

    margin: 0;
  }

  .gfc-whitepaper-page .wp-aside.is-open {
    display: block;
  }

  .gfc-whitepaper-page .wp-aside .wp-toc {
    position: static;

    max-height: calc(100dvh - var(--header-h, 68px) - 1.5rem);

    overflow-x: hidden;
    overflow-y: auto;

    box-shadow: var(--wp-shadow);
  }

  .gfc-whitepaper-page .wp-aside .toc-list {
    columns: 1;
  }

  .gfc-whitepaper-page .wp-aside .toc-list li {
    margin: 4px 0;
  }

  .gfc-whitepaper-page .wp-aside .toc-list a {
    display: flex;
    align-items: center;

    min-height: 36px;
    padding: 7px 8px;
  }
}

@media (max-width: 900px) {
  .gfc-whitepaper-page .wp-section .table-scroll-hint {
    display: block;
  }
}

@media (max-width: 780px) {
  .gfc-whitepaper-page .wp-grid.cols-2,
  .gfc-whitepaper-page .wp-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .gfc-whitepaper-page .toc-list {
    columns: 1;
  }

  .gfc-whitepaper-page .wp-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gfc-whitepaper-page .wp-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   20) RESPONSIVE – MOBILE
   ========================================================================== */

@media (max-width: 640px) {
  .gfc-whitepaper-page .wp-hero {
    padding-top: 36px;
  }

  .gfc-whitepaper-page .wp-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .gfc-whitepaper-page .wp-meta-row {
    gap: 7px;
  }

  .gfc-whitepaper-page .wp-badge {
    white-space: normal;
  }

  .gfc-whitepaper-page .wp-layout {
    gap: 20px;

    padding-block: 38px;
  }

  .gfc-whitepaper-page .wp-section {
    margin-bottom: 18px;

    padding: 19px;

    scroll-margin-top:
      calc(var(--header-h, 70px) + 12px);
  }

  .gfc-whitepaper-page .wp-section h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .gfc-whitepaper-page .wp-section h3 {
    margin-top: 21px;
  }

  .gfc-whitepaper-page .wp-card,
  .gfc-whitepaper-page .kp,
  .gfc-whitepaper-page .warn,
  .gfc-whitepaper-page .risk,
  .gfc-whitepaper-page .wp-footer {
    border-radius: 17px;
  }

  .gfc-whitepaper-page .wp-card {
    padding: 18px;
  }

  .gfc-whitepaper-page .kp,
  .gfc-whitepaper-page .warn,
  .gfc-whitepaper-page .risk {
    padding: 15px;
  }

  .gfc-whitepaper-page .table-wrap {
    margin-inline: 0;

    border-radius: 16px;
  }

  .gfc-whitepaper-page .wp-table {
    min-width: 670px;
  }

  .gfc-whitepaper-page .wp-table th,
  .gfc-whitepaper-page .wp-table td {
    padding: 12px 13px;

    font-size: 0.9rem;
  }

  .gfc-whitepaper-page .pill {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .gfc-whitepaper-page .wp-hero-card,
  .gfc-whitepaper-page .wp-section,
  .gfc-whitepaper-page .wp-card,
  .gfc-whitepaper-page .kp,
  .gfc-whitepaper-page .warn,
  .gfc-whitepaper-page .risk,
  .gfc-whitepaper-page .wp-footer {
    border-radius: 15px;
  }

  .gfc-whitepaper-page .wp-toc.wp-card {
    padding: 16px;
  }

  .gfc-whitepaper-page .wp-section {
    padding: 17px;
  }

  .gfc-whitepaper-page .wp-table {
    min-width: 620px;
  }
}


/* ==========================================================================
   21) REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .gfc-whitepaper-page .wp-content a,
  .gfc-whitepaper-page .wp-card,
  .gfc-whitepaper-page .toc-list a,
  .gfc-whitepaper-page .to-top,
  .gfc-whitepaper-page .wp-table tbody tr {
    transition: none;
  }

  .gfc-whitepaper-page .wp-card:hover {
    transform: none;
  }
}


/* ==========================================================================
   22) HIGH-CONTRAST SUPPORT
   ========================================================================== */

@media (forced-colors: active) {
  .gfc-whitepaper-page .wp-section,
  .gfc-whitepaper-page .wp-card,
  .gfc-whitepaper-page .wp-hero-card,
  .gfc-whitepaper-page .kp,
  .gfc-whitepaper-page .warn,
  .gfc-whitepaper-page .risk,
  .gfc-whitepaper-page .table-wrap,
  .gfc-whitepaper-page .wp-footer {
    border: 1px solid CanvasText;

    background: Canvas;
    color: CanvasText;

    box-shadow: none;
  }

  .gfc-whitepaper-page .wp-content a:not(.btn),
  .gfc-whitepaper-page .toc-list a,
  .gfc-whitepaper-page .to-top {
    color: LinkText;
  }

  .gfc-whitepaper-page .pill,
  .gfc-whitepaper-page .wp-badge,
  .gfc-whitepaper-page .checklist li::before,
  .gfc-whitepaper-page .steps li::before {
    border-color: CanvasText;

    background: Canvas;
    color: CanvasText;
  }
}


/* ==========================================================================
   23) PRINT
   ========================================================================== */

@media print {
  .gfc-whitepaper-page {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .gfc-whitepaper-page * {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .gfc-whitepaper-page .wp-hero,
  .gfc-whitepaper-page .wp-section,
  .gfc-whitepaper-page .wp-card,
  .gfc-whitepaper-page .kp,
  .gfc-whitepaper-page .warn,
  .gfc-whitepaper-page .risk,
  .gfc-whitepaper-page .table-wrap,
  .gfc-whitepaper-page .wp-footer {
    border: 1px solid #000000 !important;

    background: #ffffff !important;

    box-shadow: none !important;

    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .gfc-whitepaper-page .wp-aside,
  .gfc-whitepaper-page .wp-actions,
  .gfc-whitepaper-page .wp-meta-row,
  .site-header,
  .site-footer,
  .modal,
  [data-modal-backdrop] {
    display: none !important;
  }

  .gfc-whitepaper-page .wp-layout {
    display: block;

    padding-block: 0;
  }

  .gfc-whitepaper-page .wp-hero {
    padding-block: 20px !important;
  }

  .gfc-whitepaper-page .wp-section {
    margin-bottom: 18px;

    padding: 20px;

    break-inside: avoid;
  }

  .gfc-whitepaper-page .wp-grid {
    display: block;
  }

  .gfc-whitepaper-page .wp-card {
    margin-bottom: 14px;

    break-inside: avoid;
  }

  .gfc-whitepaper-page .table-wrap {
    overflow: visible;
  }

  .gfc-whitepaper-page .wp-table {
    min-width: 0;

    font-size: 9pt;
  }

  .gfc-whitepaper-page a {
    color: #000000 !important;
    text-decoration: underline !important;
  }

  .gfc-whitepaper-page .to-top {
    display: none !important;
  }
}