@font-face { font-family: 'Cormorant'; src: url('/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b1020;
  --bg2: #0f1529;
  --card: #111830;
  --line: rgba(233, 214, 166, 0.14);
  --line2: rgba(233, 214, 166, 0.28);
  --cream: #f4e8c8;
  --text: #e9e2cf;
  --muted: #a59d88;
  --dim: #7d7766;
  --gold: #e3c88e;
  --gold2: #c4a060;
  --ok: #9fc49a;
  --warn: #e0b56b;
  --serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.hero-stats .v, .w-top .big, .round .when b, .row .rk { font-feature-settings: 'lnum' 1, 'tnum' 1; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }
b { color: var(--cream); font-weight: 600; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(11, 16, 32, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--cream); font: 600 23px/1 var(--serif); letter-spacing: 0.2px; }
.brand img { border-radius: 50%; border: 1px solid var(--line2); }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--cream); }
.nav .x { display: inline-flex; color: var(--text); }

/* hero */
.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; min-height: 600px; }
.hero-text { padding: 56px 0; min-width: 0; }
h1 { font: 500 clamp(52px, 7vw, 92px)/0.98 var(--serif); color: var(--cream); margin: 0 0 22px; letter-spacing: -0.5px; }
.lead { font-size: 19px; color: var(--text); max-width: 33em; margin: 0 0 26px; }
.hero-art { align-self: end; margin-right: -24px; min-width: 0; }
.hero-art img { -webkit-mask-image: radial-gradient(ellipse 58% 60% at 50% 54%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 58% 60% at 50% 54%, #000 52%, transparent 100%); }
.hero-art img { width: 100%; height: auto; display: block; }

.ca { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line2); border-radius: 10px; padding: 9px 12px; margin-bottom: 26px; font-size: 14px; color: var(--muted); max-width: 100%; }
.ca-wait { color: var(--gold); }
.ca code { font: 500 14px/1.2 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: var(--cream); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca button, .ca span { flex: none; }
.ca button { background: none; border: 1px solid var(--line2); color: var(--gold); border-radius: 7px; padding: 4px 9px; font: 500 12px var(--sans); cursor: pointer; }
.ca button:hover { color: var(--cream); border-color: var(--gold2); }

.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 28px; max-width: 560px; }
.hero-stats > div { flex: 1; padding: 14px 0; display: flex; flex-direction: column; gap: 2px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats .k { font-size: 13px; color: var(--muted); }
.hero-stats .v { font: 500 24px/1.2 var(--sans); color: var(--cream); font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 10px; font: 600 15px var(--sans); cursor: pointer; border: 1px solid transparent; }
.btn.gold { background: linear-gradient(180deg, #f1dca6, #c9a463); color: #1a1408; }
.btn.gold:hover { filter: brightness(1.06); color: #1a1408; }
.btn.line { border-color: var(--line2); color: var(--cream); }
.btn.line:hover { border-color: var(--gold2); }

/* sections */
.sec { padding: 84px 0; border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 30px; }
h2 { font: 500 48px/1.05 var(--serif); color: var(--cream); margin: 0 0 10px; }
h3 { font: 600 25px/1.15 var(--serif); color: var(--cream); margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0; font-size: 16.5px; max-width: 46em; }
.empty { color: var(--muted); padding: 26px 0; }

/* the ten */
.ten { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px minmax(0, 2.2fr) 1.1fr 1fr 1fr 1fr; gap: 14px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.row.head { color: var(--dim); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; padding: 10px 4px; }
.row .rk { font: 500 22px/1 var(--serif); color: var(--gold); }
.tok { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tok img, .tok .ph { width: 36px; height: 36px; border-radius: 50%; flex: none; background: var(--card); border: 1px solid var(--line); object-fit: cover; }
.tok .ph { display: grid; place-items: center; font: 600 14px var(--serif); color: var(--gold); }
.tok .nm { min-width: 0; }
.tok .sym { color: var(--cream); font-weight: 600; }
.tok .full { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.num { font-variant-numeric: tabular-nums; }
.row .num { color: var(--text); }
.row .small { color: var(--muted); font-size: 13px; display: block; }
.badge { display: inline-block; font-size: 12.5px; color: var(--ok); }
.badge.dub { color: var(--warn); }
.rules { color: var(--muted); font-size: 15px; margin: 22px 0 0; max-width: 60em; }
.turned { margin-top: 18px; color: var(--muted); font-size: 14px; }
.turned summary { cursor: pointer; color: var(--gold); }
.turned ul { list-style: none; padding: 0; margin: 12px 0 0; columns: 2; column-gap: 40px; }
.turned li { padding: 3px 0; break-inside: avoid; }
.turned li b { font-weight: 600; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 8px 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps .num { display: block; font: 500 40px/1 var(--serif); color: var(--gold); margin-bottom: 14px; }
.steps p { color: var(--text); margin: 0; }

/* wallet */
.lookup { display: flex; gap: 10px; }
.lookup input { flex: 1; height: 50px; background: var(--card); border: 1px solid var(--line2); border-radius: 10px; color: var(--cream); padding: 0 16px; font: 500 15px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; outline: none; min-width: 0; }
.lookup input:focus { border-color: var(--gold2); }
.lookup .btn { height: 50px; }
.wallet-out { margin-top: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 22px; }
.w-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.w-top .big { font: 500 30px/1.15 var(--sans); color: var(--cream); letter-spacing: -0.3px; }
.w-top .k { color: var(--muted); font-size: 13px; }
.w-note { margin: 14px 0 0; color: var(--muted); font-size: 14.5px; }
.w-note.good { color: var(--ok); }
.w-note.warn { color: var(--warn); }
.w-h { font: 600 20px var(--serif); color: var(--cream); margin: 20px 0 6px; }
.w-list { list-style: none; padding: 0; margin: 0; }
.w-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.w-list li:last-child { border-bottom: 0; }
.w-list .tok img, .w-list .tok .ph { width: 28px; height: 28px; }
.w-list .amt { text-align: right; }
.w-list .amt .small { color: var(--muted); font-size: 13px; display: block; }

/* rounds */
.rounds { border-top: 1px solid var(--line); }
.round { padding: 16px 4px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; gap: 18px; }
.round .when { color: var(--muted); font-size: 14px; }
.round .when b { display: block; font: 600 16px var(--sans); color: var(--cream); margin-bottom: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; font-size: 13px; color: var(--text); }
.chip.fail { color: var(--dim); text-decoration: line-through; }
.chip a { color: inherit; }
.round .pays { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* addresses */
.addrs { border-top: 1px solid var(--line); }
.addr { display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); align-items: baseline; }
.addr .k { color: var(--cream); font-weight: 500; }
.addr .k small { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; margin-top: 3px; }
.addr code { font: 500 14px ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: var(--gold); word-break: break-all; }

.foot { padding: 34px 0 44px; font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text); }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 40px 0 8px; }
  .hero-art { margin: 0 -24px; }
  .nav a:not(.x) { display: none; }
  .row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .row .c-price, .row .c-depth, .row .c-check { display: none; }
  .row.head .c-price, .row.head .c-depth, .row.head .c-check { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 22px 0 6px; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .round, .addr { grid-template-columns: 1fr; gap: 8px; }
  .turned ul { columns: 1; }
  h2 { font-size: 40px; }
  .sec { padding: 60px 0; }
  .lead { font-size: 17.5px; }
  .hero-stats .v { font-size: 20px; }
  .hero-stats > div + div { padding-left: 12px; }
  .hero-stats .k { font-size: 12px; }
  h1 { font-size: clamp(44px, 12.5vw, 60px); }
  .ca { display: flex; }
  .ca code { font-size: 12.5px; }
  .hero-art img { -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 75% 70% at 50% 46%, #000 60%, transparent 100%); }
}
