:root {
  --hash-canvas: #f4f5f7;
  --hash-paper: #ffffff;
  --hash-panel: #fcfcfd;
  --hash-panel-alt: #f7f8fa;
  --hash-ink: #111214;
  --hash-muted: #5f6672;
  --hash-line: rgba(17, 18, 20, 0.12);
  --hash-line-strong: rgba(17, 18, 20, 0.24);
  --hash-accent: #181a1f;
  --hash-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --hash-display: Inter, "IBM Plex Sans", "Helvetica Neue", Arial, Pretendard, sans-serif;
  --hash-body: Inter, "IBM Plex Sans", "Helvetica Neue", Arial, Pretendard, sans-serif;
}

html {
  background: var(--hash-canvas);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96) 0%, rgba(244, 245, 247, 0.98) 48%, #eef1f4 100%) !important;
  color: var(--hash-ink) !important;
  font-family: var(--hash-body) !important;
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 0.16em;
}

.page {
  max-width: 1280px;
}

.top-nav {
  border-bottom: 1px solid var(--hash-line-strong) !important;
  padding-bottom: 1rem !important;
}

.brand-wrap {
  align-items: center;
}

.brand,
.brand-title {
  font-family: var(--hash-display) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em !important;
  font-size: 0.92rem !important;
}

.brand-sub {
  color: var(--hash-muted) !important;
  font-family: var(--hash-body) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em !important;
  font-size: 0.78rem !important;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 100%;
  height: 1.5px;
  background: var(--hash-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.page-hero,
.stats-hub-hero,
.draft-hero,
.hero:not(.team-gradient) {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.3rem !important;
  border: 1px solid var(--hash-line-strong) !important;
  border-radius: 8px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%) !important;
  color: var(--hash-ink) !important;
  box-shadow: var(--hash-shadow) !important;
}

.page-hero::before,
.stats-hub-hero::before,
.draft-hero::before,
.hero:not(.team-gradient)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(17, 18, 20, 0.04) 0 1px, transparent 1px 100%);
  background-size: 34px 34px;
  opacity: 0.55;
  pointer-events: none;
}

.page-hero::after,
.stats-hub-hero::after,
.draft-hero::after,
.hero:not(.team-gradient)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--hash-accent);
  pointer-events: none;
}

.page-hero > *,
.stats-hub-hero > *,
.draft-hero > *,
.hero:not(.team-gradient) > * {
  position: relative;
  z-index: 1;
}

.hero-carousel {
  border: 1px solid var(--hash-line-strong) !important;
  border-radius: 8px !important;
  box-shadow: var(--hash-shadow) !important;
  overflow: hidden !important;
  background: #101115 !important;
}

.page-hero h1,
.stats-hub-hero h1,
.draft-hero h1,
.hero h1,
.hero-copy h1,
.hero-copy h2,
.coming-soon-box h1,
.hub-tile h2,
.cluster-head h2,
.team-name,
.card-name,
.panel-head h2,
.content-row h3,
.row-copy h3,
.detail-heading {
  font-family: var(--hash-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.02;
}

.page-hero h1,
.stats-hub-hero h1,
.draft-hero h1,
.hero h1,
.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.5rem) !important;
}

.page-hero p,
.stats-hub-hero p,
.draft-hero p,
.hero:not(.team-gradient) p {
  color: var(--hash-muted) !important;
  max-width: 74ch;
}

.hero-kicker,
.eyebrow,
.row-label,
.cluster-kicker,
.jump-kicker,
.card-kicker,
.fact-label,
.control label,
.process-item strong,
.snapshot-card strong,
.source-card strong,
.glossary-modal-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em !important;
  font-weight: 800;
  color: var(--hash-muted) !important;
}

.panel,
.content-row,
.hub-tile,
.jump-card,
.cluster-section,
.toolbar,
.term-card,
.news-card,
.news-list-wrap,
.news-item,
.player-card,
.process-item,
.source-card,
.snapshot-card,
.viz-panel,
.team-card,
.coming-soon-box,
.fact,
.latest-story-row .row-preview,
.latest-video-embed,
.video-carousel,
.contact-methods,
.table-wrap,
.control select,
.control input,
select,
input,
.glossary-modal-panel {
  border: 1px solid var(--hash-line-strong) !important;
  border-radius: 6px !important;
  box-shadow: var(--hash-shadow) !important;
}

.panel,
.content-row,
.hub-tile,
.jump-card,
.cluster-section,
.toolbar,
.term-card,
.news-card,
.news-item,
.player-card,
.process-item,
.source-card,
.snapshot-card,
.viz-panel,
.team-card,
.fact,
.coming-soon-box,
.latest-video-embed,
.video-carousel,
.contact-methods,
.glossary-modal-panel {
  background: var(--hash-paper) !important;
}

.hub-tile.coming,
.coming-soon-box,
.source-card,
.snapshot-card.jj,
.snapshot-card.rich,
.snapshot-card.otc,
.process-note,
.toolbar,
.category-count,
.cluster-total,
.chip,
.auth-nav-chip,
.team-pill,
.glossary-modal-badges .badge {
  background: var(--hash-panel-alt) !important;
}

.chip,
.auth-nav-chip,
.team-pill,
.category-count,
.cluster-total,
.glossary-modal-badges .badge {
  border: 1px solid var(--hash-line-strong) !important;
  border-radius: 6px !important;
  color: var(--hash-ink) !important;
  box-shadow: none !important;
}

.auth-nav-link,
.auth-nav-button,
.social,
.social-button,
.row-link,
.link,
.back,
.team-link,
.hero-cta,
.news-quick-link,
button,
.video-play,
.glossary-modal-close {
  border: 1px solid var(--hash-accent) !important;
  border-radius: 4px !important;
  background: var(--hash-accent) !important;
  color: #ffffff !important;
  font-family: var(--hash-body) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  transition:
    background-color 140ms ease,
    color 140ms ease,
    border-color 140ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
  box-shadow: none !important;
}

.auth-nav-link:hover,
.auth-nav-link:focus-visible,
.auth-nav-button:hover,
.auth-nav-button:focus-visible,
.social:hover,
.social:focus-visible,
.social-button:hover,
.social-button:focus-visible,
.row-link:hover,
.row-link:focus-visible,
.link:hover,
.link:focus-visible,
.back:hover,
.back:focus-visible,
.team-link:hover,
.team-link:focus-visible,
.hero-cta:hover,
.hero-cta:focus-visible,
.news-quick-link:hover,
.news-quick-link:focus-visible,
button:hover,
button:focus-visible,
.video-play:hover,
.video-play:focus-visible,
.glossary-modal-close:hover,
.glossary-modal-close:focus-visible {
  background: #ffffff !important;
  color: var(--hash-accent) !important;
  border-color: var(--hash-accent) !important;
  transform: translateY(-1px);
}

input,
select {
  background: #ffffff !important;
  color: var(--hash-ink) !important;
  font-family: var(--hash-body) !important;
}

input::placeholder {
  color: #818896 !important;
}

table {
  background: #ffffff;
}

th {
  background: #15171c !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem !important;
  border-bottom: 1px solid #15171c !important;
}

td {
  border-bottom: 1px solid rgba(17, 18, 20, 0.08) !important;
}

tbody tr:hover td {
  background: #f7f8fa !important;
}

.hero-dot,
.video-dot {
  width: 24px !important;
  height: 4px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.35) !important;
}

.hero-dot.is-active,
.video-dot.is-active {
  background: #ffffff !important;
}

.hero-arrow,
.video-arrow {
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(8px);
  color: #ffffff !important;
}

.hero-arrow:hover,
.hero-arrow:focus-visible,
.video-arrow:hover,
.video-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #111111 !important;
}

.jump-card,
.hub-tile,
.team-card,
.term-card,
.player-card,
.news-card,
.process-item,
.snapshot-card,
.source-card,
.viz-panel,
.fact,
.glossary-modal-panel {
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.jump-card:hover,
.hub-tile:hover,
.team-card:hover,
.term-card:hover,
.player-card:hover,
.news-card:hover,
.process-item:hover,
.snapshot-card:hover,
.source-card:hover,
.viz-panel:hover,
.fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
  border-color: rgba(17, 18, 20, 0.32) !important;
}

.site-footer {
  border-top: 1px solid var(--hash-line-strong) !important;
}

.social-buttons {
  gap: 0.65rem;
}

.term-link,
.news-title,
.source-card a,
.crumb {
  color: var(--hash-accent) !important;
  font-weight: 700 !important;
}

.category-block {
  border-top-color: rgba(17, 18, 20, 0.09) !important;
}

.detail-panel p,
.detail-list li,
.card-sub,
.card-note,
.snapshot-sub,
.panel-head p,
.hero p,
.news-card p,
.content-row p,
.cluster-head p,
.category-block p,
.lang-block p,
.contact-list li,
.term-card span:last-child,
.glossary-modal-body p,
.glossary-modal-en {
  color: var(--hash-muted) !important;
}

.glossary-modal-panel {
  background: rgba(255, 255, 255, 0.985) !important;
}

.glossary-modal-head {
  border-bottom: 1px solid rgba(17, 18, 20, 0.08) !important;
}

.glossary-modal-head h2 {
  letter-spacing: -0.04em !important;
}

.glossary-modal-backdrop {
  background: rgba(10, 12, 16, 0.66) !important;
}

.team-gradient,
.hero.team-gradient,
.grid .card.team-gradient,
body.teams-directory-page .grid .card.team-gradient {
  box-shadow: var(--hash-shadow) !important;
}

.grid .card.team-gradient .link,
.hero.team-gradient .back {
  border-color: rgba(255, 255, 255, 0.74) !important;
}

@media (max-width: 900px) {
  .page-hero h1,
  .stats-hub-hero h1,
  .draft-hero h1,
  .hero h1,
  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(1.6rem, 8vw, 2.65rem) !important;
  }
}
