
  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); }

  details > summary { list-style: none; }
  details > summary::-webkit-details-marker { display: none; }

  .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  .hatch {
    background-image: repeating-linear-gradient(45deg, var(--gwb-soft) 0 10px, var(--gwb-soft) 10px 20px);
  }

  .no-scroll { overflow: hidden; }

  .glass-nav {
    background: rgba(255,255,255,0.72);
    -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 rgba(0,0,0,.15) inset !important;
  }

  .tap-target { min-height: 48px; }

  #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 rgba(37, 211, 102, 0.55), 0 12px 32px -10px rgba(37, 211, 102, 0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 32px -10px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 32px -10px rgba(37, 211, 102, 0.6); }
  }

  .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 rgba(37, 211, 102, 0.6),
                0 4px 10px -4px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
    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 rgba(37, 211, 102, 0.7),
                0 8px 16px -6px rgba(0, 0, 0, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
  .wa-fab:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 6px 16px -6px rgba(37, 211, 102, 0.5),
                inset 0 2px 4px rgba(0, 0, 0, 0.12);
  }

  .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; }
  }

  /* ============================================================
     QUALITY FLOOR
     ============================================================ */
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--gwb-blue);
    outline-offset: 2px;
    border-radius: 8px;
  }

  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; }
  }

  /* ============================================================
     V2 — VISUAL UPGRADES
     ============================================================ */
  .card-lift {
    transition: transform .22s cubic-bezier(.22,.61,.36,1),
                box-shadow .22s ease,
                border-color .22s ease;
  }
  .card-lift:hover {
    transform: translateY(-6px);
  }

  .icon-hover { transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
  .group:hover .icon-hover { transform: scale(1.08); }

  .ba-zoom {
    transition: transform .5s cubic-bezier(.22,.61,.36,1);
  }
  .group:hover .ba-zoom { transform: scale(1.04); }

  /* ============================================================
     WHITEGOODSHELP — TOPIC CARDS (link rows inside)
     ============================================================ */
  .topic-card {
    border-radius: 1rem;
    border: 1px solid var(--gwb-soft);
    background: var(--gwb-white);
    padding: 1.25rem;
    box-shadow: 0 1px 3px 0 rgba(15,23,42,.05), 0 1px 2px -1px rgba(15,23,42,.03);
    transition: border-color .18s ease, box-shadow .18s ease;
  }
  .topic-card:hover {
    border-color: var(--gwb-soft);
    box-shadow: 0 4px 12px -2px rgba(15,23,42,.08), 0 8px 24px -8px rgba(15,23,42,.06);
  }
  .topic-card .topic-head {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding-bottom: .875rem;
    border-bottom: 1px solid var(--gwb-paper);
  }
  .topic-card .topic-head h3 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--gwb-ink);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }
  .topic-card .topic-head .topic-icon {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: .625rem;
    flex-shrink: 0;
  }

  .topic-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: .875rem;
  }
  .topic-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .625rem .875rem;
    background: var(--gwb-soft);
    border-radius: .625rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--gwb-ink);
    line-height: 1.35;
    transition: background-color .16s ease, color .16s ease;
  }
  .topic-link:hover {
    background: var(--gwb-paper);
  }
  .topic-link .topic-link-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .topic-link .topic-link-arrow {
    color: var(--gwb-line);
    flex-shrink: 0;
    transition: color .16s ease, transform .16s ease;
  }
  .topic-link:hover .topic-link-arrow {
    color: var(--gwb-blue);
    transform: translateX(2px);
  }
  .topic-link.is-sky:hover {
    background: var(--gwb-paper);
    color: var(--gwb-blue);
  }
  .topic-link.is-sky:hover .topic-link-arrow {
    color: var(--gwb-blue);
  }
  .topic-link.is-accent:hover {
    background: var(--gwb-paper);
    color: var(--gwb-blue);
  }
