/* hyperpez — candy-shop launchpad (pez.family visual language, HyperEVM edition) */
:root {
  --font-display: "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", Menlo, monospace;

  --max-width: 1080px;
  --header-h: 68px;
  --r-input: 14px; --r-panel: 18px; --r-card: 22px; --r-float: 26px; --r-pill: 999px;

  --text-xs: 0.72rem; --text-sm: 0.82rem; --text-base: 0.95rem; --text-md: 1.05rem;
  --text-lg: 1.25rem; --text-xl: 1.6rem; --text-2xl: 2.1rem;

  --ease: cubic-bezier(.2,.8,.2,1);
}
[data-theme="light"] {
  --bg: #fff7ea; --bg-2: #fffdf8; --panel: #ffffff; --panel-2: #fff3dc;
  --ink: #24162e; --text: #24162e; --muted: #6e5f7d; --line: #24162e;
  --strawberry: #ff4d6d; --lemon: #ffd23f; --sky: #3fa9f5; --mint: #3ddc97; --grape: #7b5cff; --bubblegum: #ff8ac7; --gold: #f4b942;
  --shadow: 0 4px 0 #24162e; --shadow-lg: 0 6px 0 #24162e, 0 18px 40px rgba(36,22,46,.15);
  --awning-a: #ff4d6d; --awning-b: #fff7ea;
  --up: #1fae6f; --down: #e6405f;
  --hero: radial-gradient(900px 400px at 50% -10%, rgba(255,210,63,.35), transparent 70%);
}
[data-theme="dark"] {
  --bg: #0f0b1e; --bg-2: #15102a; --panel: #1a1430; --panel-2: #241b41;
  --ink: #0a0716; --text: #f6efff; --muted: #b7abcb; --line: #0a0716;
  --strawberry: #ff5c7a; --lemon: #ffe45c; --sky: #5cc4ff; --mint: #3ddc97; --grape: #a38bff; --bubblegum: #ff8ac7; --gold: #f4b942;
  --shadow: 0 4px 0 #0a0716; --shadow-lg: 0 6px 0 #0a0716, 0 18px 40px rgba(0,0,0,.45);
  --awning-a: #ff5c7a; --awning-b: #1a1430;
  --up: #3ddc97; --down: #ff5c7a;
  --hero: radial-gradient(900px 400px at 50% -10%, rgba(123,92,255,.35), transparent 70%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-base); line-height: 1.5;
  color: var(--text); background: var(--bg); background-image: var(--hero); background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.15; }
h1 { font-size: var(--text-2xl); } h2 { font-size: var(--text-xl); } h3 { font-size: var(--text-lg); }
h4 { margin: 0 0 .6rem; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
p { margin: 0; }
.shell { width: min(var(--max-width), 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: var(--text-sm); } .mono { font-family: var(--font-mono); font-size: .9em; }
.up { color: var(--up); } .down { color: var(--down); }
[hidden] { display: none !important; }

/* awning stripes */
.awning { height: 10px; background: repeating-linear-gradient(135deg, var(--awning-a) 0 14px, var(--awning-b) 14px 28px); }
.awning--top { position: sticky; top: 0; z-index: 30; }
.awning--card { border-radius: var(--r-float) var(--r-float) 0 0; height: 12px; }

/* header */
.topbar { position: sticky; top: 10px; z-index: 29; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.topbar__inner { height: var(--header-h); display: flex; align-items: center; gap: 1.2rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; }
.brand__mark { width: 34px; height: 34px; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.nav { display: flex; gap: .25rem; padding: .25rem; border-radius: var(--r-pill); background: var(--panel-2); border: 2px solid var(--line); }
.nav a { padding: .35rem .85rem; border-radius: var(--r-pill); font-weight: 800; font-size: var(--text-sm); color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--text); background: var(--panel); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.netdot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 25%, transparent); }
.netdot.bad { background: var(--strawberry); box-shadow: 0 0 0 3px color-mix(in srgb, var(--strawberry) 25%, transparent); }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); background: var(--panel-2); display: inline-grid; place-items: center; box-shadow: 0 2px 0 var(--line); }
.iconbtn:active { transform: translateY(2px); box-shadow: none; }
.ico { width: 18px; height: 18px; }
[data-theme="dark"] .ico-moon { display: none; } [data-theme="light"] .ico-sun { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.25rem; border-radius: var(--r-pill); border: 2px solid var(--line); font-weight: 800; background: var(--panel-2); box-shadow: 0 3px 0 var(--line); transition: transform .12s var(--ease), box-shadow .12s var(--ease), filter .12s; white-space: nowrap; }
.btn:hover { filter: brightness(1.04); } .btn:active { transform: translateY(3px); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: 0 3px 0 var(--line); }
.btn--primary { background: var(--lemon); color: #24162e; }
.btn--sm { padding: .45rem .95rem; font-size: var(--text-sm); }
.btn--lg { padding: .95rem 1.4rem; font-size: var(--text-md); width: 100%; border-radius: var(--r-panel); }
.btn--ghost { background: transparent; box-shadow: none; border-color: color-mix(in srgb, var(--text) 25%, transparent); }
.btn--mint { background: var(--mint); color: #0f0b1e; } .btn--danger { background: var(--strawberry); color: #fff; }

/* panels & cards */
.panel { background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 1.25rem; }
.panel--soft { background: var(--panel-2); box-shadow: var(--shadow); border-radius: var(--r-panel); }
.panel--glow { background: linear-gradient(160deg, color-mix(in srgb, var(--grape) 22%, var(--panel)), var(--panel) 55%); }
.panel--gold { background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 28%, var(--panel)), var(--panel) 60%); }
.section-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.section-head h2 { display: inline-flex; align-items: center; gap: .5rem; }
.count { font-family: var(--font-body); font-size: var(--text-xs); font-weight: 900; background: var(--lemon); color: #24162e; border: 2px solid var(--line); padding: .05rem .5rem; border-radius: var(--r-pill); }
.tabs { display: inline-flex; gap: .2rem; padding: .2rem; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--panel-2); }
.tabs button { border: 0; background: transparent; padding: .3rem .7rem; border-radius: var(--r-pill); font-size: var(--text-xs); font-weight: 800; color: var(--muted); }
.tabs button.active { background: var(--panel); color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.chiprail { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: var(--r-pill); border: 2px solid color-mix(in srgb, var(--text) 18%, transparent); background: var(--panel); font-size: var(--text-xs); font-weight: 800; color: var(--muted); }
.chip.active { border-color: var(--line); color: var(--text); background: var(--panel-2); box-shadow: 0 2px 0 var(--line); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.toolbar { display: flex; gap: .75rem; align-items: center; margin: 1.25rem 0 .9rem; }
.search { flex: 1; display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--panel); box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; background: transparent; outline: none; min-width: 0; }
.search kbd { font: 700 var(--text-xs) var(--font-mono); padding: .1rem .4rem; border: 1px solid var(--muted); border-radius: 6px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; gap: .35rem; padding: .6rem; background: var(--panel-2); border: 2px solid var(--line); border-radius: var(--r-panel); box-shadow: var(--shadow); transition: transform .15s var(--ease), box-shadow .15s var(--ease); color: inherit; }
.card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--line); }
.card__img { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--panel); }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__chips { position: absolute; top: .35rem; left: .35rem; right: .35rem; display: flex; justify-content: space-between; gap: .25rem; }
.badge { font-size: .62rem; font-weight: 900; letter-spacing: .04em; padding: .1rem .45rem; border-radius: var(--r-pill); border: 2px solid var(--line); background: var(--lemon); color: #24162e; text-transform: uppercase; }
.badge--quote { background: var(--sky); } .badge--new { background: var(--mint); } .badge--grape { background: var(--grape); color: #fff; }
.card__name { font-weight: 900; font-size: var(--text-sm); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__tick { font-size: var(--text-xs); color: var(--muted); font-weight: 700; }
.card__mc { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.card__mc small { font-family: var(--font-body); font-size: var(--text-xs); color: var(--muted); font-weight: 800; margin-left: .25rem; }
.card__foot { display: flex; justify-content: space-between; align-items: center; font-size: .68rem; color: var(--muted); font-weight: 700; margin-top: .15rem; }
.card__foot .time { color: var(--mint); font-weight: 900; }
.bar { height: 6px; border-radius: 4px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--sky)); }

.pager { display: flex; justify-content: center; gap: .3rem; margin: 1.25rem 0 .25rem; }
.pager button { min-width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); background: var(--panel-2); font-weight: 900; font-size: var(--text-sm); }
.pager button.active { background: var(--lemon); color: #24162e; }

.placeholder { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #24162e; }

/* empty / skeleton / notices */
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: .4rem; }
.skel { background: linear-gradient(90deg, var(--panel-2), color-mix(in srgb, var(--panel-2) 70%, var(--text)), var(--panel-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.notice { display: block; line-height: 1.5; padding: .8rem 1rem; border-radius: var(--r-panel); border: 2px solid var(--line); font-weight: 700; font-size: var(--text-sm); }
.notice--warn { background: color-mix(in srgb, var(--gold) 30%, var(--panel)); } .notice--ok { background: color-mix(in srgb, var(--mint) 30%, var(--panel)); } .notice--bad { background: color-mix(in srgb, var(--strawberry) 30%, var(--panel)); }
.notice a { text-decoration: underline; }
#banner { margin-top: 1rem; }

/* forms */
.form { display: grid; gap: 1rem; }
.field label { display: block; font-size: var(--text-xs); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.field input, .field textarea, .field select { width: 100%; padding: .7rem .9rem; border-radius: var(--r-input); border: 2px solid color-mix(in srgb, var(--text) 25%, transparent); background: var(--bg-2); outline: none; transition: border-color .12s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--grape); }
.field textarea { min-height: 90px; resize: vertical; }
.field .hint { font-size: var(--text-xs); color: var(--muted); margin-top: .35rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.dropzone { display: flex; align-items: center; gap: .8rem; padding: .8rem; border: 2px dashed color-mix(in srgb, var(--text) 35%, transparent); border-radius: var(--r-input); cursor: pointer; }
.dropzone img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 2px solid var(--line); }
.dropzone .box { width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--line); display: grid; place-items: center; background: var(--panel-2); }
.tierpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
@media (max-width: 640px) { .tierpick { grid-template-columns: repeat(2, 1fr); } }
.tier { padding: .6rem .5rem; text-align: center; border: 2px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--r-input); background: var(--bg-2); }
.tier b { display: block; font-family: var(--font-display); font-size: var(--text-md); }
.tier span { font-size: var(--text-xs); color: var(--muted); font-weight: 700; }
.tier.active { border-color: var(--line); background: var(--lemon); color: #24162e; box-shadow: 0 3px 0 var(--line); } .tier.active span { color: #4b3b57; }
.amount { padding: .9rem 1rem; border: 2px solid color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--r-input); background: var(--bg-2); }
.amount .top { display: flex; align-items: center; gap: .5rem; }
.amount input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.amount .asset { font-weight: 900; display: inline-flex; align-items: center; gap: .35rem; }
.amount .sub { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--muted); font-weight: 700; margin-top: .25rem; }
details.adv summary { cursor: pointer; font-weight: 900; padding: .6rem 0; border-top: 2px dashed color-mix(in srgb, var(--text) 20%, transparent); border-bottom: 2px dashed color-mix(in srgb, var(--text) 20%, transparent); }
.kv { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed color-mix(in srgb, var(--text) 18%, transparent); font-size: var(--text-sm); }
.kv span:first-child { color: var(--muted); font-weight: 700; } .kv span:last-child { font-weight: 900; text-align: right; }

/* create layout */
.create { display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; padding: 0; }
.create__form { padding: 1.5rem; border-right: 2px solid var(--line); }
.create__side { padding: 1.5rem; background: linear-gradient(160deg, color-mix(in srgb, var(--grape) 35%, var(--panel)), color-mix(in srgb, var(--strawberry) 20%, var(--panel))); display: flex; align-items: flex-start; justify-content: center; }
.preview { width: 100%; max-width: 300px; position: sticky; top: 100px; }
.preview .pimg { width: 64px; height: 64px; border-radius: 16px; border: 2px solid var(--line); object-fit: cover; background: var(--panel-2); display: grid; place-items: center; }
@media (max-width: 860px) { .create { grid-template-columns: 1fr; } .create__form { border-right: 0; border-bottom: 2px solid var(--line); } .preview { position: static; } }

/* token page */
.about { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-start; }
.about__head { display: flex; align-items: center; gap: .9rem; flex: 1; }
.about__logo { width: 64px; height: 64px; border-radius: 16px; border: 2px solid var(--line); object-fit: cover; background: var(--panel-2); }
.about__meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: var(--text-xs); color: var(--muted); font-weight: 700; margin-top: .3rem; }
.about__meta b { color: var(--text); }
.about__links { display: flex; flex-wrap: wrap; gap: .4rem; }
.tokenlayout { display: grid; grid-template-columns: 300px 1fr; gap: 1rem; margin-top: 1rem; }
.tokenlayout > * { min-width: 0; }
@media (max-width: 860px) { .tokenlayout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .toolbar { flex-wrap: wrap; } .toolbar .search { flex-basis: 100%; } .toolbar .btn { margin-left: auto; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--panel-2); }
.stats div { padding: .7rem .9rem; border-right: 2px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats small { display: block; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
.stats b { font-family: var(--font-display); font-size: var(--text-md); font-weight: 600; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 2px solid var(--line); } }
.price { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; }
.chart { height: 330px; border: 2px solid var(--line); border-radius: var(--r-panel); overflow: hidden; background: var(--bg-2); position: relative; }
.chart .nodata { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 700; text-align: center; padding: 1rem; }
.trades { display: grid; gap: .25rem; }
.trade { display: grid; grid-template-columns: 28px 1fr auto auto; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: 12px; }
.trade:hover { background: var(--panel-2); }
.trade .arrow { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #0f0b1e; }
.trade .arrow.buy { background: var(--mint); } .trade .arrow.sell { background: var(--strawberry); color: #fff; }
.trade .amt { font-weight: 900; } .trade .addr { font-size: var(--text-xs); color: var(--muted); }
.trade .val { text-align: right; font-weight: 800; } .trade .val small { display: block; color: var(--muted); font-weight: 700; }
.trade .when { font-size: var(--text-xs); color: var(--muted); min-width: 40px; text-align: right; }
.swapbox .dir { display: flex; gap: .3rem; padding: .2rem; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--panel-2); margin-bottom: .8rem; }
.swapbox .dir button { flex: 1; border: 0; background: transparent; padding: .4rem; border-radius: var(--r-pill); font-weight: 900; color: var(--muted); }
.swapbox .dir button.active.buy { background: var(--mint); color: #0f0b1e; } .swapbox .dir button.active.sell { background: var(--strawberry); color: #fff; }
.pcts { display: flex; gap: .4rem; margin: .7rem 0; } .pcts button { flex: 1; border: 2px solid color-mix(in srgb, var(--text) 25%, transparent); background: var(--bg-2); border-radius: var(--r-pill); padding: .3rem; font-size: var(--text-xs); font-weight: 900; }
.pcts button:hover { border-color: var(--line); }

/* analytics */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 860px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi small { display: block; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 900; }
.kpi b { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding-top: .5rem; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--grape), var(--sky)); border-radius: 6px 6px 2px 2px; border: 2px solid var(--line); border-bottom: 0; min-height: 3px; position: relative; }
.bars i[title]:hover::after { content: attr(title); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .62rem; padding: .15rem .4rem; border-radius: 6px; white-space: nowrap; }
.axis { display: flex; justify-content: space-between; font-size: .62rem; color: var(--muted); font-weight: 800; margin-top: .3rem; }
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.tbl th { text-align: left; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .4rem .5rem; border-bottom: 2px solid var(--line); }
.tbl td { padding: .55rem .5rem; border-bottom: 1px dashed color-mix(in srgb, var(--text) 18%, transparent); font-weight: 700; }
.tbl td.num, .tbl th.num { text-align: right; }

/* footer */
.footer { margin: 3rem 0 2.5rem; }
.footer__card { position: relative; background: var(--panel); border: 2px solid var(--line); border-radius: var(--r-float); box-shadow: var(--shadow-lg); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 1.5rem; padding: 1.5rem 1.75rem 1rem; }
.footer__grid a { display: block; font-weight: 800; font-size: var(--text-sm); padding: .15rem 0; }
.footer__grid a:hover { color: var(--grape); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.75rem 1.25rem; border-top: 2px dashed color-mix(in srgb, var(--text) 18%, transparent); flex-wrap: wrap; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.brand--footer .brand__word { font-size: 1.2rem; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-pill); border: 2px solid var(--lemon); font-weight: 800; font-size: var(--text-sm); z-index: 50; max-width: min(90vw, 560px); }
.back { display: inline-flex; align-items: center; gap: .35rem; margin: 1.25rem 0 1rem; font-weight: 900; font-size: var(--text-sm); padding: .35rem .8rem; border: 2px solid var(--line); border-radius: var(--r-pill); background: var(--panel-2); box-shadow: 0 2px 0 var(--line); }
.stack { display: grid; gap: 1rem; } .mt { margin-top: 1rem; } .mt2 { margin-top: 1.75rem; }
.hero { padding: 1.6rem 1.75rem; display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.hero p { max-width: 560px; }
.doc h2 { margin-top: 1.5rem; } .doc h3 { margin-top: 1rem; } .doc p, .doc li { color: var(--muted); font-weight: 600; } .doc code { font-family: var(--font-mono); font-size: .85em; background: var(--panel-2); padding: .1rem .35rem; border-radius: 6px; color: var(--text); }
.doc pre { background: var(--panel-2); border: 2px solid var(--line); border-radius: var(--r-input); padding: .9rem 1rem; overflow-x: auto; font-size: var(--text-sm); color: var(--text); }
@media (max-width: 720px) { .nav { display: none; } .topbar__inner { gap: .6rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
