/* =============================================================
   GLO × VERSANTUS AI GUIDE — Stylesheet
   Design system inferred from Glo brand assets
   ============================================================= */

/* ===================== DESIGN TOKENS ===================== */
:root {
  /* Brand colours — sourced from logo SVG */
  --indigo:        #46327A;
  --indigo-dark:   #2D1F52;
  --indigo-light:  #6750AA;
  --teal:          #014751;
  --teal-dark:     #012D35;
  --lavender:      #CBB6FF;
  --lavender-soft: #F3EEFF;
  --lavender-mid:  #E3D4FF;

  /* Accent colours — inferred from style reference */
  --pink:          #E8387A;
  --pink-dark:     #C42B66;
  --pink-light:    #FFEEF5;
  --mint:          #00C7A8;
  --mint-light:    #E0FAF5;
  --amber:         #F5A623;
  --amber-light:   #FFF5E0;

  /* Text */
  --text:          #1A1033;
  --text-muted:    #5D5280;
  --text-light:    #9488B0;

  /* UI */
  --white:         #FFFFFF;
  --off-white:     #FAFAF9;
  --border:        #E8E2F5;
  --border-light:  #F0ECF9;

  /* Section backgrounds */
  --bg-white:      #FFFFFF;
  --bg-tinted:     #F3EEFF;
  --bg-indigo-dark:#2D1F52;
  --bg-teal-dark:  #012D35;

  /* Typography */
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius */
  --radius-sm:  6px;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(70, 50, 122, 0.07);
  --shadow:    0 4px 24px rgba(70, 50, 122, 0.10);
  --shadow-lg: 0 10px 48px rgba(70, 50, 122, 0.15);

  /* Motion */
  --ease: 0.22s ease;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
}

/* ===================== RESET ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===================== BASE TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 2.875rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p {
  line-height: 1.75;
}

p + p {
  margin-top: var(--space-4);
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--pink);
}

ul {
  list-style: none;
}

strong {
  font-weight: 600;
}

/* ===================== FOCUS STYLES ===================== */
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===================== SKIP LINK ===================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--space-4);
  z-index: 200;
  padding: var(--space-3) var(--space-6);
  background: var(--indigo);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: top var(--ease);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
}

.btn--primary:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232, 56, 122, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--indigo);
  border-color: rgba(70, 50, 122, 0.3);
}

.btn--ghost:hover {
  background: white;
  border-color: var(--indigo);
  color: var(--indigo);
  transform: translateY(-2px);
}

.btn--indigo {
  background: var(--indigo);
  color: white;
  border-color: var(--indigo);
}

.btn--indigo:hover {
  background: var(--indigo-dark);
  border-color: var(--indigo-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(70, 50, 122, 0.35);
}

/* ===================== NAVIGATION ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--ease);
}

.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  min-height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__link {
  display: block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--indigo);
  background: var(--lavender-soft);
}

.nav__link.is-active {
  color: var(--indigo);
  background: var(--lavender-soft);
  font-weight: 600;
}

.nav__link--cta {
  background: var(--lavender-soft);
  color: var(--indigo);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--lavender-mid);
  color: var(--indigo);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
  transform-origin: center;
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== SECTION SHELLS ===================== */
.section {
  padding: var(--space-32) 0;
}

.section--white   { background: var(--bg-white); }
.section--tinted  { background: var(--bg-tinted); }

.section--indigo-dark {
  background: var(--bg-indigo-dark);
  color: white;
}

.section--teal-dark {
  background: var(--bg-teal-dark);
  color: white;
}

.section--closing {
  background: var(--bg-tinted);
  position: relative;
  overflow: hidden;
}

/* Section header */
.section__header {
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto var(--space-16);
}

.section__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 0.35rem var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.section__label--light {
  color: var(--lavender);
  background: rgba(203, 182, 255, 0.15);
}

.section__title {
  color: var(--indigo);
  margin-bottom: var(--space-4);
}

.section__header--light .section__title {
  color: white;
}

.section__intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.75;
}

.section__header--light .section__intro {
  color: rgba(255, 255, 255, 0.75);
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-32) 0 calc(var(--space-32) + var(--space-8));
  background: linear-gradient(140deg, var(--lavender-soft) 0%, #ECF5F3 55%, #F7F4FF 100%);
  min-height: 82vh;
  display: flex;
  align-items: center;
}

/* Decorative shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
}

.hero__shape--1 {
  width: 560px;
  height: 560px;
  background: var(--lavender);
  opacity: 0.28;
  top: -160px;
  right: -120px;
}

.hero__shape--2 {
  width: 320px;
  height: 320px;
  background: var(--pink);
  opacity: 0.12;
  top: -60px;
  right: 160px;
}

.hero__shape--3 {
  width: 240px;
  height: 240px;
  background: var(--mint);
  opacity: 0.18;
  bottom: -80px;
  left: -60px;
}

.hero__shape--4 {
  width: 90px;
  height: 90px;
  background: var(--pink);
  opacity: 0.3;
  top: 30%;
  right: 18%;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5) var(--space-2) var(--space-3);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
}

.hero__badge img {
  height: 22px;
  width: auto;
  display: block;
}

.hero__badge span {
  color: var(--text-light);
}

.hero__badge strong {
  font-weight: 600;
  color: var(--text-muted);
}

.hero__headline {
  color: var(--indigo);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 54ch;
  margin-bottom: var(--space-10);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===================== CARDS ===================== */
.cards {
  display: grid;
  gap: var(--space-6);
}

.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards--players {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* Icon card */
.card--icon {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__icon--indigo { background: var(--lavender-soft); color: var(--indigo); }
.card__icon--pink   { background: var(--pink-light);    color: var(--pink); }
.card__icon--mint   { background: var(--mint-light);    color: var(--mint); }

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: var(--space-3);
}

.card__subtitle {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: calc(-1 * var(--space-2));
  margin-bottom: var(--space-3);
}

.card__body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Player card */
.card--player {
  padding: 0;
  overflow: hidden;
}

.card__player-bar {
  height: 5px;
  background: var(--player-color, var(--indigo));
  flex-shrink: 0;
}

.card__player-inner {
  padding: var(--space-6) var(--space-8) var(--space-8);
}

.card--player .card__title    { margin-bottom: var(--space-1); }
.card--player .card__subtitle { margin-top: 0; }

.card__logo {
  height: 44px;
  display: flex;
  align-items: center;
  margin-bottom: var(--space-5);
}

.card__logo svg,
.card__logo img {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* Review flag */
.review-flag {
  display: block;
  margin-top: var(--space-4);
  font-size: 0.8rem;
  font-style: normal;
  color: #8A6000;
  background: var(--amber-light);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber);
  line-height: 1.5;
}

/* ===================== EXPLAINERS ===================== */
.explainers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.explainer {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.explainer__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--mint-light);
  padding: 0.3rem var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.explainer h3 {
  color: var(--indigo);
  font-size: 1.2rem;
  margin-bottom: var(--space-4);
}

.explainer p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.explainer__tip {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--lavender-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--indigo);
  font-size: 0.9rem !important;
}

.explainer__tip strong {
  color: var(--indigo);
}

/* ===================== CALLOUT ===================== */
.callout {
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-8);
  margin-top: var(--space-8);
  font-size: 0.95rem;
  line-height: 1.75;
}

.callout--info {
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-mid);
  color: var(--text-muted);
}

.callout--info strong {
  color: var(--indigo);
}

.callout--warn {
  background: var(--amber-light);
  border: 1px solid rgba(245, 166, 35, 0.35);
  color: #5C3D00;
}

.callout--warn strong {
  color: #7A4D00;
}

/* ===================== STEPS ===================== */
.steps {
  display: flex;
  flex-direction: column;
  max-width: 860px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-10) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.step__number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
  text-align: right;
  padding-top: 0.15rem;
  letter-spacing: -0.04em;
}

.step__content {
  flex: 1;
  padding-top: var(--space-2);
}

.step__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}

.step__body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* ===================== RISK GRID ===================== */
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.risk-panel {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1.5px solid;
}

.risk-panel--safe {
  background: #F0FBF8;
  border-color: rgba(0, 199, 168, 0.4);
}

.risk-panel--caution {
  background: var(--amber-light);
  border-color: rgba(245, 166, 35, 0.45);
}

.risk-panel__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.risk-panel__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.risk-panel__icon svg {
  width: 20px;
  height: 20px;
}

.risk-panel--safe .risk-panel__icon {
  background: rgba(0, 199, 168, 0.15);
  color: var(--teal);
}

.risk-panel--caution .risk-panel__icon {
  background: rgba(245, 166, 35, 0.2);
  color: #8A6000;
}

.risk-panel__header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.risk-panel--safe .risk-panel__header h3    { color: #014741; }
.risk-panel--caution .risk-panel__header h3 { color: #7A4D00; }

.risk-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.risk-list li {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text);
  padding-left: var(--space-6);
  position: relative;
}

.risk-panel--safe .risk-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--mint);
}

.risk-panel--caution .risk-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--amber);
}

/* ===================== PRINCIPLES ===================== */
.principles {
  background: var(--lavender-soft);
  border: 1px solid var(--lavender-mid);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
}

.principles__title {
  text-align: center;
  color: var(--indigo);
  font-size: 1.5rem;
  margin-bottom: var(--space-10);
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-12);
}

.principle {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.principle__icon {
  width: 44px;
  height: 44px;
  background: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--indigo);
  flex-shrink: 0;
}

.principle__icon svg {
  width: 22px;
  height: 22px;
}

.principle h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--indigo);
}

.principle p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===================== AI POLICY FRAMEWORK ===================== */
.policy-framework {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.policy-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--ease), box-shadow var(--ease);
}

.policy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.policy-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--lavender-soft);
  color: var(--indigo);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.policy-card__title {
  font-size: 1.1rem;
  color: var(--indigo);
  margin-bottom: var(--space-3);
}

.policy-card__body {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ===================== VERSANTUS POLICY ===================== */
.vpolicy {
  display: grid;
  gap: var(--space-6);
}

/* Block sections */
.vpolicy__sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.vpolicy__block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
}

.vpolicy__block-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: var(--space-4);
}

.vpolicy__block p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

/* Do / Don't */
.vpolicy__dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.vpolicy__do,
.vpolicy__dont {
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
}

.vpolicy__do {
  background: rgba(0, 199, 168, 0.06);
  border: 1px solid rgba(0, 199, 168, 0.25);
}

.vpolicy__dont {
  background: rgba(232, 56, 122, 0.06);
  border: 1px solid rgba(232, 56, 122, 0.25);
}

.vpolicy__do-title,
.vpolicy__dont-title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vpolicy__do-title svg,
.vpolicy__dont-title svg {
  width: 18px;
  height: 18px;
}

.vpolicy__do-title { color: var(--mint); }
.vpolicy__dont-title { color: var(--pink); }

.vpolicy__do ul,
.vpolicy__dont ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vpolicy__do li,
.vpolicy__dont li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  padding-left: var(--space-5);
  position: relative;
}

.vpolicy__do li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
  font-size: 0.8rem;
}

.vpolicy__dont li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

/* Closing block */
.vpolicy__closing {
  background: rgba(203, 182, 255, 0.1);
  border: 1px solid rgba(203, 182, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.vpolicy__closing h3 {
  font-size: 1.15rem;
  color: var(--lavender);
  margin-bottom: var(--space-4);
}

.vpolicy__closing p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

/* ===================== CLOSING SECTION ===================== */
.closing {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.closing__shapes {
  position: absolute;
  inset: -80px;
  pointer-events: none;
  overflow: hidden;
}

.closing__shape {
  position: absolute;
  border-radius: 50%;
}

.closing__shape--1 {
  width: 380px;
  height: 380px;
  background: var(--lavender);
  opacity: 0.2;
  top: -100px;
  right: -120px;
}

.closing__shape--2 {
  width: 220px;
  height: 220px;
  background: var(--pink);
  opacity: 0.12;
  bottom: -60px;
  left: -80px;
}

.closing__content {
  position: relative;
  z-index: 1;
}

.closing__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--indigo);
  margin-bottom: var(--space-6);
}

.closing__body {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto;
  line-height: 1.8;
}

.closing__body + .closing__body {
  margin-top: var(--space-4);
}

.closing__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--teal-dark);
  color: white;
  padding: var(--space-20) 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer__logo {
  filter: brightness(0) invert(1);
  opacity: 0.75;
  display: block;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 100%;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  justify-content: center;
}

.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--ease);
  white-space: nowrap;
}

.footer__nav a:hover {
  color: var(--lavender);
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  max-width: 60ch;
  line-height: 1.6;
}

/* ===================== ACCORDION ===================== */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion__item {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.accordion__item.is-open {
  border-color: var(--lavender-mid);
  box-shadow: var(--shadow);
}

.accordion__heading {
  margin: 0;
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-8);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--indigo);
  text-align: left;
  transition: background var(--ease);
}

.accordion__trigger:hover,
.accordion__trigger:focus-visible {
  background: var(--lavender-soft);
  outline: none;
}

.accordion__question {
  flex: 1;
}

.accordion__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--text-muted);
  transition: transform var(--ease);
}

.accordion__item.is-open .accordion__icon {
  transform: rotate(180deg);
  color: var(--indigo);
}

.accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion__item.is-open .accordion__panel {
  max-height: 600px;
}

.accordion__body {
  padding: 0 var(--space-8) var(--space-6);
}

.accordion__body p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.accordion__body p + p {
  margin-top: var(--space-3);
}

/* ===================== GLOSSARY ===================== */
.glossary__search-wrap {
  position: relative;
  max-width: 520px;
  margin: 0 auto var(--space-8);
}

.glossary__search-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.glossary__search {
  width: 100%;
  padding: var(--space-3) var(--space-4) var(--space-3) 2.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}

.glossary__search:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(72, 52, 212, 0.1);
}

.glossary__letter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.glossary__letter-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--indigo);
  text-decoration: none;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.glossary__letter-nav a:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: white;
}

.glossary__letter-nav a.is-hidden {
  opacity: 0.25;
  pointer-events: none;
}

.glossary__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.glossary__group {
  scroll-margin-top: 5rem;
}

.glossary__letter-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--indigo);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--lavender-mid);
}

.glossary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.glossary__term {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.glossary__term:hover {
  border-color: var(--lavender-mid);
  box-shadow: var(--shadow-sm);
}

.glossary__term-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: var(--space-2);
}

.glossary__term-def {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.glossary__no-results {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: var(--space-12) 0;
}

.glossary__no-results[hidden] {
  display: none;
}

/* ===================== RESPONSIVE — 1024px ===================== */
@media (max-width: 1024px) {
  .cards--3,
  .cards--players,
  .explainers {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles__grid {
    gap: var(--space-8) var(--space-10);
  }

  .vpolicy__sections {
    grid-template-columns: 1fr;
  }
}

/* ===================== RESPONSIVE — 768px ===================== */
@media (max-width: 768px) {
  :root {
    --space-32: 5rem;
    --space-24: 4rem;
    --space-20: 3.5rem;
    --space-16: 3rem;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    z-index: 100;
    padding: var(--space-8);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    font-size: 1.2rem;
    padding: var(--space-4) var(--space-6);
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: var(--space-20) 0 var(--space-16);
  }

  .hero__shape--1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -80px;
  }

  .hero__shape--2,
  .hero__shape--4 {
    display: none;
  }

  /* Grids */
  .cards--3,
  .cards--players,
  .explainers,
  .risk-grid,
  .policy-framework,
  .vpolicy__sections,
  .vpolicy__dos-donts,
  .principles__grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .step {
    flex-direction: column;
    gap: var(--space-3);
  }

  .step__number {
    width: auto;
    text-align: left;
    font-size: 2.25rem;
  }

  /* Principles box */
  .principles {
    padding: var(--space-8);
  }

  /* Section padding */
  .section {
    padding: var(--space-20) 0;
  }

  /* Accordion */
  .accordion__trigger {
    padding: var(--space-5) var(--space-6);
  }

  .accordion__body {
    padding: 0 var(--space-6) var(--space-5);
  }

  /* Glossary */
  .glossary__list {
    grid-template-columns: 1fr;
  }
}

/* ===================== RESPONSIVE — 480px ===================== */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-5);
  }

  .hero__badge {
    flex-wrap: wrap;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }

  .vpolicy__block {
    padding: var(--space-5) var(--space-6);
  }

  .vpolicy__do,
  .vpolicy__dont {
    padding: var(--space-5) var(--space-6);
  }

  .closing__actions {
    flex-direction: column;
    align-items: center;
  }
}
