:root {
  --bg: #060d15;
  --bg-soft: #0a121b;
  --surface: #0c1620;
  --surface-strong: #111c27;
  --surface-soft: #0f1923;
  --border: rgba(126, 157, 191, 0.18);
  --border-strong: rgba(126, 157, 191, 0.32);
  --text: #edf4ff;
  --muted: #9fb1c6;
  --muted-strong: #c7d4e3;
  --primary: #20d7ba;
  --primary-strong: #18b29a;
  --accent: #e0343f;
  --accent-soft: rgba(224, 52, 63, 0.12);
  --link: #72bdf5;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  --radius: 10px;
  --page-width: 1180px;
  --font-ui: "Instrument Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body[data-page="home"] {
  position: relative;
  min-height: 100vh;
  background: #040a10;
}

body[data-page="home"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top, rgba(32, 215, 186, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(4, 10, 16, 0.5), rgba(4, 10, 16, 0.82));
}

body[data-page="home"] .app-header,
body[data-page="home"] .page {
  position: relative;
  z-index: 1;
}

body[data-page="home"] .panel,
body[data-page="home"] .mini-link,
body[data-page="home"] .summary-tile {
  background: rgba(8, 16, 25, 0.78);
  backdrop-filter: blur(6px);
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.92;
}

a {
  color: var(--link);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

code,
pre {
  font-family: var(--font-mono);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-header {
  border-bottom: 1px solid var(--border);
  background: rgba(6, 13, 21, 0.96);
}

.app-header-inner,
.page,
.footer-inner {
  width: min(100% - 32px, var(--page-width));
  margin: 0 auto;
}

.app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 220ms ease;
}

.site-nav a[aria-current="page"] {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  color: var(--text);
}

.site-nav a:hover {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

.site-nav a[data-site-link="corescope"] {
  border-color: rgba(32, 215, 186, 0.3);
  background: rgba(32, 215, 186, 0.08);
  color: #e7fffb;
  box-shadow:
    inset 0 0 0 1px rgba(32, 215, 186, 0.08),
    0 0 14px rgba(32, 215, 186, 0.08);
  animation: corescopePulse 2.8s ease-in-out infinite;
}

.site-nav a[data-site-link="corescope"]:hover,
.site-nav a[data-site-link="corescope"]:focus {
  border-color: rgba(32, 215, 186, 0.44);
  background: rgba(32, 215, 186, 0.12);
  color: #f2fffd;
}

.site-nav a[data-site-link="carto"],
.carto-link {
  border-color: rgba(224, 52, 63, 0.48);
  background: rgba(224, 52, 63, 0.12);
  color: #fff4f5;
  box-shadow:
    inset 0 0 0 1px rgba(224, 52, 63, 0.14),
    0 0 18px rgba(224, 52, 63, 0.18);
  animation: cartoPulse 2.6s ease-in-out infinite;
}

.site-nav a[data-site-link="carto"]:hover,
.site-nav a[data-site-link="carto"]:focus,
.carto-link:hover,
.carto-link:focus {
  border-color: rgba(224, 52, 63, 0.68);
  background: rgba(224, 52, 63, 0.18);
  color: #ffffff;
}

.page {
  padding: 28px 0 56px;
}

.page.wide {
  width: min(100% - 24px, calc(var(--page-width) + 100px));
}

.page-intro,
.panel,
.link-list a,
.choice-button,
.summary-tile,
.node-row,
.download-item,
.map-shell,
.sidebar-shell,
.redirect-card,
.hero-aside,
.mini-card,
.banner-strip,
.mini-link {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.page-intro,
.panel,
.map-shell,
.sidebar-shell,
.redirect-card,
.hero-aside,
.banner-strip {
  border-radius: var(--radius);
}

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 28px;
  padding: 28px;
  margin-bottom: 20px;
}

.page-intro.compact {
  grid-template-columns: 1fr;
}

.page-intro.centered {
  grid-template-columns: 1fr;
  place-items: center;
}

.page-intro.banner {
  overflow: hidden;
  padding: 0;
  gap: 0;
}

.intro-copy {
  padding: 32px;
}

.home-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.home-launch .button {
  min-width: 220px;
}

.home-panel {
  width: min(100%, 980px);
  margin: 0 auto;
}

.home-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}

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

.home-link-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(8, 16, 25, 0.72);
}

.home-link-group h2 {
  margin: 0;
  font-size: 0.98rem;
}

.home-live-grid {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.home-live-grid .panel {
  margin-bottom: 0;
}

.hero-banner {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.2), rgba(7, 21, 38, 0.45)),
    url("/assets/brand/canadaverse-premium-banner-v2-1920x640.png") center/cover;
  border-left: 1px solid var(--border);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 21, 38, 0.38));
}

.hero-banner-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  max-width: 28rem;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 21, 38, 0.68);
  color: #f3f0e8;
}

.hero-banner-note strong,
.hero-banner-note span {
  display: block;
}

.hero-banner-note span {
  margin-top: 6px;
  color: rgba(243, 240, 232, 0.82);
  font-size: 0.9rem;
}

.wordmark-panel,
.asset-figure,
.code-shell,
.note-card,
.stat-block,
.support-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-strong);
}

.wordmark-panel {
  padding: 14px;
}

.wordmark-panel img {
  width: min(100%, 520px);
}

.badge-mark {
  width: 96px;
}

.asset-figure {
  overflow: hidden;
}

.asset-figure img {
  width: 100%;
  height: auto;
}

.hero-aside {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.hero-meta {
  display: grid;
  gap: 10px;
}

.eyebrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
}

.home-hero-title {
  font-size: clamp(1.55rem, 2vw, 1.9rem);
}

h2 {
  font-size: 1.12rem;
}

h3 {
  font-size: 0.98rem;
}

p {
  margin: 0 0 14px;
}

.lede {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.action-row,
.button-row,
.pill-row,
.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.button {
  background: var(--primary);
  color: #04131f;
}

.button:hover {
  background: var(--primary-strong);
  color: #04131f;
}

.button.carto-link {
  background: rgba(224, 52, 63, 0.95);
  color: #fffafa;
}

.button.carto-link:hover,
.button.carto-link:focus {
  background: #f04b55;
  color: #ffffff;
}

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

.button.secondary:hover {
  background: var(--surface-soft);
}

.button.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.button.ghost:hover {
  background: var(--surface-soft);
}

.button.small,
.mini-link {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.copy-button {
  background: var(--surface-soft);
  border-color: var(--border);
  color: var(--text);
}

.copy-button[data-copy-state="done"] {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.panel {
  padding: 20px;
  margin-bottom: 20px;
}

.panel.flush {
  margin: 0;
  padding: 16px;
}

.panel-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-header.compact {
  align-items: center;
  margin-bottom: 12px;
}

.panel-header > div {
  display: grid;
  gap: 4px;
}

.panel-header p,
.muted,
.table-note,
.field .hint {
  color: var(--muted);
}

.summary-grid,
.tool-grid,
.support-grid,
.metrics-grid,
.selection-grid,
.stats-grid,
.reference-grid,
.icon-grid {
  display: grid;
  gap: 14px;
}

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

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

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

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

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

.summary-tile,
.mini-card,
.support-card,
.note-card,
.stat-block {
  border-radius: 8px;
  padding: 16px;
}

.summary-tile dt {
  color: var(--muted);
  margin-bottom: 6px;
}

.summary-tile dd {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

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

.tile-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
}

.stack {
  display: grid;
  gap: 16px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 20px;
}

.summary-note,
.helper-note {
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.helper-note strong {
  color: var(--text);
}

.helper-note.alert {
  border-color: rgba(224, 52, 63, 0.28);
  color: #ff9ea4;
}

.helper-note.success {
  border-color: rgba(32, 224, 194, 0.28);
  color: #7cf5e2;
}

.spaced-top {
  margin-top: 16px;
}

.choice-button {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  width: 100%;
  min-height: 88px;
  padding: 14px;
  text-align: left;
  border-radius: 8px;
  color: inherit;
}

.choice-button strong {
  font-size: 1rem;
}

.choice-button span {
  color: var(--muted);
}

.choice-button[aria-pressed="true"] {
  border-color: var(--primary);
  background: rgba(32, 215, 186, 0.08);
}

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

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  background: #06111f;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
}

.field textarea {
  min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.button:focus,
.button.secondary:focus,
.button.ghost:focus,
.choice-button:focus,
.copy-button:focus,
summary:focus {
  outline: 3px solid rgba(80, 183, 255, 0.2);
  outline-offset: 2px;
}

.key-value {
  display: grid;
  gap: 10px;
}

.key-value .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
}

.key-value .row:first-child {
  border-top: 0;
  padding-top: 0;
}

.key-value .label {
  color: var(--muted);
}

.code-shell {
  overflow: hidden;
}

.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: #081522;
}

.code-shell pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-toolbar span {
  color: var(--muted);
  font-size: 0.84rem;
}

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

.home-mini-map {
  min-height: 220px;
}

.mini-geo {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(12, 22, 32, 0.94), rgba(8, 17, 28, 0.98));
  overflow: hidden;
}

.mini-geo svg {
  display: block;
  width: 100%;
  height: auto;
}

.mini-geo-empty {
  padding: 18px;
  color: var(--muted);
}

.packet-feed {
  display: grid;
}

.packet-feed-row {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.packet-feed-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.packet-feed-row strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.93rem;
}

.packet-feed-row code,
.packet-feed-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-link {
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: none;
  color: var(--text);
  text-decoration: none;
}

.mini-link:hover {
  border-color: var(--border-strong);
}

.mini-link.carto-link {
  min-height: 38px;
  font-weight: 700;
}

.link-list a,
.download-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
}

.link-list-compact a {
  padding: 12px 14px;
}

.link-list a:hover,
.download-item:hover,
.node-row:hover {
  border-color: var(--border-strong);
}

.link-list a.carto-link {
  border-color: rgba(224, 52, 63, 0.42);
  background: rgba(224, 52, 63, 0.1);
}

.link-list strong,
.download-item strong {
  display: block;
  margin-bottom: 4px;
}

.link-list span:last-child,
.download-item span:last-child {
  color: var(--muted);
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table thead th {
  border-top: 0;
  color: var(--muted);
  font-weight: 600;
}

.ordered-steps,
.simple-list {
  margin: 0;
  padding-left: 20px;
}

.ordered-steps li,
.simple-list li {
  margin-bottom: 10px;
}

.ordered-steps li:last-child,
.simple-list li:last-child {
  margin-bottom: 0;
}

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

.map-shell {
  padding: 14px;
}

#map-canvas {
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.sidebar-shell {
  padding: 18px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.toolbar .field {
  flex: 1 1 220px;
}

.inline-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.inline-stat {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.inline-stat .value {
  font-size: 1.4rem;
  font-weight: 700;
}

.node-list {
  display: grid;
  gap: 8px;
  max-height: 520px;
  overflow: auto;
}

.node-row {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  font: inherit;
  color: inherit;
}

.node-name {
  font-weight: 600;
}

.node-meta,
.status-line,
.table-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.plain-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
}

.redirect-card {
  padding: 28px;
  margin: 40px auto 0;
  max-width: 760px;
}

.banner-strip {
  overflow: hidden;
  min-height: 180px;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.15), rgba(7, 21, 38, 0.35)),
    url("/assets/brand/canadaverse-premium-banner-v2-1500x500.png") center/cover;
}

.support-card strong,
.mini-card strong,
.note-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
}

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

details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--surface);
}

details + details {
  margin-top: 12px;
}

summary {
  position: relative;
  display: block;
  padding: 14px 0;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

#usb-options .selection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--muted);
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details > *:not(summary) {
  margin-bottom: 14px;
}

.footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 28px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.leaflet-container {
  font-family: var(--font-ui);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.leaflet-popup-content {
  margin: 12px;
}

@keyframes corescopePulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(32, 215, 186, 0.08),
      0 0 10px rgba(32, 215, 186, 0.06);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(32, 215, 186, 0.12),
      0 0 18px rgba(32, 215, 186, 0.14);
  }
}

@keyframes cartoPulse {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 1px rgba(224, 52, 63, 0.12),
      0 0 12px rgba(224, 52, 63, 0.12);
  }

  50% {
    box-shadow:
      inset 0 0 0 1px rgba(224, 52, 63, 0.2),
      0 0 24px rgba(224, 52, 63, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-canvas {
    display: none;
  }
}

@media (max-width: 1080px) {
  .page-intro,
  .split,
  .map-layout,
  .page-intro.banner {
    grid-template-columns: 1fr;
  }

  .hero-banner {
    min-height: 280px;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

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

  .tool-grid,
  .support-grid,
  .home-live-grid,
  .home-link-sections,
  .hub-grid,
  .reference-grid,
  .selection-grid,
  .icon-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page {
    padding-top: 20px;
  }

  .page-intro,
  .panel,
  .redirect-card {
    padding: 20px;
  }

  .intro-copy {
    padding: 22px;
  }

  .summary-grid,
  .field-grid,
  .metrics-grid,
  .inline-stats,
  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .key-value .row,
  .link-list a,
  .download-item {
    flex-direction: column;
  }

  #map-canvas {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
