:root {
  --token-page-accent: #ff8a00;
  --token-page-ink: #f7f3ee;
  --token-page-muted: #c6beb4;
  --token-page-panel: rgba(255, 255, 255, 0.055);
  --token-page-line: rgba(255, 255, 255, 0.14);
}

.token-page {
  background: #0b0a09;
  color: var(--token-page-ink);
  min-height: 72vh;
}

.token-page__inner {
  width: min(100% - 2rem, 70rem);
  margin: 0 auto;
}

.token-page__hero {
  padding: clamp(5rem, 12vw, 9rem) 0 3.5rem;
  background:
    radial-gradient(circle at 75% 5%, rgba(255, 138, 0, 0.20), transparent 32rem),
    #0b0a09;
}

.token-page__eyebrow,
.token-page__label {
  color: var(--token-page-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.token-page h1,
.token-page h2 {
  color: var(--token-page-ink);
}

.token-page h1 {
  max-width: 15ch;
  margin: 0.75rem 0 1rem;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 0.98;
}

.token-page__lead {
  max-width: 46rem;
  color: var(--token-page-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.token-page__section {
  padding: 3rem 0 5rem;
}

.token-page__notice,
.token-page__contract {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--token-page-line);
  border-radius: 1rem;
  background: var(--token-page-panel);
}

.token-page__notice p {
  color: var(--token-page-muted);
  line-height: 1.65;
}

.token-page__button {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  background: var(--token-page-accent);
  color: #1a0d00;
  font-weight: 800;
  text-decoration: none;
}

.token-page__timeline {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}

.token-page__timeline li {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem;
  border-left: 3px solid var(--token-page-accent);
  background: var(--token-page-panel);
}

.token-page__timeline span {
  color: var(--token-page-muted);
  line-height: 1.55;
}

.token-page__contract dl {
  margin: 1rem 0;
}

.token-page__contract dl div {
  display: grid;
  grid-template-columns: minmax(8rem, 0.7fr) 2fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--token-page-line);
}

.token-page__contract dt {
  color: var(--token-page-muted);
}

.token-page__contract dd {
  margin: 0;
  font-weight: 700;
}

.token-page__address {
  overflow-wrap: anywhere;
}

@media (max-width: 42rem) {
  .token-page__contract dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* =========================================================
   PVERSE_TOKEN_WHITE_THEME_R2C
   Token sub-pages: white default, explicit dark override.
   ========================================================= */

html[data-theme="light"] .token-page {
  --token-page-accent: #ff8a00;
  --token-page-ink: #171717;
  --token-page-muted: #5f6368;
  --token-page-panel: #ffffff;
  --token-page-line: rgba(23, 23, 23, 0.14);

  background:
    radial-gradient(circle at 75% 5%, rgba(255, 138, 0, 0.12), transparent 32rem),
    #ffffff;
  color: var(--token-page-ink);
}

html[data-theme="light"] .token-page__hero {
  background:
    radial-gradient(circle at 75% 5%, rgba(255, 138, 0, 0.14), transparent 32rem),
    #ffffff;
}

html[data-theme="light"] .token-page h1,
html[data-theme="light"] .token-page h2 {
  color: #171717;
}

html[data-theme="light"] .token-page__section {
  background: #f7f8fa;
}

html[data-theme="light"] .token-page__notice,
html[data-theme="light"] .token-page__contract,
html[data-theme="light"] .token-page__timeline li {
  background: #ffffff;
  border-color: rgba(23, 23, 23, 0.14);
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.07);
}

html[data-theme="light"] .token-page__button {
  color: #1d1206;
  box-shadow: 0 10px 24px rgba(255, 138, 0, 0.22);
}

html[data-theme="dark"] .token-page {
  --token-page-accent: #ff9d2d;
  --token-page-ink: #f7f3ee;
  --token-page-muted: #c6beb4;
  --token-page-panel: rgba(255, 255, 255, 0.055);
  --token-page-line: rgba(255, 255, 255, 0.14);

  background: #0b0a09;
  color: var(--token-page-ink);
}

html[data-theme="dark"] .token-page__hero {
  background:
    radial-gradient(circle at 75% 5%, rgba(255, 138, 0, 0.20), transparent 32rem),
    #0b0a09;
}


/* =========================================================
   PVERSE_TOKEN_SUBPAGES_LIGHT_THEME_R3
   Keep generic token components readable inside .token-page.
   ========================================================= */

html[data-theme="light"] .token-page :is(
  h3,
  strong,
  .token-page__contract dd,
  .section__title,
  .cycle-step__title,
  .feature-item__title
) {
  color: #171717;
}

html[data-theme="light"] .token-page :is(
  .section__lead,
  .section__text,
  .cycle-step__text,
  .feature-item__text,
  .info-card p,
  .table-card__row span:last-child
) {
  color: #5f6368;
}

/* =========================================================
   R23_TOKEN_COMPACT_SUBPAGE_LAYOUT
   Utility / Distribution / Contracts only.
   Roadmap remains on the existing token-page layout.
   ========================================================= */

.token-page.token-page--compact {
  min-height: 0;
}

.token-page.token-page--compact .token-page__hero {
  padding:
    clamp(3.75rem, 7vw, 5.75rem)
    0
    clamp(2.5rem, 4vw, 3rem);
}

.token-page.token-page--compact .token-page__section {
  padding:
    clamp(2.5rem, 4vw, 3.25rem)
    0
    clamp(3.25rem, 5vw, 4rem);
}

@media (max-width: 42rem) {
  .token-page.token-page--compact .token-page__hero {
    padding:
      3.25rem
      0
      2.25rem;
  }

  .token-page.token-page--compact .token-page__section {
    padding:
      2.25rem
      0
      3rem;
  }
}
