@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #060908;
  --panel: rgba(16, 22, 21, 0.88);
  --panel-strong: rgba(20, 28, 27, 0.95);
  --tile: rgba(255, 255, 255, 0.052);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7fbf8;
  --soft: #c9d7d1;
  --muted: #94a39d;
  --green: #6ee7b7;
  --cyan: #67e8f9;
  --amber: #f7c15c;
  --blue: #8ebcff;
  --red: #ff6d75;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  --container: 1240px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(1100px 520px at 78% -10%, rgba(110, 231, 183, 0.16), transparent 60%),
    linear-gradient(145deg, rgba(103, 232, 249, 0.08), transparent 38%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026), transparent 36rem),
    var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 9, 8, 0.78);
  backdrop-filter: blur(20px);
}

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

.brand span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(110, 231, 183, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(247, 251, 248, 0.1), transparent),
    linear-gradient(135deg, rgba(110, 231, 183, 0.2), rgba(103, 232, 249, 0.12));
  color: var(--green);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 34px rgba(110, 231, 183, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.brand small,
nav a,
.asset-head,
.section-title span,
dt,
.metric-tile span,
.address-stack label,
.eyebrow,
.price-note {
  color: var(--muted);
}

nav {
  display: flex;
  gap: 8px;
}

nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.9rem;
  font-weight: 760;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

nav a:hover,
.button:hover {
  border-color: rgba(103, 232, 249, 0.58);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(110, 231, 183, 0.72);
  background: linear-gradient(135deg, #dffff0, #c7f9ff);
  color: #04120d;
}

.overview,
.token-hero,
.asset-list,
.split,
.data-band,
.asset-story,
.pillars,
.market-strip,
.xrpl-facts,
.page-actions,
.notice {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.overview,
.token-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 28px;
  align-items: stretch;
  padding: 70px 0 36px;
}

.token-hero {
  grid-template-columns: 1fr;
  padding: 54px 0 28px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  font-weight: 820;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.75rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 850;
}

h2 {
  font-size: 1.24rem;
  line-height: 1.2;
  font-weight: 780;
}

h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 760;
}

.lede,
.token-copy p,
.asset-card p,
.panel p,
.asset-story p,
.pillar-grid p,
.notice p {
  color: var(--soft);
  line-height: 1.68;
}

.lede {
  max-width: 720px;
  font-size: clamp(1.04rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.token-copy > p:not(.asset-thesis) {
  max-width: 760px;
  font-size: 1.02rem;
}

.asset-thesis {
  max-width: 820px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(110, 231, 183, 0.24);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: rgba(110, 231, 183, 0.055);
  font-size: 1rem;
  line-height: 1.65;
}

.market-panel,
.finder-panel,
.finder-card,
.price-console,
.asset-story article,
.pillar-grid article,
.price-strip,
.xrpl-facts,
.asset-card,
.panel,
.metric-tile,
.notice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(110, 231, 183, 0.26);
  border-radius: var(--radius);
  background: rgba(110, 231, 183, 0.07);
  color: var(--soft);
  font-size: 0.84rem;
  font-weight: 850;
}

.trust-row span::before {
  content: "\2713";
  margin-right: 7px;
  color: var(--green);
}

.finder-panel {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(110, 231, 183, 0.08), transparent 45%),
    linear-gradient(0deg, rgba(103, 232, 249, 0.05), transparent),
    var(--panel);
}

.finder-card {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  min-height: 248px;
  padding: 24px;
  border-color: rgba(110, 231, 183, 0.22);
  background: rgba(7, 13, 12, 0.72);
}

.finder-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 9px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  border-radius: var(--radius);
  color: var(--cyan);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.finder-card strong {
  max-width: 440px;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  line-height: 1.12;
  font-weight: 820;
}

.finder-card p {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--soft);
  line-height: 1.6;
}

.signal-grid {
  position: absolute;
  inset: 26px;
  opacity: 0.62;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
}

.signal-grid span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(110, 231, 183, 0.78);
}

.signal-grid span:nth-child(1) {
  left: 13%;
  top: 24%;
}

.signal-grid span:nth-child(2) {
  left: 72%;
  top: 18%;
  background: var(--cyan);
}

.signal-grid span:nth-child(3) {
  left: 84%;
  top: 72%;
  background: var(--blue);
}

.signal-grid span:nth-child(4) {
  left: 36%;
  top: 82%;
  background: var(--amber);
}

.market-panel {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 22px;
}

.pulse-ring {
  position: absolute;
  inset: 22px 22px 116px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pulse-ring span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 24px rgba(110, 231, 183, 0.75);
}

.pulse-ring span:nth-child(1) {
  left: 18%;
  top: 26%;
}

.pulse-ring span:nth-child(2) {
  left: 64%;
  top: 38%;
  background: var(--cyan);
}

.pulse-ring span:nth-child(3) {
  left: 45%;
  top: 72%;
  background: var(--amber);
}

.market-panel dl,
.price-console dl {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
}

.market-panel dl div,
.price-console dl div,
.metric-grid div {
  padding: 14px;
  border-radius: var(--radius);
  background: var(--tile);
}

dt {
  margin-bottom: 5px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.04em;
}

dd {
  margin: 0;
  font-weight: 850;
}

.asset-list {
  padding: 34px 0 84px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
}

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

.asset-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.asset-card:hover {
  border-color: rgba(110, 231, 183, 0.42);
  background: var(--panel-strong);
  transform: translateY(-2px);
}

.asset-card .button {
  width: fit-content;
  margin-top: auto;
}

.asset-card h2 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.asset-card p {
  font-size: 0.95rem;
}

.asset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 760;
}

.asset-identity {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.token-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.token-logo.small {
  width: 40px;
  height: 40px;
}

.token-badge,
.verified-badge,
.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
}

.token-badge {
  min-width: 64px;
  height: 32px;
  border: 1px solid rgba(110, 231, 183, 0.44);
  color: var(--green);
  background: rgba(110, 231, 183, 0.08);
}

.verified-badge {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(110, 231, 183, 0.5);
  background: rgba(110, 231, 183, 0.1);
  color: var(--green);
  font-size: 0.72rem;
}

.verified-badge::before {
  content: "\2713";
  margin-right: 6px;
}

.verified-badge.compact {
  width: fit-content;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--cyan);
  font-weight: 850;
}

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

.price-console {
  position: relative;
  min-height: 360px;
  padding: 24px;
}

.status {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.status.live {
  border-color: rgba(110, 231, 183, 0.45);
  color: var(--green);
}

.status.offline {
  border-color: rgba(255, 109, 117, 0.45);
  color: var(--red);
}

.asset-story {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 18px;
  padding: 0 0 28px;
}

.asset-story article {
  min-height: 220px;
  padding: 24px;
}

.asset-story .story-lead {
  grid-row: span 3;
  background:
    linear-gradient(135deg, rgba(103, 232, 249, 0.08), transparent 42%),
    var(--panel-strong);
}

.asset-story h2 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.04;
}

.pillars {
  padding: 0 0 28px;
}

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

.pillar-grid article {
  min-height: 188px;
  padding: 20px;
}

.market-strip {
  padding: 0 0 24px;
}

.xrpl-facts {
  padding: 24px;
  margin-bottom: 28px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}

.fact-grid > div {
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  background: var(--tile);
}

.fact-grid dd {
  overflow-wrap: anywhere;
}

.price-note {
  display: block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.issuer-fact {
  grid-column: span 2;
}

.issuer-fact dd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.issuer-line {
  display: grid;
  gap: 8px;
}

.copy-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(103, 232, 249, 0.55);
  border-radius: var(--radius);
  background: rgba(103, 232, 249, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
}

.page-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 0 34px;
}

.data-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 0 24px;
}

.metric-tile {
  min-height: 118px;
  padding: 18px;
}

.metric-tile span,
.metric-tile strong {
  display: block;
}

.metric-tile strong {
  margin-top: 18px;
  overflow-wrap: anywhere;
  font-size: 1.15rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 24px;
}

.split.single {
  grid-template-columns: 1fr;
}

.panel {
  padding: 24px;
}

.highlights,
.sector-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.highlights li,
.sector-list li {
  padding-left: 16px;
  border-left: 3px solid var(--cyan);
  color: var(--soft);
  line-height: 1.55;
}

.address-stack {
  display: grid;
  gap: 7px;
}

code {
  display: block;
  padding: 11px;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090c10;
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.45;
}

.notice {
  margin-bottom: 64px;
  padding: 18px 20px;
}

.notice p {
  margin: 8px 0 0;
}

.error {
  color: var(--red);
}

.site-footer {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.site-footer a {
  color: var(--green);
  font-weight: 850;
}

.error-page {
  display: grid;
  align-content: center;
  width: min(900px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 42px 0;
}

.error-brand {
  width: fit-content;
  margin-bottom: 26px;
}

.error-panel {
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(110, 231, 183, 0.08), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}

.error-panel h1 {
  max-width: 720px;
}

@media (max-width: 1080px) {
  :root {
    --container: 960px;
  }

  .overview {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .finder-panel {
    min-height: 300px;
  }

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

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

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

  .issuer-fact {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .topbar,
  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    position: static;
    gap: 14px;
    min-height: auto;
  }

  nav {
    width: 100%;
  }

  nav a {
    flex: 1;
  }

  .overview,
  .token-hero,
  .asset-story,
  .split,
  .data-band,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .asset-story .story-lead {
    grid-row: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .issuer-fact {
    grid-column: auto;
  }

  .issuer-fact dd {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .market-panel,
  .price-console {
    min-height: 320px;
  }

  .page-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .overview,
  .token-hero,
  .asset-list,
  .split,
  .data-band,
  .asset-story,
  .pillars,
  .market-strip,
  .xrpl-facts,
  .page-actions,
  .notice {
    width: min(100% - 24px, 1180px);
  }

  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  body {
    font-size: 15px;
  }

  .topbar {
    padding: 14px 12px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  nav {
    gap: 6px;
  }

  nav a,
  .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.86rem;
  }

  .overview {
    padding: 38px 0 24px;
  }

  .token-hero {
    padding: 30px 0 22px;
  }

  .page-actions {
    flex-direction: column;
  }

  .page-actions .button,
  .hero-actions .button,
  .asset-card .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.05rem);
    line-height: 1.04;
  }

  h2 {
    font-size: 1.14rem;
  }

  .lede,
  .token-copy > p:not(.asset-thesis) {
    font-size: 1rem;
  }

  .trust-row {
    gap: 8px;
  }

  .trust-row span {
    min-height: 32px;
    font-size: 0.78rem;
  }

  .finder-panel {
    min-height: 278px;
    padding: 14px;
  }

  .finder-card {
    min-height: 210px;
    padding: 18px;
  }

  .finder-card strong {
    font-size: 1.44rem;
  }

  .asset-card,
  .asset-story article,
  .pillar-grid article,
  .panel,
  .xrpl-facts {
    padding: 18px;
  }

  .asset-card {
    min-height: 0;
  }

  .asset-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .asset-story h2 {
    font-size: 2rem;
  }

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

  .fact-grid > div {
    min-height: 0;
    padding: 14px;
  }

  .issuer-line code {
    font-size: 0.76rem;
  }

  .market-panel dl,
  .price-console dl {
    grid-template-columns: 1fr;
  }

  .market-panel,
  .price-console {
    min-height: 430px;
  }
}
