:root {
  --ink: #172022;
  --muted: #5b6b6d;
  --paper: #f6faf9;
  --paper-warm: #fbf7ef;
  --surface: #ffffff;
  --surface-soft: #eef4f2;
  --line: #dce5e2;
  --line-strong: #bdc9c8;
  --ocean: #006565;
  --ocean-dark: #004f4f;
  --blue: #294a86;
  --coral: #ba4a58;
  --gold: #8b5d12;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(23, 32, 34, .08);
  --soft-shadow: 0 8px 20px rgba(23, 32, 34, .055);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(90deg, rgba(0, 101, 101, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 101, 101, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell,
.section-inner,
.hero-content,
.footer-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-shell {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: .98rem;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a,
.mobile-panel a {
  color: #344446;
  text-decoration: none;
  border-radius: 4px;
  font-size: .78rem;
  font-weight: 700;
}

.nav-links a {
  padding: 7px 8px;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--ocean-dark);
  background: #e7f3f1;
  outline: none;
}

.nav-links a.nav-cta,
.mobile-panel a.nav-cta {
  color: var(--white);
  background: var(--coral);
}

.nav-links a.nav-cta {
  margin-left: 6px;
  padding: 7px 12px;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus-visible,
.mobile-panel a.nav-cta:hover,
.mobile-panel a.nav-cta:focus-visible {
  color: var(--white);
  background: #9f3947;
  outline: none;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  z-index: 45;
  padding: 12px 20px 22px;
  overflow-y: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mobile-panel a {
  display: block;
  padding: 13px 8px;
  border-bottom: 1px solid #edf2f1;
}

.mobile-panel.is-open {
  display: block;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 44px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  padding: 6px 10px;
  color: var(--ocean-dark);
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 3.65rem;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero h1 span {
  color: var(--ocean);
}

.hero h2 {
  max-width: 760px;
  margin: 14px auto 0;
  color: #334244;
  font-size: 1.22rem;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 880px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 14px;
  color: var(--ocean-dark);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 850;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover {
  box-shadow: var(--soft-shadow);
}

.button-primary {
  color: var(--white);
  background: var(--ocean);
  border-color: var(--ocean);
}

.button-primary:hover {
  background: var(--ocean-dark);
  border-color: var(--ocean-dark);
}

.button-secondary:hover {
  background: var(--surface);
  border-color: var(--ocean);
}

.registration-callout {
  padding: 24px 0 0;
}

.registration-card {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px;
  background: #fff7e8;
  border: 1px solid #e4bb64;
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.registration-card h2 {
  margin: 2px 0 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.registration-card p {
  max-width: 720px;
  margin: 0;
  color: #4f3f27;
}

.registration-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat {
  min-height: 104px;
  padding: 20px;
  text-align: left;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 1.75rem;
  line-height: 1;
}

.stat span {
  display: block;
  max-width: 360px;
  margin-top: 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.45;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding-top: 0;
}

.section-muted {
  background: rgba(235, 241, 239, .88);
  border-block: 1px solid var(--line);
}

.section-ink {
  color: var(--white);
  background: #053f3e;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-heading.center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--ocean-dark);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-ink .section-kicker {
  color: #f1d18c;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-ink .section-heading h2 {
  color: var(--white);
}

.section-ink .section-heading p {
  color: #cddfdc;
}

.lead {
  margin-top: 0;
  color: #344446;
  font-size: 1.03rem;
  line-height: 1.7;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 40px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.feature {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.feature-icon,
.resource-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ocean-dark);
  background: #dff0ed;
  border-radius: 4px;
}

.feature h3,
.resource h3,
.compact-card h3,
.faq-item h3,
.subtask-body h4,
.timeline-title,
.leaderboard-table caption {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
}

.feature p,
.resource p,
.compact-card p,
.faq-item p,
.subtask-body p,
.turn p,
.error-example p,
.timeline-text {
  margin: 0;
  color: var(--muted);
}

.dialect-panel,
.subtask-card,
.resource,
.compact-card,
.faq-item,
.data-example-card,
.leaderboard-group,
.contact-box,
.table-wrap {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}

.dialect-panel {
  overflow: hidden;
}

.dialect-panel-header {
  padding: 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.dialect-panel-header h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.25;
}

.dialect-panel-header p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.dialect-group-title {
  margin: 18px 18px 0;
  color: #344446;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
}

.dialect-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 14px 18px 18px;
}

.chip,
.track-labels span,
.example-badge,
.date-pill,
.resource .status,
.example-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.chip {
  justify-content: center;
  min-height: 28px;
  padding: 5px 9px;
  color: var(--ocean-dark);
  background: #e5f2ef;
  font-size: .78rem;
  font-weight: 800;
}

.chip.accent {
  color: #7a3c13;
  background: #fdf0d8;
}

.subtask-stack {
  display: grid;
  gap: 18px;
}

.subtask-card {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  overflow: hidden;
}

.subtask-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--ocean);
}

.subtask-card:nth-child(3)::before {
  background: var(--coral);
}

.subtask-side {
  padding: 28px 24px;
  color: var(--ink);
  background: rgba(250, 253, 252, .96);
  border-right: 1px solid var(--line);
}

.subtask-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--ocean-dark);
  background: #dff0ed;
  border-radius: 4px;
  font-size: 1.08rem;
  font-weight: 900;
}

.subtask-card:nth-child(3) .subtask-number {
  color: #7a2732;
  background: #f9e0e3;
}

.subtask-side h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 850;
  letter-spacing: 0;
}

.track-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.track-labels span {
  min-height: 26px;
  padding: 5px 8px;
  color: var(--ocean-dark);
  background: #e5f2ef;
  font-size: .72rem;
  font-weight: 850;
}

.subtask-card:nth-child(3) .track-labels span {
  color: #7a2732;
  background: #fae7e9;
}

.subtask-body {
  padding: 28px;
}

.subtask-body p {
  margin-top: 0;
}

.objective-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.objective-list li {
  margin: 8px 0;
}

.objective-list strong {
  color: var(--ink);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-block {
  padding-top: 14px;
  border-top: 2px solid #b8deda;
}

.info-block:nth-child(2) {
  border-top-color: #ead08f;
}

.info-block:nth-child(3) {
  border-top-color: #e7a3aa;
}

.info-block ul,
.compact-card ul,
.rules-list,
.paper-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.info-block li,
.compact-card li,
.rules-list li,
.paper-list li {
  margin: 8px 0;
}

.guideline-stack {
  display: grid;
  gap: 18px;
}

.paper-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.paper-steps li {
  padding-left: 4px;
}

.paper-steps strong {
  color: var(--ink);
}

.subtask-resource-panel {
  margin-top: 26px;
  padding: 24px 26px;
  background: #eef6fb;
  border: 1px solid #d8e7f0;
  border-radius: 8px;
}

.subtask-resource-panel.accent {
  background: #fbf1f3;
  border-color: #efd5da;
}

.subtask-resource-panel h4 {
  margin: 0 0 16px;
  color: #2148b8;
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1.2;
}

.subtask-resource-panel.accent h4 {
  color: #9b2d3b;
}

.subtask-resource-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subtask-resource-panel li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.subtask-resource-panel i,
.subtask-resource-panel svg {
  width: 26px;
  height: 26px;
  color: #2b5bd7;
}

.subtask-resource-panel.accent i,
.subtask-resource-panel.accent svg {
  color: #ba4a58;
}

.subtask-resource-panel a {
  width: max-content;
  max-width: 100%;
  color: #36424a;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.subtask-resource-panel a:hover,
.subtask-resource-panel a:focus-visible {
  color: var(--ocean-dark);
  outline: none;
}

.subtask-resource-panel.accent a:hover,
.subtask-resource-panel.accent a:focus-visible {
  color: #8f2835;
}

.data-example-grid {
  display: grid;
  gap: 24px;
}

.data-example-card {
  padding: 22px;
}

.example-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.example-card-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0;
}

.example-badge {
  min-height: 26px;
  padding: 5px 8px;
  color: var(--ocean-dark);
  background: #e0f1ee;
  font-size: .7rem;
  font-weight: 850;
  white-space: nowrap;
}

.example-badge.accent {
  color: #7a2732;
  background: #f9e0e3;
}

.example-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.example-meta span {
  min-height: 28px;
  padding: 5px 9px;
  color: #435356;
  background: var(--surface-soft);
  font-size: .8rem;
}

.example-meta strong {
  margin-inline-end: 4px;
}

.dialogue-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dialogue-columns h4,
.error-example h4,
.cross-dialect-example h4 {
  margin: 0 0 10px;
  color: var(--ocean-dark);
  font-size: .88rem;
  font-weight: 850;
  text-transform: uppercase;
}

.turn,
.error-example,
.source-query,
.variant-card {
  background: #f7faf9;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.turn {
  margin-top: 12px;
  padding: 14px;
}

.turn p,
.error-example p {
  margin-top: 8px;
}

.turn[dir="rtl"] p,
.tagged-prediction,
.source-query p,
.variant-card p {
  font-size: 1.04rem;
  line-height: 2.05;
}

.turn-meta {
  display: block;
  color: #647579;
  font-size: .74rem;
  font-weight: 800;
}

.error-example {
  padding: 18px;
}

.cross-dialect-example {
  display: grid;
  gap: 14px;
}

.source-query,
.variant-card {
  padding: 16px;
}

.source-query p,
.variant-card p {
  margin: 0;
  color: var(--ink);
  text-align: right;
}

.translation-variants {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.error-example h4:not(:first-child) {
  margin-top: 20px;
}

.tagged-prediction {
  direction: rtl;
  text-align: right;
}

.error-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  direction: ltr;
  unicode-bidi: isolate;
  margin: 1px 0;
  padding: 3px 5px;
  color: var(--white);
  background: var(--blue);
  font-size: .95em;
  font-weight: 850;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.error-tag b {
  font-weight: 900;
}

.resource-grid,
.compact-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-grid,
.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource,
.compact-card,
.faq-item {
  padding: 18px;
}

.resource {
  min-height: 204px;
}

.resource-icon {
  margin-bottom: 14px;
}

.resource:nth-child(2) .resource-icon {
  color: #243d72;
  background: #e3ebfb;
}

.resource:nth-child(3) .resource-icon {
  color: #7a2732;
  background: #f9e0e3;
}

.resource:nth-child(4) .resource-icon {
  color: #76500e;
  background: #f9edcf;
}

.resource a,
.inline-link {
  color: var(--ocean-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.resource-links {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.resource .status {
  min-height: 25px;
  margin-top: 14px;
  padding: 5px 8px;
  color: #704c0f;
  background: #fdf0d8;
  font-size: .74rem;
  font-weight: 850;
}

.notice-card {
  border-color: #ead08f;
  background: #fff8e9;
}

.timeline {
  display: grid;
  gap: 0;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 178px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-dot {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ocean);
  border-radius: 50%;
}

.timeline-dot svg {
  width: 14px;
  height: 14px;
}

.timeline-title {
  font-size: .98rem;
}

.timeline-text {
  margin: 0;
}

.date-pill {
  justify-self: end;
  min-height: 28px;
  padding: 5px 8px;
  color: var(--ocean-dark);
  background: #e0f1ee;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-box {
  padding: 22px;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}

.contact-box h3 {
  margin: 0 0 8px;
  color: var(--white);
}

.contact-box p {
  margin: 0 0 14px;
  color: #cddfdc;
}

.contact-box a {
  color: #f1d18c;
  font-weight: 850;
}

.organizer-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.organizer-list li {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.organizer-list li:last-child {
  border-bottom: 0;
}

.organizer-list strong {
  display: inline;
  font-size: 1rem;
}

.organizer-list strong::after {
  content: ", ";
  color: var(--muted);
  font-weight: 500;
}

.organizer-list span {
  display: inline;
  color: var(--muted);
}

.organizer-list a {
  color: var(--ocean-dark);
  font-weight: 850;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.logo-row img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.footer {
  padding: 28px 0;
  color: #d5e1df;
  background: #102022;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: #f1d18c;
  font-weight: 800;
}

.page-hero {
  padding: 58px 0 46px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 790px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero .eyebrow {
  color: var(--ocean-dark);
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, .92);
}

.leaderboard-group {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, .7);
}

.leaderboard-group-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.leaderboard-group-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.2;
}

.leaderboard-group-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.leaderboard-track-grid {
  display: grid;
  gap: 16px;
}

.leaderboard-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.leaderboard-table caption {
  padding: 14px 16px;
  text-align: left;
  font-size: 1rem;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.leaderboard-table th {
  color: var(--ocean-dark);
  background: #eef5f3;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.empty-cell {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .icon-button {
    display: grid;
  }
}

@media (max-width: 1040px) {
  .overview-grid,
  .subtask-card,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subtask-side {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-shell,
  .section-inner,
  .hero-content,
  .footer-inner {
    width: min(100% - 28px, 1200px);
  }

  .brand small {
    display: none;
  }

  .hero-content {
    padding: 58px 0 34px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.05rem;
  }

  .hero-copy {
    font-size: .95rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .registration-card {
    width: min(100% - 28px, 1200px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .registration-actions {
    justify-content: stretch;
  }

  .hero-stats,
  .info-grid,
  .info-grid.two,
  .dialogue-columns,
  .translation-variants,
  .resource-grid,
  .compact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 0;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .timeline-item {
    grid-template-columns: 28px 1fr;
  }

  .date-pill {
    grid-column: 2;
    justify-self: start;
  }

  .example-card-header,
  .leaderboard-group-header {
    align-items: flex-start;
    flex-direction: column;
  }

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