:root {
  --ink: #080808;
  --ink-soft: #14120f;
  --ivory: #f5f1e8;
  --ivory-deep: #ece5d6;
  --white: #ffffff;
  --gold: #d4af37;
  --gold-light: #f5d98b;
  --bronze: #a87932;
  --muted: #5d574c;
  --line: rgba(8, 8, 8, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, system-ui, sans-serif;
  --shadow: 0 24px 70px rgba(8, 8, 8, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--bronze);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section--dark .eyebrow,
.section--cta .eyebrow,
.site-footer .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(3.1rem, 8vw, 6.6rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(8, 8, 8, 0.94);
  color: var(--ivory);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 5.1rem;
}

.brand-link {
  flex: 0 0 auto;
  display: inline-flex;
}

.brand-link img {
  width: 220px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.7rem, 1.5vw, 1.35rem);
  margin-left: auto;
}

.desktop-nav a,
.mobile-nav nav > a {
  color: rgba(245, 241, 232, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav nav > a:hover,
.mobile-nav nav > a[aria-current="page"] {
  color: var(--gold-light);
}

.language-switcher,
.mobile-nav {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher summary,
.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--gold-light);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  list-style: none;
  text-transform: uppercase;
}

.language-switcher summary::-webkit-details-marker,
.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  min-width: 10.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line-dark);
  border-radius: 1rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.language-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  color: var(--ivory);
  font-size: 0.82rem;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
}

.mobile-nav {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.7rem);
  display: grid;
  gap: 0.35rem;
  min-width: min(84vw, 19rem);
  padding: 0.8rem;
  border: 1px solid var(--line-dark);
  border-radius: 1rem;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.mobile-nav nav > a {
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
}

.mobile-nav nav > a:hover,
.mobile-nav nav > a[aria-current="page"] {
  background: rgba(212, 175, 55, 0.12);
}

.mobile-languages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line-dark);
}

.mobile-languages a {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  color: var(--ivory);
  font-size: 0.78rem;
  text-decoration: none;
}

.mobile-languages a:hover,
.mobile-languages a[aria-current="true"] {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
}

.hero--dark {
  background:
    radial-gradient(circle at 76% 20%, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--ivory);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, black, transparent 85%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  right: -12rem;
  top: -12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 217, 139, 0.2), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 47rem;
}

.hero-brand {
  display: none;
}

.hero h1 {
  max-width: 14ch;
  text-wrap: balance;
}

.hero-accent {
  color: var(--gold-light);
  font-style: italic;
}

.hero-lede {
  max-width: 43rem;
  margin-top: 1.6rem;
  color: rgba(245, 241, 232, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.85;
}

.hero-note {
  max-width: 43rem;
  margin-top: 1.1rem;
  color: rgba(245, 241, 232, 0.46);
  font-size: 0.8rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 25rem;
}

.hero-art img {
  position: relative;
  z-index: 2;
  width: min(70%, 22rem);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.24);
}

.hero-ring--outer {
  inset: 3%;
}

.hero-ring--inner {
  inset: 16%;
  border-color: rgba(245, 217, 139, 0.32);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--bronze));
  color: var(--ink);
}

.button--ghost {
  border-color: rgba(245, 241, 232, 0.28);
  color: var(--ivory);
}

.button--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.button--dark {
  background: var(--ink);
  color: var(--ivory);
}

.section {
  padding: clamp(3.8rem, 7vw, 6.2rem) 0;
}

.section--light {
  background: var(--ivory);
}

.section--ivory {
  background: var(--ivory-deep);
}

.section--dark {
  background:
    radial-gradient(circle at 88% 10%, rgba(212, 175, 55, 0.12), transparent 28%),
    var(--ink);
  color: var(--ivory);
}

.section--dark .section-heading p,
.section--dark .card p,
.section--dark .card li {
  color: rgba(245, 241, 232, 0.62);
}

.section--dark .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-dark);
}

.section--dark .card h3 {
  color: var(--ivory);
}

.section--cta {
  background: var(--ink);
  color: var(--ivory);
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2.1rem;
}

.section-heading p {
  max-width: 46rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.section--dark .section-heading p {
  color: rgba(245, 241, 232, 0.62);
}

.prose {
  max-width: 68ch;
  margin-top: 1.4rem;
}

.prose p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.section--dark .prose p {
  color: rgba(245, 241, 232, 0.62);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.58);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 18px 45px rgba(8, 8, 8, 0.08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 1.4rem;
}

.card-meta {
  margin: 0;
  color: var(--bronze);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card h3 {
  margin-top: 1rem;
}

.card p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.card li + li {
  margin-top: 0.35rem;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status--real {
  background: rgba(34, 112, 67, 0.13);
  color: #1d6b40;
}

.status--demo {
  background: rgba(168, 121, 50, 0.16);
  color: #7a541b;
}

.status--planned {
  background: rgba(8, 8, 8, 0.07);
  color: #4e4a43;
}

.section--dark .status--real,
.section--dark .status--demo,
.section--dark .status--planned {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
}

.section-note {
  max-width: 52rem;
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.section--dark .section-note,
.section--cta .section-note {
  color: rgba(245, 241, 232, 0.58);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(212, 175, 55, 0.15), transparent 30%),
    rgba(255, 255, 255, 0.035);
}

.cta-panel h2 {
  max-width: 17ch;
}

.cta-panel p {
  max-width: 44rem;
  margin-top: 1rem;
  color: rgba(245, 241, 232, 0.62);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.token-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.token-spotlight-copy p {
  max-width: 43rem;
  margin-top: 1rem;
  color: var(--muted);
}

.token-spotlight-copy .button {
  margin-top: 1.6rem;
}

.token-spotlight-art {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.48);
  text-align: center;
}

.token-spotlight-art img {
  width: min(100%, 18rem);
  height: auto;
}

.token-spotlight-art p {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.6rem;
}

.token-spotlight-art span {
  color: var(--muted);
  font-size: 0.78rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
}

.fact {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.52);
}

.fact dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fact dd {
  margin: 0.4rem 0 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.contract-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.contract-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.52);
}

.contract-card code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.55;
}

.contract-card strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.contract-card span {
  color: var(--muted);
  font-size: 0.76rem;
}

.text-link {
  color: var(--bronze);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.notice {
  margin-top: 1.6rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(168, 121, 50, 0.34);
  border-radius: 1.1rem;
  background: rgba(168, 121, 50, 0.08);
}

.notice p {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.75;
}

.notice ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.notice li + li {
  margin-top: 0.3rem;
}

.notice--warning {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
}

.asset-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.asset-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.5);
}

.asset-list img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.asset-list strong,
.asset-list small {
  display: block;
}

.asset-list strong {
  font-size: 0.8rem;
}

.asset-list small {
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  background: var(--ink);
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(8rem, 0.5fr));
  gap: 2rem;
}

.footer-brand img {
  width: 220px;
  height: auto;
}

.footer-brand p {
  max-width: 34rem;
  margin-top: 1rem;
  color: rgba(245, 241, 232, 0.62);
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer-brand .footer-note {
  color: rgba(245, 241, 232, 0.46);
  font-size: 0.76rem;
}

.footer-column h2 {
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-column li + li {
  margin-top: 0.45rem;
}

.footer-column a {
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  max-width: 52rem;
  color: rgba(245, 241, 232, 0.38);
  font-size: 0.7rem;
  line-height: 1.7;
}

.not-found {
  max-width: 44rem;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.not-found h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.not-found p {
  margin-top: 1rem;
  color: var(--muted);
}

.not-found .button {
  margin-top: 1.6rem;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .language-switcher {
    margin-left: 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 18rem;
  }

  .hero-art img {
    width: min(46%, 15rem);
  }

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .header-inner {
    min-height: 4.4rem;
    gap: 0.6rem;
  }

  .brand-link img {
    width: 220px;
  }

  .language-switcher {
    display: none;
  }

  .mobile-nav summary {
    min-height: 2.1rem;
    padding-inline: 0.65rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-art {
    display: none;
  }

  .card-grid,
  .facts,
  .contract-grid,
  .asset-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .token-spotlight {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
