:root {
  color-scheme: light;
  --ink: #172321;
  --muted: #5e6b67;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --line: #d9ded8;
  --forest: #2f6f62;
  --forest-dark: #214d45;
  --water: #5c83bd;
  --gold: #d69b2f;
  --terra: #c76035;
  --shadow: 0 18px 48px rgba(23, 35, 33, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

section[id] {
  scroll-margin-top: 96px;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 40px;
  color: #ffffff;
  background: rgba(18, 28, 27, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-aerial,
.logo-ground {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 3.4;
}

.logo-aerial {
  fill: rgba(92, 131, 189, 0.82);
}

.logo-ground {
  fill: rgba(47, 111, 98, 0.9);
}

.logo-grid,
.logo-horizon {
  fill: none;
  stroke: rgba(255, 255, 255, 0.58);
  stroke-linecap: round;
  stroke-width: 2.2;
}

.logo-road {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-width: 3.2;
}

.logo-link {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-width: 3.6;
}

.logo-target {
  fill: var(--gold);
  stroke: #ffffff;
  stroke-width: 2.8;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 88svh;
  display: grid;
  align-content: end;
  gap: 40px;
  padding: 148px 40px 56px;
  color: #ffffff;
  background: url("assets/img/opencvl-country-aerial-background.jpg?v=4k-amsterdam-east-further-south") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 17, 0.82) 0%, rgba(10, 18, 17, 0.62) 36%, rgba(10, 18, 17, 0.34) 72%, rgba(10, 18, 17, 0.18) 100%);
  pointer-events: none;
}

.hero-ground-samples {
  position: absolute;
  z-index: 2;
  inset: 84px 0 10px;
  pointer-events: none;
}

.hero-location-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.location-line {
  stroke: rgba(241, 255, 250, 0.78);
  stroke-width: 1.4px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
}

.location-dot {
  fill: #f4fff9;
  stroke: rgba(17, 34, 31, 0.78);
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.ground-sample {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(92px, 9.6vw, 168px);
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--r));
  animation: ground-sample-in 560ms ease forwards;
  animation-delay: var(--d);
  filter: saturate(0.94) contrast(1.02) brightness(0.86);
}

.ground-sample img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.36);
}

.ground-sample::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 4px;
  box-shadow: inset 0 -24px 42px rgba(0, 0, 0, 0.18);
}

@keyframes ground-sample-in {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 8px)) rotate(var(--r));
  }

  to {
    opacity: 0.78;
    transform: translate(-50%, -50%) rotate(var(--r));
  }
}

.hero-copy,
.hero-stats,
.section,
.site-footer {
  width: min(1180px, calc(100vw - 48px));
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(1500px, calc(100vw - 72px));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.58), 0 1px 2px rgba(0, 0, 0, 0.5);
  transform: translateY(-58px);
}

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

.hero .eyebrow {
  color: #cce2dc;
}

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

h1 {
  max-width: 1500px;
  margin-inline: auto;
  margin-bottom: 22px;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-venue {
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.1;
}

.hero-authors {
  max-width: min(1500px, 100%);
  margin-inline: auto;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.98);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.38;
  white-space: nowrap;
}

.hero-affiliations {
  max-width: 860px;
  margin-inline: auto;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.4;
}

.hero-affiliations span {
  display: block;
}

.hero-affiliations .author-notes {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.94);
}

.hero-affiliations sup {
  font-size: 0.72em;
  line-height: 0;
}

.hero-authors span {
  white-space: nowrap;
}

.hero-authors sup {
  font-size: 0.62em;
  line-height: 0;
}

.hero-actions,
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  width: min(1120px, 100%);
  justify-content: center;
}

.hero-actions .button {
  flex: 1 1 230px;
  max-width: 280px;
  min-height: 60px;
  font-size: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
}

.hero-actions .button:hover,
.hero-actions .button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.68);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--forest);
  border-color: var(--forest);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.36);
}

.access-section .button-secondary {
  color: var(--forest-dark);
  background: var(--surface);
  border-color: var(--line);
}

.download-page .button-secondary {
  color: var(--forest-dark);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(47, 111, 98, 0.22);
}

.download-page .button-secondary:hover,
.download-page .button-secondary:focus-visible {
  background: #ffffff;
  border-color: rgba(47, 111, 98, 0.42);
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
}

.hero-stats div {
  min-height: 108px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  margin-bottom: 4px;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

.section {
  padding-block: 88px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

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

.source-heading {
  max-width: none;
}

.source-heading h2 {
  white-space: nowrap;
}

.section-heading p:last-child,
.visual-copy p,
.access-section p {
  color: var(--muted);
}

.feature-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.source-card {
  min-height: 248px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 35, 33, 0.06);
}

.source-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 16px;
}

.feature-card p,
.source-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  grid-template-areas:
    "media copy"
    "stats stats";
  gap: 42px 42px;
  align-items: start;
  padding: 76px max(24px, calc((100vw - 1180px) / 2));
  background: #edf3ef;
}

.media-panel {
  grid-area: media;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 98, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.media-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.visual-copy {
  grid-area: copy;
  max-width: 520px;
}

.visual-copy > p:not(.eyebrow) {
  max-width: 520px;
}

.visual-copy h2 {
  margin-bottom: 18px;
}

.country-bars {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.country-grid {
  grid-area: stats;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.country-card {
  min-height: 198px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(47, 111, 98, 0.18);
  border-radius: 8px;
}

.country-card span,
.country-card small {
  display: block;
  color: var(--muted);
}

.country-card span {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.country-card strong {
  display: block;
  color: var(--forest-dark);
  font-size: 30px;
  line-height: 1.1;
}

.country-card small {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.country-card dl {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
}

.country-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid rgba(47, 111, 98, 0.14);
}

.country-card dt,
.country-card dd {
  margin: 0;
}

.country-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.country-card dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

.country-row {
  display: grid;
  grid-template-columns: 116px 1fr 84px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
}

meter {
  width: 100%;
  height: 12px;
}

meter::-webkit-meter-bar {
  background: #d8e1df;
  border: 0;
  border-radius: 4px;
}

meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, var(--water), var(--forest), var(--gold));
  border-radius: 4px;
}

meter::-moz-meter-bar {
  background: var(--forest);
  border-radius: 4px;
}

.source-card strong {
  display: block;
  color: var(--forest-dark);
  font-size: 21px;
}

.sample-strip {
  margin: 32px 0 0;
}

.sample-strip img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.split-section {
  border-block: 1px solid var(--line);
}

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

.split-tabs {
  display: grid;
  gap: 8px;
}

.split-tab,
.copy-button {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  text-align: left;
}

.split-tab.is-active {
  color: #ffffff;
  background: var(--forest);
  border-color: var(--forest);
}

.split-panel {
  min-height: 350px;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 35, 33, 0.06);
}

.panel-label {
  margin-bottom: 8px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
}

.split-panel dl div {
  padding: 16px;
  background: #f3f6f2;
  border-radius: 8px;
}

.split-panel dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.split-panel dd {
  margin: 5px 0 0;
  font-weight: 850;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 32px;
  align-items: center;
  background: #e6efe8;
  border: 1px solid rgba(47, 111, 98, 0.18);
  border-radius: 8px;
  padding: 36px;
}

.access-section h2 {
  max-width: 760px;
}

.access-section p {
  max-width: 720px;
  margin-bottom: 0;
}

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

.access-actions .button {
  width: 100%;
  min-height: 54px;
  color: var(--forest-dark);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(47, 111, 98, 0.2);
}

.access-actions .button:hover,
.access-actions .button:focus-visible {
  background: #ffffff;
  border-color: rgba(47, 111, 98, 0.42);
}

.access-actions .is-disabled {
  cursor: not-allowed;
  opacity: 0.74;
}

.access-card {
  display: grid;
  gap: 8px;
}

.access-card span:not(.button) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.download-page {
  background: #f4f6f1;
}

.access-page {
  background: linear-gradient(180deg, #edf3ef 0%, #f8f7f1 48%, #f4f6f1 100%);
}

.download-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 126px;
}

.download-page .site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.download-intro {
  display: grid;
  gap: 18px;
  padding: 48px 0 34px;
  border-bottom: 1px solid var(--line);
}

.download-intro h1 {
  max-width: 980px;
  margin: 0;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.02;
}

.download-intro p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.access-intro {
  padding-bottom: 24px;
  border-bottom: 0;
}

.download-actions,
.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.access-gate {
  display: grid;
  max-width: 860px;
}

.registration-form,
.access-confirmation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 35, 33, 0.08);
}

.registration-form {
  display: grid;
  gap: 22px;
  padding: 28px;
}

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

.registration-form label,
.registration-form fieldset {
  display: grid;
  gap: 8px;
}

.registration-form label span,
.registration-form legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form select,
.registration-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.registration-form textarea {
  resize: vertical;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  outline: 3px solid rgba(92, 131, 189, 0.2);
  border-color: var(--water);
}

.registration-form fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(47, 111, 98, 0.18);
  border-radius: 8px;
}

.registration-form fieldset label {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.registration-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--forest);
}

.registration-form .button {
  width: fit-content;
  min-width: 220px;
}

.access-confirmation {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-top: 28px;
  padding: 26px;
  background: #e6efe8;
  border-color: rgba(47, 111, 98, 0.2);
}

.access-confirmation[hidden] {
  display: none;
}

.access-confirmation h2,
.access-confirmation p {
  margin: 0;
}

.access-confirmation .button {
  width: fit-content;
  margin-top: 8px;
}

.download-section {
  padding: 54px 0 0;
}

.download-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.download-section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.download-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  background: #e6efe8;
  border: 1px solid rgba(47, 111, 98, 0.18);
  border-radius: 8px;
}

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

.download-note li {
  padding-left: 4px;
}

.download-note li::marker {
  color: var(--forest-dark);
  font-weight: 900;
}

.download-note pre {
  background: #101a18;
  border: 1px solid rgba(16, 26, 24, 0.3);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.download-card {
  min-height: 286px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 35, 33, 0.07);
}

.download-card.is-pending {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: none;
}

.download-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.download-card p {
  margin: 0;
  color: var(--muted);
}

.download-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(47, 111, 98, 0.13);
}

.download-card dt,
.download-card dd {
  margin: 0;
}

.download-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card dd {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.download-links .button {
  flex: 1 1 128px;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--forest-dark);
  background: #e7f2ef;
  border: 1px solid rgba(47, 111, 98, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.status-pill.is-ready {
  color: #ffffff;
  background: var(--forest);
}

.status-pill.is-uploading {
  color: #7f4a12;
  background: #fff1d8;
  border-color: rgba(214, 155, 47, 0.34);
}

.status-pill.is-preparing {
  color: var(--forest-dark);
  background: #edf3ef;
}

.citation-box {
  position: relative;
  background: #111c1a;
  border-radius: 8px;
  overflow: hidden;
}

pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: #eaf4ef;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.copy-button {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 940px) {
  .site-header {
    padding: 14px 24px;
  }

  .hero {
    min-height: 82svh;
    padding: 128px 24px 38px;
  }

  .ground-sample {
    width: clamp(72px, 14vw, 126px);
  }

  .hero-copy,
  .hero-stats,
  .section,
  .site-footer {
    width: min(100% - 32px, 760px);
  }

  .hero-copy {
    transform: translateY(-20px);
  }

  h1 {
    font-size: 44px;
  }

  .hero-title-line {
    white-space: normal;
  }

  h2 {
    font-size: 34px;
  }

  .hero-venue {
    font-size: 21px;
  }

  .hero-authors {
    max-width: min(100%, 1500px);
    font-size: clamp(14px, 1.7vw, 22px);
    white-space: nowrap;
  }

  .hero-affiliations {
    max-width: 720px;
    font-size: 17px;
  }

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

  .visual-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "stats";
    padding: 72px 0;
  }

  .media-panel {
    margin-top: 0;
  }

  .visual-copy {
    max-width: none;
  }

  .source-heading h2 {
    white-space: normal;
  }

  .split-layout,
  .download-note,
  .access-section {
    grid-template-columns: 1fr;
  }

  .split-tabs {
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .access-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 76svh;
    gap: 22px;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 130px;
    padding-bottom: 24px;
  }

  .hero-ground-samples {
    top: 118px;
  }

  .ground-sample {
    width: 66px;
  }

  h1 {
    font-size: 25px;
  }

  .download-intro h1 {
    font-size: 38px;
  }

  .hero-copy,
  .hero-stats,
  .section,
  .site-footer {
    width: min(100%, 760px);
  }

  .hero-copy {
    transform: translateY(-8px);
  }

  .hero-title-line {
    white-space: nowrap;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 20px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: min(100%, 470px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .button {
    max-width: none;
    width: auto;
  }

  .feature-grid,
  .source-grid,
  .download-grid,
  .form-grid,
  .split-panel dl {
    grid-template-columns: 1fr;
  }

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

  .hero-venue {
    font-size: 19px;
  }

  .hero-authors {
    font-size: clamp(13px, 2.25vw, 20px);
  }

  .hero-affiliations {
    font-size: 16px;
  }

  .hero-stats div {
    min-height: 88px;
    padding: 15px;
  }

  .hero-stats dt {
    font-size: 24px;
  }

  .hero-stats dd {
    font-size: 11px;
  }

  .section {
    padding-block: 62px;
  }

  .feature-card,
  .source-card {
    min-height: auto;
  }

  .country-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .country-row strong {
    color: var(--muted);
  }

  .media-panel img {
    min-height: 250px;
  }

  .split-panel,
  .access-section {
    padding: 22px;
  }

  pre {
    padding: 78px 18px 20px;
    font-size: 12px;
  }

  .download-note pre {
    padding: 20px;
  }

  .registration-form,
  .access-confirmation {
    padding: 22px;
  }

  .registration-form .button,
  .access-confirmation .button {
    width: 100%;
  }

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

@media (max-width: 520px) {
  .hero-title-line {
    white-space: normal;
  }

  .hero-authors {
    white-space: normal;
  }

  .country-grid,
  .download-grid,
  .access-actions {
    grid-template-columns: 1fr;
  }

  .download-main {
    width: min(100% - 28px, 760px);
    padding-top: 104px;
  }

  .download-page .site-footer {
    width: min(100% - 28px, 760px);
  }

  .download-card {
    min-height: auto;
  }
}
