:root {
  --white: #fff;
  --paper: #f5f5f7;
  --paper-light: #fafafc;
  --paper-rule: #d2d2d7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --muted-dark: #86868b;
  --black: #000;
  --blue: #0071e3;
  --blue-hover: #0076df;
  --blue-active: #006edb;
  --link: #06c;
  --green: #008009;
  --red: #e30000;
  --nav-height: 70px;
  --content-max: 1260px;
  --footer-max: 980px;
  --section-padding: 144px;
  --ease-nav: cubic-bezier(0.28, 0.11, 0.32, 1);
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site-menu-open {
  overflow: hidden;
  padding-top: 48px;
}

::selection {
  background: rgba(0, 113, 227, 0.22);
  color: var(--ink);
}

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

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 10000;
  padding: 9px 16px;
  border-radius: 980px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  line-height: 1.2857742857;
  letter-spacing: -0.016em;
  transform: translateY(-160%);
  transition: transform 240ms var(--ease-nav);
}

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

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 800ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  width: 87.5%;
  max-width: 1024px;
  min-height: 48px;
  margin: 0 auto;
}

.site-brand {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
}

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

.site-primary {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-self: center;
  gap: 32px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

.site-primary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.site-primary a,
.local-product-name {
  transition: color 100ms linear;
}

.site-primary a[aria-current="page"] {
  color: var(--black);
  font-weight: 600;
}

.site-primary a:hover,
.local-product-name:hover {
  color: var(--link);
}

.site-header__buy {
  grid-column: 3;
  grid-row: 1;
}

.site-menu-toggle {
  display: none;
}

.local-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9998;
  height: var(--nav-height);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(var(--nav-height) * -1));
  transition: transform 230ms ease, opacity 0s linear 230ms;
}

.local-nav.is-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: transform 230ms ease, opacity 0s linear;
}

.local-nav__inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: calc(100% - 20px);
  max-width: 1024px;
  margin: 10px auto 2px;
  padding: 12px 20px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px #e6e6e8;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  pointer-events: auto;
  transition: background 400ms ease-out;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(245, 245, 247, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease-out;
}

.local-nav:has(.nav-links.open) .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

.local-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.local-product-name {
  position: relative;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2105263158;
  letter-spacing: 0.012em;
  white-space: nowrap;
}

.local-product-name::before {
  position: absolute;
  inset: -12px 0;
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.explore-button,
.button--small {
  position: relative;
  min-width: 0;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 10em;
  font-family: var(--text);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

.explore-button::before,
.button--small::before {
  position: absolute;
  inset: -8px 0;
  content: "";
}

.explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--muted-dark);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out;
}

.explore-button:hover {
  background: #f2f2f2;
  color: var(--ink);
}

.explore-button__label {
  max-width: 64px;
  overflow: hidden;
  opacity: 1;
  transition: opacity 100ms ease-out;
}

.explore-button__close {
  position: relative;
  width: 0;
  height: 14px;
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.explore-button__close::before,
.explore-button__close::after {
  position: absolute;
  top: 6px;
  left: 1px;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
}

.explore-button__close::before {
  transform: rotate(45deg);
}

.explore-button__close::after {
  transform: rotate(-45deg);
}

.explore-button[aria-expanded="true"] .explore-button__label {
  max-width: 0;
  opacity: 0;
}

.explore-button[aria-expanded="true"] .explore-button__close {
  width: 14px;
  opacity: 1;
}

.nav-links {
  display: grid;
  width: 100%;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 400ms ease-out, opacity 150ms ease-out, visibility 150ms;
}

.nav-links.open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

.nav-links__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: 0;
  overflow: hidden;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 12px;
  color: rgba(0, 0, 0, 0.8);
  font-family: var(--text);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
  transition: color 100ms linear;
}

.nav-links a:first-child {
  padding-left: 0;
}

.nav-links a:hover {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-links a:focus-visible {
  outline-offset: -3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: 12px 22px;
  border: 0;
  border-radius: 980px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--text);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1764805882;
  letter-spacing: -0.022em;
  transition: background 100ms linear;
}

.button:hover {
  background: var(--blue-hover);
}

.button:active {
  background: var(--blue-active);
}

.button--small {
  min-width: 40px;
  min-height: 28px;
  padding: 6px 10px;
  border: 0;
  background: var(--blue);
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

.button--light {
  background: var(--ink);
  color: var(--white);
}

.button--light:hover {
  background: #272729;
}

.button--light:active {
  background: #18181a;
}

.hero {
  position: relative;
  display: flex;
  height: max(745px, calc(min(100vh, 1244px) - 48px));
  height: max(745px, calc(min(100svh, 1244px) - 48px));
  flex-direction: column;
  overflow: hidden;
  padding-top: min(50px, max(5vh, 32px));
  padding-top: min(50px, max(5svh, 32px));
  text-align: center;
}

.hero__copy {
  width: 87.5%;
  max-width: 880px;
  margin: 0 auto;
}

.product-name {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.011em;
}

.hero h1,
.pair h2,
.section-heading h2,
.market h2,
.character h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}

.hero h1 {
  padding-top: 8px;
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero__intro {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2857742857;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.text-link {
  color: var(--link);
}

.link-chevron {
  font-size: 1.1em;
  line-height: 1;
  transform: translateY(-0.02em);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
}

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

.hero-stage {
  position: relative;
  flex: 1;
  width: 87.5%;
  max-width: var(--content-max);
  min-height: 0;
  margin: 24px auto 0;
  overflow: hidden;
  background: transparent;
}

.hero-stage img {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: block;
  width: min(100%, clamp(690px, calc(150vh - 390px), 1110px));
  width: min(100%, clamp(690px, calc(150svh - 390px), 1110px));
  height: auto;
  object-fit: contain;
  transform: translateX(-50%);
}

.section {
  width: 87.5%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.market__inner,
.details__inner {
  width: 87.5%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

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

.section-heading h2,
.market h2 {
  font-size: 56px;
  line-height: 1.0714285714;
  letter-spacing: -0.005em;
}

.character h2,
.closing h2 {
  font-size: 48px;
  line-height: 1.0834933333;
  letter-spacing: -0.003em;
}

.section-heading > p,
.market__heading > p,
.character__story > p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.381002381;
  letter-spacing: 0.011em;
}

.pair {
  background: var(--paper);
  color: var(--ink);
}

.pair__inner {
  width: 87.5%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-padding) 0;
}

.pair-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
}

.pair-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
}

.pair h2 {
  max-width: 760px;
  margin-top: 8px;
  font-size: 56px;
  line-height: 1.0714285714;
  letter-spacing: -0.005em;
}

.pair-description {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.381002381;
  letter-spacing: 0.011em;
}

.pair-learn {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 3px;
  min-height: 44px;
  color: var(--link);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2353641176;
  letter-spacing: -0.022em;
}

.pair-learn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pair-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.pair-card {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 32px 24px 28px;
  border-radius: 18px;
  background: var(--white);
  text-align: center;
}

.pair-emblem {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

.pair-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pair-card h3 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1428571429;
  letter-spacing: 0.007em;
}

.pair-card p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.pair-card p:last-child {
  color: var(--muted);
}

.market {
  background: var(--white);
  color: var(--ink);
}

.market__inner {
  max-width: var(--content-max);
}

.market-story {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(245px, 1fr);
  gap: 96px;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  align-items: start;
}

.market__heading {
  max-width: 600px;
}

.market__heading > p {
  color: var(--muted);
}

.market-pair-facts {
  display: grid;
  gap: 40px;
  margin: 4px 0 0;
}

.market-pair-facts dt,
.market-pair-facts dd {
  margin: 0;
}

.market-pair-facts dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.market-pair-facts dd {
  margin-top: 6px;
}

.market-pair-facts strong {
  display: block;
  min-height: 1.1em;
  color: var(--ink);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.market-fact-context {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.market-fact-status:empty {
  display: none;
}

.market-panel-group {
  width: 100%;
  max-width: 1050px;
  margin: 96px auto 0;
}

.market-panel-title {
  margin: 0 0 48px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
  text-align: center;
}

.market-panel {
  display: grid;
  align-items: center;
  width: 100%;
  padding: 48px 48px 72px;
  border-radius: 28px;
  background: var(--paper);
  text-align: center;
}

.market-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  width: 100%;
  margin: 0 auto;
}

.market-support figure {
  margin: 0;
}

.market-support figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.market-support strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.market-support figure > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.market-support figure > p span {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.market-support .up {
  color: var(--green);
}

.market-support .down {
  color: var(--red);
}

/* iNuSwap promotion: one white card on paper that sends visitors to the swap page. */

.swap-promo {
  background: var(--paper);
  color: var(--ink);
}

.swap-promo__inner {
  width: 87.5%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-padding) 0;
}

.swap-promo__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 72px 48px 40px;
  border-radius: 28px;
  background: var(--white);
  text-align: center;
}

.swap-promo__name {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1904761905;
  letter-spacing: 0.011em;
}

.swap-promo__heading {
  display: flex;
  align-items: last baseline;
  justify-content: space-between;
  gap: 16px 48px;
  padding-bottom: 48px;
}

.swap-promo h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 600;
  line-height: 1.0714285714;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.swap-promo__link {
  display: inline-flex;
  flex: none;
  align-items: center;
  min-height: 44px;
  gap: 3px;
  color: var(--link);
  font-size: 17px;
  line-height: 1.2353641176;
  letter-spacing: -0.022em;
}

.swap-promo__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.swap-promo h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.0834933333;
  letter-spacing: -0.003em;
  text-wrap: balance;
}

.swap-promo__copy {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.381002381;
  letter-spacing: 0.011em;
}

.swap-promo__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

/* The hub is a wide oval on large screens and a pentagon on small screens. */
.swap-hub {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 960 / 440;
  margin: 48px 0 24px;
}

.swap-hub__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--paper-rule);
  stroke-linecap: round;
  stroke-width: 1.5;
}

.swap-hub__token {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, -50%);
}

.swap-hub__token img {
  width: 88px;
  height: 88px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
}

.swap-hub__token > span {
  position: absolute;
  top: calc(100% + 2px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

.swap-hub__token--center {
  left: 50%;
}

.swap-hub__token--center img {
  width: 144px;
  height: 144px;
  border-width: 6px;
}

.swap-hub__token--center { top: 42%; }
.swap-hub__token--1 { top: 56%; left: 11%; }
.swap-hub__token--2 { top: 14%; left: 29%; }
.swap-hub__token--3 { top: 14%; left: 71%; }
.swap-hub__token--4 { top: 56%; left: 89%; }
.swap-hub__token--5 { top: 88%; left: 50%; }

.swap-hub__spokes--narrow {
  display: none;
}

@media (max-width: 1068px) {
  .swap-promo h2 {
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.003em;
  }

  .swap-promo h3 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .swap-hub__token img {
    width: 72px;
    height: 72px;
  }

  .swap-hub__token--center img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 833px) {
  .swap-promo__card {
    padding: 56px 24px 32px;
  }

  .swap-promo h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .swap-promo__heading {
    display: block;
    padding-bottom: 32px;
  }

  .swap-promo__link {
    margin-top: 12px;
  }

  .swap-promo h3 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.004em;
  }

  .swap-promo__copy {
    font-size: 19px;
    line-height: 1.4211026316;
    letter-spacing: 0.012em;
  }

  .swap-hub {
    width: min(320px, 100%);
    aspect-ratio: 1;
    margin: 40px 0 0;
  }

  .swap-hub__spokes--wide {
    display: none;
  }

  .swap-hub__spokes--narrow {
    display: inline;
  }

  .swap-hub__token img {
    width: 56px;
    height: 56px;
    border-width: 3px;
  }

  .swap-hub__token--center img {
    width: 96px;
    height: 96px;
    border-width: 4px;
  }

  .swap-hub__token--center { top: 50%; }
  .swap-hub__token--1 { top: 15.9%; left: 50%; }
  .swap-hub__token--2 { top: 39.5%; left: 82.4%; }
  .swap-hub__token--3 { top: 77.6%; left: 70%; }
  .swap-hub__token--4 { top: 77.6%; left: 30%; }
  .swap-hub__token--5 { top: 39.5%; left: 17.6%; }
}

/* Subpage title, shared by the Claim page. It matches the iNuSwap hero scale. */

.page-hero {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 96px 24px 104px;
  background: var(--white);
  text-align: center;
}

.page-hero__copy {
  max-width: 850px;
}

.page-hero h1 {
  margin: 0;
  padding-top: 8px;
  color: var(--black);
  font-family: var(--display);
  font-size: 80px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.page-hero .hero__intro {
  max-width: 580px;
  color: var(--ink);
}

/* Claim page: one centered white card on paper, then the two thresholds. */

.claim-page {
  padding: var(--section-padding) 24px;
  background: var(--paper);
  color: var(--ink);
}

.claim-page__inner {
  width: min(100%, 680px);
  margin: 0 auto;
}

.claim-card {
  padding: 56px 48px 48px;
  border-radius: 28px;
  background: var(--white);
  text-align: center;
}

.claim-card h2 {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2353641176;
  letter-spacing: -0.022em;
}

.claim-amount {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.0714285714;
  letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.claim-status {
  min-height: 3em;
  max-width: 460px;
  margin: 24px auto 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
  overflow-wrap: anywhere;
}

.claim-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
}

.claim-actions button {
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.claim-refresh {
  padding: 8px 0;
  border: 0;
  background: transparent;
}

.claim-actions button:disabled {
  background: var(--paper-rule);
  color: var(--ink);
  cursor: default;
}

.claim-actions .claim-refresh:disabled {
  background: transparent;
  color: var(--muted);
}

.claim-note,
.claim-thresholds dd {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.claim-note {
  margin: 28px 0 0;
}

.claim-transaction {
  margin: 16px 0 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.6px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.claim-thresholds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin: 64px 0 0;
  text-align: center;
}

.claim-thresholds > div {
  min-width: 0;
}

.claim-thresholds dt {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.claim-thresholds dd {
  margin: 6px 0 0;
}

@media (max-width: 1068px) {
  .page-hero h1 {
    font-size: 64px;
    line-height: 1.0625;
    letter-spacing: -0.009em;
  }

}

@media (max-width: 833px) {
  .page-hero {
    min-height: 340px;
    padding: 72px 20px 80px;
  }

  .page-hero h1 {
    padding-top: 6px;
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.003em;
  }

  .claim-page {
    padding-right: 12px;
    padding-left: 12px;
  }

  .claim-card {
    padding: 40px 24px 36px;
  }

  .claim-amount {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .claim-thresholds {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .claim-thresholds dt {
    font-size: 32px;
    line-height: 1.125;
  }

  .market-pair-facts strong,
  .market-support strong {
    font-size: 32px;
    line-height: 1.125;
  }
}

.character-details-surface {
  background: linear-gradient(to bottom, var(--white), var(--paper));
}

.character-surface {
  background: transparent;
}

.character {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
  padding-top: var(--section-padding);
  padding-bottom: 72px;
}

.character__image {
  grid-column: 1 / span 6;
  width: 100%;
  height: 600px;
  justify-self: start;
  overflow: hidden;
  border-radius: 28px;
  background: var(--black);
}

.character__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.character__copy {
  grid-column: 8 / span 5;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4705882353;
  letter-spacing: -0.022em;
}

.character__copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 34px;
  margin: 48px 0 0;
}

.character dt,
.character dd,
.spec-list dt,
.spec-list dd {
  margin: 0;
}

.character dt,
.spec-list dt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.character dd {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2105263158;
  letter-spacing: 0.012em;
}

.details {
  background: transparent;
}

.details__inner {
  padding-top: 72px;
  padding-bottom: var(--section-padding);
}

.spec-list {
  margin: 80px 0 0;
  border-top: 1px solid var(--paper-rule);
}

.spec-list > div {
  display: grid;
  grid-template-columns: minmax(150px, 25%) 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-rule);
}

.spec-list dd {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.4285914286;
  letter-spacing: -0.016em;
}

.copy-address {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.copy-address::before {
  position: absolute;
  inset: -12px 0;
  content: "";
}

.copy-label {
  flex: none;
  color: var(--link);
  font-family: var(--text);
  letter-spacing: -0.016em;
}

.spec-list__address dd {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 12.6px;
  letter-spacing: 0;
}

.copy-address:hover .copy-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.closing {
  padding-right: 8px;
  padding-left: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}

.closing__inner {
  width: calc(87.5% + 14px);
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-padding) 0;
}

.closing img {
  width: 72px;
  height: 72px;
  margin: 0 auto 32px;
  object-fit: contain;
}

.closing p {
  margin: 20px 0 32px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.381002381;
  letter-spacing: 0.011em;
}

.footer {
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3333733333;
  letter-spacing: -0.01em;
}

.footer__inner {
  width: 87.5%;
  max-width: var(--footer-max);
  margin: 0 auto;
  padding: 0 0 24px;
  border-top: 1px solid var(--paper-rule);
}

.footer-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-bottom: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--paper-rule);
}

.footer-directory a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.footer-directory a[aria-current="page"] {
  font-weight: 600;
}

.footer-directory a:hover,
.footer__base a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer p {
  max-width: 920px;
  margin: 0;
}

.footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding-top: 8px;
  border-top: 1px solid var(--paper-rule);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 24px;
}

.footer__base a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

.footer__base a::before {
  position: absolute;
  inset: -14px -8px;
  content: "";
}

.toast {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 10000;
  min-width: 150px;
  padding: 9px 16px;
  border-radius: 980px;
  background: rgba(29, 29, 31, 0.94);
  color: var(--white);
  font-size: 14px;
  line-height: 1.2857742857;
  letter-spacing: -0.016em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity 240ms var(--ease-nav), transform 240ms var(--ease-nav);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1068px) {
  :root {
    --section-padding: 120px;
  }

  .hero {
    height: max(648px, calc(min(100vh, 930px) - 48px));
    height: max(648px, calc(min(100svh, 930px) - 48px));
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 64px;
    line-height: 1.0625;
    letter-spacing: -0.009em;
  }

  .hero-stage img {
    width: min(100%, clamp(690px, calc(150vh - 368px), 1110px));
    width: min(100%, clamp(690px, calc(150svh - 368px), 1110px));
  }

  .section-heading h2,
  .market h2 {
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.003em;
  }

  .pair h2 {
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.003em;
  }

  .market-story {
    display: block;
    width: 100%;
    max-width: 692px;
  }

  .market-pair-facts {
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 48px;
  }


  .market-panel-group {
    margin-top: 80px;
  }

  .character {
    padding-bottom: 60px;
  }

  .details__inner {
    padding-top: 60px;
  }

  .market-panel {
    padding: 44px 44px 64px;
  }

  .market-panel-title {
    margin-bottom: 44px;
  }

  .market-support {
    gap: 44px;
    width: 100%;
  }

  .character__image {
    grid-column: 1 / span 6;
    height: 520px;
  }

  .character__copy {
    display: block;
    grid-column: 7 / span 6;
  }

  .character__copy dl {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-top: 48px;
  }
}

@media (max-width: 833px) {
  .site-header__inner {
    grid-template-columns: 48px minmax(0, 1fr) auto 48px;
    grid-template-rows: 48px;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding-block: 0;
    padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
  }

  .site-brand {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
  }

  .site-header__buy {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .site-menu-toggle {
    position: relative;
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }

  .site-brand:focus-visible,
  .site-menu-toggle:focus-visible {
    outline-offset: -3px;
  }

  .site-menu-toggle span {
    position: absolute;
    width: 14px;
    height: 1px;
    background: currentColor;
    transition: transform 240ms var(--ease-nav);
  }

  .site-menu-toggle span:first-child {
    transform: translateY(-3px);
  }

  .site-menu-toggle span:last-child {
    transform: translateY(3px);
  }

  .site-menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .site-menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }

  .site-primary {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-self: stretch;
    width: 100%;
    max-height: 0;
    padding-block: 0;
    padding-inline: 48px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 240ms var(--ease-nav), visibility 240ms;
  }

  .site-primary.open {
    max-height: calc(100vh - 48px);
    min-height: calc(100vh - 48px);
    padding-block: 8px 48px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 1;
    visibility: visible;
  }

  .site-primary a {
    justify-content: flex-start;
    width: 100%;
    min-height: 47px;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1428571429;
    letter-spacing: 0.007em;
  }

  .site-header:has(.site-primary.open) {
    position: fixed;
    inset: 0;
    z-index: 10000;
    overflow: hidden;
    background: var(--paper-light);
  }

  .site-header:has(.site-primary.open) .site-header__inner {
    min-height: 100vh;
    align-content: start;
    background: var(--paper-light);
  }

  .site-header:has(.site-primary.open) .site-brand,
  .site-header:has(.site-primary.open) .site-header__buy {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  @supports (height: 100dvh) {
    .site-primary.open {
      max-height: calc(100dvh - 48px);
      min-height: calc(100dvh - 48px);
    }

    .site-header:has(.site-primary.open) .site-header__inner {
      min-height: 100dvh;
    }
  }
}

@media (max-width: 833px) {
  :root {
    --section-padding: 96px;
  }

  .local-nav__inner {
    width: calc(100% - 24px);
    padding: 12px;
  }

  .nav-links__inner {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .nav-links.open .nav-links__inner {
    padding: 12px 0;
  }

  .nav-links a,
  .nav-links a:first-child {
    min-height: 44px;
    padding: 0;
    border: 0;
    font-size: 17px;
    line-height: 1.4705882353;
    letter-spacing: -0.022em;
    text-align: left;
  }

  .hero {
    height: max(574px, calc(min(100vh, 800px) - 48px));
    height: max(574px, calc(min(100svh, 800px) - 48px));
    padding-top: 40px;
  }

  .hero h1 {
    padding-top: 6px;
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.003em;
  }

  .hero-stage {
    width: 100%;
    height: auto;
    margin-top: 24px;
  }

  .hero-stage img {
    width: clamp(640px, calc(100vw + 280px), 760px);
    max-width: none;
    height: auto;
    object-fit: contain;
  }

  .pair h2,
  .section-heading h2,
  .market h2,
  .character h2,
  .closing h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .section-heading > p,
  .market__heading > p,
  .character__story > p:last-child,
  .closing p {
    font-size: 19px;
    line-height: 1.4211026316;
    letter-spacing: 0.012em;
  }


  .market-panel-group {
    margin-top: 64px;
  }

  .pair-heading {
    display: block;
  }

  .pair-learn {
    margin-top: 12px;
  }

  .pair-description {
    font-size: 19px;
    line-height: 1.4211026316;
    letter-spacing: 0.012em;
  }

  .pair-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .pair-emblem {
    width: 96px;
    height: 96px;
  }

  .market__inner {
    width: 87.5%;
  }

  .market-story {
    display: block;
    max-width: 420px;
  }

  .market-pair-facts {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
  }

  .market-panel {
    padding: 32px 32px 48px;
  }

  .market-panel-title {
    margin-bottom: 32px;
  }

  .market-support {
    grid-template-columns: 1fr;
    gap: 32px;
    width: 100%;
  }

  .character {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    padding-bottom: 56px;
  }

  .character__image,
  .character__copy {
    grid-column: auto;
  }

  .character__image {
    width: 100%;
    max-width: 420px;
    height: 499px;
    margin: 0 auto;
  }

  .details__inner {
    padding-top: 56px;
  }

  .spec-list {
    margin-top: 64px;
  }

  .spec-list > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .copy-address {
    display: block;
  }

  .copy-label {
    display: block;
    margin-top: 8px;
  }


  .footer-links {
    justify-content: flex-start;
    gap: 0 20px;
  }

  .footer__base {
    flex-direction: column;
    gap: 2px;
  }

  .footer-directory {
    justify-content: center;
    gap: 0 20px;
  }
}

@media (max-width: 376px) {
  .local-nav__inner,
  .local-nav:has(.nav-links.open) .local-nav__inner {
    width: 100%;
    margin-top: 10px;
    border-radius: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .local-nav__inner,
  .explore-button {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-overlay {
    background: rgba(245, 245, 247, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #424245;
    --muted-dark: #d2d2d7;
  }

  .local-nav__inner {
    background: var(--white);
    box-shadow: 0 0 0 2px var(--ink);
  }
}

/* Show project identity before visitors connect a wallet. */
.identity-notice {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  padding: 0.875rem 1rem;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  color: #424245;
  background: #f5f5f7;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}
.identity-notice--wallet {
  margin: 1rem 0;
}
