:root {
  --ink: #17212d;
  --ink-soft: #405064;
  --paper: #f6f3ed;
  --surface: #fffdf9;
  --line: #d9d5cc;
  --line-dark: rgba(255, 255, 255, 0.18);
  --lavender: #beb3df;
  --lavender-deep: #6b5c9c;
  --coral: #e46e55;
  --coral-dark: #a94b3d;
  --mint: #b8d4bf;
  --gold: #e0b765;
  --blue: #92b7d1;
  --shadow: 0 14px 28px rgba(23, 33, 45, 0.08);
  --radius: 7px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(246, 243, 237, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 26px;
}

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

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-fallback {
  display: none;
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 800;
}

.brand-mark img[style*="display: none"] + .brand-fallback,
.brand-mark.is-fallback .brand-fallback {
  display: block;
}

.brand-mark.is-fallback img {
  display: none;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.brand-copy span {
  margin-top: 5px;
  color: var(--lavender-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.site-nav a,
.header-source,
.footer-links a {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--coral-dark);
  border-bottom-color: var(--coral);
}

.header-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.header-source:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
}

.menu-toggle {
  display: none;
  padding: 8px 11px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffdf9;
  background: var(--ink);
}

.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: #1a2432;
  background-image: url("/media/peak-final-ascent.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: soft-light;
  opacity: 0.46;
}

.hero-grid {
  display: grid;
  min-height: 610px;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 68px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(228, 110, 85, 0.16);
}

.hero h1,
.section h2,
.source-section h2,
.legal-main h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: 62px;
  line-height: 1.04;
}

.hero-lede {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 253, 249, 0.82);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fffdf9;
  background: var(--coral);
}

.button-primary:hover {
  background: #f18066;
}

.button-quiet {
  color: #fffdf9;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.button-quiet:hover {
  background: rgba(255, 255, 255, 0.17);
}

.button-outline {
  margin-top: 26px;
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  color: #fffdf9;
  background: var(--ink);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
}

.hero-facts div {
  display: grid;
  gap: 3px;
}

.hero-facts strong {
  color: #fffdf9;
  font-size: 22px;
  line-height: 1;
}

.hero-facts span {
  color: rgba(255, 253, 249, 0.62);
  font-size: 11px;
  font-weight: 700;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  background: #d8d4df;
  border: 1px solid rgba(23, 33, 45, 0.2);
  border-radius: var(--radius);
}

.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-frame figcaption {
  padding: 10px 13px;
  color: var(--ink-soft);
  background: var(--surface);
  font-size: 11px;
  line-height: 1.4;
}

.hero-media {
  box-shadow: 18px 20px 0 rgba(228, 110, 85, 0.34);
  transform: rotate(1.3deg);
}

.hero-media figcaption {
  color: rgba(255, 253, 249, 0.7);
  background: #263447;
}

.signal-band {
  background: var(--coral);
  color: #fffdf9;
}

.signal-grid {
  display: grid;
  min-height: 92px;
  grid-template-columns: 1.1fr 1.2fr 1.3fr auto;
  align-items: center;
  gap: 25px;
}

.signal-item {
  display: grid;
  gap: 2px;
  padding: 15px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.signal-item strong {
  font-size: 16px;
}

.signal-item span:last-child {
  color: rgba(255, 253, 249, 0.77);
  font-size: 11px;
}

.signal-label {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.signal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.signal-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}

.section-map {
  background: var(--paper);
}

.section-updates {
  background: #e8e4f0;
}

.section-database {
  background: var(--surface);
}

.section-badges {
  background: #e7eee8;
}

.section-guide {
  background: var(--paper);
}

.section-faq {
  background: #ede8df;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.section-heading-row .eyebrow,
.source-section .eyebrow,
.legal-main .eyebrow {
  margin-bottom: 12px;
  color: var(--lavender-deep);
}

.section h2,
.source-section h2 {
  font-size: 42px;
  line-height: 1.1;
}

.section-kicker,
.section-link {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--ink-soft);
}

.section-link:hover {
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.map-layout,
.updates-layout,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: start;
  gap: 42px;
}

.map-media,
.update-media,
.guide-media {
  box-shadow: var(--shadow);
}

.map-panel {
  padding: 6px 0 0;
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 750;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-pill i {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
}

.map-panel h3 {
  margin: 17px 0 11px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.panel-lede,
.section-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.route-list {
  margin-top: 25px;
  border-top: 1px solid var(--line);
}

.route-list > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 65px;
  border-bottom: 1px solid var(--line);
}

.route-index,
.badge-number {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.route-list strong {
  display: block;
  font-size: 13px;
}

.route-list small {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 11px;
}

.route-list em {
  color: var(--lavender-deep);
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.text-button {
  display: inline-flex;
  gap: 7px;
  margin-top: 20px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.text-button:hover {
  color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.copy-status {
  display: inline;
  margin: 0 0 0 10px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 750;
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin-top: 50px;
}

.prose-grid-wide {
  max-width: 1010px;
  margin-right: auto;
  margin-left: auto;
}

.prose-grid p,
.source-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.update-list {
  border-top: 1px solid rgba(107, 92, 156, 0.42);
}

.update-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 18px;
  gap: 20px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid rgba(107, 92, 156, 0.42);
}

.update-row-current {
  position: relative;
}

.update-date {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 8px 0;
  color: var(--lavender-deep);
  background: rgba(255, 253, 249, 0.56);
  border: 1px solid rgba(107, 92, 156, 0.24);
  border-radius: 5px;
}

.update-date span,
.update-date small {
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.update-date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.05;
}

.update-tag {
  color: var(--coral-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.update-row h3 {
  margin: 7px 0 7px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.2;
}

.update-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.update-arrow {
  padding-top: 5px;
  color: var(--coral-dark);
  font-weight: 900;
}

.update-media {
  align-self: center;
}

.database-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.search-box {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.search-box > span {
  font-size: 20px;
  line-height: 1;
}

.search-box input {
  min-width: 0;
  flex: 1;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.search-box kbd {
  padding: 3px 6px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: inherit;
  font-size: 10px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-button {
  min-height: 34px;
  padding: 6px 10px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fffdf9;
  background: var(--ink);
  border-color: var(--ink);
}

.result-count {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

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

.item-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 15px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.item-card:hover {
  border-color: var(--lavender);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.item-card.is-hidden {
  display: none;
}

.empty-items {
  margin: 20px 0 0;
  padding: 18px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px dashed var(--line);
  font-size: 13px;
}

.item-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
}

.item-icon-coral { color: #fff; background: var(--coral); }
.item-icon-violet { color: #fff; background: var(--lavender-deep); }
.item-icon-blue { color: var(--ink); background: var(--blue); }
.item-icon-mint { color: var(--ink); background: var(--mint); }
.item-icon-gold { color: var(--ink); background: var(--gold); }
.item-icon-ink { color: #fff; background: var(--ink); }

.item-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.item-type,
.item-state {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.item-type {
  color: var(--lavender-deep);
}

.item-state {
  color: var(--ink-soft);
  text-transform: uppercase;
}

.item-card h3 {
  margin: 7px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.2;
}

.item-card p {
  min-height: 46px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.item-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 850;
}

.item-card a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.database-note {
  display: flex;
  align-items: start;
  gap: 10px;
  max-width: 900px;
  margin-top: 25px;
  padding: 15px 16px;
  background: #f1eee7;
  border-left: 3px solid var(--gold);
}

.database-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.note-mark {
  display: grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.badges-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  align-items: start;
  gap: 72px;
}

.badge-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(23, 33, 45, 0.18);
}

.badge-stats div {
  display: grid;
  gap: 2px;
}

.badge-stats strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.badge-stats span {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
}

.badge-list {
  border-top: 1px solid rgba(23, 33, 45, 0.18);
}

.badge-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 12px;
  min-height: 85px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(23, 33, 45, 0.18);
}

.badge-row strong {
  font-size: 14px;
}

.badge-row p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.badge-symbol {
  color: var(--coral-dark);
  font-size: 16px;
  font-weight: 900;
}

.guide-copy {
  padding-top: 4px;
}

.guide-points {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.guide-points > div {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.guide-points span {
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

.guide-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.guide-points strong {
  color: var(--ink);
}

.guide-prose {
  margin-top: 42px;
}

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

.faq-grid details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.faq-grid details[open] {
  border-color: var(--lavender);
}

.faq-grid summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 850;
}

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

.faq-grid summary::after {
  color: var(--coral-dark);
  content: "+";
  font-size: 22px;
  font-weight: 400;
}

.faq-grid details[open] summary::after {
  content: "–";
}

.faq-grid details p {
  margin: -2px 18px 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.source-section {
  padding: 62px 0;
  color: #fffdf9;
  background: var(--ink);
}

.source-inner {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 72px;
}

.source-section .eyebrow {
  color: var(--mint);
}

.source-section h2 {
  color: #fffdf9;
  font-size: 32px;
}

.source-copy p {
  color: rgba(255, 253, 249, 0.75);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 21px;
}

.source-links a {
  color: var(--mint);
  font-size: 12px;
  font-weight: 850;
}

.source-links a:hover {
  color: #fffdf9;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  color: rgba(255, 253, 249, 0.72);
  background: #111a24;
}

.footer-main {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark-small {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.brand-mark-small .brand-fallback {
  font-size: 18px;
}

.footer-brand div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  color: #fffdf9;
  font-size: 13px;
}

.footer-brand span:not(.brand-fallback) {
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: #fffdf9;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
}

.legal-page {
  background: var(--paper);
}

.legal-main {
  min-height: calc(100vh - 178px);
  padding: 88px 0 110px;
}

.legal-main h1 {
  max-width: 740px;
  font-size: 54px;
}

.legal-intro {
  max-width: 680px;
  margin: 23px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.legal-copy {
  max-width: 820px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-copy h2 {
  margin: 34px 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
}

.legal-copy p,
.legal-copy li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.legal-copy ul {
  padding-left: 20px;
}

.legal-copy a {
  color: var(--coral-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1024px) {
  .header-inner {
    gap: 17px;
  }

  .brand {
    min-width: 175px;
  }

  .site-nav {
    gap: 15px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 40px;
  }

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

  .signal-link {
    grid-column: 1 / -1;
    padding-bottom: 17px;
  }

  .signal-item:nth-child(3) {
    border-right: 0;
  }

  .badges-layout {
    gap: 45px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 620px);
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 11px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-source {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    align-items: stretch;
    justify-content: start;
    gap: 0;
    padding: 4px 0 15px;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav a {
    padding: 11px 0;
  }

  .hero-grid,
  .map-layout,
  .updates-layout,
  .guide-layout,
  .badges-layout,
  .source-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 43px;
    padding-top: 52px;
    padding-bottom: 55px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-facts {
    gap: 18px;
    margin-top: 35px;
  }

  .hero-media {
    transform: none;
    box-shadow: 10px 10px 0 rgba(228, 110, 85, 0.34);
  }

  .signal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    padding: 11px 0 4px;
  }

  .signal-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .signal-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .signal-link {
    grid-column: 1 / -1;
    padding: 12px 0 14px;
  }

  .section {
    padding: 70px 0;
  }

  .section-heading-row {
    display: grid;
    align-items: start;
    gap: 8px;
    margin-bottom: 27px;
  }

  .section h2 {
    font-size: 34px;
  }

  .map-layout,
  .updates-layout,
  .guide-layout {
    gap: 32px;
  }

  .prose-grid,
  .faq-grid,
  .item-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .prose-grid {
    margin-top: 35px;
  }

  .database-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filter-group {
    order: 2;
  }

  .result-count {
    order: 3;
  }

  .badges-layout {
    gap: 35px;
  }

  .source-inner {
    gap: 27px;
  }

  .footer-main,
  .footer-bottom {
    display: grid;
    justify-content: stretch;
  }

  .footer-main {
    gap: 18px;
    padding: 27px 0;
  }

  .footer-bottom {
    gap: 5px;
  }

  .legal-main {
    padding: 60px 0 75px;
  }

  .legal-main h1 {
    font-size: 42px;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 20px;
  }

  .update-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .update-arrow {
    display: none;
  }

  .item-card {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .item-icon {
    width: 42px;
    height: 42px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
