@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --page: #f7f6f2; --ink: #131313; --soft: #6c6b67; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--page); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

.nav { position: absolute; inset: 0 0 auto 0; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px clamp(20px, 11vw, 150px); font-size: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.mark { width: 22px; height: 22px; }
.nav nav { display: flex; gap: 30px; color: var(--soft); }
.nav nav a:hover { color: var(--ink); }
.nav-end { justify-self: end; }
.nav-buy { font-weight: 600; padding: 9px 16px; border-radius: 10px; background: var(--ink); color: #fff; }

.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fade { position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(to bottom, rgba(247, 246, 242, 0), var(--page) 86%); pointer-events: none; }

.copy-wrap { position: absolute; inset: auto 0 5.5vh 0; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 3; }
h1 { margin: 0; font-weight: 600; font-size: clamp(60px, 10.6vw, 152px); line-height: 0.9; letter-spacing: -0.055em; mix-blend-mode: difference; color: #fff; }
h1 span { display: block; }
h1 .second { color: #a9a9a9; }
.cta { display: flex; gap: 14px; margin-top: 34px; }
.btn { font-weight: 600; font-size: 15px; padding: 15px 26px; border-radius: 14px; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.12); }
.btn.ghost { background: #7d7c79; color: #fff; }
.facts { margin: 22px 0 0; font-size: 13px; color: var(--soft); display: flex; align-items: center; }
.facts i { width: 1px; height: 11px; background: #c9c7c0; margin: 0 12px; display: inline-block; }
.token { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.token code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--soft); background: #eeece6; padding: 9px 12px; border-radius: 10px; }
.token .copy, .token .buy { font: inherit; font-weight: 600; border: 0; cursor: pointer; padding: 9px 14px; border-radius: 10px; }
.token .copy { background: #e4e2db; color: var(--ink); }
.token .buy { background: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .nav { grid-template-columns: 1fr auto; padding: 18px 20px; }
  .nav nav { display: none; }
  .hero { min-height: 620px; }
  .token code { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* inside the ring: every room is a dark throat of rings with the room floating in the middle */
body.inner { height: auto; min-height: 100%; background: var(--page); color: #f3f2ee; }
body.inner #scene { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 62% 78% at 50% 52%, rgba(0, 0, 0, 0.86) 0 46%, rgba(0, 0, 0, 0) 100%); }
body.inner .nav { position: fixed; mix-blend-mode: difference; color: #fff; }
body.inner .nav nav { color: rgba(255, 255, 255, 0.62); }
body.inner .nav nav a:hover, .nav nav a.on { color: #fff; }
.nav nav a.on { font-weight: 600; }
.nav-end { display: flex; gap: 22px; align-items: center; font-weight: 600; }
body.inner .nav-buy { background: none; padding: 0; color: #fff; }
.room { position: relative; z-index: 2; width: min(720px, calc(100vw - 40px)); margin: 0 auto; padding: 21vh 0 22vh; }
.title { margin: 0; text-align: center; font-weight: 600; font-size: clamp(56px, 9.4vw, 132px); line-height: 0.9; letter-spacing: -0.055em; color: #fff; }
.lede { text-align: center; max-width: 470px; margin: 26px auto 9vh; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.slab { padding: 34px 0 38px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.slab h2 { margin: 0 0 22px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.5); }
.slab.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.slab.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; }
.slab.three a { padding: 30px 18px 34px 0; }
.slab.three a + a { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.14); }
.slab.three a h2 { color: #fff; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 8px; }
.slab.three a p { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 14px; }
.none, .soft { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.55); line-height: 1.5; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); font-size: 15px; }
.rows li:first-child { border-top: 0; padding-top: 0; }
.q { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; }
.q strong { font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.q span, .meta { font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.res { font-weight: 600; }
.lnk { text-decoration: underline; text-underline-offset: 3px; }
.addr { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; margin: 14px 0 0; word-break: break-all; color: rgba(255, 255, 255, 0.75); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; margin: 0; }
.stats dt { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.stats dd { margin: 0; font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; letter-spacing: -0.04em; }
.stats dd small { font-size: 0.45em; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, 0.5); margin-left: 6px; }
.act { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.act.inline { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; margin: 0; }
.act label { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.act > div { display: flex; gap: 10px; }
input:not([type=radio]) { font: inherit; font-size: 17px; flex: 1; min-width: 140px; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); border-radius: 0; background: transparent; color: #fff; outline: none; }
input::placeholder { color: rgba(255, 255, 255, 0.35); }
input:focus { border-bottom-color: #fff; }
button { font: inherit; font-size: 15px; font-weight: 600; padding: 13px 24px; border-radius: 14px; border: 0; cursor: pointer; background: #fff; color: #111; transition: transform 0.15s ease; }
button:hover { transform: translateY(-1px); }
button.dim { background: rgba(255, 255, 255, 0.14); color: #fff; }
button.copy { background: rgba(255, 255, 255, 0.14); color: #fff; padding: 8px 14px; font-size: 13px; border-radius: 10px; }
button.big { margin-top: 20px; }
button[disabled] { opacity: 0.5; cursor: default; transform: none; }
.say { flex-basis: 100%; margin: 0; font-size: 13px; min-height: 16px; color: rgba(255, 255, 255, 0.75); }
.pick { display: flex; gap: 8px; }
.pick label { flex: 1; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: block; text-align: center; padding: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.22); font-size: 14px; font-weight: 600; cursor: pointer; color: rgba(255, 255, 255, 0.7); }
.pick input:checked + span { background: #fff; color: #111; border-color: #fff; }
.book { list-style: none; margin: 0; padding: 0; font-variant-numeric: tabular-nums; text-align: center; }
.book li { padding: 5px 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.book li i { display: none; }
.book li.ask { color: rgba(255, 255, 255, 0.34); }
.book li.none { font-weight: 400; font-size: 14px; letter-spacing: 0; color: rgba(255, 255, 255, 0.45); padding: 10px 0; }
.mid { margin: 14px 0; padding: 12px 0; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.steps { margin: 0; padding-left: 20px; display: grid; gap: 14px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.steps strong { color: #fff; }
.rules { width: 100%; border-collapse: collapse; font-size: 15px; }
.rules th { text-align: left; font-size: 13px; color: rgba(255, 255, 255, 0.5); font-weight: 500; padding: 0 16px 10px 0; }
.rules td { padding: 15px 16px 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.09); vertical-align: top; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }
.rules td:first-child { font-weight: 600; color: #fff; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin: 0; }
.kv dt { font-size: 13px; color: rgba(255, 255, 255, 0.5); grid-row: auto; }
.kv dd { margin: 6px 0 0; font-size: clamp(24px, 3.2vw, 34px); font-weight: 600; letter-spacing: -0.04em; }
.kv div { min-width: 0; }
@media (max-width: 760px) {
  .veil { background: rgba(0, 0, 0, 0.78); }
  .room { padding: 110px 0 90px; }
  .slab.two, .slab.three { grid-template-columns: 1fr; gap: 30px; }
  .slab.three a + a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-end { gap: 14px; }
}

/* wallet picker */
.picker { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(0, 0, 0, 0.72); padding: 20px; }
.picker-panel { width: min(380px, 100%); background: #111; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px; padding: 26px 22px 18px; color: #fff; }
.picker-panel h2 { margin: 0 4px 16px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.picker-row { display: flex; align-items: center; gap: 14px; width: 100%; margin: 0 0 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); color: #fff; font-size: 16px; text-align: left; }
.picker-row:hover { background: rgba(255, 255, 255, 0.14); transform: none; }
.picker-row img { width: 28px; height: 28px; border-radius: 8px; }
