/* ============================================================
   HEXAPONS landing screen.
   A live island renders behind the menu; everything here is the
   glass, type and light that sits on top of it.
   ============================================================ */

#landing {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px 34px 22px;
  overflow: hidden;
  background: #0d1a22;
  transition: opacity 0.55s ease, transform 0.62s cubic-bezier(0.5, 0, 0.75, 0);
}
#landing.launching {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

#landing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
#landing-canvas.fade-in { animation: canvasIn 0.4s ease-out; }
@keyframes canvasIn { from { opacity: 0; } }

/* dark side gradient for the copy, vignette for the frame,
   warm bloom behind the island */
.landing-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 18, 25, 0.94) 0%, rgba(8, 18, 25, 0.72) 32%,
      rgba(8, 18, 25, 0.12) 58%, rgba(8, 18, 25, 0.34) 100%),
    linear-gradient(to bottom, rgba(8, 18, 25, 0.72) 0%, rgba(8, 18, 25, 0) 22%,
      rgba(8, 18, 25, 0) 62%, rgba(8, 18, 25, 0.82) 100%),
    radial-gradient(ellipse 70% 60% at 62% 46%, rgba(232, 161, 60, 0.1), transparent 70%);
}
/* two soft lights that drift across the water on a long, uneven cycle.
   Different periods mean the pair never visibly repeats. */
.landing-aurora {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(ellipse 34% 40% at 20% 30%, rgba(79, 196, 192, 0.16), transparent 65%),
    radial-gradient(ellipse 30% 34% at 78% 62%, rgba(232, 161, 60, 0.14), transparent 65%);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.12); }
}

.landing-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
#landing.no-webgl {
  background:
    radial-gradient(ellipse 80% 70% at 60% 45%, #1d5a7a 0%, #0d1a22 70%);
}

#landing > header,
#landing > main,
#landing > footer { position: relative; z-index: 3; }

/* ---------------- entrance ---------------- */

#landing .landing-top,
#landing .landing-hero > *,
#landing .landing-figures li,
#landing .landing-pills li,
#landing .landing-manifest {
  opacity: 0;
  transform: translateY(16px);
}
#landing.ready .landing-top,
#landing.ready .landing-hero > *,
#landing.ready .landing-figures li,
#landing.ready .landing-pills li,
#landing.ready .landing-manifest {
  animation: riseIn 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) forwards;
}
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

#landing.ready .landing-top { animation-delay: 0.05s; }
#landing.ready .landing-eyebrow { animation-delay: 0.16s; }
#landing.ready .landing-wordmark { animation-delay: 0.22s; }
#landing.ready .landing-tagline { animation-delay: 0.34s; }
#landing.ready .landing-cta { animation-delay: 0.44s; }
#landing.ready .landing-seed { animation-delay: 0.54s; }
#landing.ready .landing-figures li:nth-child(1) { animation-delay: 0.56s; }
#landing.ready .landing-figures li:nth-child(2) { animation-delay: 0.62s; }
#landing.ready .landing-figures li:nth-child(3) { animation-delay: 0.68s; }
#landing.ready .landing-figures li:nth-child(4) { animation-delay: 0.74s; }
#landing.ready .landing-pills li:nth-child(1) { animation-delay: 0.7s; }
#landing.ready .landing-pills li:nth-child(2) { animation-delay: 0.78s; }
#landing.ready .landing-pills li:nth-child(3) { animation-delay: 0.86s; }
#landing.ready .landing-manifest { animation-delay: 0.94s; }

/* ---------------- header ---------------- */

.landing-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}
.landing-brandlink {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.landing-mark svg { width: 30px; height: 30px; display: block; }
/* the mark breathes so the header never looks like a static screenshot */
.landing-brandlink .landing-mark {
  display: block;
  animation: markFloat 5.5s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(-4deg); }
}
.landing-brandlink:hover .landing-mark { transform: scale(1.12) rotate(8deg); }
.landing-brandlink polygon,
.landing-brandlink .mark-peak { transition: fill 0.25s; }
.landing-brandlink:hover polygon { fill: rgba(79, 196, 192, 0.55); }

/* ---- site nav ---- */

.landing-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 22px;
  border-left: 1px solid var(--edge);
}
.landing-nav a {
  position: relative;
  padding: 2px 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.18s;
}
.landing-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.landing-nav a:hover { color: var(--ink); }
.landing-nav a:hover::after { transform: scaleX(1); }
.landing-nav .nav-icon { display: flex; }
.landing-nav .nav-icon svg { width: 13px; height: 13px; fill: currentColor; }
.landing-nav .nav-icon::after { display: none; }

.landing-mark polygon { fill: rgba(42, 127, 160, 0.5); stroke: var(--amber); stroke-width: 2; }
.landing-mark .mark-peak { fill: var(--amber); }
.landing-brandtext {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}

/* concession registry / wallet */
.landing-registry {
  min-width: 300px;
  max-width: 360px;
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: rgba(13, 26, 34, 0.66);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: var(--shadow);
}
.registry-title {
  display: block;
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 9px;
}
.registry-note {
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.registry-note.warn { color: var(--warn); }

/* ---------------- hero ---------------- */

.landing-hero {
  align-self: center;
  max-width: 680px;
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.landing-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(79, 196, 192, 0.7);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(79, 196, 192, 0.6); }
  70%, 100% { box-shadow: 0 0 0 11px rgba(79, 196, 192, 0); }
}

.landing-wordmark {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(58px, 8.4vw, 122px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4fbfd;
  text-shadow: 0 10px 40px rgba(3, 12, 18, 0.75);
  display: flex;
}
.landing-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.22em);
}
#landing.ready .landing-wordmark span {
  animation: letterIn 0.62s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
}
@keyframes letterIn { to { opacity: 1; transform: translateY(0); } }
#landing.ready .landing-wordmark span:nth-child(1) { animation-delay: 0.26s; }
#landing.ready .landing-wordmark span:nth-child(2) { animation-delay: 0.30s; }
#landing.ready .landing-wordmark span:nth-child(3) { animation-delay: 0.34s; }
#landing.ready .landing-wordmark span:nth-child(4) { animation-delay: 0.38s; }
#landing.ready .landing-wordmark span:nth-child(5) { animation-delay: 0.42s; }
#landing.ready .landing-wordmark span:nth-child(6) { animation-delay: 0.46s; }
#landing.ready .landing-wordmark span:nth-child(7) { animation-delay: 0.50s; }
#landing.ready .landing-wordmark span:nth-child(8) { animation-delay: 0.54s; }
/* the "PONS" half picks up the sea */
.landing-wordmark span:nth-child(n + 5) { color: var(--teal); }

/* letters lift under the cursor. transition, not animation, so it does not
   fight the entrance keyframes that are still running on first paint */
.landing-wordmark span {
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.3, 1),
              text-shadow 0.32s ease;
}
#landing.ready .landing-wordmark:hover span {
  transform: translateY(-6px);
  text-shadow: 0 14px 30px rgba(232, 161, 60, 0.35);
}
#landing.ready .landing-wordmark span:hover {
  transform: translateY(-13px) scale(1.06);
}

.landing-tagline {
  margin: 0 0 26px;
  max-width: 540px;
  font-size: 14.5px;
  line-height: 1.62;
  color: #c6d9e2;
}
.landing-tagline b {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -0.4em 0 rgba(232, 161, 60, 0.22);
}

/* ---------------- calls to action ---------------- */

.landing-cta {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.cta {
  border: 1px solid var(--edge-strong);
  border-radius: 11px;
  background: rgba(22, 40, 51, 0.72);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-body);
  transition: transform 0.14s, border-color 0.16s, background 0.16s, box-shadow 0.2s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }

/* a light sweeps the primary button on a loop, and again on hover, so the
   main action is never the quietest thing on the screen */
.cta--primary { position: relative; overflow: hidden; }
.cta--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -75%;
  width: 45%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-18deg);
  animation: sheen 4.6s ease-in-out infinite;
}
@keyframes sheen {
  0%, 62%  { left: -75%; }
  92%, 100% { left: 130%; }
}
.cta--primary:hover::after { animation-duration: 1.1s; }

.cta--primary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 13px 16px 13px 20px;
  min-width: 262px;
  border-color: transparent;
  background: linear-gradient(135deg, #f0ab41, #c97f23);
  color: #14232b;
  box-shadow: 0 12px 34px rgba(201, 127, 35, 0.32);
}
.cta--primary:hover {
  box-shadow: 0 16px 42px rgba(201, 127, 35, 0.45);
  filter: brightness(1.05);
}
.cta-label {
  display: block;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  text-align: left;
}
.cta-note {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
  text-align: left;
  margin-top: 2px;
}
/* demo play is welcome, but never let it look like it is being kept */
.cta--demo .cta-note {
  opacity: 1;
  font-weight: 600;
  color: #6b4508;
}

/* the second way to play: a real choice, not a footnote */
.cta--alt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 13px 16px;
  min-width: 176px;
  border-color: var(--edge-strong);
}
.cta--alt:hover { border-color: var(--teal); }
.cta--alt .cta-label {
  font-size: 17px;
  color: var(--ink);
}
.cta--alt .cta-note {
  color: var(--ink-faint);
  opacity: 1;
}
.cta-arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(20, 35, 43, 0.16);
}
.cta-arrow svg { width: 19px; height: 19px; fill: #14232b; transition: transform 0.2s; }
.cta--primary:hover .cta-arrow svg { transform: translateX(3px); }

/* the docs link is an anchor, so it has to be centred like a button */
.cta--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.cta--ghost svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.cta--ghost:hover { border-color: var(--amber); color: var(--ink); }
.cta--ghost:hover svg { transform: translateX(4px); }

/* ---------------- seed line ---------------- */

.landing-seed {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.landing-seed b {
  color: var(--teal);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  text-transform: none;   /* keep the 0x prefix lowercase */
}
#landing-reroll {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: transparent;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
#landing-reroll:hover { color: var(--teal); border-color: var(--teal); }
#landing-reroll svg { width: 12px; height: 12px; fill: currentColor; }
#landing-reroll.spin svg { animation: spin 0.6s cubic-bezier(0.3, 0, 0.2, 1); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- bottom rail ---------------- */

.landing-bottom {
  display: grid;
  gap: 13px;
}

/* ---------------- counted figures ---------------- */

.landing-figures {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0 0 2px;
}
.landing-figures li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.landing-figures b {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  /* the count-up rewrites this text every frame; a fixed width stops the
     label beside it shuffling sideways while it climbs */
  min-width: 1.6ch;
  text-align: right;
  text-shadow: 0 0 22px rgba(232, 161, 60, 0.35);
}
.landing-figures span {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- feature pills ---------------- */

.landing-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 900px;
}
.landing-pills li {
  position: relative;
  overflow: hidden;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--edge);
  border-left: 2px solid var(--accent, var(--amber));
  background: rgba(13, 26, 34, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.landing-pills li:nth-child(2) { --accent: var(--teal); }
.landing-pills li:nth-child(3) { --accent: var(--rust); }

/* the entrance keyframes own `transform` with fill-mode forwards, so a hover
   lift on the <li> itself would never take. Everything below animates only
   properties the entrance does not touch. */
.landing-pills li::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 70% 120% at 0% 50%,
    color-mix(in srgb, var(--accent, var(--amber)) 20%, transparent), transparent 70%);
  transition: opacity 0.3s;
}
.landing-pills li:hover {
  border-color: var(--edge-strong);
  border-left-color: var(--accent, var(--amber));
  background: rgba(19, 36, 46, 0.78);
  box-shadow: 0 12px 30px rgba(2, 10, 16, 0.5);
}
.landing-pills li:hover::before { opacity: 1; }

.landing-pills b {
  position: relative;
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3px;
  transition: color 0.25s;
}
.landing-pills li:hover b { color: var(--accent, var(--amber)); }
.landing-pills span {
  position: relative;
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-faint);
  transition: color 0.25s;
}
.landing-pills li:hover span { color: var(--ink-dim); }

/* ---------------- manifest marquee ---------------- */

.landing-manifest {
  position: relative;
  overflow: hidden;
  padding: 8px 0 4px;
  border-top: 1px solid var(--edge);
  /* fade both ends so the loop seam never lands in plain sight */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.manifest-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: manifest 38s linear infinite;
}
.landing-manifest:hover .manifest-track { animation-play-state: paused; }
@keyframes manifest {
  /* the track holds the same run of words twice, so travelling exactly half
     its width lands on an identical frame and the loop is invisible */
  to { transform: translateX(-50%); }
}
.manifest-track i {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-right: 11px;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.manifest-track i::after {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  transform: rotate(45deg);
  background: var(--teal);
  opacity: 0.55;
}

/* ============================================================
   WALLET
   ============================================================ */

.wallet-wrap { position: relative; display: flex; flex-direction: column; gap: 7px; }

.wallet-connect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(79, 196, 192, 0.22), rgba(42, 127, 160, 0.26));
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s, filter 0.15s;
}
.wallet-connect:hover:not(:disabled) { border-color: var(--teal); filter: brightness(1.12); }
.wallet-connect:disabled { opacity: 0.6; cursor: progress; }
.wallet-connect-icon svg { width: 18px; height: 18px; display: block; fill: var(--teal); }

.wallet-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--edge);
  border-radius: var(--radius-sm);
  background: rgba(22, 40, 51, 0.7);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s;
}
.wallet-chip:hover { border-color: var(--teal); }
.wallet-chip--muted { cursor: default; background: transparent; }
.wallet-chip--muted:hover { border-color: var(--edge); }

.wallet-identicon { border-radius: 7px; flex: none; display: block; }
.wallet-text { flex: 1; min-width: 0; display: block; }
.wallet-text b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.wallet-text em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
  background: var(--good);
  box-shadow: 0 0 8px rgba(127, 201, 138, 0.8);
}
.wallet-dot--warn { background: var(--warn); box-shadow: 0 0 8px rgba(232, 183, 60, 0.8); }
.wallet-dot--off { background: var(--ink-faint); box-shadow: none; }

.wallet-switch {
  padding: 7px 11px;
  border: 1px solid var(--warn);
  border-radius: var(--radius-sm);
  background: rgba(232, 183, 60, 0.12);
  color: var(--warn);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.wallet-switch:hover { background: rgba(232, 183, 60, 0.22); }

.wallet-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px;
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  background: rgba(11, 22, 29, 0.97);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wallet-menu-title,
.wallet-menu-address {
  display: block;
  padding: 4px 8px 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  word-break: break-all;
}
.wallet-menu-address { text-transform: none; letter-spacing: 0; font-family: ui-monospace, monospace; }
.wallet-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.13s;
}
.wallet-menu-item:hover { background: rgba(255, 255, 255, 0.08); }
.wallet-menu-item--danger:hover { background: rgba(226, 112, 95, 0.18); color: var(--bad); }
.wallet-menu-item img { border-radius: 5px; display: block; }
.wallet-menu-fallback {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--bg-3);
  font-size: 11px;
  font-weight: 700;
}
.wallet-error {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--bad);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  #landing { padding: 20px 22px 18px; }
  .landing-registry { min-width: 250px; }
  .landing-hero { max-width: 100%; }
  .cta--primary { min-width: 230px; }
  .cta--alt { min-width: 160px; }
  .landing-figures { gap: 18px; }
  .landing-figures b { font-size: 22px; }
  .landing-pills { grid-template-columns: 1fr; max-width: 420px; }
  .landing-pills li:nth-child(3) { display: none; }
}

@media (max-width: 860px) {
  .landing-nav { display: none; }
  .landing-manifest { display: none; }
}

@media (max-width: 720px) {
  /* the scrim's left-to-right gradient does nothing once the copy sits on
     top of the island rather than beside it */
  .landing-scrim {
    background:
      linear-gradient(to bottom, rgba(8, 18, 25, 0.88) 0%, rgba(8, 18, 25, 0.55) 30%,
        rgba(8, 18, 25, 0.72) 62%, rgba(8, 18, 25, 0.94) 100%);
  }
  .landing-top { flex-direction: column; }
  .landing-brand { gap: 0; }
  .landing-registry { width: 100%; max-width: none; }
  .cta--primary { min-width: 0; width: 100%; }
  .landing-cta { flex-direction: column; }
  .cta--ghost { padding: 11px 18px; }
  .landing-figures { gap: 14px 20px; }
  .landing-pills { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #landing .landing-top,
  #landing .landing-hero > *,
  #landing .landing-figures li,
  #landing .landing-pills li,
  #landing .landing-manifest,
  #landing .landing-wordmark span {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .eyebrow-dot,
  .landing-aurora,
  .manifest-track,
  .landing-brandlink .landing-mark,
  .cta--primary::after { animation: none; }
  .cta--primary::after { display: none; }
  #landing.ready .landing-wordmark:hover span,
  #landing.ready .landing-wordmark span:hover { transform: none; }
  .landing-hero { transition: none; }
}

/* ============================================================
   ON-CHAIN ECONOMY (inside the registry card)
   ============================================================ */

.chain-box {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chain-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.chain-stats > div { display: flex; flex-direction: column; min-width: 0; }
.chain-stats span {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.chain-stats b {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chain-actions { display: flex; flex-direction: column; gap: 6px; }

.chain-btn {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--edge-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s, border-color 0.15s;
}
.chain-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), var(--teal-deep));
  color: #0d1a22;
}
.chain-btn:hover:not(:disabled) { filter: brightness(1.1); border-color: var(--teal); }
.chain-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.chain-note {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--ink-faint);
}
.chain-note--good { color: var(--good); }
.chain-note--bad { color: var(--bad); }
