/* Layout: Apple-quiet. A translucent bar, a centered headline, then soft grey rounded surfaces that hold
   white token tiles. Black and white only; the tokens bring the color. Progress is 100 dots, one per token. */
:root {
  --bg: #ffffff; --tint: #f5f5f7; --tint-2: #e8e8ed; --ink: #1d1d1f; --muted: #6e6e73; --line: #d2d2d7; --error: #c4281c;
  --radius: 22px; --radius-s: 14px; --pill: 980px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 17px/1.47 var(--sans); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 22px; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 52px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { width: 24px; height: 24px; display: block; }
nav { display: flex; gap: 22px; margin-right: auto; font-size: 13px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover, nav a[aria-current=page] { color: var(--ink); }

button, .button { font: inherit; font-size: 15px; border: 0; background: var(--tint); color: var(--ink); border-radius: var(--pill); padding: 9px 18px; cursor: pointer; text-decoration: none; display: inline-block; transition: background .15s, opacity .15s; }
button:hover, .button:hover { background: var(--tint-2); }
button.primary, .button.primary { background: var(--ink); color: #fff; }
button.primary:hover, .button.primary:hover { background: #000; }
#connect { font-size: 13px; padding: 6px 14px; }
button:disabled { opacity: .5; cursor: wait; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
input, select, textarea { font: inherit; font-size: 15px; border: 0; border-radius: 12px; padding: 11px 14px; background: var(--tint); color: var(--ink); width: 100%; min-width: 0; }
input::placeholder, textarea::placeholder { color: #86868b; }
textarea { font-family: var(--mono); font-size: 13px; resize: vertical; }
select { appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231d1d1f' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 10px; }

main { padding-block: 0 96px; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; margin: 0 0 16px; text-wrap: balance; }
h2 { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; margin: 56px 0 6px; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 12px; }
.intro { text-align: center; padding-block: 72px 44px; max-width: 760px; margin: 0 auto; }
.intro p { margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 36rem; }
.muted { color: var(--muted); }
.eyebrow { font-size: 14px; color: var(--muted); margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.notice { background: var(--tint); border-radius: var(--radius-s); padding: 16px 20px; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 15px; }
.notice.error { color: var(--error); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 40px; text-align: center; }
.stats div { padding: 4px; }
.stats dt { font-size: 13px; color: var(--muted); order: 2; }
.stats dd { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats div { display: flex; flex-direction: column-reverse; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-bottom: 28px; }
.toolbar input { width: min(14rem, 100%); border-radius: var(--pill); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--tint); border-radius: var(--pill); padding: 3px; gap: 2px; }
.seg button { background: transparent; padding: 7px 14px; font-size: 13px; color: var(--muted); }
.seg button:hover { background: transparent; color: var(--ink); }
.seg button span { font-variant-numeric: tabular-nums; margin-left: 2px; opacity: .7; }
.seg button[aria-pressed=true] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.sort { display: flex; flex-direction: row; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.sort select { width: auto; border-radius: var(--pill); font-size: 13px; padding-block: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 18px; }
.card { text-decoration: none; background: var(--tint); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; transition: transform .2s ease, background .2s; }
.card:hover { transform: translateY(-2px); background: var(--tint-2); }
.art-wrap { aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; background: #fff; }
canvas.art { display: block; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.card-body { padding: 12px 6px 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-top b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-meta { font-size: 13px; color: var(--muted); }
.card-row { display: flex; align-items: center; gap: 10px; font-size: 13px; font-variant-numeric: tabular-nums; margin-top: 6px; white-space: nowrap; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: var(--pill); white-space: nowrap; background: var(--bg); color: var(--muted); letter-spacing: 0; }
.chip.live { background: var(--ink); color: #fff; }
.chip.soon, .chip.idle { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: transparent; }
.chip.sold { background: var(--tint-2); color: var(--ink); }

/* 100 dots, one per token */
.grid100 { display: inline-grid; grid-template-columns: repeat(10, 3px); gap: 2px; vertical-align: middle; }
.grid100 i { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.grid100 i.on { background: var(--ink); }
.panel .grid100 { grid-template-columns: repeat(10, 8px); gap: 4px; }
.panel .grid100 i { width: 8px; height: 8px; }

.back { display: inline-block; margin: 28px 0 24px; color: var(--muted); text-decoration: none; font-size: 15px; }
.back::before { content: "‹ "; }
.col-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 320px); gap: 40px; align-items: start; }
.col-head.two { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.col-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.col-art { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--tint-2); }
.col-art.small { width: 72px; border-radius: var(--radius-s); flex: none; }
.panel { background: var(--tint); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel h3 { margin: 0; }
.mint-top { display: flex; align-items: center; gap: 16px; }
.mint-top p { margin: 0; font-size: 15px; } .mint-top b { font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.kv { margin: 0; display: grid; gap: 10px; }
.kv div { display: flex; justify-content: space-between; gap: 10px; }
.kv dt { color: var(--muted); font-size: 14px; } .kv dd { margin: 0; text-align: right; font-size: 14px; font-weight: 500; }
#mint-actions { display: flex; flex-direction: column; gap: 12px; }
#mint-actions button { width: 100%; padding-block: 12px; }
.qty { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.qty input { width: 6rem; background: var(--bg); text-align: center; border-radius: var(--pill); }
.al-box { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.al-box p { margin: 0; font-size: 14px; }
.trait-box { margin-top: 22px; }
.traits { list-style: none; margin: 0; padding: 0; max-width: 26rem; }
.traits li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--tint-2); font-size: 15px; }
.traits span { color: var(--muted); }
.traits b { font-weight: 500; }

.tokens { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.tok { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: #fff; line-height: 0; box-shadow: 0 0 0 1px var(--tint-2); transition: transform .15s, box-shadow .15s; }
.tok:hover { background: #fff; transform: scale(1.04); }
.tok[aria-pressed=true] { box-shadow: 0 0 0 2px var(--ink); }
.tok.empty { aspect-ratio: 1; display: grid; place-items: center; background: var(--tint); box-shadow: none; cursor: default; line-height: 1; transform: none; }
.tok.empty span { font-size: 11px; color: #a1a1a6; }

.desk-item { background: var(--tint); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.desk-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.desk-head h2 { margin: 0; font-size: 1.5rem; } .desk-head h2 a { text-decoration: none; } .desk-head p { margin: 0; }
.desk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.desk-grid > div { background: var(--bg); border-radius: var(--radius-s); padding: 20px; }
.desk-grid input, .desk-grid textarea, .desk-body > .fields input { background: var(--tint); }
.desk-body > h3 + p { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.fields.one { grid-template-columns: 1fr; max-width: 12rem; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin: 6px 0 14px; }
.desk-body > .fields { background: var(--bg); padding: 16px; border-radius: var(--radius-s); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%) translateY(16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--pill); max-width: min(34rem, calc(100% - 32px)); transition: opacity .25s, transform .25s; font-size: 15px; box-shadow: 0 8px 30px rgba(0, 0, 0, .18); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--error); }
html { scroll-behavior: smooth; }

/* Home: the headline, the wall of all 1000 collections, how it works, then the market. */
.hero { text-align: center; padding-block: 92px 36px; max-width: 820px; margin: 0 auto; }
.hero h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.045em; margin-bottom: 20px; }
.hero .lede { margin: 0 auto; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; max-width: 38rem; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 30px; }
.button.large, button.large { font-size: 17px; padding: 12px 24px; }
.cta .note { font-size: 15px; color: var(--muted); width: 100%; margin: 4px 0 0; }

.wall { position: relative; width: fit-content; max-width: 100%; margin: 28px auto 0; background: var(--tint); border-radius: calc(var(--radius) + 6px); padding: 14px; line-height: 0; }
.wall canvas { display: block; margin: 0 auto; image-rendering: pixelated; cursor: pointer; border-radius: 10px; }
.wall-tip { position: absolute; left: 0; top: 0; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; line-height: 1.3; padding: 6px 12px; border-radius: var(--pill); white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 10px)); transition: opacity .12s; z-index: 2; }
.wall-tip.show { opacity: 1; }
.wall-cap { text-align: center; color: var(--muted); font-size: 13px; margin: 14px 0 0; line-height: 1.4; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 88px 0 0; text-align: center; }
.facts div { display: flex; flex-direction: column-reverse; gap: 2px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }

.section-head { text-align: center; margin: 104px auto 36px; max-width: 40rem; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.035em; margin: 0 0 10px; line-height: 1.08; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps li { background: var(--tint); border-radius: var(--radius); padding: 28px 24px 30px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 22px; }
.steps h3 { font-size: 1.25rem; letter-spacing: -.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 22px auto 0; max-width: 40rem; }

.site-foot { border-top: 1px solid var(--tint-2); color: var(--muted); font-size: 13px; padding-block: 34px 48px; }
.site-foot .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.site-foot p { margin: 0; max-width: 36rem; }
.foot-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.foot-brand img { display: block; }
#foot-links a { color: var(--ink); text-decoration: none; margin: 0 9px; }
#foot-links a:hover { text-decoration: underline; }
.empty-state { text-align: center; padding-block: 120px; }
.empty-state h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.empty-state p { max-width: 34rem; margin-inline: auto; text-wrap: pretty; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero > *, .wall { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero > :nth-child(2) { animation-delay: .06s; } .hero > :nth-child(3) { animation-delay: .12s; } .wall { animation-delay: .18s; }

@media (max-width: 980px) {
  .col-head { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; }
  .col-head .panel { grid-column: 1 / -1; }
  .desk-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .topbar .wrap { gap: 14px; }
  .brand span { display: none; }
  nav { gap: 16px; }
  .intro { padding-block: 44px 28px; }
  .stats, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .hero { padding-block: 56px 24px; }
  .wall { padding: 8px; border-radius: var(--radius); }
  .facts { margin-top: 56px; }
  .section-head { margin: 72px auto 24px; }
  .col-head { grid-template-columns: 1fr; }
  .col-art:not(.small) { max-width: 280px; }
  .tokens { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  .fields { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 18px; padding: 8px; }
  .desk-item { padding: 18px; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .card:hover, .tok:hover { transform: none; } }
