/* Diadem — shared styles */
:root {
  --ink: #263328;
  --ink-2: #46524A;
  --body: #4C5A4F;
  --muted: #5B665E;
  --faint: #6B746D;
  --green: #2E7D32;
  --green-dark: #1E5A1F;
  --green-text: #2D6A27;
  --leaf: #4E8F34;
  --mint: #EFF5E9;
  --mint-line: #D7E6CF;
  --lav: #F1ECF7;
  --lav-soft: #F6F3FA;
  --lav-line: #E2D9EF;
  --lav-ink: #3F3763;
  --lav-ink-2: #4F4868;
  --amber-bg: #FFF4DE;
  --amber-ink: #7A4A00;
  --red-ink: #A33A2B;
  --page: #F8F6EF;
  --page-2: #F3F0E7;
  --card: #FFFFFF;
  --line: #ECE8DE;
  --field: #DCD8CC;
  --sky: linear-gradient(180deg, #E8E1F3 0%, #ECE2F2 30%, #F4E5EE 62%, #FBECE7 100%);
  --shadow: 0 12px 30px rgba(70, 60, 100, 0.07);
  --shadow-lg: 0 24px 50px rgba(70, 60, 100, 0.10);
  --radius: 24px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green-dark); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid #7DB378; outline-offset: 2px; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* ---------- Nav ---------- */
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 6px rgba(70, 60, 110, 0.12)); }
.brand span { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink); }
.nav-links { flex: 1 1 320px; min-width: 0; display: flex; justify-content: safe center; align-items: center; gap: 6px; overflow-x: auto; white-space: nowrap; font-size: 15px; font-weight: 600; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; color: var(--ink-2); }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.75); color: var(--green-dark); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(46, 125, 50, 0.25); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(38, 51, 40, 0.18); color: var(--ink); font-weight: 600; }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-white { background: #fff; border: 1px solid var(--field); color: var(--ink); }
.btn-white:hover { border-color: #BDB8AA; color: var(--ink); }
.btn-outline { background: transparent; border: 1.5px solid var(--green); color: var(--green-dark); }
.btn-outline:hover { background: var(--mint); }
.btn-soft { background: var(--mint); color: var(--green-dark); }
.btn-soft:hover { background: #E2EED9; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #141c16; color: #fff; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { background: #9AA79C; color: #fff; box-shadow: none; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Pills / segmented ---------- */
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #ECE9DF; }
.segmented button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.segmented button[aria-pressed="true"], .segmented button[aria-selected="true"] { background: #fff; color: var(--green-dark); font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.segmented.small button { min-height: 36px; min-width: 44px; padding: 0 12px; font-size: 13px; }
.count { margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #E2DED3; color: var(--ink-2); }
[aria-selected="true"] .count { background: var(--mint); color: var(--green-dark); }

/* ---------- Common bits ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-text); }
.eyebrow.lav { color: #5B556E; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; }
.chip-live { background: var(--green-dark); color: #fff; }
.chip-live .dot { background: #A8EC8E; }
.chip-review { background: var(--amber-bg); color: var(--amber-ink); }
.chip-review .dot { background: #D99A2B; }
.chip-outline { background: #fff; color: var(--green-text); border: 1px solid var(--mint-line); }
.num-badge { width: 40px; height: 40px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; line-height: 1; }
.num-badge.n1 { background: var(--lav); color: var(--lav-ink); }
.num-badge.n2 { background: var(--mint); color: var(--green-dark); }
.num-badge.n3 { background: var(--green); color: #fff; }
.progress { height: 8px; border-radius: 999px; background: #D9E7D0; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7DB378, var(--green)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea { min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--field); background: #FDFCF9; color: var(--ink); font-size: 14px; }
.field textarea { resize: vertical; min-height: 88px; }
.icon { width: 16px; height: 16px; flex: none; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #E6E2D6; background: var(--page-2); }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--body); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-brand b { display: block; color: var(--ink); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* =========================================================
   Launchpad (index.html)
   ========================================================= */
.sky { background: var(--sky); }
.hero { max-width: 920px; margin: 0 auto; padding: 72px 32px 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero-sub { max-width: 600px; font-size: 20px; line-height: 1.55; color: var(--ink-2); }
.hero-ctas { margin-top: 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-stats { font-size: 15px; color: var(--body); }
.hero-stats b { color: var(--ink); }
.hills { position: relative; background: #FBECE7; }
.hills img { width: 100%; height: clamp(170px, 18vw, 300px); -o-object-fit: cover; object-fit: cover; -o-object-position: center bottom; object-position: center bottom; }
.hills::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(248, 246, 239, 0) 0%, var(--page) 100%); }
@media (max-width: 600px) { .hero { padding: 48px 20px 28px; } .hero-sub { font-size: 18px; } }

.how { margin-top: 8px; }
.how .card { padding: 32px; box-shadow: var(--shadow-lg); border-radius: 28px; display: flex; flex-direction: column; gap: 24px; }
.how-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.how-head h2 { margin-top: 6px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.steps h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { font-size: 15px; line-height: 1.55; color: var(--body); }
@media (max-width: 600px) { .how .card { padding: 24px; } }

.launches { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.launches-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 24px; }
.launches-head h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; }
.launches-head p { margin-top: 6px; font-size: 16px; color: var(--body); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.search { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--field); }
.search input { width: 200px; min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--ink); font-size: 15px; }
.search input:focus { outline: none; }
.search:focus-within { border-color: #7DB378; box-shadow: 0 0 0 3px rgba(125, 179, 120, 0.25); }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.empty { padding: 36px 20px; border-radius: 16px; background: #FAF8F3; text-align: center; font-size: 15px; color: var(--muted); }

.token-card { overflow: hidden; display: flex; flex-direction: column; }
.token-card .art { position: relative; padding: 12px 12px 0; }
.token-card .art img { width: 100%; aspect-ratio: 299 / 164; -o-object-fit: cover; object-fit: cover; border-radius: 16px; }
.token-card .art .chip { position: absolute; top: 24px; left: 24px; }
.token-card .body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex-grow: 1; }
.title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.title-row h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.title-row span { font-size: 14px; font-weight: 500; color: var(--muted); }
.ca { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.challenge-box { padding: 14px 16px; border-radius: 16px; background: var(--mint); border: 1px solid var(--mint-line); display: flex; flex-direction: column; gap: 10px; }
.challenge-box .top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.challenge-box .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-text); }
.challenge-box .reward { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--green-dark); white-space: nowrap; }
.challenge-box .name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.challenge-box .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; font-size: 13px; color: #3F5A3F; }
.challenge-box .meta span { white-space: nowrap; }
.challenge-box b { color: var(--green-dark); }
.challenge-empty { padding: 14px 16px; border-radius: 16px; background: #FAF8F3; border: 1px dashed #D5D0C3; display: flex; flex-direction: column; gap: 4px; }
.challenge-empty .label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.challenge-empty p { font-size: 14px; color: var(--body); }
.sched { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 14px; border-radius: 14px; background: var(--lav-soft); }
.sched .k { font-size: 13px; font-weight: 600; color: var(--lav-ink-2); }
.sched .v { margin-left: auto; font-family: var(--mono); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.facts dd.unset { font-weight: 600; color: var(--faint); }
.facts dd.good { color: var(--green); }
.profits { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #EFECE3; font-size: 14px; color: var(--body); }
.token-card .btn-soft { margin-top: auto; min-height: 48px; }

/* =========================================================
   Token page (token.html)
   ========================================================= */
.sky-short { background: linear-gradient(180deg, #E8E1F3 0%, #F2E4EF 70%, var(--page) 100%); }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.token-head { padding-top: 12px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 20px; }
.token-id { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.token-id > img { width: 88px; height: 88px; -o-object-fit: cover; object-fit: cover; border-radius: 22px; border: 3px solid #fff; box-shadow: 0 8px 20px rgba(70, 60, 100, 0.12); }
.token-name { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.token-name .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.token-name h1 { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.token-name .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--body); }
.token-name .sub .mono { font-size: 13px; color: var(--ink); overflow-wrap: anywhere; }
.btn-xs { min-height: 36px; padding: 0 12px; font-size: 13px; }
.ext-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rolebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 10px 10px 10px 20px; border-radius: 20px; background: rgba(255, 255, 255, 0.7); border: 1px solid #fff; }
.rolebar p { font-size: 14px; color: var(--body); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.stat { padding: 16px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.stat .k { font-size: 13px; color: var(--muted); }
.stat .v { font-size: 22px; font-weight: 700; color: var(--ink); }
.stat .s { font-size: 13px; color: var(--muted); }
.stat.green { background: var(--mint); border-color: var(--mint-line); }
.stat.green .k, .stat.green .s { color: #3F5A3F; }
.stat.green .v { color: var(--green-dark); }
.stat.lav { background: var(--lav); border-color: var(--lav-line); }
.stat.lav .k, .stat.lav .s { color: var(--lav-ink-2); }
.stat.lav .v { color: var(--lav-ink); }
.up { color: var(--green) !important; font-weight: 600; }
.down { color: var(--red-ink) !important; font-weight: 600; }

.token-layout { padding-bottom: 96px; display: flex; flex-direction: column; gap: 24px; }
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.col-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { padding: 24px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.panel-head h2 { font-size: 20px; font-weight: 700; }
.panel-head p { margin-top: 2px; font-size: 13px; color: var(--muted); }
.chart-frame { margin-top: 14px; position: relative; height: 420px; border-radius: 16px; overflow: hidden; background: #FBFAF6; border: 1px solid #F0EDE4; }
.chart-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.chart-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.chart-note a { color: var(--green-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.tasks-head h2 { font-size: 22px; letter-spacing: -0.015em; }
.tasks-head p { font-size: 14px; }
.task-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.task { padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: #FDFCF9; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.task .who { display: flex; align-items: center; gap: 12px; flex: 999 1 300px; min-width: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--ink); }
.task .line1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.task .wallet { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.task .when { font-size: 13px; color: var(--muted); }
.task .note { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; }
.task .proof { display: inline-block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--green-text); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.task .amount { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.task .amount b { font-size: 17px; }
.task .status { font-size: 13px; font-weight: 600; }
.status-pending { color: var(--amber-ink); }
.status-paid { color: var(--green-dark); }
.status-rejected { color: #8A2B2B; }
.task .actions { display: flex; gap: 8px; }
.tx-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--mint); font-family: var(--mono); font-size: 12px; color: var(--green-dark); }

.challenge-card { overflow: hidden; }
.challenge-card .banner { position: relative; height: 96px; background: #FBECE7; }
.challenge-card .banner img { width: 100%; height: 96px; -o-object-fit: cover; object-fit: cover; -o-object-position: 50% 70%; object-position: 50% 70%; }
.challenge-card .banner .chip { position: absolute; top: 14px; left: 16px; background: rgba(255, 255, 255, 0.92); color: var(--green-text); letter-spacing: 0.08em; text-transform: uppercase; }
.challenge-card .inner { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
.challenge-card h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
.challenge-card .desc { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini div { padding: 12px 14px; border-radius: 14px; display: flex; flex-direction: column; gap: 2px; }
.mini .g { background: var(--mint); } .mini .g span { color: #3F5A3F; } .mini .g b { color: var(--green-dark); }
.mini .l { background: var(--lav-soft); } .mini .l span { color: var(--lav-ink-2); } .mini .l b { color: var(--lav-ink); }
.mini > div > span { font-size: 12px; } .mini b { font-size: 18px; }
.progress-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--body); margin-bottom: 8px; }
.progress-row b { color: var(--ink); }
.progress.lg { height: 10px; background: #ECE9DF; }
.btn-row { display: flex; gap: 8px; }
.btn-row .btn { flex: 1; }
.side-card { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.side-card h2 { font-size: 20px; }
.notice { padding: 12px 14px; border-radius: 14px; background: var(--mint); font-size: 14px; font-weight: 600; color: var(--green-dark); }
.flow { margin: 0; padding: 0; list-style: none; }
.flow li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; }
.flow li:last-child { padding-bottom: 0; }
.flow .n { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.flow b { display: block; font-size: 15px; }
.flow small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.facts.small dd { font-size: 15px; font-weight: 600; }
.hidden { display: none !important; }

/* =========================================================
   Docs (docs.html)
   ========================================================= */
.docs-hero { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 16px; }
.docs-hero h1 { max-width: 820px; font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.docs-hero h1 em { font-style: normal; color: var(--leaf); }
.docs-hero p { max-width: 680px; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.docs-layout { padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.toc { flex: 1 1 220px; max-width: 280px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); position: sticky; top: 20px; }
.toc .eyebrow { display: block; padding: 4px 14px 6px; color: var(--muted); }
.toc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: flex; align-items: center; min-height: 40px; padding: 8px 14px; line-height: 1.3; border-radius: 12px; font-size: 15px; font-weight: 600; color: #3B4A3F; }
.toc a:hover, .toc a.active { background: var(--mint); color: var(--green-dark); }
@media (max-width: 900px) { .toc { position: static; max-width: none; } }
.docs-main { flex: 999 1 560px; min-width: 0; max-width: 780px; display: flex; flex-direction: column; gap: 40px; }
.doc-sec { display: flex; flex-direction: column; gap: 16px; padding-top: 40px; border-top: 1px solid #E6E2D6; scroll-margin-top: 20px; }
.doc-sec h2 { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.doc-sec h3 { margin-top: 8px; font-size: 19px; font-weight: 700; }
.doc-sec p, .doc-sec li { font-size: 17px; line-height: 1.7; color: #3B4A3F; }
.doc-sec ul, .doc-sec ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.callout { padding: 18px 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 6px; border: 1px solid; }
.callout b { font-size: 15px; }
.callout span { font-size: 16px; line-height: 1.6; color: #3B4A3F; }
.callout.green { background: var(--mint); border-color: var(--mint-line); } .callout.green b { color: var(--green-dark); }
.callout.lav { background: #F3EFF9; border-color: var(--lav-line); } .callout.lav b { color: var(--lav-ink); }
.callout.amber { background: #FFF6E6; border-color: #EBD3A6; } .callout.amber b { color: #6E4300; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; }
.table-wrap th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 700; color: var(--body); background: var(--page-2); }
.table-wrap td { padding: 12px 16px; font-size: 15px; line-height: 1.5; color: var(--ink); border-top: 1px solid var(--line); vertical-align: top; }
.step-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.step-cards > div { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.step-cards b { font-size: 17px; }
.step-cards span:last-child { font-size: 15px; line-height: 1.55; color: var(--body); }
.step-cards .num-badge { width: 34px; height: 34px; font-size: 14px; }
.faq-item { padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.faq-item h3 { margin: 0; font-size: 17px; }
.faq-item p { font-size: 16px; line-height: 1.6; }
.placeholder { padding: 1px 6px; border-radius: 6px; background: #FFF1C9; color: #6E4300; font-size: 0.92em; }
.cta-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(70, 60, 100, 0.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.cta-card b { display: block; font-size: 22px; }
.cta-card span { font-size: 16px; color: var(--body); }

/* Small screens: keep segmented controls inside the viewport */
.segmented { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segmented::-webkit-scrollbar { display: none; }
@media (max-width: 480px) {
  .segmented button { padding: 0 12px; font-size: 13px; }
  .rolebar { padding: 12px; }
  .rolebar .segmented { width: 100%; }
  .rolebar .segmented button { flex: 1; }
  .panel { padding: 20px; }
  .token-name h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .stat { padding: 14px 16px; }
  .stat .v { font-size: 20px; }
  .token-name .sub > [aria-hidden="true"] { display: none; }
  .task .amount { align-items: flex-start; }
}

/* ---------- Ask vs paid ---------- */
.range-note { font-size: 13px; line-height: 1.5; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: #FAF8F3; }
.ask-row { display: flex; align-items: center; gap: 12px; }
.ask-row output { flex: none; min-width: 84px; text-align: center; padding: 8px 12px; border-radius: 999px; background: var(--mint); color: var(--green-dark); font-size: 15px; font-weight: 700; }
.ask-row input[type="range"] { --fill: 50%; flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer; }
.ask-row input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--green) var(--fill), #E2DED3 var(--fill)); }
.ask-row input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: #E2DED3; }
.ask-row input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--green); }
.ask-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
.ask-row input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.hint { font-size: 13px; line-height: 1.5; color: var(--muted); }

.task .amounts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.task .amounts .ask { font-size: 13px; color: var(--muted); }
.task .amounts .ask-big { font-size: 14px; color: var(--ink-2); }
.task .amounts .ask-big b { font-size: 17px; color: var(--ink); }
.task .amounts .paid { font-size: 14px; color: var(--ink-2); }
.task .amounts .paid b { font-size: 17px; color: var(--green-dark); }
.diff { margin-top: 2px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.diff.even { background: var(--mint); color: var(--green-dark); }
.diff.under { background: var(--amber-bg); color: var(--amber-ink); }
.diff.over { background: var(--lav); color: var(--lav-ink); }
.payout { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--field); background: #fff; }
.payout label { font-size: 13px; font-weight: 600; color: var(--muted); }
.payout input { width: 64px; min-height: 40px; border: 0; background: transparent; font-size: 15px; font-weight: 700; color: var(--ink); text-align: right; -moz-appearance: textfield; }
.payout input::-webkit-outer-spin-button, .payout input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.payout input:focus { outline: none; }
.payout:focus-within { border-color: #7DB378; box-shadow: 0 0 0 3px rgba(125, 179, 120, 0.25); }
.payout input[aria-invalid="true"] { color: var(--red-ink); }
.payout span { font-size: 13px; font-weight: 600; color: var(--muted); }
.task .actions { flex-wrap: wrap; align-items: center; }
@media (max-width: 480px) { .task .amounts { align-items: flex-start; text-align: left; } }
.field input[type="range"] { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; }

/* ---------- App additions ---------- */
.segmented a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.segmented a[aria-selected="true"] { background: #fff; color: var(--green-dark); font-weight: 700; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06); }
.catalog-status { margin-top: 18px; font-size: 14px; color: var(--muted); }
.catalog-pages .row { display: flex; gap: 10px; margin-top: 12px; }
.btn.is-connected { font-family: var(--mono); font-size: 14px; }
.field select { min-height: 44px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--field); background: #FDFCF9; color: var(--ink); font: inherit; font-size: 14px; }
.pay-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.side-card .hint, .panel .hint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.notice.is-error { background: var(--amber-bg); color: var(--amber-ink); }
.coin-countdown { text-align: center; padding: 48px 24px; }
.countdown { font-size: clamp(24px, 4vw, 40px); font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.about { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--body); white-space: pre-line; }
.facts a { color: var(--green-text); text-decoration: underline; }
.flow small a { color: var(--green-text); text-decoration: underline; }

/* Launch form */
.launch-main { padding-top: 32px; padding-bottom: 72px; }
.launch-form { display: flex; flex-direction: column; gap: 20px; max-width: 900px; margin: 0 auto; }
.token-fields { display: flex; flex-wrap: wrap; gap: 24px; }
.upload-col { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.upload { position: relative; display: grid; place-items: center; width: 160px; height: 160px; border-radius: 22px; border: 2px dashed var(--field); background: #FDFCF9; color: var(--muted); font-weight: 600; cursor: pointer; overflow: hidden; }
.upload:hover { border-color: #7DB378; }
.upload img { position: absolute; inset: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form-grid { flex: 1 1 420px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-grid .span-all { grid-column: 1 / -1; }
.launch-form .btn-row .btn { flex: 0 1 auto; }

/* Admin tools on the coin page */
#admin-finalize { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--body); }
#admin-finalize[hidden] { display: none; }
#admin-finalize .btn--danger { background: var(--red-ink); color: #fff; }
#admin-finalize .btn--sm:not(.btn--danger) { background: #fff; border: 1px solid var(--field); color: var(--ink); }
[hidden] { display: none !important; }
.footer-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 13px; color: var(--muted); }
.footer-ca a { font-weight: 700; color: var(--green-text); }
.footer-ca .mono { overflow-wrap: anywhere; }
.docs-hero .hero-tag.promo { margin-bottom: 14px; }
.task.mine { outline: 3px solid #7DB378; outline-offset: 2px; background: var(--mint); }
#queue-root > .notice { margin-bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
#queue-root > .notice.hidden { display: none; }

/*# sourceMappingURL=globals-864fd16e.css.map */