
  html { scroll-behavior: smooth; overflow-x: hidden; }
  body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
  ::selection { background: var(--gwb-blue); color: var(--gwb-white); }
  .no-scroll { overflow: hidden; }
  .glass-nav { background: color-mix(in srgb, var(--gwb-white) 72%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); }
  .btn-press { transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease; }
  .btn-press:active { transform: translateY(2px); box-shadow: 0 1px 0 0 color-mix(in srgb, var(--gwb-ink) 15%, transparent) inset !important; }
  #mobileMenu { transition: opacity .28s ease, visibility .28s ease; }
  #mobilePanel { transition: transform .34s cubic-bezier(.22,.61,.36,1); }
  #mobileMenu.is-open { opacity: 1; visibility: visible; }
  #mobileMenu.is-open #mobilePanel { transform: translateX(0); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    #mobileMenu, #mobilePanel, .btn-press { transition: none; }
    .btn-press:active { transform: none; }
  }
  @keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gwb-blue) 55%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
    70%  { box-shadow: 0 0 0 16px color-mix(in srgb, var(--gwb-blue) 0%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
    100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gwb-blue) 0%, transparent), 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent); }
  }
  .wa-fab { bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); right: 1rem; background: linear-gradient(145deg, var(--gwb-blue) 0%, var(--gwb-blue) 45%, var(--gwb-blue) 100%); box-shadow: 0 12px 32px -10px color-mix(in srgb, var(--gwb-blue) 60%, transparent), 0 4px 10px -4px color-mix(in srgb, var(--gwb-ink) 15%, transparent), inset 0 1px 0 color-mix(in srgb, var(--gwb-white) 35%, transparent); animation: wa-pulse 2.8s cubic-bezier(0.4, 0, 0.6, 1) infinite; transition: transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease; }
  .wa-fab:hover, .wa-fab:focus-visible { animation-play-state: paused; transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 40px -12px color-mix(in srgb, var(--gwb-blue) 70%, transparent), 0 8px 16px -6px color-mix(in srgb, var(--gwb-ink) 18%, transparent), inset 0 1px 0 color-mix(in srgb, var(--gwb-white) 45%, transparent); }
  .wa-fab:active { transform: translateY(0) scale(0.96); box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--gwb-blue) 50%, transparent), inset 0 2px 4px color-mix(in srgb, var(--gwb-ink) 12%, transparent); }
  .wa-fab svg { transition: transform .3s cubic-bezier(.34,1.56,.64,1); }
  .wa-fab:hover svg { transform: rotate(-8deg) scale(1.08); }
  @media (min-width: 640px) { .wa-fab { right: 1.5rem; bottom: 1.5rem; } }
  @media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } .wa-fab:hover svg { transform: none; } }
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--gwb-blue); outline-offset: 2px; border-radius: var(--gwb-radius-button); }
  h1, h2, h3 { text-wrap: balance; }
  p, li { text-wrap: pretty; }
  .break-safe { overflow-wrap: anywhere; word-break: break-word; }
  .chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
  .nowrap-safe { white-space: nowrap; }
  @media (max-width: 374px) { img, video, svg { max-width: 100%; height: auto; } }
  .card-lift { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .card-lift:hover { border-color: var(--gwb-line); box-shadow: 0 4px 12px -2px color-mix(in srgb, var(--gwb-ink) 8%, transparent), 0 8px 24px -8px color-mix(in srgb, var(--gwb-ink) 6%, transparent); }

  /* Sticky sidebar */
  @media (min-width: 1024px) {
    .sidebar-sticky { position: sticky; top: 96px; }
  }

  /* TOC */
  .toc-link {
    display: block;
    padding: 6px 12px;
    border-left: 2px solid var(--gwb-line);
    font-size: 13px;
    color: var(--gwb-muted);
    transition: color .15s ease, border-color .15s ease, padding-left .15s ease;
  }
  .toc-link:hover { color: var(--gwb-blue); border-color: var(--gwb-blue); padding-left: 14px; }
  .toc-link.is-active { color: var(--gwb-blue); border-color: var(--gwb-blue); font-weight: 600; }

  /* Article body typography */
  .article-body h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--gwb-ink);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
    line-height: 1.2;
  }
  .article-body h3 {
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--gwb-ink);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    scroll-margin-top: 100px;
  }
  .article-body h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gwb-ink);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .article-body p {
    margin-bottom: 1rem;
    line-height: 1.75;
    color: var(--gwb-ink);
    font-size: 1rem;
  }
  .article-body a:not(.btn-cta) {
    color: var(--gwb-blue);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--gwb-blue) 30%, transparent);
    text-underline-offset: 3px;
    transition: text-decoration-color .15s ease;
  }
  .article-body a:not(.btn-cta):hover {
    text-decoration-color: color-mix(in srgb, var(--gwb-blue) 90%, transparent);
  }
  .article-body ul, .article-body ol {
    margin-bottom: 1rem;
    padding-left: 0;
  }
  .article-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--gwb-ink);
  }
  .article-body ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gwb-blue);
  }
  .article-body ol {
    counter-reset: item;
    padding-left: 0;
  }
  .article-body ol li {
    counter-increment: item;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--gwb-ink);
  }
  .article-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--gwb-blue);
  }
  .article-body strong { color: var(--gwb-ink); font-weight: 700; }

  /* Callout boxes */
  .callout {
    border-radius: 0.875rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid;
  }
  .callout-info { background: var(--gwb-paper); border-left-color: var(--gwb-blue); }
  .callout-warn { background: var(--gwb-paper); border-left-color: var(--gwb-blue); }
  .callout-danger { background: #FEF2F2; border-left-color: #DC2626; }
  .callout-success { background: var(--gwb-blue-soft); border-left-color: var(--gwb-blue); }
  .callout-title {
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .callout-info .callout-title { color: var(--gwb-blue); }
  .callout-warn .callout-title { color: var(--gwb-blue); }
  .callout-danger .callout-title { color: #B91C1C; }
  .callout-success .callout-title { color: var(--gwb-blue); }
  .callout p:last-child { margin-bottom: 0; }

  /* Diagnostic table */
  .diag-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--gwb-line);
  }
  .diag-table thead {
    background: var(--gwb-soft);
  }
  .diag-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gwb-muted);
    border-bottom: 1px solid var(--gwb-line);
  }
  .diag-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gwb-line);
    color: var(--gwb-ink);
    vertical-align: top;
    line-height: 1.5;
  }
  .diag-table tr:last-child td { border-bottom: 0; }
  .diag-table tr:hover td { background: var(--gwb-soft); }

  /* Cause section card */
  .cause-section {
    scroll-margin-top: 100px;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid var(--gwb-line);
  }
  .cause-section:first-of-type {
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }
  .cause-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.6rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, var(--gwb-blue) 0%, var(--gwb-blue) 100%);
    color: var(--gwb-white);
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--gwb-blue) 40%, transparent);
  }

  /* FAQ */
  .faq-item {
    border: 1px solid var(--gwb-line);
    border-radius: var(--gwb-radius-faq);
    background: var(--gwb-white);
    transition: border-color .16s ease, box-shadow .16s ease;
  }
  .faq-item[open] {
    border-color: var(--gwb-blue-strong-soft);
    box-shadow: 0 1px 3px 0 color-mix(in srgb, var(--gwb-ink) 5%, transparent);
  }
  .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gwb-ink);
    letter-spacing: -0.01em;
  }
  .faq-item summary::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gwb-blue);
    border-bottom: 2px solid var(--gwb-blue);
    transform: rotate(45deg);
    transition: transform .2s ease;
    flex-shrink: 0;
    margin-top: -4px;
  }
  .faq-item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  .faq-item .faq-body {
    padding: 0 1.25rem 1.25rem;
    color: var(--gwb-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  /* Reading progress bar */
  #readProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gwb-blue), var(--gwb-blue));
    z-index: 100;
    width: 0;
    transition: width .1s linear;
    pointer-events: none;
  }
