/* WhateverGo — bold spatial edition
   Loaded after the legacy subject styles so the site changes at the layout
   level, while preserving every note, tab and tutor interaction. */

:root {
  --wgo-blue: #0071e3;
  --wgo-cyan: #5ac8fa;
  --wgo-purple: #af52de;
  --wgo-pink: #ff375f;
  --wgo-orange: #ff9f0a;
  --wgo-green: #30d158;
  --wgo-black: #09090b;
  --wgo-cloud: #f5f5f7;
  --wgo-glass: rgba(255, 255, 255, .72);
  --wgo-glass-heavy: rgba(255, 255, 255, .86);
  --wgo-hairline: rgba(0, 0, 0, .08);
  --wgo-depth: 0 30px 90px rgba(18, 24, 40, .12);
  --wgo-depth-high: 0 50px 120px rgba(18, 24, 40, .18);
}

html[data-wgo-theme="dark"] {
  --wgo-cloud: #08080a;
  --wgo-glass: rgba(28, 28, 31, .7);
  --wgo-glass-heavy: rgba(30, 30, 34, .9);
  --wgo-hairline: rgba(255, 255, 255, .11);
  --wgo-depth: 0 34px 100px rgba(0, 0, 0, .42);
  --wgo-depth-high: 0 55px 130px rgba(0, 0, 0, .56);
}

html[data-wgo-edition="bold"] {
  scroll-padding-top: 100px;
}

html[data-wgo-edition="bold"] body {
  background: var(--wgo-cloud) !important;
}

html[data-wgo-edition="bold"] ::selection {
  color: #fff;
  background: var(--wgo-blue);
}

/* Floating global chrome */
html[data-wgo-edition="bold"] .utility-bar {
  display: none;
}

html[data-wgo-edition="bold"] .site-header {
  position: fixed !important;
  inset: 16px 0 auto !important;
  z-index: 100 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none;
}

html[data-wgo-edition="bold"] .site-header .nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 62px;
  padding: 7px 8px 7px 12px;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 22px;
  background: var(--wgo-glass) !important;
  box-shadow: 0 10px 38px rgba(0, 0, 0, .09), inset 0 1px 0 rgba(255, 255, 255, .55);
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
  pointer-events: auto;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] .site-header .nav {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .1);
}

html[data-wgo-edition="bold"] .site-header.wgo-is-scrolled .nav {
  box-shadow: 0 18px 56px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .52);
}

html[data-wgo-edition="bold"] .brand-mark {
  width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
  font-size: 17px !important;
}

html[data-wgo-edition="bold"] .nav-links {
  gap: 8px;
}

html[data-wgo-edition="bold"] .nav-links a,
html[data-wgo-edition="bold"] .back-home {
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .18s ease, background-color .18s ease, transform .1s ease;
}

html[data-wgo-edition="bold"] .nav-links a:hover,
html[data-wgo-edition="bold"] .back-home:hover {
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}

/* Home — the search is the product, the example is the stage */
html[data-wgo-edition="bold"] .home-page main {
  overflow: clip;
}

html[data-wgo-edition="bold"] .home-page .hero {
  min-height: 1120px !important;
  display: block !important;
  padding: 168px 24px 92px !important;
  text-align: center;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 38% at 50% 43%, rgba(90, 200, 250, .22), transparent 72%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 64%, #eceef5 100%) !important;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .hero {
  background:
    radial-gradient(ellipse 58% 42% at 50% 45%, rgba(41, 151, 255, .17), transparent 72%),
    linear-gradient(180deg, #09090b 0%, #0d0e12 66%, #11131b 100%) !important;
}

html[data-wgo-edition="bold"] .hero-ambient {
  position: absolute;
  z-index: -1;
  width: 62vw;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .58;
  filter: blur(105px);
  will-change: transform;
  pointer-events: none;
}

html[data-wgo-edition="bold"] .hero-ambient.ambient-a {
  top: 6%;
  left: -32%;
  background: rgba(175, 82, 222, .3);
  animation: wgo-ambient-swap-left 30s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

html[data-wgo-edition="bold"] .hero-ambient.ambient-b {
  top: 9%;
  right: -32%;
  background: rgba(0, 113, 227, .34);
  animation: wgo-ambient-swap-right 30s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

@keyframes wgo-ambient-swap-left {
  0%, 8% { transform: translate3d(0, 0, 0); }
  92%, 100% { transform: translate3d(102vw, 0, 0); }
}

@keyframes wgo-ambient-swap-right {
  0%, 8% { transform: translate3d(0, 0, 0); }
  92%, 100% { transform: translate3d(-102vw, 0, 0); }
}

html[data-wgo-edition="bold"] .home-page .hero-card {
  position: relative;
  z-index: 6;
  width: min(1040px, 100%) !important;
  margin: 0 auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-wgo-edition="bold"] .home-page .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--wgo-blue) 24%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wgo-blue) 8%, transparent);
  letter-spacing: .08em;
}

html[data-wgo-edition="bold"] .home-page .hero h1 {
  max-width: 1020px !important;
  margin: 0 auto !important;
  font-size: clamp(62px, 6.7vw, 100px) !important;
  font-weight: 760 !important;
  line-height: .9 !important;
  letter-spacing: -.075em !important;
  text-wrap: balance;
}

html[data-wgo-edition="bold"] .hero-title-soft {
  display: block;
  color: var(--muted);
  font-weight: 620;
}

html[data-wgo-edition="bold"] .hero-title-color {
  display: block;
  color: transparent;
  background: linear-gradient(92deg, #0071e3 4%, #5856d6 47%, #af52de 88%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[data-wgo-edition="bold"] .home-page .hero-copy {
  max-width: 690px;
  margin: 26px auto 0;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -.018em;
  text-wrap: balance;
}

html[data-wgo-edition="bold"] .home-page .global-search {
  width: min(820px, 100%);
  max-width: none;
  margin: 34px auto 0;
  text-align: left;
}

html[data-wgo-edition="bold"] .home-page .global-search > label {
  margin: 0 0 11px 19px;
  font-size: 11px;
}

html[data-wgo-edition="bold"] .home-page .global-search-box {
  min-height: 76px;
  padding: 8px 9px 8px 22px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 25px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 60px rgba(29, 41, 66, .14), inset 0 1px 0 #fff;
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .global-search-box {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(30, 30, 34, .78);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .1);
}

html[data-wgo-edition="bold"] .home-page .global-search-icon {
  width: 28px;
  height: 28px;
}

html[data-wgo-edition="bold"] .home-page .global-search-field,
html[data-wgo-edition="bold"] .home-page .global-search-field input {
  height: 58px;
}

html[data-wgo-edition="bold"] .home-page .global-search-field input,
html[data-wgo-edition="bold"] .home-page .global-search-prompt {
  font-size: clamp(16px, 2vw, 19px);
}

html[data-wgo-edition="bold"] .home-page .global-search-box button {
  height: 56px;
  min-width: 108px;
  border-radius: 18px;
  font-size: 14px;
}

html[data-wgo-edition="bold"] .home-page .global-search-results {
  top: calc(100% + 12px);
  border-radius: 22px;
  background: var(--wgo-glass-heavy);
}

html[data-wgo-edition="bold"] .home-page .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

html[data-wgo-edition="bold"] .home-page .hero-primary,
html[data-wgo-edition="bold"] .home-page .hero-secondary {
  min-height: 52px;
  padding: 0 26px;
}

html[data-wgo-edition="bold"] .home-page .hero-note {
  margin-top: 14px;
  font-size: 12px;
}

html[data-wgo-edition="bold"] .home-page .study-scene {
  position: relative !important;
  z-index: 4;
  inset: auto !important;
  width: min(1080px, calc(100% - 24px));
  height: 440px;
  margin: 54px auto 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(239, 243, 251, .55)),
    rgba(255, 255, 255, .58);
  box-shadow: var(--wgo-depth-high), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  perspective: 1200px;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .study-scene {
  border-color: rgba(255, 255, 255, .12);
  background: linear-gradient(145deg, rgba(42, 43, 49, .86), rgba(17, 19, 25, .72));
  box-shadow: var(--wgo-depth-high), inset 0 1px 0 rgba(255, 255, 255, .12);
}

html[data-wgo-edition="bold"] .scene-window-bar {
  position: absolute;
  inset: 0 0 auto;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid var(--wgo-hairline);
}

html[data-wgo-edition="bold"] .scene-window-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

html[data-wgo-edition="bold"] .scene-window-bar i:nth-child(2) { background: #febc2e; }
html[data-wgo-edition="bold"] .scene-window-bar i:nth-child(3) { background: #28c840; }
html[data-wgo-edition="bold"] .scene-window-bar span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

html[data-wgo-edition="bold"] .home-page .paper-back {
  left: 17%;
  right: auto;
  top: 104px;
  width: 340px;
  height: 275px;
  padding: 30px;
  border-radius: 24px;
  transform: rotate(-7deg) translateZ(-20px);
  opacity: .7;
}

html[data-wgo-edition="bold"] .home-page .paper-front {
  left: 50%;
  right: auto;
  top: 78px;
  width: 420px;
  height: 318px;
  padding: 32px;
  border-radius: 27px;
  transform: translateX(-50%) rotate(1.5deg) translateZ(30px);
  box-shadow: 0 35px 80px rgba(26, 33, 52, .24);
}

html[data-wgo-edition="bold"] .home-page .paper-front.is-switching {
  opacity: .2;
  transform: translateX(-50%) translateY(12px) rotate(-2deg) scale(.97);
}

html[data-wgo-edition="bold"] .home-page .formula {
  min-height: 126px;
  border-radius: 14px;
}

html[data-wgo-edition="bold"] .home-page .shape-cube {
  right: 8%;
  top: 202px;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  transform: rotate(14deg);
}

html[data-wgo-edition="bold"] .home-page .shape-cylinder {
  left: 9%;
  right: auto;
  top: 74px;
  width: 76px;
  height: 92px;
}

html[data-wgo-edition="bold"] .home-page .scene-orbit {
  border-color: color-mix(in srgb, var(--wgo-blue) 22%, transparent);
}

html[data-wgo-edition="bold"] .home-page .orbit-one {
  inset: 83px auto auto 50%;
  width: 780px;
  height: 290px;
  transform: translateX(-50%) rotate(-6deg);
}

html[data-wgo-edition="bold"] .home-page .orbit-two {
  inset: 112px auto auto 50%;
  width: 560px;
  height: 220px;
  transform: translateX(-50%) rotate(9deg);
}

html[data-wgo-edition="bold"] .home-page .scene-chip {
  z-index: 8;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--wgo-glass-heavy);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-transform: none;
  letter-spacing: -.01em;
}

html[data-wgo-edition="bold"] .home-page .scene-chip b {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

html[data-wgo-edition="bold"] .home-page .chip-one { left: 5%; right: auto; bottom: 46px; }
html[data-wgo-edition="bold"] .home-page .chip-two { right: 5%; bottom: 52px; }
html[data-wgo-edition="bold"] .home-page .chip-three { right: 8%; top: 78px; }

/* Large editorial sections instead of the old grid strip */
html[data-wgo-edition="bold"] .home-page .signal-strip {
  width: min(1180px, calc(100% - 32px));
  margin: -44px auto 0;
  position: relative;
  z-index: 8;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 12px;
  border: 1px solid var(--wgo-hairline);
  border-radius: 28px;
  background: var(--wgo-glass-heavy);
  box-shadow: var(--wgo-depth);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
}

html[data-wgo-edition="bold"] .home-page .signal-strip div {
  min-height: 118px;
  align-items: center;
  padding: 22px;
  border-right: 1px solid var(--wgo-hairline);
  background: transparent;
  text-align: center;
}

html[data-wgo-edition="bold"] .home-page .signal-strip div:last-child { border-right: 0; }
html[data-wgo-edition="bold"] .home-page .signal-strip strong { font-size: clamp(25px, 3vw, 40px); }
html[data-wgo-edition="bold"] .home-page .signal-strip span { letter-spacing: .05em; }

html[data-wgo-edition="bold"] .home-page .feature-section {
  width: min(1320px, calc(100% - 40px));
  min-height: 780px;
  margin: 110px auto 0;
  padding: clamp(56px, 7vw, 100px);
  grid-template-columns: minmax(0, .78fr) minmax(480px, 1.22fr);
  gap: clamp(60px, 8vw, 130px);
  border-radius: 48px;
  background: #08080a;
  color: #f5f5f7;
  overflow: hidden;
}

html[data-wgo-edition="bold"] .home-page .feature-section h2,
html[data-wgo-edition="bold"] .home-page .feature-section .eyebrow { color: #f5f5f7; }
html[data-wgo-edition="bold"] .home-page .feature-section .eyebrow { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); }
html[data-wgo-edition="bold"] .home-page .feature-section .section-intro > p:last-child { color: #a1a1a6; font-size: 18px; }

html[data-wgo-edition="bold"] .home-page .dashboard-preview {
  height: 510px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 32px;
  background: #1c1c1e;
  box-shadow: 0 45px 120px rgba(0,0,0,.55);
  transform: rotate(2deg) perspective(1000px) rotateY(-4deg);
}

html[data-wgo-edition="bold"] .home-page .preview-side { background: #131315; border-color: rgba(255,255,255,.1); }
html[data-wgo-edition="bold"] .home-page .preview-top { border-color: rgba(255,255,255,.1); }
html[data-wgo-edition="bold"] .home-page .preview-main { background: radial-gradient(circle at 75% 18%, rgba(0,113,227,.28), transparent 40%), #1c1c1e; }
html[data-wgo-edition="bold"] .home-page .preview-card { background: #2c2c2e; border-color: rgba(255,255,255,.1); }

html[data-wgo-edition="bold"] .home-page .principles {
  width: min(1320px, calc(100% - 40px));
  margin: 20px auto 0;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: repeat(2, minmax(300px, auto));
  gap: 20px;
  padding: 0;
  background: transparent;
}

html[data-wgo-edition="bold"] .home-page .principles article {
  position: relative;
  min-height: 0;
  padding: clamp(38px, 5vw, 72px);
  border: 0;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: none;
}

html[data-wgo-edition="bold"] .home-page .principles article:first-child {
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #d9f2ff, #e8e4ff 62%, #f8e5f2);
}

html[data-wgo-edition="bold"] .home-page .principles article:nth-child(2) { background: #e8f7ed; }
html[data-wgo-edition="bold"] .home-page .principles article:nth-child(3) { background: #fff0d7; }
html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .principles article:first-child { background: linear-gradient(145deg, #102a3e, #25203d 64%, #321f2d); }
html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .principles article:nth-child(2) { background: #13271b; }
html[data-wgo-theme="dark"][data-wgo-edition="bold"] .home-page .principles article:nth-child(3) { background: #30230f; }

html[data-wgo-edition="bold"] .home-page .principles article::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  bottom: -80px;
  border: 30px solid color-mix(in srgb, var(--wgo-blue) 18%, transparent);
  border-radius: 50%;
}

html[data-wgo-edition="bold"] .home-page .principles h3 {
  max-width: 420px;
  margin: clamp(50px, 10vw, 150px) 0 16px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
}

html[data-wgo-edition="bold"] .home-page .principles article:not(:first-child) h3 { margin-top: 54px; font-size: clamp(26px, 3vw, 38px); }
html[data-wgo-edition="bold"] .home-page .principles p { font-size: 16px; }

html[data-wgo-edition="bold"] .home-page .security-section {
  width: min(1120px, calc(100% - 40px));
  padding: 160px 0;
  align-items: center;
}

html[data-wgo-edition="bold"] .home-page .closing-cta {
  min-height: 520px;
  margin: 0 20px 20px;
  padding: 80px max(36px, calc((100vw - 1120px) / 2));
  border-radius: 48px;
  background:
    radial-gradient(circle at 80% 20%, rgba(90,200,250,.7), transparent 35%),
    radial-gradient(circle at 20% 100%, rgba(175,82,222,.48), transparent 42%),
    #0a63ce;
  color: #fff;
}

html[data-wgo-edition="bold"] .home-page .closing-cta .eyebrow,
html[data-wgo-edition="bold"] .home-page .closing-cta h2 { color: #fff !important; }
html[data-wgo-edition="bold"] .home-page .closing-cta h2 { max-width: 780px; font-size: clamp(48px, 7vw, 88px); }
html[data-wgo-edition="bold"] .home-page .closing-cta button { min-height: 58px; padding: 0 30px; background: #fff; color: #0a63ce; }

/* Workspace + formula library — scannable directory, solid chrome */
html[data-wgo-edition="bold"] .dashboard-page,
html[data-wgo-edition="bold"] .formula-hub,
html[data-wgo-edition="bold"] .reference-page {
  min-height: 100vh;
  background: var(--wgo-cloud) !important;
}

html[data-wgo-edition="bold"] .dashboard-page .site-header,
html[data-wgo-edition="bold"] .formula-hub .site-header,
html[data-wgo-edition="bold"] .reference-page .site-header {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-wgo-edition="bold"] .dashboard-page .site-header .nav,
html[data-wgo-edition="bold"] .formula-hub .site-header .nav,
html[data-wgo-edition="bold"] .reference-page .site-header .nav {
  background: rgba(255, 255, 255, .94) !important;
  border-color: rgba(0, 0, 0, .08) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(22px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(160%) !important;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] .dashboard-page .site-header .nav,
html[data-wgo-theme="dark"][data-wgo-edition="bold"] .formula-hub .site-header .nav,
html[data-wgo-theme="dark"][data-wgo-edition="bold"] .reference-page .site-header .nav {
  background: rgba(28, 28, 31, .94) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-main,
html[data-wgo-edition="bold"] .formula-hub .dashboard-main {
  width: min(1120px, calc(100% - 40px));
  padding-top: 118px;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome,
html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome,
html[data-wgo-edition="bold"] .reference-page .reference-hero {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  align-items: end;
  gap: 36px;
  margin: 0;
  padding: 6px 2px 32px;
  border: 0;
  border-bottom: 1px solid var(--wgo-hairline);
  border-radius: 0;
  background: transparent !important;
  color: inherit;
  overflow: visible;
  position: relative;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome::after,
html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome::after {
  content: none !important;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome h1,
html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome h1,
html[data-wgo-edition="bold"] .reference-page .reference-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 16ch;
  margin: 0;
  color: var(--ink) !important;
  font-size: clamp(34px, 4.2vw, 50px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome > p,
html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome > p,
html[data-wgo-edition="bold"] .reference-page .reference-hero > p {
  position: relative;
  z-index: 1;
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome .eyebrow,
html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome .eyebrow,
html[data-wgo-edition="bold"] .reference-page .eyebrow {
  color: var(--accent);
}

html[data-wgo-edition="bold"] .dashboard-page .board-index,
html[data-wgo-edition="bold"] .formula-hub .board-index {
  position: sticky;
  top: 92px;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 10px 0 12px;
  border: 0;
  border-radius: 0;
  background: var(--wgo-cloud) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible;
}

html[data-wgo-edition="bold"] .dashboard-page .board-index a,
html[data-wgo-edition="bold"] .formula-hub .board-index a {
  min-width: 0;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--wgo-hairline);
  border-radius: 999px;
  background: var(--surface) !important;
  color: var(--ink);
  font-size: 13px;
}

html[data-wgo-edition="bold"] .dashboard-page .board-index a:hover,
html[data-wgo-edition="bold"] .formula-hub .board-index a:hover {
  background: var(--surface) !important;
  border-color: color-mix(in srgb, var(--accent) 40%, var(--wgo-hairline));
  transform: none;
}

html[data-wgo-edition="bold"] .dashboard-page .board-index span,
html[data-wgo-edition="bold"] .formula-hub .board-index span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
}

html[data-wgo-edition="bold"] .dashboard-page .course-directory,
html[data-wgo-edition="bold"] .formula-hub .course-directory {
  display: grid;
  gap: 16px;
}

html[data-wgo-edition="bold"] .dashboard-page .board-group,
html[data-wgo-edition="bold"] .formula-hub .board-group {
  display: grid !important;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 0;
  padding: 20px;
  border: 1px solid var(--wgo-hairline);
  border-radius: 20px;
  background: var(--surface) !important;
  box-shadow: none !important;
  scroll-margin-top: 150px;
}

html[data-wgo-edition="bold"] .dashboard-page .board-title,
html[data-wgo-edition="bold"] .formula-hub .board-title {
  align-items: flex-start;
  margin: 0;
  padding: 4px 2px 0;
}

html[data-wgo-edition="bold"] .dashboard-page .board-title > span,
html[data-wgo-edition="bold"] .formula-hub .board-title > span {
  min-width: 46px;
  min-height: 26px;
  height: 26px;
  border: 1px solid var(--wgo-hairline);
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .1em;
}

html[data-wgo-edition="bold"] .dashboard-page .board-title h2,
html[data-wgo-edition="bold"] .formula-hub .board-title h2 {
  font-size: 19px;
  letter-spacing: -.03em;
  line-height: 1.2;
}

html[data-wgo-edition="bold"] .dashboard-page .course-grid,
html[data-wgo-edition="bold"] .dashboard-page .course-grid.two,
html[data-wgo-edition="bold"] .dashboard-page .course-grid.three,
html[data-wgo-edition="bold"] .formula-hub .course-grid,
html[data-wgo-edition="bold"] .formula-hub .course-grid.two,
html[data-wgo-edition="bold"] .formula-hub .course-grid.three {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card,
html[data-wgo-edition="bold"] .formula-hub .course-card {
  position: relative;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 44px 16px 18px;
  border: 1px solid var(--wgo-hairline);
  border-radius: 16px;
  color: var(--ink) !important;
  overflow: hidden;
  isolation: isolate;
  background: var(--soft) !important;
  box-shadow: none !important;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card::before,
html[data-wgo-edition="bold"] .formula-hub .course-card::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  height: auto;
  border-radius: 0 4px 4px 0;
  background: var(--course, #4054c6);
}

html[data-wgo-edition="bold"] .dashboard-page .course-card.violet,
html[data-wgo-edition="bold"] .formula-hub .course-card.violet,
html[data-wgo-edition="bold"] .dashboard-page .course-card.amber,
html[data-wgo-edition="bold"] .formula-hub .course-card.amber,
html[data-wgo-edition="bold"] .dashboard-page .course-card.green,
html[data-wgo-edition="bold"] .formula-hub .course-card.green,
html[data-wgo-edition="bold"] .dashboard-page .course-card.blue,
html[data-wgo-edition="bold"] .formula-hub .course-card.blue {
  background: var(--soft) !important;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card::after,
html[data-wgo-edition="bold"] .formula-hub .course-card::after {
  content: none !important;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card:hover,
html[data-wgo-edition="bold"] .formula-hub .course-card:hover {
  transform: translateY(-2px) !important;
  border-color: color-mix(in srgb, var(--course, #4054c6) 42%, var(--wgo-hairline)) !important;
  background: var(--surface) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08) !important;
}

html[data-wgo-edition="bold"] .dashboard-page .dashboard-header .brand,
html[data-wgo-edition="bold"] .formula-hub .dashboard-header .brand,
html[data-wgo-edition="bold"] .reference-page .dashboard-header .brand {
  flex: 0 0 auto;
  min-width: 142px;
  white-space: nowrap;
}

html[data-wgo-edition="bold"] .dashboard-page .course-code,
html[data-wgo-edition="bold"] .formula-hub .course-code {
  position: static;
  inset: auto;
  display: inline-flex !important;
  align-items: center;
  min-height: 22px;
  margin: 0 0 10px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--course, #4054c6) 12%, transparent);
  color: var(--course, #4054c6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 10px;
  letter-spacing: .08em;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card h3,
html[data-wgo-edition="bold"] .formula-hub .course-card h3 {
  color: var(--ink) !important;
  font-size: 17px;
  letter-spacing: -.025em;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card p,
html[data-wgo-edition="bold"] .formula-hub .course-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  padding-right: 0;
}

html[data-wgo-edition="bold"] .dashboard-page .course-card b,
html[data-wgo-edition="bold"] .formula-hub .course-card b {
  position: absolute;
  right: 14px;
  top: 50%;
  bottom: auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--course, #4054c6) 12%, transparent);
  color: var(--course, #4054c6);
  font-size: 16px;
  transform: translateY(-50%);
}

html[data-wgo-edition="bold"] .reference-page .reference-main {
  width: min(1120px, calc(100% - 40px));
  padding-top: 118px;
}

html[data-wgo-edition="bold"] .reference-page .sheet-nav {
  top: 92px;
  z-index: 28;
  gap: 8px;
  padding: 10px 0 12px;
  background: var(--wgo-cloud) !important;
  border-bottom: 1px solid var(--wgo-hairline);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-wgo-edition="bold"] .reference-page .sheet-nav a {
  background: var(--surface);
}

html[data-wgo-edition="bold"] .reference-page .reference-sheet {
  scroll-margin-top: 148px;
}

html[data-wgo-edition="bold"] .reference-page code.formula,
html[data-wgo-edition="bold"] .reference-page .formula-row code.formula,
html[data-wgo-edition="bold"] .reference-page .formula-row .formula {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-wgo-edition="bold"] .dashboard-page .wgo-reveal,
html[data-wgo-edition="bold"] .formula-hub .wgo-reveal,
html[data-wgo-edition="bold"] .reference-page .wgo-reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Subject pages — floating control island + editorial reading canvas */
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) {
  --wgo-subject-a: #0071e3;
  --wgo-subject-b: #5856d6;
  background:
    radial-gradient(circle at 12% 0%, rgba(175,82,222,.08), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(0,113,227,.1), transparent 27%),
    var(--wgo-cloud) !important;
}

html[data-wgo-edition="bold"] body.subject-physics { --wgo-subject-a: #0066cc !important; --wgo-subject-b: #5856d6 !important; }
html[data-wgo-edition="bold"] body.subject-compsci { --wgo-subject-a: #5856d6 !important; --wgo-subject-b: #af52de !important; }
html[data-wgo-edition="bold"] body.subject-economics { --wgo-subject-a: #f07b00 !important; --wgo-subject-b: #ff375f !important; }
html[data-wgo-edition="bold"] body.subject-maths { --wgo-subject-a: #0071e3 !important; --wgo-subject-b: #5856d6 !important; }
html[data-wgo-edition="bold"] body.subject-biology { --wgo-subject-a: #188f48 !important; --wgo-subject-b: #20a99a !important; }
html[data-wgo-edition="bold"] body.subject-chemistry { --wgo-subject-a: #e57800 !important; --wgo-subject-b: #ff5e3a !important; }

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .nav-btn.active,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav .nav-btn.active {
  background: var(--wgo-subject-a) !important;
  border-color: var(--wgo-subject-a) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav {
  position: relative !important;
  top: auto !important;
  z-index: 100 !important;
  width: min(1420px, calc(100% - 24px)) !important;
  min-height: 68px !important;
  height: auto !important;
  margin: 12px auto 0 !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(255,255,255,.66) !important;
  border-radius: 24px !important;
  background: var(--wgo-glass-heavy) !important;
  box-shadow: 0 14px 48px rgba(0,0,0,.1), inset 0 1px 0 rgba(255,255,255,.5) !important;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav {
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav .brand {
  font-size: 18px !important;
  font-weight: 760 !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav .brand::before {
  width: 40px !important;
  height: 40px !important;
  border-radius: 14px !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #search-wrap {
  min-width: min(270px, 22vw);
  min-height: 42px;
  border-radius: 15px !important;
  background: color-mix(in srgb, var(--surface) 72%, transparent) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.notes-main),
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.main-content),
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.page-container) {
  gap: 26px !important;
  padding: 26px max(16px, calc((100vw - 1500px) / 2)) 48px !important;
  background: transparent !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) aside.toc,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .toc {
  margin: 0 !important;
  padding: 16px 12px 22px !important;
  border: 1px solid var(--wgo-hairline) !important;
  border-radius: 25px !important;
  background: var(--wgo-glass) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.08) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) aside.toc h2,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .toc h2 {
  margin: 0 8px 12px !important;
  padding: 8px 8px 14px !important;
  color: var(--ink-strong) !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) aside.toc a,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .toc a {
  margin: 3px 0;
  padding: 10px 12px 10px 32px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container {
  padding: 0 clamp(0px, 1.5vw, 24px) 90px !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 26px !important;
  padding: clamp(38px, 6vw, 72px) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 86% 10%, rgba(90,200,250,.46), transparent 31%),
    radial-gradient(circle at 15% 100%, rgba(175,82,222,.34), transparent 40%),
    linear-gradient(135deg, var(--wgo-subject-a), var(--wgo-subject-b)) !important;
  color: #fff !important;
  overflow: hidden;
  box-shadow: var(--wgo-depth) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero {
  position: relative;
  min-height: 340px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  margin: 0 0 26px !important;
  padding: clamp(38px, 6vw, 72px) !important;
  border: 0 !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.24), transparent 31%),
    radial-gradient(circle at 14% 110%, rgba(255,255,255,.17), transparent 38%),
    linear-gradient(135deg, var(--wgo-subject-a), var(--wgo-subject-b)) !important;
  color: #fff !important;
  box-shadow: var(--wgo-depth) !important;
  overflow: hidden;
  text-align: left !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero::after,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero::after,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero::after,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero::after {
  content: "NOTES";
  position: absolute;
  right: -18px;
  top: -28px;
  color: rgba(255,255,255,.08);
  font-size: clamp(100px, 16vw, 230px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero h1,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero h2,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero h1,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero h2,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero h1,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero h2,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero h1,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero h2 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #fff !important;
  font-size: clamp(44px, 6vw, 78px) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero p,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero .eyebrow,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero p,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero p,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero p,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero .eyebrow {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.8) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header::after {
  content: "NOTES";
  position: absolute;
  right: -18px;
  top: -28px;
  color: rgba(255,255,255,.08);
  font-size: clamp(100px, 16vw, 230px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header h1 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(44px, 6vw, 78px) !important;
  line-height: .96 !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header .subtitle,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header .authors {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.76) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header .badge {
  position: relative;
  z-index: 1;
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.13) !important;
  color: #fff !important;
  backdrop-filter: blur(14px);
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic {
  position: relative;
  margin-bottom: 26px !important;
  padding: clamp(28px, 4.4vw, 58px) !important;
  border: 0 !important;
  border-radius: 32px !important;
  background: var(--surface) !important;
  box-shadow: 0 2px 3px rgba(0,0,0,.02), 0 22px 65px rgba(24,31,48,.08) !important;
  overflow: hidden;
}

html[data-wgo-theme="dark"][data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic {
  box-shadow: 0 28px 70px rgba(0,0,0,.34) !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -110px;
  top: -105px;
  border: 26px solid color-mix(in srgb, var(--wgo-blue) 11%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic > h2:first-child {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px !important;
  font-size: clamp(30px, 4vw, 49px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic h2 .num,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic > h2:first-child > span:first-child {
  flex: 0 0 auto;
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--wgo-subject-a), var(--wgo-subject-b)) !important;
  color: #fff !important;
  font-size: 15px !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--wgo-subject-a) 26%, transparent);
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic h3 {
  margin-top: 42px !important;
  font-size: clamp(21px, 2.2vw, 28px) !important;
  letter-spacing: -.025em !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic p,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic li {
  font-size: clamp(15px, 1.15vw, 17px) !important;
  line-height: 1.75 !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic table {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--wgo-hairline);
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic .formula,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic .note,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic .info-box,
html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic .ai-note {
  border-radius: 18px !important;
}

html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic.wgo-topic-focus {
  box-shadow: 0 4px 8px rgba(0,0,0,.03), 0 34px 90px color-mix(in srgb, var(--wgo-subject-a) 14%, transparent) !important;
}

/* Responsive */
@media (max-width: 1050px) {
  html[data-wgo-edition="bold"] .home-page .hero { min-height: 1030px !important; }
  html[data-wgo-edition="bold"] .home-page .study-scene { height: 400px; }
  html[data-wgo-edition="bold"] .home-page .feature-section { grid-template-columns: 1fr; min-height: 0; }
  html[data-wgo-edition="bold"] .home-page .dashboard-preview { height: 430px; transform: none; }
  html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome,
  html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome,
  html[data-wgo-edition="bold"] .reference-page .reference-hero { grid-template-columns: 1fr; gap: 16px; }
  html[data-wgo-edition="bold"] .dashboard-page .course-grid,
  html[data-wgo-edition="bold"] .dashboard-page .course-grid.two,
  html[data-wgo-edition="bold"] .formula-hub .course-grid,
  html[data-wgo-edition="bold"] .formula-hub .course-grid.two { grid-template-columns: 1fr; }
  html[data-wgo-edition="bold"] .dashboard-page .board-group,
  html[data-wgo-edition="bold"] .formula-hub .board-group { grid-template-columns: 1fr; gap: 16px; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav { flex-wrap: wrap; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #search-wrap { order: 10; min-width: min(100%, 480px); }
}

@media (max-width: 720px) {
  html[data-wgo-edition="bold"] .site-header { inset: 9px 0 auto !important; }
  html[data-wgo-edition="bold"] .site-header .nav { width: calc(100% - 18px); min-height: 58px; border-radius: 19px; }
  html[data-wgo-edition="bold"] .home-page .hero { min-height: auto !important; padding: 122px 13px 68px !important; }
  html[data-wgo-edition="bold"] .home-page .hero h1 { font-size: clamp(48px, 16vw, 72px) !important; line-height: .93 !important; }
  html[data-wgo-edition="bold"] .home-page .hero-copy { font-size: 17px; }
  html[data-wgo-edition="bold"] .home-page .global-search { margin-top: 32px; }
  html[data-wgo-edition="bold"] .home-page .global-search-box { min-height: 64px; grid-template-columns: auto 1fr; padding: 7px 8px 7px 16px; border-radius: 21px; }
  html[data-wgo-edition="bold"] .home-page .global-search-box button { grid-column: 1 / -1; width: 100%; min-width: 0; height: 48px; margin-top: 4px; border-radius: 15px; }
  html[data-wgo-edition="bold"] .home-page .hero-actions { align-items: stretch; }
  html[data-wgo-edition="bold"] .home-page .study-scene { display: block; width: 100%; height: 350px; margin-top: 54px; border-radius: 28px; }
  html[data-wgo-edition="bold"] .home-page .paper-front { left: 50%; top: 74px; width: 284px; height: 244px; padding: 22px; }
  html[data-wgo-edition="bold"] .home-page .paper-back { left: 5%; top: 86px; width: 260px; height: 218px; }
  html[data-wgo-edition="bold"] .home-page .paper-question { min-height: 35px; margin: 12px 0 7px; font-size: 11px; }
  html[data-wgo-edition="bold"] .home-page .formula { min-height: 100px; font-size: 9px; }
  html[data-wgo-edition="bold"] .home-page .shape, html[data-wgo-edition="bold"] .home-page .scene-chip, html[data-wgo-edition="bold"] .home-page .scene-orbit { display: none; }
  html[data-wgo-edition="bold"] .home-page .signal-strip { grid-template-columns: repeat(2, 1fr); margin-top: -25px; border-radius: 23px; }
  html[data-wgo-edition="bold"] .home-page .signal-strip div:nth-child(2) { border-right: 0; }
  html[data-wgo-edition="bold"] .home-page .signal-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--wgo-hairline); }
  html[data-wgo-edition="bold"] .home-page .feature-section { width: calc(100% - 20px); margin-top: 70px; padding: 42px 22px; border-radius: 32px; }
  html[data-wgo-edition="bold"] .home-page .dashboard-preview { height: 310px; border-radius: 23px; }
  html[data-wgo-edition="bold"] .home-page .principles { width: calc(100% - 20px); grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
  html[data-wgo-edition="bold"] .home-page .principles article:first-child { grid-row: auto; }
  html[data-wgo-edition="bold"] .home-page .principles article { min-height: 320px; border-radius: 30px; }
  html[data-wgo-edition="bold"] .home-page .principles h3 { margin-top: 86px; }
  html[data-wgo-edition="bold"] .home-page .security-section { width: calc(100% - 32px); padding: 100px 0; }
  html[data-wgo-edition="bold"] .home-page .closing-cta { min-height: 440px; margin: 0 10px 10px; padding: 50px 25px; border-radius: 32px; }
  html[data-wgo-edition="bold"] .home-page .closing-cta h2 { font-size: 48px; }

  html[data-wgo-edition="bold"] .dashboard-page .dashboard-main,
  html[data-wgo-edition="bold"] .formula-hub .dashboard-main,
  html[data-wgo-edition="bold"] .reference-page .reference-main { width: calc(100% - 20px); padding-top: 100px; }
  html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome,
  html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome,
  html[data-wgo-edition="bold"] .reference-page .reference-hero { min-height: 0; padding: 4px 0 24px; border-radius: 0; }
  html[data-wgo-edition="bold"] .dashboard-page .dashboard-welcome h1,
  html[data-wgo-edition="bold"] .formula-hub .dashboard-welcome h1,
  html[data-wgo-edition="bold"] .reference-page .reference-hero h1 { font-size: 36px; }
  html[data-wgo-edition="bold"] .dashboard-page .board-index,
  html[data-wgo-edition="bold"] .formula-hub .board-index,
  html[data-wgo-edition="bold"] .reference-page .sheet-nav { top: 78px; overflow-x: auto; justify-content: flex-start; }
  html[data-wgo-edition="bold"] .dashboard-page .board-index a,
  html[data-wgo-edition="bold"] .formula-hub .board-index a { min-width: 0; }
  html[data-wgo-edition="bold"] .dashboard-page .board-title > span,
  html[data-wgo-edition="bold"] .formula-hub .board-title > span { min-width: 46px; min-height: 26px; border-radius: 999px; }
  html[data-wgo-edition="bold"] .dashboard-page .course-card,
  html[data-wgo-edition="bold"] .formula-hub .course-card { min-height: 112px; padding: 16px 42px 16px 16px; border-radius: 16px; }

  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav { width: calc(100% - 12px) !important; margin-top: 6px !important; padding: 7px !important; border-radius: 20px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav::-webkit-scrollbar { display: none; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav > * { flex-shrink: 0 !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav .brand { width: auto !important; min-width: 0 !important; margin-right: 2px !important; font-size: 15px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav .spacer { display: none !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.notes-main),
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.main-content),
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page:has(.page-container) { padding: 12px 8px 40px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container { padding-inline: 0 !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header { min-height: 300px; padding: 32px 24px !important; border-radius: 27px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .header h1 { font-size: 44px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero { min-height: 300px !important; padding: 32px 24px !important; border-radius: 27px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero h1,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-main > .hero h2,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .main-content > .hero h1,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .page-container > .hero h1,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) .notes-shell > .hero h1 { font-size: 44px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic { padding: 28px 22px !important; border-radius: 26px !important; }
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) section.topic > h2:first-child { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-wgo-edition="bold"] .hero-ambient { animation: none !important; will-change: auto; }
  html[data-wgo-edition="bold"] .home-page .dashboard-preview,
  html[data-wgo-edition="bold"] .dashboard-page .course-card,
  html[data-wgo-edition="bold"] .home-page .study-scene { transform: none !important; }
}

@media (prefers-reduced-transparency: reduce) {
  html[data-wgo-edition="bold"] .site-header .nav,
  html[data-wgo-edition="bold"] .home-page .global-search-box,
  html[data-wgo-edition="bold"] .home-page .signal-strip,
  html[data-wgo-edition="bold"] .dashboard-page .board-index,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) #topnav,
  html[data-wgo-edition="bold"] body:not(.home-page):not(.dashboard-page):not(.formula-hub):not(.reference-page) aside.toc {
    background: var(--surface) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}
