:root {
  --ink: #111111;
  --muted: #5f6368;
  --line: #d8dde6;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --blue: #0b63ce;
  --blue-dark: #063a78;
  --gold: #f2b705;
  --red: #b3261e;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 194px;
}

.brand-logo {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  color: #33423e;
  font-size: 14px;
}

.primary-nav a:first-child {
  color: var(--blue);
  font-weight: 800;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

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

.button.secondary {
  border-color: #aebbb5;
}

.button.tertiary {
  background: transparent;
}

main > section {
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 56px);
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  min-height: min(640px, calc(100vh - 112px));
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 99, 206, 0.08), transparent 42%),
    #ffffff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 10vw, 128px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  max-width: 980px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.hero-summary,
.section-heading p,
.trial-band p,
.portal-band p,
.company-band p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.catalog-snapshot {
  align-self: center;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.snapshot-header strong {
  color: var(--ink);
}

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

.snapshot-grid div,
.portal-preview div,
.industry-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.snapshot-grid strong,
.portal-preview strong {
  display: block;
  font-size: 26px;
}

.snapshot-grid span,
.portal-preview span,
.dataset-meta span,
.facet-label {
  color: var(--muted);
  font-size: 13px;
}

.mini-map {
  position: relative;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 99, 206, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(11, 99, 206, 0.1) 1px, transparent 1px),
    #eef5ff;
  background-size: 34px 34px;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid white;
  background: var(--blue);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(6, 58, 120, 0.24);
}

.node-us {
  left: 18%;
  top: 48%;
}

.node-ca {
  left: 28%;
  top: 18%;
  background: var(--blue-dark);
}

.node-eu {
  right: 20%;
  top: 34%;
  background: var(--gold);
}

.map-line {
  position: absolute;
  height: 2px;
  background: rgba(17, 17, 17, 0.3);
  transform-origin: left center;
}

.line-one {
  left: 34%;
  top: 38%;
  width: 42%;
  transform: rotate(8deg);
}

.line-two {
  left: 32%;
  top: 62%;
  width: 43%;
  transform: rotate(-18deg);
}

.catalog-band,
.docs-band,
.company-band {
  background: white;
}

.section-heading {
  margin-bottom: 26px;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) repeat(3, minmax(150px, 220px));
  gap: 10px;
  margin-bottom: 18px;
}

.active-category {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.active-category[hidden] {
  display: none;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  min-height: 44px;
  width: 100%;
  border: 1px solid #bfcbc5;
  border-radius: 0;
  background: white;
  color: var(--ink);
  padding: 0 12px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.facet-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.facet-panel strong {
  display: block;
  font-size: 24px;
}

.coverage-bars {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.coverage-bars span {
  position: relative;
  display: grid;
  gap: 6px;
  color: #33423e;
  font-size: 13px;
}

.coverage-bars span::after {
  content: "";
  display: block;
  width: var(--value);
  height: 8px;
  background: var(--blue);
}

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

.dataset-card {
  display: grid;
  gap: 14px;
  min-height: 312px;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
}

.dataset-card:hover {
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.dataset-card p {
  color: var(--muted);
}

.categories-band {
  border-bottom: 1px solid var(--line);
  background: #f7f9fd;
}

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

.category-card {
  display: grid;
  gap: 14px;
  min-height: 270px;
  padding: 16px;
  border: 1px solid var(--line);
  background: white;
}

.category-card.is-active {
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
}

.category-list {
  display: grid;
  gap: 6px;
  align-self: start;
}

.category-list span {
  color: #33423e;
  font-size: 12px;
  line-height: 1.25;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span,
.status-pill {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 8px;
  background: var(--soft);
  color: #33423e;
  font-size: 12px;
  font-weight: 800;
}

.dataset-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.dataset-meta strong {
  display: block;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.button.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.spec-band,
.portal-band {
  border-block: 1px solid var(--line);
  background: var(--soft);
}

.metric-table {
  display: grid;
  border: 1px solid var(--line);
  background: white;
}

.metric-table > div {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.7fr;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.metric-table > div:first-child {
  background: #eef5ff;
  color: #33423e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-table > div:last-child {
  border-bottom: 0;
}

.industry-grid,
.portal-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.industry-grid article {
  display: grid;
  gap: 8px;
  min-height: 136px;
}

.industry-grid span {
  color: var(--muted);
}

.docs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.schema-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111111;
  color: #f5f7fb;
}

.code-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #b8c9c2;
  font-size: 13px;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 18px;
  font-size: 14px;
}

.resource-list {
  display: grid;
  gap: 10px;
}

.resource-list a {
  display: flex;
  min-height: 54px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: var(--soft);
  font-weight: 800;
}

.trial-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--line);
  background: #f7f9fd;
}

.trial-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  background: white;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span {
  color: var(--ink);
  font-weight: 900;
}

.fact-sheet {
  width: min(920px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  border: 1px solid var(--line);
  padding: 0;
  box-shadow: var(--shadow);
}

.fact-sheet::backdrop {
  background: rgba(17, 17, 17, 0.46);
}

.icon-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 52px);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 900;
}

.fact-sheet-body {
  display: grid;
  gap: 20px;
  padding: 26px;
}

.fact-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

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

.fact-grid div,
.schema-table,
.delivery-list {
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--soft);
}

.fact-section,
.faq-list {
  display: grid;
  gap: 10px;
}

.fact-section p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.fact-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.fact-section-grid .fact-section,
.faq-list div {
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--soft);
}

.schema-table {
  display: grid;
  gap: 8px;
}

.schema-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.schema-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.delivery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.no-results {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  padding: 28px;
  background: white;
  color: var(--muted);
}

.portal-page {
  background: var(--soft);
}

.portal-shell {
  min-height: calc(100vh - 72px);
}

.portal-frame-band {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.portal-shell-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.portal-shell-heading h1,
.portal-shell-heading p {
  margin: 0;
}

.portal-shell-heading h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.03;
}

.portal-shell-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
}

.portal-frame {
  width: 100%;
  min-height: calc(100vh - 210px);
  border: 1px solid var(--line);
  background: white;
}

.dataset-page main {
  background: #ffffff;
}

.dataset-detail-hero {
  display: grid;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(11, 99, 206, 0.08), transparent 44%),
    #ffffff;
}

.dataset-detail-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
}

.dataset-detail-hero p {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.detail-main,
.detail-sidebar {
  display: grid;
  gap: 18px;
}

.detail-section,
.detail-panel {
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--panel);
}

.detail-section h2,
.detail-section h3,
.detail-panel h2,
.detail-panel h3 {
  margin-top: 0;
}

.detail-section p,
.detail-panel p {
  color: var(--muted);
}

.detail-list,
.related-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-kv {
  display: grid;
  gap: 10px;
}

.detail-kv div {
  display: grid;
  gap: 3px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.detail-kv div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-card-list {
  display: grid;
  gap: 10px;
}

.related-card-list a {
  border: 1px solid var(--line);
  padding: 12px;
  background: var(--soft);
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .primary-nav {
    order: 3;
    flex-basis: 100%;
  }

  .hero-band,
  .catalog-layout,
  .docs-layout,
  .trial-band,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .portal-shell-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-band {
    min-height: auto;
  }

  .facet-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-action {
    width: 100%;
  }

  .primary-nav {
    gap: 12px;
    font-size: 13px;
  }

  main > section {
    padding-inline: 16px;
  }

  .catalog-toolbar,
  .dataset-grid,
  .category-grid,
  .industry-grid,
  .portal-preview,
  .metric-table > div,
  .fact-grid,
  .fact-header,
  .fact-section-grid,
  .schema-row {
    grid-template-columns: 1fr;
  }

  .dataset-meta {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-snapshot {
    padding: 14px;
  }

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