:root {
  --bg: #e2e8f0;
  --surface: #d0d8e4;
  --card: #ffffff;
  --border: #c4cdd9;
  --text: #0f1e33;
  --text-muted: #5a6a82;
  --primary: #1a3356;
  --secondary: #1a6b5a;
  --danger: #991b1b;
  --accent: #7a3828;
  --shadow-sm: 0 1px 3px rgba(15, 30, 51, 0.06), 0 1px 2px rgba(15, 30, 51, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 30, 51, 0.08), 0 2px 6px rgba(15, 30, 51, 0.05);
  --shadow-lg: 0 12px 32px rgba(15, 30, 51, 0.1), 0 4px 12px rgba(15, 30, 51, 0.06);
  --shadow-xl: 0 20px 48px rgba(15, 30, 51, 0.12), 0 8px 20px rgba(15, 30, 51, 0.07);
  --shadow-accent: 0 6px 20px rgba(122, 56, 40, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 206, 125, 0.36), transparent 30%),
    radial-gradient(circle at top right, rgba(78, 130, 224, 0.18), transparent 28%),
    linear-gradient(180deg, #f5f8fd 0%, #e4ebf4 52%, #d8e1ed 100%);
}

a {
  color: inherit;
}

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  padding: 18px 0 10px;
}

.topbar-inner,
.hero-card,
.hero-side,
.info-card,
.site-footer-card,
.gdist-modal {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  color: var(--primary);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 214, 147, 0.9), rgba(255, 239, 217, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 8px 18px rgba(122, 56, 40, 0.16);
  font-size: 1.15rem;
}

.topbar-nav,
.hero-pills,
.explorer-actions,
.distribution-page-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-link,
.hero-pill,
.explorer-action,
.distribution-page-action,
.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(196, 205, 217, 0.94);
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.topbar-link:hover,
.topbar-link:focus-visible,
.hero-pill:hover,
.hero-pill:focus-visible,
.explorer-action:hover,
.explorer-action:focus-visible,
.distribution-page-action:hover,
.distribution-page-action:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.topbar-link--primary,
.hero-pill--primary,
.distribution-page-action--primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-md), var(--shadow-accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
  padding: 20px 0 16px;
}

.hero-card,
.hero-side {
  border-radius: 30px;
  overflow: hidden;
}

.hero-card {
  padding: 34px 34px 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 215, 139, 0.36), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 253, 0.98) 58%, rgba(216, 229, 247, 0.74));
}

.hero-side {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(78, 130, 224, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
}

.hero-kicker,
.distribution-explorer-kicker {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--text);
}

.hero-lede,
.explorer-heading-copy p,
.info-card p,
.faq-item-content,
.site-footer-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

.hero-lede {
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.hero-side-grid,
.card-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.hero-side-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-stat {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(196, 205, 217, 0.88);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.hero-stat-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-value {
  margin: 8px 0 0;
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-stat-copy {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.hero-flow {
  margin-top: 14px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(196, 205, 217, 0.88);
  background: linear-gradient(135deg, rgba(26, 51, 86, 0.07), rgba(122, 56, 40, 0.08));
}

.hero-flow-title,
.info-card h2,
.info-card h3,
.explorer-heading-copy h1,
.explorer-heading-copy h2 {
  margin: 0 0 10px;
  color: var(--primary);
}

.hero-flow-list,
.content-stack,
.explorer-section,
.faq-stack,
.site-footer-card {
  display: grid;
  gap: 12px;
}

.hero-flow-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.hero-flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--card);
  color: var(--accent);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.hero-flow-step-copy {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.content-stack {
  padding: 14px 0 32px;
}

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

.info-card,
.site-footer-card {
  padding: 22px;
  border-radius: 24px;
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
}

.jump-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid rgba(196, 205, 217, 0.92);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.jump-link:hover,
.jump-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.page-tail {
  display: grid;
  gap: 14px;
}

.hero--compact {
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 14px;
  padding: 2px 0 0;
}

.hero--compact .hero-card {
  padding: 24px 24px 20px;
  border-radius: 26px;
}

.hero--compact .hero-side {
  padding: 18px;
  border-radius: 26px;
}

.hero--compact .hero-kicker {
  margin-bottom: 8px;
  font-size: 0.72rem;
}

.hero--compact .hero-title {
  font-size: clamp(1.55rem, 2.8vw, 2.55rem);
  line-height: 1.08;
}

.hero--compact .hero-lede {
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.hero--compact .hero-pill {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.hero--compact .hero-side-grid {
  gap: 10px;
}

.hero--compact .hero-stat {
  padding: 12px;
  border-radius: 18px;
}

.hero--compact .hero-stat-label {
  font-size: 0.7rem;
}

.hero--compact .hero-stat-value {
  margin-top: 6px;
  font-size: 1.18rem;
}

.hero--compact .hero-stat-copy {
  margin-top: 6px;
  font-size: 0.79rem;
  line-height: 1.35;
}

.hero--compact .hero-flow {
  margin-top: 10px;
  padding: 14px;
  border-radius: 20px;
}

.hero--compact .hero-flow-title {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero--compact .hero-flow-step {
  grid-template-columns: 28px 1fr;
  gap: 8px;
}

.hero--compact .hero-flow-step-number {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
}

.hero--compact .hero-flow-step-copy {
  font-size: 0.84rem;
  line-height: 1.4;
}

.page-tail .card-grid {
  gap: 12px;
}

.page-tail .info-card,
.page-tail .site-footer-card {
  padding: 18px;
  border-radius: 20px;
}

.page-tail .info-card h2,
.page-tail .info-card h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.page-tail .info-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.page-tail .jump-link {
  min-height: 42px;
  border-radius: 16px;
  font-size: 0.88rem;
}

.explorer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.explorer-heading-copy h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.explorer-heading-copy h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.explorer-heading-copy p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  max-width: 760px;
}

.explorer-heading-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.coverage-card-grid {
  align-items: stretch;
}

.coverage-card {
  display: grid;
  gap: 12px;
}

.coverage-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.coverage-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(196, 205, 217, 0.94);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.coverage-link:hover,
.coverage-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.subject-highlight {
  scroll-margin-top: 18px;
}

.subject-highlight .gdist-subject-title {
  color: var(--accent);
}

.subject-highlight .table-responsive {
  border-radius: 20px;
  box-shadow: 0 0 0 3px rgba(122, 56, 40, 0.18);
}

.gdist-overlay {
  position: relative;
  inset: auto;
  display: block;
  padding: 0;
  opacity: 1;
  pointer-events: auto;
  background: transparent;
}

.gdist-modal {
  width: 100%;
  min-height: 720px;
  max-height: none;
  border-radius: 28px;
}

.gdist-modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(26, 51, 86, 0.06), rgba(122, 56, 40, 0.04));
}

.gdist-modal-title {
  margin: 0;
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 800;
}

.gdist-track-tabs {
  display: flex;
  gap: 6px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.gdist-track-tab,
.gdist-sub-tab,
.distribution-tab {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gdist-track-tab {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.gdist-track-tab.active,
.distribution-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.gdist-modal-body,
.topic-history-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.gdist-modal-body {
  padding: 20px 24px 28px;
}

.gdist-subject-block {
  margin-bottom: 28px;
}

.gdist-subject-title {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
}

.gdist-sub-tabs,
.distribution-tabs,
.topic-history-badges,
.topic-history-years {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gdist-sub-tab {
  padding: 5px 12px;
  font-size: 0.75rem;
}

.gdist-sub-tab.active {
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
}

.distribution-meta {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.table-responsive {
  overflow-x: auto;
}

.distribution-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
}

.distribution-table th,
.distribution-table td {
  border: 1px solid var(--border);
  padding: 10px 8px;
}

.distribution-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.distribution-table td:first-child,
.distribution-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
  text-align: left;
  background: var(--card);
  color: var(--text);
  font-weight: 600;
}

.distribution-table th:first-child {
  z-index: 4;
  background: var(--primary);
  color: #fff;
}

.distribution-table tbody tr:nth-child(even) td {
  background: rgba(26, 51, 86, 0.02);
}

.distribution-table tbody tr:nth-child(even) td:first-child {
  background: #f8fafc;
}

.distribution-table tbody tr:hover td {
  background: rgba(26, 107, 90, 0.05);
}

.distribution-topic-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(26, 51, 86, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 252, 0.96));
  color: var(--primary);
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 30, 51, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.distribution-topic-button:hover,
.distribution-topic-button:focus-visible {
  outline: none;
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), var(--shadow-accent);
}

.distribution-topic-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.distribution-topic-label {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  word-break: break-word;
}

.distribution-topic-subtitle {
  color: var(--secondary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.distribution-topic-badge {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(26, 51, 86, 0.08);
  border: 1px solid rgba(26, 51, 86, 0.12);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.distribution-topic-button:hover .distribution-topic-subtitle,
.distribution-topic-button:hover .distribution-topic-badge,
.distribution-topic-button:focus-visible .distribution-topic-subtitle,
.distribution-topic-button:focus-visible .distribution-topic-badge {
  color: #fff;
}

.distribution-topic-button:hover .distribution-topic-badge,
.distribution-topic-button:focus-visible .distribution-topic-badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.2);
}

.topic-history-overlay,
.topic-source-viewer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
}

.topic-history-overlay {
  padding: 20px;
  background: rgba(7, 13, 30, 0.65);
}

.topic-source-viewer-overlay {
  padding: 16px;
  background: rgba(7, 13, 30, 0.78);
}

.topic-history-overlay.open,
.topic-source-viewer-overlay.open {
  display: flex;
}

.topic-history-modal,
.topic-source-viewer-modal {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.topic-history-modal {
  width: min(540px, 90vw);
  max-height: min(calc(100vh - 40px), 780px);
  max-height: min(calc(100dvh - 40px), 780px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.topic-history-header,
.topic-source-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(15, 30, 51, 0.1);
  background: linear-gradient(135deg, rgba(26, 51, 86, 0.08), rgba(122, 56, 40, 0.05));
}

.topic-history-kicker,
.topic-source-viewer-kicker {
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-history-title,
.topic-source-viewer-title {
  margin: 0;
  color: var(--primary);
  font-size: 1.08rem;
}

.topic-history-close,
.topic-source-viewer-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.topic-history-body {
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-history-summary {
  color: var(--primary);
  font-weight: 600;
}

.topic-history-badge,
.topic-history-year {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.topic-history-badge {
  border: 1px solid rgba(26, 51, 86, 0.2);
  background: rgba(122, 56, 40, 0.08);
  color: var(--primary);
}

.topic-history-year {
  border: 1px solid rgba(26, 51, 86, 0.16);
  background: rgba(26, 51, 86, 0.06);
  color: var(--primary);
}

.topic-history-note {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(26, 51, 86, 0.12);
  background: rgba(26, 51, 86, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.topic-history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-history-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.topic-history-card-year {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
  font-weight: 800;
}

.topic-history-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.topic-history-card-title {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.topic-history-card-meta,
.topic-history-card-source-label,
.muted-copy {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.topic-history-card-copy {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.topic-history-card-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.topic-history-card-link,
.topic-source-viewer-external {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.topic-history-card-link:hover,
.topic-history-card-link:focus-visible,
.topic-source-viewer-external:hover,
.topic-source-viewer-external:focus-visible {
  outline: none;
  text-decoration: underline;
}

.topic-history-empty {
  padding: 24px 0;
  color: var(--text-muted);
  text-align: center;
}

.topic-source-viewer-modal {
  width: min(1100px, calc(100vw - 32px));
  height: min(88vh, 900px);
  height: min(88dvh, 900px);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
}

.topic-source-viewer-body {
  flex: 1 1 auto;
  min-height: 0;
  background: #eef2f8;
}

.topic-source-viewer-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.topic-source-viewer-footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(15, 30, 51, 0.1);
  background: rgba(26, 51, 86, 0.03);
}

.faq-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.faq-item {
  border-radius: 20px;
  border: 1px solid rgba(196, 205, 217, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--primary);
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item-content {
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .hero,
  .card-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .jump-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
  }

  .topbar-inner,
  .hero-card,
  .hero-side,
  .info-card,
  .site-footer-card,
  .gdist-modal {
    border-radius: 22px;
  }

  .topbar-inner,
  .hero,
  .explorer-heading {
    align-items: flex-start;
  }

  .topbar-inner,
  .explorer-heading {
    flex-direction: column;
  }

  .hero-card {
    padding: 24px 20px 20px;
  }

  .hero-side {
    padding: 20px;
  }

  .hero--compact .hero-card {
    padding: 18px 16px 16px;
  }

  .hero--compact .hero-side {
    padding: 16px;
  }

  .hero--compact .hero-title {
    font-size: 1.45rem;
  }

  .hero--compact .hero-pill {
    min-height: 34px;
    font-size: 0.8rem;
  }

  .hero-side-grid,
  .jump-link-grid {
    grid-template-columns: 1fr;
  }

  .coverage-link-cloud {
    gap: 8px;
  }

  .coverage-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 40px;
  }

  .gdist-modal-header {
    padding: 16px 16px 12px;
  }

  .gdist-track-tabs,
  .gdist-modal-body {
    padding-inline: 16px;
  }

  .gdist-modal-body {
    padding-bottom: 20px;
  }

  .topic-history-overlay {
    padding: 12px;
    align-items: flex-start;
  }

  .topic-history-body {
    padding: 14px 16px 18px;
  }

  .topic-history-card {
    grid-template-columns: 64px 1fr;
    align-items: start;
  }

  .distribution-topic-button {
    padding: 10px 12px;
    border-radius: 15px;
  }

  .distribution-topic-label {
    font-size: 0.9rem;
  }

  .distribution-topic-subtitle,
  .distribution-topic-badge {
    font-size: 0.62rem;
  }

  .topic-source-viewer-overlay {
    padding: 0;
  }

  .topic-source-viewer-modal {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
}
