:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-soft: #fafafa;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.12);
  --text: #241a08;
  --muted: #6c6457;
  --gold: #1f7a8c;
  --gold-soft: #5ec2b7;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #ffffff;
  overflow-x: hidden;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

body.page-enter-right {
  opacity: 0;
  transform: translateX(40px);
}

body.page-leave-left {
  opacity: 0;
  transform: translateX(-48px);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 72;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.floating-panel {
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
  min-height: 58px;
  padding: 0 16px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-icon-button {
  width: 100%;
  font: inherit;
  cursor: pointer;
}

.floating-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.09);
}

.floating-icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(94, 194, 183, 0.28), rgba(31, 122, 140, 0.18));
  color: var(--gold);
  flex: 0 0 auto;
}

.floating-icon-mark svg {
  width: 18px;
  height: 18px;
}

.floating-icon-label {
  white-space: nowrap;
}

.floating-icon-chat {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.floating-icon-chat .floating-icon-mark {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.floating-launcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 16px 34px rgba(31, 122, 140, 0.28);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-launcher-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.floating-launcher-mark svg {
  width: 18px;
  height: 18px;
}

.floating-launcher-text {
  white-space: nowrap;
}

.floating-launcher.open {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(31, 122, 140, 0.34);
}

.floating-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 73;
  background: rgba(8, 16, 20, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.floating-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.floating-drawer {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 74;
  width: min(540px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translate(-50%, 40px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-drawer.open {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.floating-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.floating-drawer-close {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.floating-form {
  display: grid;
  gap: 12px;
}

.floating-form label {
  display: grid;
  gap: 8px;
}

.floating-form label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.floating-form input,
.floating-form textarea,
.chatbox-entry input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.floating-form-submit {
  width: 100%;
}

.floating-chatbox {
  min-height: 260px;
}

.chatbox-messages {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.chat-bubble {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.chat-bubble-agent {
  background: rgba(31, 122, 140, 0.12);
  color: var(--text);
}

.chatbox-entry {
  display: grid;
  gap: 10px;
}

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

main [id] {
  scroll-margin-top: 170px;
}

.ticker-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
  cursor: pointer;
  scrollbar-width: none;
}

.ticker-bar-global {
  position: sticky;
  top: 96px;
  z-index: 20;
}

.ticker-scroll-region {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.ticker-scroll-region::-webkit-scrollbar {
  display: none;
}

.ticker-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 14px;
  border-left: 1px solid var(--line);
  background: #ffffff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}

.ticker-track.paused {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 12px 20px;
  white-space: nowrap;
}

.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.tick strong {
  color: var(--text);
  font-weight: 700;
}

.tick em {
  font-style: normal;
  font-weight: 700;
}

.tick.up em {
  color: #12834a;
}

.tick.down em {
  color: #b53b3b;
}

.tick.neutral em {
  color: #7a7280;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy small,
.eyebrow,
.feature-copy p,
.download-copy p,
.map-copy p,
.intro-band p,
.point-card span {
  color: var(--muted);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover {
  border-color: var(--line);
  background: #ffffff;
}

.nav-item {
  position: relative;
  z-index: 61;
}

.nav-item summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.nav-item[open] summary,
.nav-item summary:hover {
  border-color: var(--line);
  background: #ffffff;
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  min-width: 200px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.dropdown a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
}

.dropdown a:hover {
  background: var(--surface-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #1c1407;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.button-ghost {
  color: #1c1407;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: transparent;
}

.currency-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.currency-control select {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.hero,
.intro-band,
.feature-block,
.map-band,
.growth-band,
.trust-band,
.download-band,
.info-panel {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  padding: 42px;
}

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

.hero-title {
  font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 28px;
  background: var(--surface-solid);
  transform: translateY(-22px);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 6.5vw, 5.4rem);
}

h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

h3 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.no-break {
  white-space: nowrap;
}

.help-inline-pill {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.08);
  vertical-align: middle;
}

.lede,
.section-heading p,
.feature-copy p,
.download-copy p,
.map-copy p {
  margin: 16px 0 0;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 28px;
  align-items: center;
  overflow: visible;
}

.action-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
  overflow: visible;
}

.hero-actions::-webkit-scrollbar,
.action-row::-webkit-scrollbar {
  display: none;
}

.hero .hero-actions .button,
.investor-actions .button {
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.8rem;
}

.intro-band,
.map-band,
.growth-band,
.trust-band,
.download-band {
  margin-top: 26px;
  padding: 34px 40px;
}

.section-heading {
  max-width: 920px;
}

.feature-list {
  display: grid;
  gap: 34px;
  margin-top: 26px;
}

.feature-block {
  padding: 24px;
}

.feature-copy {
  max-width: 860px;
  margin-bottom: 18px;
}

.feature-block-market {
  display: block;
  padding: 28px;
}

.market-layout {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 28px;
  align-items: stretch;
}

.market-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.market-copy {
  margin-bottom: 0;
}

.market-toolbar {
  display: flex;
  justify-content: flex-start;
}

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

.metal-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-solid);
}

.metal-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 700;
}

.metal-card strong {
  font-size: 1.35rem;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.metal-card small,
.metal-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.market-image {
  min-height: 100%;
  padding: 0;
}

.market-image img {
  width: 100%;
  max-width: none;
  transform: scale(1.45);
  transform-origin: center center;
}

.feature-media,
.download-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface-solid);
}

.feature-media {
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-media img,
.download-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-media-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  min-height: auto;
}

.feature-media-split img {
  min-height: 760px;
}

.feature-media-single img {
  max-width: 86%;
}

.feature-media-send img {
  transform: none;
}

.feature-media-sell img {
  transform: scale(1.18);
}

.feature-media-vault {
  grid-template-columns: 1.32fr 1fr;
  align-items: center;
  justify-items: center;
}

.feature-media-vault img:first-child {
  transform: scale(1.24);
  transform-origin: center center;
}

.feature-media-vault img:last-child {
  transform: scale(0.94);
  transform-origin: center center;
}

#sell-refine {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

#sell-refine .feature-copy {
  margin-bottom: 0;
  padding-top: 14px;
}

#sell-refine .feature-media {
  min-height: 800px;
  justify-self: end;
  align-self: start;
}

#sell-refine .feature-media img {
  max-width: 100%;
  transform: translateY(-52px) scale(1.9);
}

#vault {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 12px;
  align-items: start;
  padding: 18px 18px 14px;
}

#vault .feature-copy {
  margin-bottom: 0;
  padding-top: 18px;
}

#vault .feature-media {
  min-height: 420px;
  align-self: center;
  overflow: hidden;
  padding: 0;
}

#vault .feature-media-split img {
  min-height: auto;
}

#vault .feature-media-vault img:first-child {
  width: 122%;
  max-width: none;
  transform: translateY(-20px) scale(1.72);
}

#vault .feature-media-vault img:last-child {
  width: 92%;
  max-width: none;
  transform: translateY(-2px) scale(1.06);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
}

.info-panel {
  padding: 30px;
}

.investor-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.info-panel-link {
  color: inherit;
  text-decoration: none;
}

.info-panel-link:hover {
  transform: translateY(-2px);
}

.info-panel p {
  margin: 16px 0 0;
  line-height: 1.75;
  color: var(--muted);
}

.numismatix-logo-wrap {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.numismatix-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.mini-bullion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  align-items: center;
}

.mini-bullion-grid img {
  display: block;
  width: 88%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.mini-mining-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.mini-mining-card strong {
  display: block;
  margin-bottom: 8px;
}

.mini-mining-card span {
  color: var(--muted);
  line-height: 1.65;
}

.mini-investor-docs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

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

.investor-form label {
  display: grid;
  gap: 8px;
}

.investor-form label span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.investor-form input,
.investor-form select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  font: inherit;
}

.investor-actions {
  margin-top: 0;
  justify-content: flex-start;
}

.investor-minimum {
  margin: 0;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.doc-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01)),
    repeating-linear-gradient(
      to bottom,
      #ffffff 0,
      #ffffff 16px,
      #f4f4f4 16px,
      #f4f4f4 17px
    );
}

.approvals-band,
.help-band {
  margin-top: 26px;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.footer-logo-band {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 26px;
  padding: 18px 0 6px;
}

.footer-logo-band img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.approvals-band-compact {
  max-width: none;
  width: 100%;
  padding: 22px 24px;
}

.approvals-band-compact .section-heading {
  max-width: none;
}

.approvals-band-compact h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.approvals-band-compact .section-heading p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.approval-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.approval-card {
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.approval-card:hover {
  border-color: var(--line-strong);
}

.app-badge-row {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 18px;
  color: #ffffff;
  background: #111111;
  text-decoration: none;
  font-weight: 700;
}

.store-badge-apple {
  background: linear-gradient(135deg, #0f172a, #111827);
}

.store-badge-google {
  background: linear-gradient(135deg, #1a73e8, #34a853);
}

.store-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
}

.store-badge-icon svg {
  width: 20px;
  height: 20px;
}

.store-badge-icon-google {
  color: #ffffff;
}

.store-badge-text {
  display: grid;
  line-height: 1.05;
}

.store-badge-text small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.store-badge-text strong {
  font-size: 1rem;
}

.simple-page-shell .topbar {
  position: sticky;
  top: 16px;
  z-index: 90;
  overflow: visible;
}

.simple-page-shell .nav {
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow: visible;
  scrollbar-width: none;
  position: relative;
  row-gap: 8px;
  min-width: 0;
  z-index: 95;
}

.simple-page-shell .nav-item {
  z-index: 96;
}

.simple-page-shell .dropdown {
  z-index: 120;
}

.simple-page-shell .nav::-webkit-scrollbar {
  display: none;
}

.info-modal {
  width: min(540px, calc(100% - 24px));
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.info-modal::backdrop {
  background: rgba(0, 0, 0, 0.22);
}

.info-modal-close {
  display: inline-flex;
  margin-left: auto;
  margin-bottom: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.info-modal p {
  line-height: 1.75;
  color: var(--muted);
}

.mining-page {
  display: grid;
  gap: 26px;
}

.mining-hero,
.mining-tab-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
}

.mining-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button-cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.button-cluster {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.button-cluster .mining-links {
  margin-top: 0;
}

.mining-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.mining-links-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: #ffffff;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.claims-highlight {
  padding: 22px;
  border: 1px solid rgba(31, 122, 140, 0.24);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(94, 194, 183, 0.16), rgba(255, 255, 255, 0.98));
}

.claims-highlight .mining-links {
  margin-top: 12px;
}

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

.country-link-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.country-link-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.country-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.country-flag {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  flex: 0 0 auto;
}

.country-link-card .mining-links {
  margin-top: 12px;
}

.map-links-band {
  padding: 22px;
  margin-top: 18px;
  border: 1px solid rgba(31, 122, 140, 0.24);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 122, 140, 0.08), rgba(94, 194, 183, 0.14));
}

.map-links-band h3 {
  margin: 0;
}

.map-links-band .mining-links {
  margin-top: 14px;
}

.mining-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.mining-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.mining-tab.active {
  border-color: var(--gold);
  background: rgba(31, 122, 140, 0.12);
}

.mining-panel {
  display: none;
}

.mining-panel.active {
  display: block;
}

.mining-copy {
  display: grid;
  gap: 18px;
}

.mining-copy p,
.mining-copy li {
  line-height: 1.72;
  color: var(--muted);
}

.mining-copy ul,
.mining-copy ol {
  margin: 0;
  padding-left: 20px;
}

.assay-drawer-list {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.assay-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.assay-visual {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.assay-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.assay-drawer-button {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.assay-drawer-button:hover {
  border-color: var(--line-strong);
}

.assay-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: min(420px, 100%);
  height: 100vh;
  padding: 28px;
  border-left: 1px solid var(--line);
  background: #ffffff;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.24s ease;
  overflow-y: auto;
}

.assay-drawer.open {
  transform: translateX(0);
}

.assay-drawer-close {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
}

.assay-drawer h3 {
  margin-bottom: 12px;
}

.assay-drawer p {
  line-height: 1.75;
  color: var(--muted);
}

.assay-drawer-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.assay-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.assay-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.market-page {
  display: grid;
  gap: 26px;
}

.goldapp-price-banner {
  position: sticky;
  top: 156px;
  z-index: 18;
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(31, 122, 140, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 36px rgba(31, 122, 140, 0.14);
  backdrop-filter: blur(10px);
}

.goldapp-price-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.goldapp-price-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 122, 140, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(31, 122, 140, 0.08), rgba(255, 255, 255, 0.92));
}

.goldapp-price-card strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.goldapp-price-card span {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink);
}

.benchmark-section {
  margin-top: -8px;
}

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

.benchmark-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 122, 140, 0.2);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(31, 122, 140, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: 0 16px 30px rgba(31, 122, 140, 0.1);
}

.benchmark-card strong {
  font-size: 1.02rem;
}

.benchmark-card span {
  color: var(--muted);
  line-height: 1.5;
}

.chart-panel,
.dealer-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
}

.chart-copy {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chart-range {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.chart-range.active {
  border-color: var(--gold);
  background: rgba(31, 122, 140, 0.12);
}

.chart-surface {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(31, 122, 140, 0.06), rgba(255, 255, 255, 0.95));
}

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

.dealer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.supplier-rollup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.supplier-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 122, 140, 0.22);
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.08);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.dealer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.dealer-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
  background: #ffffff;
}

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

.dealer-table th {
  position: sticky;
  top: 0;
  background: #f8fbfc;
  z-index: 1;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dealer-table td {
  font-size: 0.95rem;
  line-height: 1.55;
}

.supplier-directory-table {
  min-width: 0;
}

.supplier-directory-table td,
.supplier-directory-table th {
  padding-left: 16px;
}

.map-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.mining-home-card {
  align-self: stretch;
}

.map-visual {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.map-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.map-visual-home {
  margin-top: 18px;
}

.map-page-shell {
  margin-top: 26px;
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.map-frame-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 780px;
  border: 0;
}

.point-card,
.growth-card,
.trust-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface-solid);
}

.point-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.growth-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.growth-card span {
  color: var(--muted);
  line-height: 1.65;
}

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

.trust-card {
  font-weight: 700;
}

.download-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
}

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

.download-card img {
  transform: scale(1.15);
  transform-origin: center center;
}

.page-stack {
  display: grid;
  gap: 26px;
}

.inventory-hero,
.inventory-band,
.shop-shell,
.portal-shell,
.radial-shell,
.ops-shell {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.inventory-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.inventory-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.inventory-logo img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
}

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

.summary-card,
.portal-card,
.ops-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-soft);
}

.summary-card strong,
.portal-card strong,
.ops-card strong {
  display: block;
  margin-bottom: 8px;
}

.summary-card span,
.portal-card span,
.ops-card span {
  color: var(--muted);
  line-height: 1.65;
}

.shop-shell {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 22px;
  align-items: start;
}

.product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 700;
}

.product-grid,
.product-list {
  display: grid;
  gap: 14px;
}

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

.product-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.product-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}

.product-list .product-card {
  grid-template-columns: 112px minmax(0, 1fr) minmax(150px, auto) minmax(170px, auto);
  align-items: center;
}

.product-list .product-card img {
  width: 112px;
  height: 112px;
}

.product-list .product-meta {
  display: grid;
  gap: 6px;
}

.product-list .product-actions {
  justify-content: flex-end;
}

.product-meta small,
.product-note,
.cart-note,
.checkout-lines span,
.form-grid label span,
.ops-card p,
.portal-card p {
  color: var(--muted);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.product-price-row strong {
  font-size: 1.25rem;
}

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

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(31, 122, 140, 0.1);
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  cursor: pointer;
}

.cart-shell {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(241, 212, 130, 0.2), rgba(255, 255, 255, 0.98));
}

.cart-item {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.checkout-lines {
  display: grid;
  gap: 10px;
}

.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkout-total {
  font-size: 1.08rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  gap: 14px;
}

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

.form-grid input,
.form-grid select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  font: inherit;
}

.radial-shell {
  display: grid;
  gap: 22px;
}

.interactive-circle-shell {
  position: relative;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at center, rgba(31, 122, 140, 0.09), transparent 46%),
    linear-gradient(180deg, #ffffff, #f6fbfd);
  overflow: hidden;
}

.radial-center-card {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(320px, calc(100% - 48px));
  transform: translate(-50%, -50%);
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.radial-orbit {
  position: absolute;
  min-width: 136px;
  padding: 14px 18px;
  border: 1px solid rgba(31, 122, 140, 0.22);
  border-radius: 999px;
  background: linear-gradient(135deg, #d9f3ec, #b8e7dd);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 18px 30px rgba(31, 122, 140, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.radial-orbit:hover,
.radial-orbit.active {
  transform: translateY(-4px) scale(1.03);
  background: linear-gradient(135deg, #8ad4d0, #59c2ae);
  box-shadow: 0 22px 34px rgba(31, 122, 140, 0.2);
}

.radial-orbit-1 { top: 9%; left: 50%; transform: translateX(-50%); }
.radial-orbit-2 { top: 20%; right: 12%; }
.radial-orbit-3 { top: 50%; right: 7%; transform: translateY(-50%); }
.radial-orbit-4 { right: 12%; bottom: 20%; }
.radial-orbit-5 { bottom: 9%; left: 50%; transform: translateX(-50%); }
.radial-orbit-6 { bottom: 20%; left: 12%; }
.radial-orbit-7 { top: 50%; left: 7%; transform: translateY(-50%); }
.radial-orbit-8 { top: 20%; left: 12%; }

.featured-post-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

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

.sell-estimate-grid label {
  display: grid;
  gap: 8px;
}

.sell-estimate-grid span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.sell-estimate-grid input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.estimate-shell {
  display: none;
}

.estimate-shell.is-open {
  display: grid;
  gap: 22px;
}

.assay-drawer-image-large {
  width: 108%;
  max-width: none;
  margin-left: -4%;
  max-height: none;
}

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

.radial-link {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at top, rgba(241, 212, 130, 0.26), #ffffff 68%);
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

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

.blog-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.blog-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-panel,
.map-frame-shell,
.content-shell {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
}

.hero-panel-media {
  display: grid;
  gap: 14px;
}

.hero-panel-media img,
.media-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.media-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(241, 212, 130, 0.16), rgba(255, 255, 255, 0.98));
}

.content-shell {
  padding: 28px 30px;
}

.feature-stat-grid,
.process-grid,
.document-shelf,
.download-store-grid,
.comparison-grid {
  display: grid;
  gap: 16px;
}

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

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

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

.process-card,
.document-card,
.store-badge-card,
.comparison-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
}

.process-card strong,
.document-card strong,
.store-badge-card strong,
.comparison-card strong {
  display: block;
  margin-bottom: 8px;
}

.process-card span,
.document-card span,
.store-badge-card span,
.comparison-card span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.support-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.support-table td {
  line-height: 1.7;
}

.store-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #111111;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.link-stack {
  display: grid;
  gap: 12px;
}

.link-stack a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.link-stack a span {
  color: var(--muted);
  font-weight: 600;
}

.map-frame-shell {
  overflow: hidden;
}

.map-live-shell {
  padding: 0;
}

.map-live-shell .open-user-map {
  min-height: calc(100vh - 220px);
}

.map-live-shell #map-20210929 {
  width: 100%;
  min-height: calc(100vh - 220px);
}

.map-frame {
  display: block;
  width: 100%;
  min-height: calc(100vh - 220px);
  border: 0;
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .hero-panel,
  .inventory-hero,
  .market-layout,
  .shop-shell,
  .map-band,
  .map-page-shell,
  .download-band,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .dropdown {
    position: static;
    margin-top: 10px;
  }

  .hero,
  .intro-band,
  .feature-block,
  .map-band,
  .map-page-shell,
  .growth-band,
  .trust-band,
  .download-band,
  .info-panel {
    padding: 26px 22px;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  #sell-refine,
  #vault {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 560px;
  }

  .feature-media-split img {
    min-height: 520px;
  }

  .dealer-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .metal-card-grid,
  .mini-bullion-grid,
  .mini-investor-docs,
  .investor-form,
  .inventory-summary-grid,
  .portal-grid,
  .ops-grid,
  .feature-stat-grid,
  .process-grid,
  .document-shelf,
  .download-store-grid,
  .comparison-grid,
  .goldapp-price-banner__grid,
  .benchmark-grid,
  .product-grid,
  .radial-grid,
  .blog-grid,
  .approval-grid,
  .button-cluster-grid,
  .country-link-grid,
  .assay-layout,
  .sell-estimate-grid,
  .growth-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .interactive-circle-shell {
    min-height: 720px;
  }

  .product-list .product-card {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .product-list .product-card img {
    width: 104px;
    height: 104px;
    grid-row: span 3;
  }

  .product-list .product-price-row,
  .product-list .product-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1220px);
  }

  .topbar {
    position: static;
    grid-template-columns: 1fr;
  }

  .floating-actions {
    position: static;
    width: min(100% - 20px, 1220px);
    margin: 18px auto 0;
    justify-items: stretch;
  }

  .floating-icon {
    width: 100%;
    min-width: 0;
  }

  .floating-launcher {
    width: 100%;
    justify-content: center;
  }

  .floating-panel {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .floating-drawer {
    width: 100%;
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .floating-drawer-backdrop {
    display: none;
  }

  .ticker-bar-global {
    position: static;
  }

  .hero-actions,
  .ticker-toolbar,
  .metal-card-grid,
  .mini-bullion-grid,
  .mini-investor-docs,
  .inventory-summary-grid,
  .portal-grid,
  .ops-grid,
  .feature-stat-grid,
  .process-grid,
  .document-shelf,
  .download-store-grid,
  .comparison-grid,
  .goldapp-price-banner__grid,
  .benchmark-grid,
  .product-grid,
  .radial-grid,
  .blog-grid,
  .approval-grid,
  .button-cluster-grid,
  .country-link-grid,
  .assay-layout,
  .sell-estimate-grid,
  .download-grid,
  .feature-media-split,
  .growth-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .ticker-toolbar {
    display: grid;
    justify-content: stretch;
  }

  .interactive-circle-shell {
    min-height: 980px;
    padding-top: 14px;
  }

  .goldapp-price-banner {
    position: static;
  }

  .radial-center-card {
    width: calc(100% - 32px);
  }

  .radial-orbit-1,
  .radial-orbit-5 {
    left: 50%;
    transform: translateX(-50%);
  }

  .radial-orbit-3,
  .radial-orbit-7 {
    transform: none;
  }

  .radial-orbit-1 { top: 2%; }
  .radial-orbit-2 { top: 12%; right: 6%; }
  .radial-orbit-3 { top: 28%; right: 2%; }
  .radial-orbit-4 { right: 6%; bottom: 18%; }
  .radial-orbit-5 { bottom: 2%; }
  .radial-orbit-6 { bottom: 18%; left: 6%; }
  .radial-orbit-7 { top: 28%; left: 2%; }
  .radial-orbit-8 { top: 12%; left: 6%; }

  .button {
    width: 100%;
  }

  .product-list .product-card {
    grid-template-columns: 1fr;
  }

  .product-list .product-card img {
    width: 100%;
    height: 180px;
    grid-row: auto;
  }

  .product-list .product-price-row {
    display: grid;
    gap: 4px;
  }

  .dealer-table {
    min-width: 720px;
  }

  .feature-media,
  .feature-media-split img {
    min-height: auto;
  }

  .map-frame {
    min-height: 560px;
  }
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 640px) {

  /* ===== GLOBAL ===== */
  body {
    overflow-x: hidden;
  }

  .site-shell {
    padding: 10px;
  }

  /* ===== HEADER ===== */
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 12px;
  }

  .brand-mark img {
    max-height: 36px;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .brand-copy small {
    display: none;
  }

  /* ===== NAV (scrollable pills) ===== */
  .nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    gap: 8px;
    justify-content: flex-start;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link,
  .nav-item summary {
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.78rem;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* ===== TICKER ===== */
  .ticker-bar {
    grid-template-columns: 1fr;
    border-radius: 18px;
    margin-bottom: 12px;
  }

  .ticker-toolbar {
    display: none;
  }

  .ticker-group {
    gap: 18px;
    padding: 10px 14px;
  }

  .tick {
    font-size: 0.85rem;
  }

  /* ===== HERO ===== */
  .hero {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 14px;
    border-radius: 22px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1;
  }

  .lede {
    font-size: 0.95rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-art {
    transform: none;
    max-height: 320px;
    overflow: visible;
    display: flex;
    justify-content: center;
  }

  .hero-art img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
  }

  /* ===== MARKET / FEATURE ===== */
  .market-layout {
    grid-template-columns: 1fr;
  }

  .metal-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .metal-card {
    padding: 12px;
  }

  /* ===== NUMISMATIX PRODUCTS ===== */
  .product-list {
    gap: 12px;
  }

  .product-card {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 20px;
  }

  .product-card img {
    width: 90px;
    height: 90px;
    object-fit: contain;
  }

  .product-meta strong {
    font-size: 0.9rem;
  }

  .product-meta small {
    font-size: 0.72rem;
  }

  .product-price-row {
    font-size: 0.85rem;
  }

  /* ===== QUICK ADD BUTTON ===== */
  .product-actions {
    grid-column: 1 / -1;
  }

  .product-actions .button {
    width: 100%;
  }

}
/* ===== NumismatiX Product + Cart Cleanup ===== */

.product-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.product-image-wrap {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-meta strong {
  font-size: 0.95rem;
}

.product-meta small {
  font-size: 0.75rem;
  color: #6b7280;
}

.product-description {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.9rem;
}

.product-actions {
  margin-top: 8px;
}

.quick-add-button {
  width: 100%;
  cursor: pointer;
}

.form-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
}

/* ===== Cart ===== */

.cart-item {
  position: relative;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}

.cart-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* ===== Mobile ===== */

@media (max-width: 640px) {
  .product-card {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding: 12px;
  }

  .product-image-wrap {
    width: 90px;
    height: 90px;
  }

  .product-price-row,
  .product-actions {
    grid-column: 1 / -1;
  }

  .quick-add-button {
    width: 100%;
    min-height: 42px;
  }

  .cart-shell {
    position: static;
    margin-top: 16px;
  }
}

/* Cartographer map page: avoid horizontal page scroll on small viewports (toolbar may scroll internally). */
body.cartographer-map-page {
  overflow-x: hidden;
  max-width: 100vw;
}

.cartographer-map-canvas {
  width: 100%;
  min-height: 650px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
}

@media (max-width: 640px) {
  .cartographer-map-canvas {
    min-height: 70vh;
    min-height: 70dvh;
    border-radius: 20px;
  }
}

.cartographer-map-interface {
  display: grid;
  gap: 0.9rem;
}

.cartographer-search-panel,
.cartographer-map-toolbar,
.cartographer-3d-controls {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cartographer-search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 180px) minmax(140px, 180px) auto;
  gap: 0.65rem;
  align-items: center;
}

.cartographer-search-panel input,
.cartographer-search-panel select {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(217, 181, 104, 0.35);
  padding: 0 0.9rem;
  background: rgba(9, 12, 16, 0.88);
  color: #f7e9bd;
  font: inherit;
}

.cartographer-search-panel button#cartographer-clear-filters {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(217, 181, 104, 0.45);
  padding: 0 1rem;
  background: rgba(217, 181, 104, 0.12);
  color: #f7e9bd;
  cursor: pointer;
  font: inherit;
}

.cartographer-search-panel button#cartographer-clear-filters:hover {
  background: rgba(217, 181, 104, 0.24);
}

.cartographer-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid rgba(217, 181, 104, 0.28);
  border-radius: 20px;
  background: rgba(9, 12, 16, 0.82);
}

.cartographer-map-toggle,
.cartographer-3d-action {
  border: 1px solid rgba(217, 181, 104, 0.45);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: rgba(217, 181, 104, 0.12);
  color: #f7e9bd;
  cursor: pointer;
  font: inherit;
}

.cartographer-map-toggle.active,
.cartographer-map-toggle:hover,
.cartographer-map-toggle:focus,
.cartographer-3d-action:hover,
.cartographer-3d-action:focus {
  background: rgba(217, 181, 104, 0.28);
  outline: none;
}

.cartographer-map-note {
  margin: 0;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cartographer-map-panel {
  width: 100%;
}

.cartographer-map-stack {
  position: relative;
  width: 100%;
  min-height: 650px;
}

.cartographer-2d-map-layer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--surface, #0f1419);
}

.cartographer-3d-stage-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 650px;
}

.cartographer-map-stack.cartographer-map-stack--3d-active .cartographer-2d-map-layer {
  display: none;
}

.cartographer-3d-fallback {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.92);
  color: #e8e0c8;
  text-align: center;
}

.cartographer-3d-fallback[hidden] {
  display: none !important;
}

.cartographer-3d-fallback-inner {
  max-width: 420px;
}

.cartographer-3d-fallback-inner p {
  margin: 0.75rem 0 1rem;
  line-height: 1.5;
  color: rgba(232, 224, 200, 0.88);
}

.cartographer-lidar-note {
  margin-top: 0.5rem;
  margin-bottom: 0;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.cartographer-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cartographer-toolbar {
  padding: 12px 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.cartographer-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cartographer-toolbar-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cartographer-toolbar-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cartographer-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cartographer-search-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cartographer-search-input {
  flex: 1 1 220px;
  min-width: 180px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  font: inherit;
}

.cartographer-2d-map-view[hidden] {
  display: none;
}

.cesium-stage-shell[hidden] {
  display: none;
}

.cartographer-cesium-canvas {
  width: 100%;
  min-height: 650px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12);
  position: relative;
}

#cartographer-cesium-canvas .cesium-viewer,
#cartographer-cesium-canvas .cesium-widget,
#cartographer-cesium-canvas canvas {
  width: 100%;
  min-height: 650px;
}

.cartographer-3d-note {
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .cartographer-map-stack {
    min-height: 70vh;
  }

  .cartographer-3d-stage-layer {
    min-height: 70vh;
  }

  .cartographer-search-panel {
    grid-template-columns: 1fr;
  }

  .cartographer-map-toolbar,
  .cartographer-3d-control-group {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .cartographer-map-toggle,
  .cartographer-3d-action {
    white-space: nowrap;
  }

  .cartographer-map-canvas,
  .cartographer-cesium-canvas,
  #cartographer-cesium-canvas .cesium-viewer,
  #cartographer-cesium-canvas .cesium-widget,
  #cartographer-cesium-canvas canvas {
    min-height: 70vh;
  }
}

.cartographer-3d-controls {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  border: 1px solid rgba(217, 181, 104, 0.35);
  border-radius: 18px;
  background: rgba(9, 12, 16, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cartographer-3d-controls[hidden] {
  display: none;
}

.cartographer-3d-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cartographer-3d-action {
  border: 1px solid rgba(217, 181, 104, 0.45);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: rgba(217, 181, 104, 0.12);
  color: #f7e9bd;
  cursor: pointer;
}

.cartographer-3d-action:hover,
.cartographer-3d-action:focus {
  background: rgba(217, 181, 104, 0.24);
  outline: none;
}

.cartographer-3d-toggle {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: #f7e9bd;
}

.cartographer-3d-help {
  margin: 0;
}

.cartographer-mode-btn.is-active:not(:disabled) {
  border-color: rgba(31, 122, 140, 0.35);
  background: rgba(31, 122, 140, 0.1);
}

/* MapLibre: tap-sized controls and viewport-safe popups on Cartographer */
#cartographer-map-shell .maplibregl-ctrl button {
  min-width: 44px;
  min-height: 44px;
}

#cartographer-map-shell .maplibregl-popup-content {
  max-width: 92vw;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 12px 14px;
}

.cartographer-popup {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.cartographer-popup-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.cartographer-popup-actions {
  font-size: 0.85rem;
}

.cartographer-popup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cartographer-popup-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cartographer-submission-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.cartographer-submission-form textarea {
  min-height: 90px;
}

.cartographer-submission-form input,
.cartographer-submission-form select,
.cartographer-submission-form textarea {
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}

.cartographer-verified {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1c7c54;
  color: #fff;
  font-size: 0.72rem;
}

.seo-link-shell {
  margin-top: 26px;
}

.guide-links-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.guide-links-list a {
  text-decoration: none;
}

.social-links-hero {
  align-items: stretch;
}

.social-feature-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(241, 212, 130, 0.16), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow);
}

.social-feature-group {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.12);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.social-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-feature-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.social-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.social-filter.active,
.social-filter:hover {
  background: linear-gradient(135deg, #f3df9b, #e3bf55);
  border-color: transparent;
}

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

.social-link-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.social-link-card.active,
.social-link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 122, 140, 0.35);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.1);
}

.social-link-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 122, 140, 0.08);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.social-link-actions .button-secondary {
  text-decoration: none;
}

/* Native verified links hub — radial circle menu (social-links.html) */
.native-links-page,
.radial-links-page {
  background:
    radial-gradient(ellipse 72% 48% at 50% 38%, rgba(227, 191, 85, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 90% 70% at 50% 55%, rgba(40, 32, 18, 0.55) 0%, transparent 70%),
    linear-gradient(165deg, #12141a 0%, #08090c 42%, #050608 100%);
  color: #f4efe4;
  overflow-x: hidden;
  max-width: 100%;
}

.native-links-shell {
  overflow-x: hidden;
  max-width: 100%;
}

.native-links-shell .topbar,
.native-links-shell .ticker-bar {
  background: rgba(8, 10, 14, 0.96);
  border-color: rgba(227, 191, 85, 0.22);
  color: #f4efe4;
}

.native-links-shell .button {
  background: linear-gradient(135deg, #f3df9b, #c9a227);
  color: #1a1408;
  border: none;
}

.native-links-shell .button-ghost {
  background: transparent;
  border: 1px solid rgba(227, 191, 85, 0.45);
  color: #f4efe4;
}

.radial-links-main {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(12px, 3vw, 24px) clamp(12px, 3vw, 28px) clamp(32px, 6vw, 56px);
  max-width: 100%;
  overflow-x: hidden;
}

.radial-links-policy {
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(227, 191, 85, 0.22);
  background: rgba(227, 191, 85, 0.06);
  color: #b8afa0;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 36rem;
  text-align: center;
}

.sr-only-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.radial-links-stage {
  --radius: clamp(210px, 28vw, 390px);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: clamp(720px, 82vh, 920px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 20px) 0;
}

.radial-links-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 820px);
  height: min(92vw, 820px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(227, 191, 85, 0.14) 0%,
    rgba(227, 191, 85, 0.04) 38%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.radial-links-scene {
  position: relative;
  width: min(100%, 920px);
  height: min(clamp(720px, 82vh, 920px), 92vw);
  max-width: 100%;
  margin: 0 auto;
  outline: none;
  z-index: 1;
}

.radial-links-scene:focus-visible {
  box-shadow: 0 0 0 3px rgba(227, 191, 85, 0.45);
  border-radius: 50%;
}

.radial-links-orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--radius) * 2 + clamp(140px, 18vw, 200px));
  height: calc(var(--radius) * 2 + clamp(140px, 18vw, 200px));
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(227, 191, 85, 0.22);
  box-shadow:
    inset 0 0 48px rgba(227, 191, 85, 0.06),
    0 0 64px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 1;
}

.radial-links-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  width: clamp(168px, 22vw, 240px);
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 22px);
  border-radius: 50%;
  border: 1px solid rgba(227, 191, 85, 0.42);
  background: linear-gradient(
    165deg,
    rgba(36, 32, 22, 0.98) 0%,
    rgba(10, 10, 12, 0.99) 55%,
    rgba(4, 4, 6, 1) 100%
  );
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(227, 191, 85, 0.12),
    inset 0 1px 0 rgba(255, 236, 180, 0.16);
  transform: translate(-50%, -50%);
}

.radial-links-hub-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
}

.radial-links-hub h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, #faf3dc 0%, #e3bf55 55%, #b8922a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.radial-links-hub-copy {
  margin: 0;
  color: #a89f8f;
  font-size: 0.78rem;
  line-height: 1.35;
}

.radial-links-orbit {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  z-index: 2;
  pointer-events: none;
}

.radial-links-stage--orbit .radial-links-orbit {
  animation: radial-links-orbit-spin var(--orbit-duration, 54s) linear infinite;
}

.radial-links-stage--orbit .radial-link-card {
  animation: radial-links-card-counter var(--orbit-duration, 54s) linear infinite;
}

.radial-links-stage:hover .radial-links-orbit,
.radial-links-stage:focus-within .radial-links-orbit,
.radial-links-stage:hover .radial-link-card,
.radial-links-stage:focus-within .radial-link-card {
  animation-play-state: paused;
}

@keyframes radial-links-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes radial-links-card-counter {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.radial-link-slot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
  pointer-events: auto;
}

.radial-link-card {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 6px;
  align-content: start;
  width: clamp(128px, 14vw, 168px);
  min-height: 118px;
  padding: 14px 12px 12px;
  border-radius: 18px;
  border: 1px solid rgba(227, 191, 85, 0.28);
  background: linear-gradient(
    165deg,
    rgba(32, 28, 18, 0.96) 0%,
    rgba(12, 12, 14, 0.98) 55%,
    rgba(6, 6, 8, 1) 100%
  );
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 236, 180, 0.12);
  text-decoration: none;
  color: inherit;
  transform: translate(-50%, -50%);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.radial-link-card--active:hover,
.radial-link-card--active:focus-visible {
  border-color: rgba(243, 223, 155, 0.65);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(227, 191, 85, 0.18),
    inset 0 1px 0 rgba(255, 236, 180, 0.2);
  outline: none;
}

.radial-links-stage:not(.radial-links-stage--orbit) .radial-link-card--active:hover,
.radial-links-stage:not(.radial-links-stage--orbit) .radial-link-card--active:focus-visible {
  transform: translate(-50%, -50%) scale(1.04);
}

.radial-link-card--active:focus-visible {
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.55),
    0 0 0 3px rgba(227, 191, 85, 0.5);
}

.radial-link-card--pending {
  cursor: not-allowed;
  opacity: 0.78;
  border-style: dashed;
}

.radial-link-tag {
  display: inline-flex;
  width: fit-content;
  padding: 0 8px;
  min-height: 22px;
  align-items: center;
  border-radius: 999px;
  background: rgba(227, 191, 85, 0.16);
  color: #e8cc6a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.radial-link-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #faf3dc;
}

.radial-link-desc {
  color: #8f8779;
  font-size: 0.72rem;
  line-height: 1.35;
}

.radial-link-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #9a9285;
  font-size: 0.72rem;
  font-weight: 700;
}

.radial-link-status--go {
  background: rgba(227, 191, 85, 0.14);
  color: #e3bf55;
}

.radial-links-hint {
  margin: 0 auto;
  text-align: center;
  color: #7a7368;
  font-size: 0.82rem;
  max-width: 32rem;
  padding: 0 12px;
}

.radial-links-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  padding-top: 4px;
  color: #b8afa0;
  font-size: 0.9rem;
}

.radial-links-footer a:not(.button) {
  color: #e3bf55;
  text-decoration: none;
}

.radial-links-footer a:not(.button):hover,
.radial-links-footer a:not(.button):focus-visible {
  text-decoration: underline;
  outline: none;
}

.radial-links-footer-sep {
  opacity: 0.45;
}

/* Mobile / compact: static ring (smaller radius), no orbit spin */
.radial-links-stage--compact {
  --radius: clamp(118px, 34vw, 168px);
  min-height: clamp(560px, 78vh, 720px);
}

.radial-links-stage--compact .radial-links-scene {
  height: min(clamp(560px, 78vh, 720px), 100vw);
}

.radial-links-stage--compact .radial-links-orbit {
  animation: none;
}

.radial-links-stage--compact .radial-link-card {
  width: clamp(108px, 28vw, 132px);
  min-height: 104px;
  padding: 10px 10px 9px;
  font-size: 0.92rem;
}

.radial-links-stage--compact .radial-link-title {
  font-size: 0.95rem;
}

.radial-links-stage--compact .radial-link-desc {
  display: none;
}

.radial-links-stage--compact .radial-links-hub {
  width: clamp(140px, 38vw, 180px);
  padding: 16px 14px;
}

.radial-links-stage--reduced .radial-links-orbit,
.radial-links-stage--reduced.radial-links-stage--compact .radial-links-orbit {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .radial-links-stage--orbit .radial-links-orbit {
    animation: none;
  }
}

/* Marketing / links pages: white logo tray (NumismatiX commerce pages use dark tray below) */
body.radial-links-page .topbar .brand-mark,
body.native-links-page .topbar .brand-mark {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.store-badge-pending {
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}

.site-footer {
  margin-top: 26px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

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

.site-footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.site-footer-brand strong {
  display: block;
  font-size: 1rem;
}

.site-footer-brand span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.6;
}

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

.site-footer-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.site-footer-links a:hover {
  color: var(--gold-strong);
}

@media (max-width: 800px) {
  .social-link-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-links {
    grid-template-columns: 1fr;
  }
}

.checker-hero {
  display: grid;
  gap: 20px;
}

.checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.checker-form,
.checker-result {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.checker-field {
  display: grid;
  gap: 8px;
}

.checker-field span {
  font-size: 0.9rem;
  font-weight: 700;
}

.checker-field input,
.checker-field select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.checker-status,
.checker-result-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.checker-result-grid > div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(244, 240, 229, 0.7);
}

.checker-result-grid strong {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.checker-result-grid a {
  color: var(--gold-strong);
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 900px) {
  .checker-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .checker-form-grid,
  .checker-result-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   THE CARTOGRAPHER — PREMIUM MAP SHELL CSS
   Dark/gold field-map aesthetic modelled on ProspectorMap Explorer UX.
   Mobile-first, no JS dependencies, no storage, no cookies.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Shell ─────────────────────────────────────────────────────────────── */
.cartographer-shell {
  display: flex;
  flex-direction: column;
  background: #0d0d0f;
  border: 1px solid #2a2a2e;
  border-radius: 10px;
  overflow: hidden;
  min-height: 680px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #e8e0d0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,175,55,0.08);
}

/*
  Field-style map frame (#cartographer-map-shell): more map, less “card in a card”.
  Uses dynamic viewport height so the map reads as the primary surface on laptops.
*/
#cartographer-map-shell.content-shell.map-frame-shell {
  padding: 10px 12px;
  background: #0b0b0e;
  border: 1px solid #25252a;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

@media (min-width: 768px) {
  #cartographer-map-shell.content-shell.map-frame-shell {
    padding: 14px 18px;
  }
}

#cartographer-map-shell.cartographer-shell {
  min-height: clamp(520px, calc(100dvh - 220px), 900px);
  border-radius: 14px;
}

.cartographer-shell .carto-content-row {
  flex: 1 1 auto;
  min-height: 520px;
  display: flex;
}

.cartographer-shell .carto-map-wrap {
  flex: 1 1 auto;
  position: relative;
  height: clamp(420px, 52vh, 780px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: #08080a;
  overflow: hidden;
}

.cartographer-shell .carto-map-wrap .cartographer-map-stack {
  flex: 1 1 auto;
  min-height: clamp(480px, 50vh, 760px);
}

.cartographer-shell .carto-map-wrap #cartographer-map.cartographer-map-panel {
  flex: 1 1 auto;
  min-height: clamp(480px, 50vh, 760px);
}

/* Layer sheet header: desktop = hidden strip; mobile = bottom sheet chrome */
.carto-sheet-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 10px;
  border-bottom: 1px solid #2a2a2e;
  flex-shrink: 0;
}

.carto-sheet-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4af37;
}

.carto-sheet-close {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #3a3a44;
  background: #1a1a22;
  color: #c8b96a;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.carto-sheet-close:hover,
.carto-sheet-close:focus-visible {
  border-color: #d4af37;
  outline: none;
}

/* Backdrop: only used on small screens (see mobile block) */
.carto-layer-backdrop {
  display: none;
}

/* ── Status Bar ────────────────────────────────────────────────────────── */
.carto-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #131316;
  border-bottom: 1px solid #2a2a2e;
  font-size: 0.78rem;
  color: #c8b96a;
  min-height: 32px;
}
.carto-status-badge {
  margin-left: auto;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 20px;
  padding: 2px 9px;
  font-size: 0.72rem;
  color: #d4af37;
  white-space: nowrap;
}

/* ── Toolbar ───────────────────────────────────────────────────────────── */
.carto-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: #16161a;
  border-bottom: 1px solid #2a2a2e;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Button base */
.carto-btn {
  padding: 5px 14px;
  background: #1e1e24;
  border: 1px solid #3a3a44;
  border-radius: 6px;
  color: #d4c89a;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.carto-btn:hover,
.carto-btn:focus-visible {
  background: #26262e;
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.25);
}
.carto-btn.active,
.carto-btn:active {
  background: rgba(212,175,55,0.18);
  border-color: #d4af37;
  color: #ffe87c;
}
.carto-btn-ghost {
  background: transparent;
  border-color: #2a2a2e;
  color: #888;
}
.carto-btn-ghost:hover { color: #c8b96a; border-color: #888; }
.carto-btn-layers {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.35);
  color: #d4af37;
  font-weight: 600;
}

/* Mode buttons */
.carto-mode-btn {
  padding: 5px 13px;
  background: #1e1e24;
  border: 1px solid #3a3a44;
  border-radius: 6px;
  color: #d4c89a;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.carto-mode-btn.active,
.carto-mode-btn[aria-pressed="true"] {
  background: rgba(212,175,55,0.18);
  border-color: #d4af37;
  color: #ffe87c;
  font-weight: 600;
}
.carto-mode-btn:hover:not(.active) { background: #26262e; border-color: #666; }

/* Staged tool buttons */
.carto-tool-btn {
  padding: 5px 13px;
  background: #181820;
  border: 1px dashed #3a3a44;
  border-radius: 6px;
  color: #777;
  font-size: 0.8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.carto-tool-btn.staged:hover {
  border-color: #c8b96a;
  color: #c8b96a;
}

/* Search input */
.carto-search-input {
  padding: 5px 11px;
  background: #1a1a20;
  border: 1px solid #3a3a44;
  border-radius: 6px;
  color: #e8e0d0;
  font-size: 0.82rem;
  width: 180px;
  min-width: 100px;
  transition: border-color 0.15s;
}
.carto-search-input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 2px rgba(212,175,55,0.2);
}
.carto-search-input::placeholder { color: #555; }

/* Select dropdowns */
.carto-select {
  padding: 5px 10px;
  background: #1a1a20;
  border: 1px solid #3a3a44;
  border-radius: 6px;
  color: #d4c89a;
  font-size: 0.8rem;
  cursor: pointer;
  max-width: 130px;
}
.carto-select:focus { border-color: #d4af37; outline: none; }

/* Group spacing */
.carto-search-group,
.carto-filter-group,
.carto-mode-group,
.carto-util-group,
.carto-tool-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

/* ── Content Row ───────────────────────────────────────────────────────── */
.carto-content-row {
  display: flex;
  flex: 1;
  min-height: 500px;
}

/* ── Layer Panel ───────────────────────────────────────────────────────── */
.cartographer-layer-panel {
  width: 220px;
  min-width: 180px;
  max-width: 260px;
  background: #111115;
  border-right: 1px solid #2a2a2e;
  overflow-y: auto;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: width 0.2s, min-width 0.2s, opacity 0.2s;
  flex-shrink: 0;
}
.cartographer-layer-panel.collapsed {
  width: 0;
  min-width: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

.carto-layer-group {
  padding: 10px 10px 6px;
  border-bottom: 1px solid #1e1e22;
}
.carto-layer-heading {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37;
  margin: 0 0 6px;
  opacity: 0.85;
}
.carto-heading-note {
  font-weight: 400;
  font-size: 0.65rem;
  color: #666;
  text-transform: none;
  letter-spacing: 0;
}

/* Layer buttons */
.carto-layer-btn {
  display: block;
  width: 100%;
  padding: 6px 10px;
  margin-bottom: 3px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #c0b88a;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carto-layer-btn:hover:not(.staged) {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.3);
  color: #ffe87c;
}
.carto-layer-btn.active,
.carto-layer-btn[aria-pressed="true"] {
  background: rgba(212,175,55,0.18);
  border-color: #d4af37;
  color: #ffe87c;
  font-weight: 600;
}
/* Staged layer buttons — visually distinct */
.carto-layer-btn.staged {
  color: #555;
  border-style: dashed;
  border-color: #2a2a2e;
  cursor: pointer;
}
.carto-layer-btn.staged:hover {
  color: #c8b96a;
  border-color: rgba(212,175,55,0.3);
  background: rgba(212,175,55,0.05);
}
.staged-tag {
  display: inline-block;
  font-size: 0.6rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 3px;
  padding: 1px 4px;
  margin-left: 4px;
  color: #a89050;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* BLM/USGS resource links in panel */
.carto-resources-group { padding-bottom: 14px; }
.carto-resource-link {
  display: block;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: #6a9fd8;
  text-decoration: none;
  margin-bottom: 2px;
  border-radius: 4px;
  transition: color 0.12s, background 0.12s;
}
.carto-resource-link:hover {
  color: #90c2ff;
  background: rgba(100,160,255,0.07);
}

/* Slider control */
.carto-terrain-controls { padding: 6px 0; }
.carto-slider-label { font-size: 0.72rem; color: #888; display: block; margin-bottom: 4px; }
.carto-slider { width: 100%; accent-color: #d4af37; cursor: pointer; }

/* ── Map Canvas ─────────────────────────────────────────────────────────── */
.carto-map-wrap {
  flex: 1 1 auto;
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  background: #08080a;
}
.carto-map-canvas,
.carto-cesium-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 3D controls */
.carto-3d-controls {
  position: absolute;
  bottom: 36px;
  left: 10px;
  right: 10px;
  background: rgba(13,13,15,0.9);
  border: 1px solid #2a2a2e;
  border-radius: 7px;
  padding: 8px 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.carto-3d-hint { font-size: 0.75rem; color: #888; margin: 0; flex: 1; }

.carto-map-wrap .cartographer-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carto-3d-controls .cartographer-3d-control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.carto-3d-controls .cartographer-3d-toggle {
  color: #c8b96a;
  font-size: 0.75rem;
}

/* Attribution */
.carto-attribution {
  position: absolute;
  bottom: 4px;
  right: 8px;
  font-size: 0.68rem;
  color: #555;
  z-index: 5;
}
.carto-attribution a { color: #7a7060; text-decoration: none; }
.carto-attribution a:hover { color: #c8b96a; }

/* ── Diagnostics footer ─────────────────────────────────────────────────── */
.carto-diagnostics {
  padding: 5px 14px;
  background: #0d0d0f;
  border-top: 1px solid #1e1e22;
  font-size: 0.72rem;
  color: #505050;
  min-height: 26px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

/* ── Screen reader only ─────────────────────────────────────────────────── */
.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;
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE — narrow viewport (< 768px)
   Bottom sheet for layers, dimmed backdrop, map-first vertical space (see docs).
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  #cartographer-map-shell.content-shell.map-frame-shell {
    padding: 6px 8px;
    padding-bottom: max(8px, env(safe-area-inset-bottom, 0px));
    border-radius: 14px;
  }

  #cartographer-map-shell.cartographer-shell {
    min-height: clamp(440px, 85vh, 780px);
    border-radius: 12px;
  }

  .cartographer-shell .carto-content-row {
    position: relative;
    flex-direction: column;
    min-height: clamp(300px, 48vh, 560px);
  }

  .cartographer-shell .carto-map-wrap {
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(280px, 45vh, 520px);
  }

  .cartographer-shell .carto-map-wrap .cartographer-map-stack,
  .cartographer-shell .carto-map-wrap #cartographer-map.cartographer-map-panel {
    min-height: clamp(280px, 45vh, 520px);
  }

  /* Toolbar: horizontal scroll so every control stays reachable on narrow screens */
  .carto-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 10px;
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
    align-items: center;
  }

  .carto-toolbar > .carto-search-group,
  .carto-toolbar > .carto-filter-group,
  .carto-toolbar > .carto-mode-group,
  .carto-toolbar > .carto-util-group,
  .carto-toolbar > .carto-tool-group {
    flex: 0 0 auto;
  }

  .carto-btn,
  .carto-mode-btn,
  .carto-tool-btn {
    min-height: 44px;
    min-width: 44px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .carto-search-group {
    flex: 0 0 auto;
    min-width: 0;
  }

  .carto-search-input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .carto-tool-group {
    flex: 0 0 auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
  }

  /* Dim map while layers sheet is open */
  .carto-layer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    margin: 0;
    border: none;
    padding: 0;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .carto-layer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .carto-layer-backdrop[hidden] {
    display: none !important;
  }

  /* Bottom sheet layer UI (replaces narrow left drawer) */
  .carto-sheet-header {
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 10px;
  }

  .cartographer-layer-panel::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 5px;
    border-radius: 3px;
    background: #3d3d45;
    pointer-events: none;
  }

  .cartographer-layer-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: min(78vh, 540px);
    z-index: 40;
    padding: 10px 0 max(14px, env(safe-area-inset-bottom, 0px));
    border-right: none;
    border-top: 1px solid #2a2a2e;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    opacity: 1 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .cartographer-layer-panel.collapsed {
    transform: translateY(105%);
    pointer-events: none;
    width: 100% !important;
    min-width: 0 !important;
  }

  .carto-layer-group:first-of-type {
    padding-top: 4px;
  }

  .carto-btn,
  .carto-mode-btn,
  .carto-tool-btn,
  .carto-layer-btn {
    min-height: 40px;
    font-size: 0.88rem;
  }

  .carto-select {
    max-width: none;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Homepage (index) — mobile-first polish; scoped with body.home-page
   Desktop layout intentionally light-touch.
   ═══════════════════════════════════════════════════════════════════════ */

.home-ticker-pricing-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #faf9f6;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-ticker-pricing-link:hover {
  border-color: rgba(184, 134, 11, 0.45);
  background: #fff;
}

.home-mobile-market-preview {
  display: none;
}

.home-preview-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 20px 18px;
}

.home-preview-title {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: #3d2f0d;
}

.home-preview-hint {
  margin: 12px 0 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.metal-card--home-preview {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffdf8 0%, #faf7f0 100%);
  border: 1px solid rgba(184, 134, 11, 0.22);
}

.home-preview-cta {
  width: 100%;
  min-height: 48px;
}

.home-trust-strip {
  margin: 22px 0 8px;
}

.home-trust-list {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f6 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-trust-list li {
  display: grid;
  gap: 4px;
  min-width: 180px;
  flex: 1 1 200px;
}

.home-trust-list strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c4510;
}

.home-trust-list span {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
}

.home-sticky-cta {
  display: none;
}

@media (max-width: 640px) {
  body.home-page {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  body.home-page .site-shell {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  body.home-page main [id] {
    scroll-margin-top: 120px;
  }

  body.home-page .topbar {
    position: sticky;
    top: 0;
    z-index: 90;
    margin-bottom: 10px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  }

  body.home-page .ticker-bar-global {
    position: sticky;
    /* Sit below sticky topbar: brand row + horizontal nav pills (~100–128px) */
    top: calc(env(safe-area-inset-top, 0px) + min(32vw, 128px));
    z-index: 85;
    margin-bottom: 14px;
  }

  body.home-page .ticker-toolbar {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 10px 14px;
    justify-content: flex-start;
  }

  body.home-page .home-ticker-pricing-link {
    display: inline-flex;
    margin-left: auto;
  }

  body.home-page .currency-control select {
    min-height: 44px;
  }

  body.home-page .home-mobile-market-preview {
    display: block;
    margin-bottom: 14px;
  }

  body.home-page .hero {
    padding: 22px 18px;
    gap: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  }

  body.home-page .hero-copy {
    position: relative;
    padding-left: 12px;
    border-left: 3px solid rgba(184, 134, 11, 0.65);
  }

  body.home-page .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem);
    line-height: 1.08;
    color: #1f1a12;
  }

  body.home-page .hero .eyebrow {
    color: #7a5c12;
    letter-spacing: 0.14em;
  }

  body.home-page .hero-actions .button,
  body.home-page .hero-actions .button-ghost {
    min-height: 48px;
    font-size: 0.9rem;
    border-radius: 14px;
  }

  body.home-page .home-trust-strip {
    margin: 12px 0 18px;
  }

  body.home-page .home-trust-list {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
    border-radius: 20px;
  }

  body.home-page .home-trust-list li {
    min-width: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  body.home-page .home-trust-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  body.home-page .content-shell.seo-link-shell {
    padding: 20px 16px;
    border-radius: 22px;
  }

  body.home-page .content-shell .ops-grid {
    gap: 12px;
  }

  body.home-page .content-shell .ops-card {
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  }

  body.home-page .feature-list {
    gap: 18px;
    margin-top: 18px;
  }

  body.home-page .feature-block {
    padding: 18px 16px;
    border-radius: 22px;
    box-shadow: 0 10px 36px rgba(15, 23, 42, 0.05);
  }

  body.home-page .feature-block-market--home .market-toolbar {
    display: none;
  }

  body.home-page .feature-block-market--home .metal-card-grid {
    display: none !important;
  }

  body.home-page .feature-block-market--home .market-copy .action-row .button {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
  }

  body.home-page .feature-block-market--home .market-image img {
    transform: none;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
  }

  body.home-page .feature-block-market--home .market-image {
    min-height: auto;
    padding: 12px;
  }

  body.home-page .feature-media {
    min-height: auto;
    padding: 12px;
    border-radius: 20px;
  }

  body.home-page .feature-media img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
  }

  body.home-page .feature-media-split {
    gap: 12px;
  }

  body.home-page .feature-media-split img {
    min-height: auto;
    max-height: 240px;
  }

  body.home-page #sell-refine .feature-media img {
    transform: none;
    max-height: 280px;
  }

  body.home-page #vault .feature-media-vault img:first-child {
    width: 100%;
    transform: none;
    max-height: 260px;
  }

  body.home-page #vault .feature-media-vault img:last-child {
    transform: none;
    max-height: 200px;
  }

  body.home-page .ecosystem-grid {
    gap: 14px;
    margin-top: 18px;
  }

  body.home-page .info-panel {
    padding: 18px 16px;
    border-radius: 22px;
  }

  body.home-page .download-band {
    padding: 22px 16px;
    border-radius: 22px;
  }

  body.home-page .download-grid {
    gap: 14px;
  }

  body.home-page .download-card img {
    max-height: 280px;
    object-fit: contain;
  }

  body.home-page .approvals-band .approval-grid {
    gap: 10px;
  }

  body.home-page .approval-card {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
  }

  body.home-page .footer-logo-band {
    padding: 24px 0 8px;
  }

  body.home-page .footer-logo-band img {
    max-width: 72px;
    height: auto;
  }

  body.home-page .nav-link,
  body.home-page .nav-item summary {
    min-height: 44px;
    padding: 10px 14px;
    align-items: center;
  }

  body.home-page .topbar > .button {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
  }

  body.home-page .tick {
    gap: 6px;
    font-size: 0.8rem;
  }

  body.home-page .tick strong {
    font-size: 0.82rem;
  }

  body.home-page .ticker-group {
    gap: 16px;
    padding: 10px 12px;
  }

  body.home-page .home-sticky-cta {
    /* Fixed CTA bar: body padding-bottom above reserves space so main content stays readable. */
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
  }

  body.home-page .home-sticky-cta-inner {
    width: min(1220px, calc(100% - 8px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
  }

  body.home-page .home-sticky-primary,
  body.home-page .home-sticky-secondary {
    min-height: 48px;
    font-size: 0.82rem;
    border-radius: 14px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  body.home-page .home-sticky-secondary {
    background: #ffffff;
    border: 1px solid var(--line);
    color: #1c1407;
    box-shadow: none;
  }

  body.home-page .floating-actions {
    margin-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   Site-wide: header logo tray, mobile nav hamburger, narrow ticker, Cartographer UI
   (Placed after home-page rules so cascade wins on overlap.)
   ═══════════════════════════════════════════════════════════════════════ */

.topbar .brand-mark {
  background: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

body.numismatix-page .topbar .brand-mark,
body.page-numismatix .topbar .brand-mark,
body.theme-numismatix-commerce .topbar .brand-mark {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1c1407;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-hamburger {
    display: inline-flex;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    position: relative;
    gap: 8px;
  }

  .topbar .brand {
    grid-column: 1;
    min-width: 0;
  }

  .topbar .nav-hamburger {
    grid-column: 2;
    justify-self: end;
  }

  .topbar > a.button,
  .topbar > .button {
    grid-column: 3;
  }

  .topbar #main-nav {
    grid-column: 1 / -1;
    grid-row: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 14px;
    margin-top: 4px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
    max-height: min(72vh, 520px);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 95;
    justify-content: flex-start;
  }

  .topbar #main-nav.nav-open {
    display: flex;
  }

  body.numismatix-page .topbar #main-nav {
    background: rgba(14, 14, 18, 0.97);
    border-color: #2a2a2e;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  }

  body.numismatix-page .topbar #main-nav .nav-link,
  body.numismatix-page .topbar #main-nav .nav-item summary {
    background: transparent;
    border-color: #3a3a44;
    color: #e8e0d0;
  }

  body.numismatix-page .topbar #main-nav .dropdown {
    background: #121218;
    border-color: #2f2f38;
  }

  body.numismatix-page .topbar #main-nav .dropdown a {
    color: #e8e0d0;
  }

  body.numismatix-page .topbar .nav-hamburger {
    background: rgba(18, 18, 22, 0.95);
    border-color: #3a3a44;
  }

  body.numismatix-page .topbar .nav-hamburger span {
    background: #d4af37;
  }
}

@media (min-width: 769px) {
  .nav-hamburger {
    display: none !important;
  }

  .topbar #main-nav {
    display: flex !important;
  }

  .topbar #main-nav.nav-open {
    /* no-op on desktop */
  }
}

@media (max-width: 420px) {
  .ticker-bar .tick {
    font-size: 0.72rem;
  }

  .ticker-bar .ticker-group {
    gap: 12px;
    padding: 8px 10px;
  }

  .ticker-bar .tick strong {
    font-size: 0.74rem;
  }
}

.carto-overlay-just-tapped {
  outline: 2px solid rgba(212, 175, 55, 0.65);
  outline-offset: 2px;
  transition: outline 0.15s ease;
}

.investor-form-errors {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: #b42318;
  min-height: 1.25em;
}

/* NumismatiX / website purchase commerce theme (black = buy on site; not app/map CTAs) */
.theme-numismatix-commerce {
  --page-bg: #050505;
  --panel-bg: #101010;
  --text-main: #f7f3e8;
  --text-muted: rgba(247, 243, 232, 0.72);
  --accent: #d7a83f;
  background: var(--page-bg);
  color: var(--text-main);
}

.theme-numismatix-commerce .content-shell,
.theme-numismatix-commerce .ops-card {
  background: linear-gradient(180deg, #111111, #070707);
  border: 1px solid rgba(215, 168, 63, 0.22);
  color: var(--text-main);
}

.theme-numismatix-commerce .section-heading p,
.theme-numismatix-commerce .ops-card span {
  color: var(--text-muted);
}

.button-purchase,
.theme-numismatix-commerce .button:not(.button-ghost):not(.button-app):not(.button-map) {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(215, 168, 63, 0.55);
}

.button-purchase:hover,
.theme-numismatix-commerce .button:not(.button-ghost):not(.button-app):not(.button-map):hover {
  background: #111111;
  border-color: #d7a83f;
}

.button-app {
  background: #d7a83f;
  color: #050505;
  border: 1px solid #d7a83f;
}

.button-map {
  background: #12351f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.market-source-note {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
  color: var(--muted);
}

.market-source-note[data-status="live"] {
  border-color: rgba(34, 139, 34, 0.35);
}

.market-source-note[data-status="partial"],
.market-source-note[data-status="offline"] {
  border-color: rgba(180, 120, 40, 0.35);
}

#cartographer-map-shell.cartographer-shell {
  position: relative;
  min-height: 70vh;
}

#cartographer-map-shell .carto-map-wrap,
#cartographer-map.cartographer-map-panel,
.cartographer-map-canvas {
  width: 100%;
  min-height: 640px;
}

@media (max-width: 768px) {
  #cartographer-map-shell.cartographer-shell {
    min-height: calc(100vh - 120px);
  }

  #cartographer-map-shell .carto-map-wrap,
  #cartographer-map.cartographer-map-panel,
  .cartographer-map-canvas {
    min-height: calc(100vh - 190px);
    border-radius: 16px;
  }
}
