/* ============================================================
   C3NTR — /disciplines/* leaf page styles
   Built on the existing tokens in style.css (—bg, —surface,
   —gold, —text, —muted, —font, —radius). Adds .disc-* primitives
   for the SEO landing pages. Mobile first. Dark mode default.
   ============================================================ */

/* === LOCAL TOKENS (additive) =============================== */
:root {
  --disc-section-py: clamp(72px, 9vw, 120px);
  --disc-section-py-tight: clamp(56px, 7vw, 96px);
  --disc-prose-w: 65ch;
  --disc-card-pad: clamp(22px, 3vw, 32px);
  --disc-shadow-soft: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -8px rgba(0,0,0,.5);
  --disc-shadow-gold: 0 0 0 1px var(--border-gold), 0 24px 60px -16px var(--gold-glow);
  --disc-ease: cubic-bezier(.22,.61,.36,1);
}

/* === BASE OVERRIDES (tighten line-height inside prose) ===== */
.disc-skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--gold);
  color: #1a1306;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 200;
}
.disc-skip:focus { left: 16px; outline: none; }

/* Nav + button styles inherit from /style.css. We only add new
   selectors below for mega-menu + 3-col footer. */

/* === BUTTONS (additive — disc pages use larger CTAs) ======== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .005em;
  white-space: nowrap;
  user-select: none;
  transform: translateZ(0);
  isolation: isolate;
  transition:
    transform .35s cubic-bezier(.22,.68,.32,1),
    box-shadow .35s cubic-bezier(.22,.68,.32,1),
    filter .25s ease-out;
  will-change: transform;
}
.btn:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

/* Primary — gold. Modern hover: subtle lift+scale, gold glow expansion,
   shimmer sweep across the button surface, soft press state. */
.btn-gold {
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 100%);
  color: #1a1306;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(0,0,0,.08),
    0 1px 2px rgba(0,0,0,.10),
    0 6px 18px -6px rgba(184,150,62,.32);
}
.btn-gold::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .8s cubic-bezier(.22,.68,.32,1);
  pointer-events: none;
  z-index: -1;
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.018);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.36),
    inset 0 -1px 0 rgba(0,0,0,.06),
    0 4px 8px rgba(0,0,0,.12),
    0 22px 44px -12px rgba(184,150,62,.55);
}
.btn-gold:hover::before { transform: translateX(100%); }
.btn-gold:active {
  transform: translateY(0) scale(.992);
  filter: brightness(.97);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.16),
    0 0 0 rgba(0,0,0,.10),
    0 2px 8px -4px rgba(184,150,62,.30);
  transition: transform .14s ease-out, filter .14s ease-out, box-shadow .14s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .btn-gold, .btn-gold::before { transition: filter .15s ease-out, box-shadow .15s ease-out; }
  .btn-gold:hover, .btn-gold:active { transform: none; }
  .btn-gold::before { display: none; }
}

/* Force the scrolled navbar styling on sub pages — main style.css's
   .navbar.scrolled rule was losing its background paint on Safari sub
   pages (blur applied but tint didn't). !important locks it in. */
.navbar.scrolled {
  background: rgba(9, 9, 11, 0.86) !important;
  -webkit-backdrop-filter: saturate(140%) blur(20px) !important;
  backdrop-filter: saturate(140%) blur(20px) !important;
  border-bottom-color: var(--border) !important;
}

/* When the mobile drawer is open, paint the navbar with the SAME
   solid colour the drawer panel uses at its top edge (#0d0d11), so
   there's no visible seam between the floating navbar and the dark
   panel beneath it. Drop the bottom keyline too — the seam should
   disappear, not be drawn as a divider. No backdrop blur needed:
   the drawer covers everything behind, there's nothing to blur. */
.navbar.menu-open {
  background: #0d0d11 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}

/* Secondary — ghost */
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.btn-ghost:hover {
  background: var(--surface-h);
  border-color: rgba(184,150,62,.30);
  transform: translateY(-1.5px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 28px -14px rgba(184,150,62,.18);
}
.btn-ghost:active { transform: translateY(0); transition: transform .12s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .btn-ghost:hover { transform: none; }
}

.btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }

/* === MOBILE NAV TOGGLE + CLAUDE-STYLE DROP-DOWN DRAWER ====== */
/* Mirrors the claude.ai/login pattern: the drawer drops in BEHIND
   the navbar, so the brand mark and the hamburger never move and
   are never duplicated. The same hamburger morphs to X to close.
   The panel fills the viewport top-to-bottom, with the navbar
   floating above it (z-index 100 in style.css > 50 here). */
.nav-mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  transition: background .2s var(--disc-ease), border-color .2s var(--disc-ease);
}
.nav-mobile-toggle:hover { background: var(--surface-h); border-color: rgba(184,150,62,.32); }
.nav-mobile-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-mobile-bar {
  position: absolute;
  left: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .28s var(--disc-ease), width .28s var(--disc-ease), opacity .2s ease-out, top .28s var(--disc-ease);
}
.nav-mobile-bar-1 { top: 15px; width: 20px; }
.nav-mobile-bar-2 { top: 21px; width: 20px; }
.nav-mobile-bar-3 { top: 27px; width: 20px; }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-bar-1 { top: 21px; transform: rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-bar-2 { opacity: 0; width: 0; }
.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-bar-3 { top: 21px; transform: rotate(-45deg); }

/* Drawer layer sits BELOW the navbar (z-index 100 in style.css) so the
   logo + the X-morphed hamburger stay visible and tappable above the
   panel at all times. The panel itself fills the viewport top-to-bottom;
   its scrollable content area starts BELOW the navbar band so nothing
   is hidden by the floating header. */
.nav-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}
.nav-mobile-menu[data-open="true"] { pointer-events: auto; }

.nav-mobile-panel {
  --nav-band-h: 72px;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d0d11 0%, var(--bg) 100%);
  padding-bottom: env(safe-area-inset-bottom, 0);
  /* Drop-in animation: panel fades + slides down a touch behind the
     navbar. The navbar's own backdrop-filter handles the visual
     transition the user sees in the brand area. */
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition:
    opacity .26s ease-out,
    transform .32s cubic-bezier(.22,.68,.32,1);
  will-change: opacity, transform;
}
.nav-mobile-menu[data-open="true"] .nav-mobile-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Scrolling content area starts below the floating navbar band so
   the first section header doesn't sit underneath the logo. */
.nav-mobile-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--nav-band-h) + 12px) 20px 8px;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile-section + .nav-mobile-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.nav-mobile-h {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin: 0 0 12px;
}

/* Discipline grid (2 cols) — same shape as before */
.nav-mobile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.nav-mobile-card {
  display: block;
  padding: 14px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background .15s var(--disc-ease), color .15s var(--disc-ease), border-color .15s var(--disc-ease);
  /* Min-44pt tap target */
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile-card:hover,
.nav-mobile-card:focus-visible {
  background: var(--surface);
  color: var(--text);
  border-color: rgba(184,150,62,.32);
  outline: none;
}

/* "Can't find your discipline?" pill */
.nav-mobile-ask {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(184,150,62,.08);
  border: 1px dashed rgba(184,150,62,.32);
  color: var(--gold-lt);
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  min-height: 44px;
  transition: background .15s var(--disc-ease), border-color .15s var(--disc-ease);
}
.nav-mobile-ask:hover,
.nav-mobile-ask:focus-visible {
  background: rgba(184,150,62,.14);
  border-color: rgba(184,150,62,.5);
  outline: none;
}
.nav-mobile-ask-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.nav-mobile-ask-icon svg { width: 18px; height: 18px; }

/* List rows (Explore / Company) */
.nav-mobile-list {
  display: flex;
  flex-direction: column;
}
.nav-mobile-row {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background .15s var(--disc-ease), color .15s var(--disc-ease), padding-left .15s var(--disc-ease);
}
.nav-mobile-row + .nav-mobile-row { border-top: 1px solid rgba(255,255,255,.04); }
.nav-mobile-row:hover,
.nav-mobile-row:focus-visible {
  background: var(--surface);
  padding-left: 12px;
  outline: none;
}

/* Pinned footer, Get started CTA. Polished so the button reads as a
   pill with consistent vertical rhythm and the foot strip blends back
   into the panel gradient without a hard divider line. */
.nav-mobile-foot {
  padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0));
  border-top: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.35) 100%);
  flex-shrink: 0;
}
.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  border-radius: 14px;
  padding: 0 18px;
  text-align: center;
}

/* Reduced motion: snap instead of slide */
@media (prefers-reduced-motion: reduce) {
  .nav-mobile-panel { transition: none; }
  .nav-mobile-bar { transition: none; }
}

/* Toggle desktop vs mobile chrome */
@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto; /* push to right; brand stays on the left */
  }
  /* On mobile the desktop "Get started" pill is hidden — the CTA lives
     at the bottom of the drawer instead. */
  .nav-cta { display: none !important; }
  /* Slightly roomier scrolled backdrop so the 44pt hamburger has air */
  .navbar.scrolled {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  body.nav-mobile-open { overflow: hidden; }
}

/* Logo hit area — expand clickable region via padding so transparent
   SVG areas above/below the image still register clicks. */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 10px;
  margin: -18px -10px;
  border-radius: 8px;
  transition: background .2s var(--disc-ease);
}
.nav-brand:hover { background: var(--surface); }
.nav-brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.nav-brand .nav-logo-img { pointer-events: none; }

/* === HERO ================================================== */
.disc-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: flex-end;
  padding: clamp(72px, 12vw, 140px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.disc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.85) brightness(.6);
  transform: scale(1.03);
  z-index: -2;
}
.disc-hero-bg-fallback {
  background: radial-gradient(circle at 30% 20%, rgba(184,150,62,.22), transparent 55%), linear-gradient(135deg, #1a1410 0%, #09090b 70%);
}
.disc-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,.55) 0%, rgba(9,9,11,.85) 80%, rgba(9,9,11,1) 100%);
  z-index: -1;
}
.disc-hero-inner {
  position: relative;
  max-width: min(900px, 100%);
}
.disc-hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 5px 10px 4px;
  background: rgba(184,150,62,.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--pill);
}
.disc-hero-h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  margin: 0 0 20px;
}
.disc-hero-sub {
  font-size: clamp(17px, 2.3vw, 22px);
  color: rgba(250,250,250,.84);
  max-width: 60ch;
  line-height: 1.5;
  margin-bottom: 32px;
}
.disc-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.disc-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  font-size: 13.5px;
  color: var(--muted);
}
.disc-hero-trust-item { display: inline-flex; align-items: center; gap: 8px; }
.disc-trust-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 999px; }

/* === SECTIONS ============================================== */
.disc-section {
  padding: var(--disc-section-py) 0;
  position: relative;
}
.disc-section + .disc-section { border-top: 1px solid var(--border); }
.disc-section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 18px;
  max-width: 26ch;
}
.disc-section-body {
  font-size: clamp(16.5px, 1.6vw, 18.5px);
  color: rgba(250,250,250,.82);
  line-height: 1.65;
  max-width: var(--disc-prose-w);
}
.disc-section-intro {
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  color: var(--muted);
  max-width: var(--disc-prose-w);
  margin-bottom: 32px;
  line-height: 1.6;
}
.disc-prose { max-width: var(--disc-prose-w); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === PERSONAS GRID ========================================= */
.disc-personas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.disc-persona-card {
  padding: var(--disc-card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--disc-ease), border-color .25s var(--disc-ease), background .25s var(--disc-ease);
}
.disc-persona-card:hover {
  transform: translateY(-2px);
  background: var(--surface-h);
  border-color: rgba(184,150,62,.28);
}
.disc-persona-label {
  font-size: 17.5px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -.005em;
}
.disc-persona-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* === GRADE PILL + INTRO ==================================== */
.disc-pill {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(184,150,62,.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-lt);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: var(--pill);
  margin-bottom: 18px;
}

/* === GLOSSARY ============================================== */
.disc-glossary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.disc-glossary-item {
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s var(--disc-ease), background .2s var(--disc-ease);
}
.disc-glossary-item:hover { background: var(--surface-h); border-color: rgba(184,150,62,.25); }
.disc-glossary-term {
  font-size: 19px;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 6px;
  letter-spacing: -.005em;
}
.disc-glossary-def {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* === TEMPLATE CALLOUT ====================================== */
.disc-template-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  text-align: center;
  background: linear-gradient(180deg, rgba(184,150,62,.06), rgba(184,150,62,.02));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  box-shadow: var(--disc-shadow-gold);
  overflow: hidden;
}
.disc-template-card::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, var(--gold-glow), transparent 60%);
  transform: translateX(-50%);
  pointer-events: none;
}
.disc-template-icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(184,150,62,.14);
  border: 1px solid var(--border-gold);
  color: var(--gold-lt);
  margin-bottom: 20px;
}
.disc-template-icon svg { width: 26px; height: 26px; }
.disc-template-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.disc-template-body {
  font-size: 15.5px;
  color: rgba(250,250,250,.82);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 28px;
}
.disc-template-meta {
  display: block;
  font-size: 12px;
  color: var(--subtle);
  margin-top: 22px;
  font-family: 'SF Mono', ui-monospace, monospace;
}
.disc-template-card.no-template {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-color: var(--border);
  box-shadow: var(--disc-shadow-soft);
}
.disc-template-card.no-template::before { display: none; }
.disc-template-card.no-template .disc-template-icon {
  background: var(--surface);
  border-color: var(--border);
  color: var(--muted);
}

/* === SCREENSHOTS =========================================== */
.disc-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 12px;
}
.disc-screenshot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.disc-screenshot-frame {
  position: relative;
  aspect-ratio: 9/16;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #16161a, #0d0d10);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 18px 14px;
  overflow: hidden;
  box-shadow: 0 32px 64px -24px rgba(0,0,0,.6);
  transition: transform .3s var(--disc-ease), border-color .3s var(--disc-ease);
}
.disc-screenshot:hover .disc-screenshot-frame {
  transform: translateY(-4px);
  border-color: rgba(184,150,62,.32);
}
.disc-screenshot-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(184,150,62,.06) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: discShimmer 2.6s var(--disc-ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .disc-screenshot-skeleton { animation: none; opacity: .35; }
}
@keyframes discShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}
.disc-screenshot-mockup {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.disc-mockup-bar {
  height: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.disc-mockup-content {
  flex: 1;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  background-image:
    linear-gradient(rgba(184,150,62,.05), rgba(184,150,62,.02)),
    repeating-linear-gradient(0deg, transparent 0, transparent 18px, rgba(255,255,255,.04) 18px, rgba(255,255,255,.04) 19px);
}
.disc-mockup-content-1 {
  background-image:
    radial-gradient(circle at 50% 20%, rgba(184,150,62,.15), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0, transparent 22px, rgba(255,255,255,.04) 22px, rgba(255,255,255,.04) 23px);
}
.disc-mockup-content-2 {
  background-image:
    linear-gradient(180deg, rgba(184,150,62,.08), transparent 30%),
    repeating-linear-gradient(0deg, transparent 0, transparent 14px, rgba(255,255,255,.05) 14px, rgba(255,255,255,.05) 15px);
}
.disc-mockup-content-3 {
  background-image:
    linear-gradient(180deg, rgba(184,150,62,.1), transparent 50%),
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(184,150,62,.1) 60px, rgba(184,150,62,.1) 61px);
}
.disc-screenshot-caption {
  font-size: 14px;
  color: var(--muted);
  max-width: 26ch;
  margin: 0 auto;
  line-height: 1.5;
}

/* === THIS NOT THAT ========================================= */
.disc-tnt-grid {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  max-width: 820px;
}
.disc-tnt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.disc-tnt-this, .disc-tnt-not {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
}
.disc-tnt-this { color: var(--text); }
.disc-tnt-not { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(161,161,170,.4); }
.disc-tnt-mark {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.disc-tnt-mark-yes { background: rgba(184,150,62,.16); color: var(--gold-lt); }
.disc-tnt-mark-no { background: rgba(255,255,255,.04); color: var(--subtle); }
@media (max-width: 600px) {
  .disc-tnt-row { grid-template-columns: 1fr; }
  .disc-tnt-not { text-decoration: none; }
}

/* === PRICING =============================================== */
.disc-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.disc-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--disc-ease), border-color .25s var(--disc-ease);
}
.disc-pricing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(184,150,62,.28);
}
.disc-pricing-card.is-featured {
  background: linear-gradient(180deg, rgba(184,150,62,.07), rgba(184,150,62,.02));
  border-color: var(--border-gold);
  box-shadow: var(--disc-shadow-gold);
}
.disc-pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  color: #1a1306;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--pill);
}
.disc-pricing-tier {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.disc-pricing-price {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.disc-pricing-annual {
  font-size: 13px;
  color: var(--subtle);
  margin-top: 4px;
  min-height: 18px;
}
.disc-pricing-limit {
  font-size: 14px;
  color: var(--text);
  margin-top: 16px;
  font-weight: 500;
}
.disc-pricing-note {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 22px;
}

/* === META ================================================== */
.disc-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.disc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--disc-card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.disc-meta-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(184,150,62,.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-lt);
}
.disc-meta-icon svg { width: 22px; height: 22px; }
.disc-meta-h { font-size: 17px; font-weight: 600; }
.disc-meta-item p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* === RECOMMEND TO TEACHER ================================== */
.disc-recommend .disc-section-title { color: var(--gold-lt); }
.disc-share-row {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.disc-share-btn {
  position: relative;
  overflow: hidden;
}
.disc-share-btn svg { width: 18px; height: 18px; }
.disc-share-btn.is-copied { background: linear-gradient(180deg, #6fa46f, #4d8a4d); color: #fff; }
.disc-share-btn.is-copied svg { transform: scale(.9); }
.disc-share-preview {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
  max-width: 56ch;
}

/* === FAQS ================================================== */
.disc-faq-list {
  margin-top: 28px;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.disc-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s var(--disc-ease), background .2s var(--disc-ease);
  overflow: hidden;
}
.disc-faq-item:hover { border-color: rgba(184,150,62,.22); }
.disc-faq-item[open] {
  background: var(--surface-h);
  border-color: rgba(184,150,62,.32);
}
.disc-faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
}
.disc-faq-q::-webkit-details-marker { display: none; }
.disc-faq-q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.disc-faq-chevron {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  color: var(--muted);
  transition: transform .25s var(--disc-ease), color .25s var(--disc-ease);
  flex-shrink: 0;
}
.disc-faq-chevron svg { width: 18px; height: 18px; }
.disc-faq-item[open] .disc-faq-chevron { transform: rotate(180deg); color: var(--gold-lt); }
.disc-faq-a {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 65ch;
}

/* === SIBLINGS ============================================== */
.disc-siblings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.disc-sibling-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: transform .2s var(--disc-ease), background .2s var(--disc-ease), border-color .2s var(--disc-ease);
}
.disc-sibling-card:hover {
  transform: translateY(-2px);
  background: var(--surface-h);
  border-color: rgba(184,150,62,.3);
}
.disc-sibling-card:hover .disc-sibling-arrow { color: var(--gold-lt); transform: translateX(3px); }
.disc-sibling-arrow {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  color: var(--muted);
  transition: transform .25s var(--disc-ease), color .25s var(--disc-ease);
}
.disc-sibling-arrow svg { width: 20px; height: 20px; }

/* === HOME HERO (sunset glow at bottom, centred 3-line headline) ===== */
.home-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
/* Sunset glow: concentrated along the bottom edge so it reads as a horizon
   bleeding into the next section. No top glow — keeps the eye on the
   headline. The bottom fade ensures a seamless join with the next bg. */
.home-hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 55% at 50% 108%, rgba(184,150,62,.36), transparent 60%),
    radial-gradient(ellipse 50% 30% at 20% 100%, rgba(184,150,62,.16), transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 100%, rgba(184,150,62,.16), transparent 60%),
    var(--bg);
}
.home-hero-glow::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  /* Smooth join into the next section's background colour */
  background: linear-gradient(180deg, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}
.home-hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.home-hero-inner .disc-hero-eyebrow { margin-bottom: 22px; }
.home-hero-h1 {
  font-size: clamp(50px, 10vw, 116px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.03em;
  margin: 0 0 28px;
  color: var(--text);
}
.home-hero-gold {
  display: inline-block;
  background: linear-gradient(120deg, var(--gold-lt) 0%, var(--gold) 60%, #8a6520 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.home-hero-sub {
  font-size: clamp(17px, 2.1vw, 21px);
  color: rgba(250,250,250,.86);
  max-width: 56ch;
  line-height: 1.55;
  margin: 0 auto 36px;
}
.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin: 0 0 14px;
}
.home-hero-inner .disc-hero-tour {
  display: block;
  width: fit-content;
  margin: 0 auto 28px;
}
.home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}
.home-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.home-hero-trust-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 999px;
  flex-shrink: 0;
}
/* Mobile: smaller H1, drop secondary CTA, tighter padding so the
   trust strip clears the iOS Safari bottom bar. */
@media (max-width: 768px) {
  .home-hero {
    min-height: 0;
    padding: clamp(88px, 16vw, 120px) 0 clamp(40px, 8vw, 64px);
  }
  .home-hero-h1 { margin: 0 0 18px; }
  .home-hero-sub { margin: 0 auto 24px; font-size: 16px; }
  .home-hero-cta { margin: 0 0 10px; }
  .home-hero-inner .disc-hero-tour { margin: 0 auto 20px; }
  .home-hero-cta-secondary { display: none; }
  .home-hero-trust { gap: 10px 16px; font-size: 12.5px; }
}

/* === LANDING HERO (4-tile montage + rotating headline) ===== */
.disc-landing-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 11vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.disc-landing-hero-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: -2;
}
.disc-landing-tile {
  background-size: cover;
  background-position: center;
  filter: saturate(.7) brightness(.45);
  transition: filter .6s var(--disc-ease);
}
.disc-landing-tile-1 { transform: scale(1.04); }
.disc-landing-tile-2 { transform: scale(1.02) translateY(8px); }
.disc-landing-tile-3 { transform: scale(1.03) translateY(-8px); }
.disc-landing-tile-4 { transform: scale(1.05); }
.disc-landing-tile-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(184,150,62,.18), transparent 55%),
    linear-gradient(180deg, rgba(9,9,11,.55) 0%, rgba(9,9,11,.82) 70%, rgba(9,9,11,1) 100%);
  z-index: 1;
}
.disc-landing-hero-inner {
  position: relative;
  z-index: 2;
}
.disc-landing-h1 {
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 16px 0 24px;
}
.disc-landing-rotate {
  display: inline-block;
  position: relative;
  min-width: 8ch;
  height: 1.25em;
  line-height: 1.25;
  padding-bottom: 0.06em;
  vertical-align: bottom;
  overflow: visible;
}
.disc-landing-rotate-word {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: discRotate 18s linear infinite;
}
.disc-landing-rotate-word:nth-child(1) { animation-delay:  0s; }
.disc-landing-rotate-word:nth-child(2) { animation-delay:  3s; }
.disc-landing-rotate-word:nth-child(3) { animation-delay:  6s; }
.disc-landing-rotate-word:nth-child(4) { animation-delay:  9s; }
.disc-landing-rotate-word:nth-child(5) { animation-delay: 12s; }
.disc-landing-rotate-word:nth-child(6) { animation-delay: 15s; }
@keyframes discRotate {
  0%   { opacity: 0; transform: translateY(8px); }
  3%   { opacity: 1; transform: translateY(0); }
  16%  { opacity: 1; transform: translateY(0); }
  19%  { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .disc-landing-rotate-word { animation: none; opacity: 0; }
  .disc-landing-rotate-word:nth-child(6) { opacity: 1; color: var(--gold-lt); background: none; -webkit-background-clip: initial; background-clip: initial; }
}
.disc-landing-sub {
  font-size: clamp(17px, 2.2vw, 22px);
  color: rgba(250,250,250,.84);
  max-width: 60ch;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* === LANDING STATS STRIP =================================== */
.disc-landing-stats {
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(184,150,62,.04), transparent);
}
.disc-landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(20px, 3vw, 36px);
  text-align: center;
}
.disc-landing-stat-num {
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 700;
  letter-spacing: -.025em;
  background: linear-gradient(120deg, var(--gold-lt), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  font-feature-settings: "tnum";
}
.disc-landing-stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
}

/* === LANDING CATEGORY GRID ================================= */
.disc-landing-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.disc-landing-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .3s var(--disc-ease), border-color .3s var(--disc-ease);
  color: var(--text);
}
.disc-landing-cat-card:hover, .disc-landing-cat-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(184,150,62,.4);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.6);
  outline: none;
}
.disc-landing-cat-img {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
  position: relative;
}
.disc-landing-cat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,9,11,.1) 0%, rgba(9,9,11,.6) 100%);
  transition: opacity .3s var(--disc-ease);
}
.disc-landing-cat-card:hover .disc-landing-cat-img::after { opacity: .3; }
.disc-landing-cat-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.disc-landing-cat-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.disc-landing-cat-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}
.disc-landing-cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--gold-lt);
  font-weight: 500;
}
.disc-landing-cat-arrow {
  transition: transform .25s var(--disc-ease);
}
.disc-landing-cat-card:hover .disc-landing-cat-arrow { transform: translateX(4px); }

/* === CATEGORY PAGE GRID ==================================== */
.disc-cat-intro .disc-section-body + .disc-section-body { margin-top: 14px; }

.disc-cat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.disc-cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--disc-ease), border-color .25s var(--disc-ease), background .25s var(--disc-ease);
  color: var(--text);
}
.disc-cat-card:hover, .disc-cat-card:focus-visible {
  transform: translateY(-3px);
  background: var(--surface-h);
  border-color: rgba(184,150,62,.4);
  outline: none;
}
.disc-cat-card-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #1a1410;
  position: relative;
}
.disc-cat-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9,9,11,.5));
}
.disc-cat-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.disc-cat-card-name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.disc-cat-card-progression {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.disc-cat-card-cta {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gold-lt);
  margin-top: 4px;
  transition: transform .2s var(--disc-ease);
}
.disc-cat-card:hover .disc-cat-card-cta { transform: translateX(3px); }

/* === ASK / REQUEST DISCIPLINE ============================== */
.disc-ask-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.disc-ask-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(184,150,62,.1);
  border: 1px solid var(--border-gold);
  color: var(--gold-lt);
  margin-bottom: 18px;
}
.disc-ask-icon svg { width: 24px; height: 24px; }
.disc-ask-h {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.disc-ask-body {
  font-size: 15.5px;
  color: rgba(250,250,250,.78);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 24px;
}
.disc-ask-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.nav-megamenu-resource-ask {
  margin-left: auto;
  color: var(--gold-lt);
}
.nav-megamenu-resource-ask:hover { color: var(--text); }
.nav-megamenu-resource-ask .nav-megamenu-resource-icon { color: var(--gold-lt); }

@media (max-width: 720px) {
  .nav-megamenu-resource-ask { margin-left: 0; margin-top: 6px; flex-basis: 100%; }
}

/* === FINAL CTA ============================================= */
.disc-final-cta {
  background: linear-gradient(180deg, rgba(184,150,62,.05), transparent 70%);
}
.disc-final-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.disc-final-cta-h {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -.015em;
  max-width: 22ch;
  margin-bottom: 0;
}
.disc-final-cta-sub {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 20px;
}

/* === STICKY MOBILE CTA ===================================== */
.disc-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(9,9,11,.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform .3s var(--disc-ease);
  display: none;
}
.disc-sticky-cta.is-visible { transform: translateY(0); }
.disc-sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.disc-sticky-cta-label {
  font-size: 13.5px;
  color: var(--muted);
}
@media (max-width: 768px) {
  .disc-sticky-cta { display: block; }
}

/* === REVEAL ANIMATIONS ===================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--disc-ease), transform .5s var(--disc-ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .disc-persona-card, .disc-glossary-item, .disc-sibling-card, .disc-screenshot-frame, .disc-pricing-card { transition: none; }
}

/* === HERO TERTIARY (TOUR LINK) ============================= */
.disc-hero-tour {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold-lt);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s var(--disc-ease), border-color .15s var(--disc-ease);
}
.disc-hero-tour:hover, .disc-hero-tour:focus-visible {
  color: var(--text);
  border-color: var(--gold);
  outline: none;
}

/* === EASE OF USE =========================================== */
.disc-ease-head { max-width: 720px; margin-bottom: 40px; }
.disc-ease-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.disc-ease-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--disc-card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: border-color .25s var(--disc-ease), transform .25s var(--disc-ease);
}
.disc-ease-item:hover {
  border-color: rgba(184,150,62,.28);
  transform: translateY(-2px);
}
.disc-ease-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-lt);
  font-feature-settings: "tnum";
}
.disc-ease-label {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.005em;
}
.disc-ease-body {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* === INTEROPERABILITY ====================================== */
.disc-interop-head { max-width: 720px; margin-bottom: 40px; }
.disc-interop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.disc-interop-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background .2s var(--disc-ease), border-color .2s var(--disc-ease);
}
.disc-interop-item:hover {
  background: var(--surface-h);
  border-color: rgba(184,150,62,.22);
}
.disc-interop-check {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  background: rgba(184,150,62,.14);
  color: var(--gold-lt);
  border: 1px solid var(--border-gold);
}
.disc-interop-check svg { width: 16px; height: 16px; }
.disc-interop-label {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -.005em;
}
.disc-interop-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* === COMPLIANCE ============================================ */
.disc-compliance-head { max-width: 720px; margin-bottom: 40px; }
.disc-pill-green {
  background: rgba(108, 180, 130, .12);
  border-color: rgba(108, 180, 130, .35);
  color: #9dd9b0;
}
.disc-compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.disc-compliance-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--disc-card-pad);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--disc-ease);
}
.disc-compliance-item:hover { border-color: rgba(108, 180, 130, .35); }
.disc-compliance-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(108, 180, 130, .12);
  color: #9dd9b0;
  border: 1px solid rgba(108, 180, 130, .25);
}
.disc-compliance-icon svg { width: 20px; height: 20px; }
.disc-compliance-label {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
}
.disc-compliance-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.disc-compliance-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* === MEGA-MENU (in nav) ==================================== */
.nav-megamenu {
  position: relative;
  display: inline-block;
}
.nav-megamenu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}
.nav-megamenu-trigger:hover, .nav-megamenu-trigger:focus-visible {
  color: var(--text);
  background: var(--surface);
  outline: none;
}
.nav-megamenu-trigger[aria-expanded="true"] { color: var(--text); background: var(--surface); }
.nav-megamenu-chevron {
  width: 14px; height: 14px;
  transition: transform .2s var(--disc-ease);
}
.nav-megamenu-trigger[aria-expanded="true"] .nav-megamenu-chevron { transform: rotate(180deg); }

.nav-megamenu-panel {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(720px, calc(100vw - 32px));
  background: rgba(15, 15, 18, .98);
  backdrop-filter: saturate(150%) blur(20px);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 24px 60px -16px rgba(0,0,0,.7);
  padding: 24px 24px 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--disc-ease), transform .18s var(--disc-ease), visibility 0s linear .18s;
  z-index: 80;
}
.nav-megamenu[data-open="true"] .nav-megamenu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity .18s var(--disc-ease), transform .18s var(--disc-ease), visibility 0s linear 0s;
}
.nav-megamenu-section-h {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 12px;
}
.nav-megamenu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 18px;
}
.nav-megamenu-card {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s var(--disc-ease), background .15s var(--disc-ease);
}
.nav-megamenu-card:hover, .nav-megamenu-card:focus-visible {
  color: var(--text);
  background: var(--surface);
  outline: none;
}
.nav-megamenu-divider {
  height: 1px;
  background: var(--border);
  margin: 6px -8px 14px;
}
.nav-megamenu-resources {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 4px;
}
.nav-megamenu-resource {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 0;
  transition: color .15s var(--disc-ease);
}
.nav-megamenu-resource:hover { color: var(--gold-lt); }
.nav-megamenu-resource-icon { width: 14px; height: 14px; color: var(--gold); }

@media (max-width: 720px) {
  .nav-megamenu-panel {
    width: calc(100vw - 24px);
    left: 12px;
    transform: translateY(-8px);
  }
  .nav-megamenu[data-open="true"] .nav-megamenu-panel {
    transform: translateY(0);
  }
  .nav-megamenu-grid { grid-template-columns: repeat(2, 1fr); }
}

/* === 3-COLUMN FOOTER ======================================= */
footer { padding-top: 64px; }
.footer-3col {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.footer-col-h {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 18px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color .15s var(--disc-ease);
}
.footer-col-links a:hover { color: var(--text); }
.footer-3col .footer-brand { margin-bottom: 16px; }
.footer-trust-line {
  font-size: 12px;
  color: var(--subtle);
  letter-spacing: .02em;
  line-height: 1.5;
}
.footer-3col .footer-store-badges {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-divider {
  max-width: var(--max-w);
  margin: 48px auto 24px;
  padding: 0 var(--pad-x);
  border-top: 1px solid var(--border);
}
@media (max-width: 800px) {
  .footer-3col { grid-template-columns: 1fr 1fr; text-align: center; justify-items: center; }
  .footer-3col .footer-brand-col { grid-column: 1 / -1; }
  .footer-3col .footer-brand { flex-direction: column; align-items: center; text-align: center; }
  .footer-col-links { align-items: center; }
  .footer-3col .footer-app-col { grid-column: 1 / -1; }
  .footer-3col .footer-store-badges {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
  }
  .footer-3col .footer-store-badges .store-badge { flex: 1 1 0; justify-content: center; }
}
@media (max-width: 480px) {
  .footer-3col { grid-template-columns: 1fr; gap: 32px; }
}

/* === FINE TUNES ============================================ */
@media (max-width: 600px) {
  .disc-hero { min-height: 460px; padding-bottom: 80px; }
  .disc-hero-trust { gap: 12px 18px; font-size: 12.5px; }
  .disc-section { padding: var(--disc-section-py-tight) 0; }
  .disc-tnt-row { padding: 14px 16px; }
  .disc-faq-q { padding: 18px 20px; font-size: 15px; }
  .disc-interop-item { padding: 18px 20px; }
  .disc-compliance-cta { margin-top: 28px; }
}

/* === HOME SCREENS STRIP ===================================== */
/* Horizontal scroll-snap rail of phone-frame previews. Sits in the
   sunset bleed beneath the hero. Each frame shows a stylised app
   surface rendered entirely in CSS — no image dependencies — so
   the section ships today and degrades gracefully if a frame is
   ever swapped for a real screenshot. */
.home-screens {
  position: relative;
  padding: 0 0 clamp(48px, 8vw, 96px);
  overflow: hidden;
  background: var(--bg);
}
.home-screens-head {
  text-align: center;
  margin: 0 auto clamp(28px, 4vw, 48px);
}
.home-screens-head .disc-hero-eyebrow { margin-bottom: 14px; }
.home-screens-h {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--text);
}
.home-screens-wrap {
  position: relative;
  /* Soft fade on both edges so the strip melts back into the page */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 7%, black 93%, transparent 100%);
}
.home-screens-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 12px clamp(24px, 6vw, 72px) 36px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.home-screens-strip::-webkit-scrollbar { display: none; }
.home-screens-strip.is-dragging { cursor: grabbing; user-select: none; scroll-snap-type: none; }

.home-screen {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.home-screen-frame {
  position: relative;
  width: 220px;
  height: 446px; /* ~19.5:9 device aspect, like an iPhone Pro */
  border-radius: 36px;
  background: #0a0a0d;
  border: 1.5px solid rgba(255,255,255,.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(184,150,62,.08);
  overflow: hidden;
  transition: transform .35s var(--disc-ease), box-shadow .35s var(--disc-ease);
}
.home-screen:hover .home-screen-frame,
.home-screen:focus-within .home-screen-frame {
  transform: translateY(-4px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 40px 70px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(184,150,62,.22);
}
.home-screen-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
/* Per-screen stylised art — pure CSS so we ship today */
.home-screen-art {
  position: absolute;
  inset: 0;
  padding: 44px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(184,150,62,.18), transparent 60%),
    linear-gradient(180deg, #1a1410 0%, #09090b 70%);
}
.home-screen-art::before {
  /* Status bar */
  content: "9:41";
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}
.home-screen-art::after {
  /* App tab bar */
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
/* HOME — welcome card + 2 content tiles */
.home-screen-art-home {
  background:
    radial-gradient(140% 70% at 50% 0%, rgba(184,150,62,.32), transparent 55%),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
}
.home-screen-art-home > div { display: none; }
.home-screen-art-home {
  background-image:
    radial-gradient(140% 70% at 50% 0%, rgba(184,150,62,.32), transparent 55%),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
}
/* Helper inner shapes via gradient stripes for each variant */
.home-screen-art-home,
.home-screen-art-explore,
.home-screen-art-article,
.home-screen-art-terms,
.home-screen-art-search,
.home-screen-art-today,
.home-screen-art-branding {
  background-repeat: no-repeat;
}
.home-screen-art-home {
  background-image:
    /* Welcome card */
    linear-gradient(180deg, rgba(184,150,62,.22) 0, rgba(184,150,62,.05) 100%),
    /* Two content tiles */
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    192px 70px,
    91px 110px,
    91px 110px,
    100% 100%;
  background-position:
    50% 50px,
    14px 134px,
    115px 134px,
    0 0;
}
.home-screen-art-explore {
  background-image:
    /* Section title */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)),
    /* Grid of 6 squares */
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(rgba(184,150,62,.18), rgba(184,150,62,.04)),
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(rgba(184,150,62,.18), rgba(184,150,62,.04)),
    linear-gradient(rgba(255,255,255,.08), rgba(255,255,255,.04)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    100px 8px,
    91px 80px, 91px 80px,
    91px 80px, 91px 80px,
    91px 80px, 91px 80px,
    100% 100%;
  background-position:
    14px 52px,
    14px 78px, 115px 78px,
    14px 168px, 115px 168px,
    14px 258px, 115px 258px,
    0 0;
}
.home-screen-art-article {
  background-image:
    /* Hero image */
    linear-gradient(135deg, rgba(184,150,62,.42), rgba(184,150,62,.08)),
    /* Title bar */
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)),
    /* Body lines */
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    192px 120px,
    150px 12px,
    180px 6px, 170px 6px, 175px 6px, 130px 6px,
    100% 100%;
  background-position:
    14px 50px,
    14px 182px,
    14px 208px, 14px 222px, 14px 236px, 14px 250px,
    0 0;
}
.home-screen-art-terms {
  background-image:
    /* Section title */
    linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)),
    /* List rows */
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    100px 8px,
    192px 56px, 192px 56px, 192px 56px, 192px 56px, 192px 56px,
    100% 100%;
  background-position:
    14px 52px,
    14px 72px, 14px 134px, 14px 196px, 14px 258px, 14px 320px,
    0 0;
}
.home-screen-art-search {
  background-image:
    /* Search bar */
    linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)),
    /* Recent + results */
    linear-gradient(rgba(184,150,62,.2), rgba(184,150,62,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(rgba(255,255,255,.06), rgba(255,255,255,.06)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    192px 38px,
    192px 80px,
    192px 56px, 192px 56px,
    100% 100%;
  background-position:
    14px 50px,
    14px 100px,
    14px 196px, 14px 260px,
    0 0;
}
.home-screen-art-today {
  background-image:
    /* Pill row */
    linear-gradient(rgba(184,150,62,.25), rgba(184,150,62,.08)),
    /* Announcement cards */
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.04)),
    linear-gradient(rgba(255,255,255,.07), rgba(255,255,255,.04)),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    140px 22px,
    192px 100px, 192px 100px,
    100% 100%;
  background-position:
    14px 50px,
    14px 84px, 14px 196px,
    0 0;
}
.home-screen-art-branding {
  background-image:
    /* Logo circle */
    radial-gradient(circle, rgba(184,150,62,.6) 0%, rgba(184,150,62,.18) 60%, transparent 70%),
    /* Title */
    linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)),
    /* Swatch row */
    linear-gradient(90deg, #b8963e 0 25%, #2a3a5a 25% 50%, #5a3a2a 50% 75%, #3a5a2a 75% 100%),
    linear-gradient(180deg, #1a1410 0%, #09090b 60%);
  background-size:
    96px 96px,
    140px 12px,
    192px 18px,
    100% 100%;
  background-position:
    62px 80px,
    40px 196px,
    14px 226px,
    0 0;
}

.home-screen-label {
  margin: 14px 0 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}
.home-screen-caption {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 220px;
}

@media (max-width: 768px) {
  .home-screens { padding: 8px 0 56px; }
  .home-screen, .home-screen-frame { width: 188px; }
  .home-screen-frame { height: 382px; border-radius: 32px; }
  .home-screen-notch { width: 60px; height: 18px; }
  .home-screens-strip { gap: 16px; padding: 8px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-screen-frame { transition: none; }
  .home-screens-strip { scroll-behavior: auto; }
}

/* === SCROLL-MARGIN for anchor jumps ========================== */
/* The sticky navbar floats over the page on every screen size, so any
   `<a href="#anchor">` jump (or scrollIntoView) needs the target to
   land BELOW the nav band — not behind it. The home navbar is ~72px
   tall when scrolled; we leave 96px to give the eyebrow / headline
   a little air. */
section[id],
.home-screens,
.disc-section,
.section {
  scroll-margin-top: 96px;
}
