:root {
  --bg: #0b0b0b;
  --panel: #121212;
  --sky: #171717;
  --sky-2: #262626;
  --sky-3: #4a1a1a;
  --line: #242424;
  --ink: #f4f4f4;
  --ink-2: #c6c6c6;
  --muted: #8a8a8a;
  --blue: #ff2b2b;
  --blue-d: #ff4747;
  --bot: #ff5c5c;
  --bot-bg: rgba(255, 43, 43, .14);
  --ok: #3ddc97;
  --ok-bg: rgba(61, 220, 151, .12);
  --r: 22px;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --head: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
p { margin: 0 0 14px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 11, .8);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--head); letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; }
.links { display: flex; gap: 4px; margin-left: 12px; }
.links a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.links a:hover { background: var(--sky); }
.links a.on { background: var(--sky); color: var(--blue-d); }
.top .btn { margin-left: auto; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--sky); font-weight: 600; font-size: 14px; color: var(--blue-d); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-list { position: absolute; right: 0; top: 46px; width: 230px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); display: grid; }
.menu-list a { padding: 11px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.menu-list a:hover { background: var(--sky); }

/* ---------- layout ---------- */
.page { max-width: 1200px; margin: 0 auto; padding: 0 24px 96px; }
.section { margin-top: 112px; }
.center { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 43, 43, .08); border: 1px solid rgba(255, 43, 43, .3); color: var(--blue-d); font-weight: 600; font-size: 14px; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(255, 43, 43, .2); }

/* ---------- type ---------- */
h1 { margin: 0; font: 700 clamp(42px, 6vw, 76px)/1 var(--head); letter-spacing: -.045em; }
h1 em { font-style: normal; color: var(--blue); }
h2 { margin: 0 0 14px; font: 700 clamp(30px, 3.6vw, 46px)/1.05 var(--head); letter-spacing: -.035em; }
h3 { margin: 0 0 6px; font: 650 20px/1.25 var(--head); letter-spacing: -.02em; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 32em; margin: 22px 0 30px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 18px; max-width: 34em; }
.label { display: inline-block; font-weight: 600; font-size: 14px; color: var(--blue-d); margin-bottom: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 600 16px/1 var(--sans); transition: transform .15s, background .15s, box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn.soft { background: var(--sky); color: var(--blue-d); }
.btn.soft:hover { background: var(--sky-2); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.line:hover { box-shadow: inset 0 0 0 1px var(--sky-3); }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- hero ---------- */
.hero-band {
  position: relative; margin: 18px 0 0; padding: 72px 56px; border-radius: 36px; overflow: hidden;
  background: #0f0f0f; border: 1px solid #1c1c1c;
}
/* the banner's red halftone blobs: a dot grid shown only inside a few soft shapes */
.hero-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle, #ff2b2b 1.7px, transparent 2.3px) 0 0 / 13px 13px;
  -webkit-mask-image: radial-gradient(34% 58% at 90% 62%, #000 62%, transparent 63%), radial-gradient(8.5% 15% at 69% 14%, #000 60%, transparent 62%), radial-gradient(3% 22% at 75% 30%, #000 60%, transparent 62%), radial-gradient(5% 30% at 0% 86%, #000 62%, transparent 63%);
  mask-image: radial-gradient(34% 58% at 90% 62%, #000 62%, transparent 63%), radial-gradient(8.5% 15% at 69% 14%, #000 60%, transparent 62%), radial-gradient(3% 22% at 75% 30%, #000 60%, transparent 62%), radial-gradient(5% 30% at 0% 86%, #000 62%, transparent 63%);
  opacity: .85;
}
.hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.hero .kicker { margin-bottom: 22px; }

/* ---------- demo card ---------- */
.demo { background: var(--panel); border-radius: 26px; overflow: hidden; }
.demo-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.demo-head b { font: 650 16px var(--head); }
.demo-head span { color: var(--muted); font-size: 14px; }
.demo-head button { background: var(--sky); color: var(--blue-d); border: 0; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.demo-body { height: 430px; overflow: hidden; position: relative; }
.post { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); position: relative; transition: background .35s, opacity .4s; }
.post > div { min-width: 0; flex: 1; }
.post .av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; }
.post .who { font-size: 14.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post .who b { font-weight: 700; }
.post .who span { color: var(--muted); }
.post .tx { font-size: 15px; line-height: 1.45; margin-top: 3px; color: var(--ink); word-break: break-word; }
.post.root .tx { font-size: 16px; }
.post.scan { background: rgba(255, 43, 43, .06); }
.post.scan::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); }
.tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.tag.bot { background: var(--bot-bg); color: var(--bot); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.post.flagged { background: rgba(255, 43, 43, .1); }
.post.gone { padding-top: 12px; padding-bottom: 12px; background: rgba(255, 255, 255, .02); }
.post.gone .av, .post.gone .tx, .post.gone .tag, .post.gone .who { display: none; }
.post .hid { display: none; font-size: 14px; color: var(--muted); }
.post .hid b { color: var(--ink-2); font-weight: 600; }
.post.gone .hid { display: flex; align-items: center; gap: 8px; }
.post.gone .hid::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4747' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 6 12 12'/%3E%3C/svg%3E") center / 10px no-repeat; flex: none; }
.demo-foot { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); min-height: 58px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--sky); color: var(--blue-d); }
.pill.bot { background: var(--bot-bg); color: var(--bot); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.idle { background: #1d1d1d; color: var(--muted); font-weight: 500; }

/* ---------- steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.card.sky { background: var(--sky); border-color: transparent; }
.card .n { width: 36px; height: 36px; border-radius: 12px; background: var(--sky); color: var(--blue-d); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.card.sky .n { background: #0b0b0b; }
.card p { color: var(--ink-2); margin: 0; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--sky); border-radius: var(--r); padding: 24px 24px 22px; }
.stat .v { font: 700 44px/1 var(--head); letter-spacing: -.04em; color: var(--blue-d); }
.stat .k { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.recent { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.recent .row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 15px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.recent .row:last-child { border-bottom: 0; }
.recent .row a { text-decoration: none; font-weight: 600; }
.recent .row a:hover { color: var(--blue-d); }
.recent .row .why { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.recent .empty { color: var(--muted); padding: 20px 22px; }

/* ---------- two ways ---------- */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.way { border-radius: 28px; padding: 34px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.way.main { background: linear-gradient(160deg, #ff3b3b, #b30d0d); color: #fff; border: 0; }
.way.main p, .way.main li { color: rgba(255, 255, 255, .88); }
.way.main .btn { background: #fff; color: #0b0b0b; box-shadow: none; }
.way ul { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; gap: 10px; }
.way li { display: flex; gap: 10px; color: var(--ink-2); }
.way li::before { content: "✓"; font-weight: 700; color: var(--blue); }
.way.main li::before { color: #fff; }
.way li.no::before { content: "–"; color: var(--muted); }
.way .btns { margin-top: auto; }

/* ---------- rules (detection, app) ---------- */
.rules { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); }
.rule { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule .n { font: 700 26px/1.1 var(--head); color: var(--blue-d); letter-spacing: -.03em; }
.rule .n.word { font-size: 18px; color: var(--ink); }
.rule p { margin: 0; color: var(--ink-2); }
.rule p b { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: start; }
.chips-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips-list span { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: var(--sky); color: var(--blue-d); }
code { font-family: var(--mono); font-size: .88em; background: var(--sky); color: var(--blue-d); padding: 2px 7px; border-radius: 7px; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 10px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; padding: 16px 18px; border-radius: 18px; background: var(--sky); }
ol.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: #0b0b0b; color: var(--blue-d); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 28px; box-shadow: 0 30px 60px -40px rgba(255, 43, 43, .35); }
.field { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; background: #0b0b0b; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font: 400 15px/1.45 var(--sans); resize: vertical; }
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(255, 43, 43, .2); }
.status { margin-top: 16px; min-height: 24px; font-size: 15px; color: var(--ink-2); }
.status.ok { color: var(--ok); }
.status.err { color: var(--bot); }
.caption { font-size: 14px; color: var(--muted); }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; text-decoration: underline; cursor: pointer; }
.page-head { padding: 64px 0 8px; max-width: 760px; }

/* wallet link */
.wallets { display: grid; gap: 10px; margin-top: 24px; max-width: 460px; }
.wallets .chip { display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; cursor: pointer; text-decoration: none; font-weight: 600; }
.wallets .chip:hover { border-color: var(--blue); }
.wallets .chip small { color: var(--muted); font-weight: 500; font-size: 13px; }

/* dashboard */
.dash-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.who-card { display: flex; gap: 16px; align-items: center; }
.who-card img { width: 60px; height: 60px; border-radius: 50%; }
.recent .row .chip { min-height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 13px; background: var(--sky); color: var(--blue-d); border: 0; cursor: pointer; }
.recent .row > div { min-width: 0; }
.recent .row > div .why { display: block; }

/* footer */
.foot { border-top: 1px solid var(--line); margin-top: 112px; }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 36px 24px 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot-in nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-in a { text-decoration: none; }
.foot-in a:hover { color: var(--blue-d); }

/* ---------- small screens ---------- */
@media (max-width: 1080px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero-band { padding: 56px 36px; }
}
@media (max-width: 860px) {
  .links, .top .btn { display: none; }
  .menu { display: block; }
  .top-in { padding: 12px 16px; }
  .page { padding: 0 12px 72px; }
  .hero-band { padding: 40px 18px 22px; border-radius: 28px; margin-top: 8px; }
  .lede { font-size: 17px; }
  .demo-body { height: 410px; }
  .steps3, .ways { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .stat .v { font-size: 34px; }
  .rule { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .recent .row { grid-template-columns: minmax(0, 1fr) auto; padding: 14px 16px; }
  .recent .row > .why { display: none; }
  .section { margin-top: 80px; }
  .section > :not(.stats):not(.recent):not(.steps3):not(.ways), .page-head { padding-left: 6px; padding-right: 6px; }
  .btns .btn { flex: 1 1 auto; }
  .way { padding: 26px; }
}
.page-head + .section, .page-head + .stats, .page-head + .steps3 { margin-top: 48px; }

/* ================= materials ================= */
/* grain: a faint film over the sky surfaces so they read as material, not flat fill */
.hero-band::before, .card.sky::after, .stat::after, .way.main::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .6 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.card.sky, .stat, .way.main { position: relative; overflow: hidden; }

/* soft light orbs behind the hero */
.orbs { position: absolute; inset: 0; pointer-events: none; }
.orbs i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; animation: drift 18s ease-in-out infinite alternate; }
.orbs .o1 { width: 420px; height: 420px; right: 4%; top: -12%; background: radial-gradient(circle, #ff2b2b, transparent 70%); }
.orbs .o2 { width: 360px; height: 360px; right: 28%; bottom: -20%; background: radial-gradient(circle, #8a0f0f, transparent 70%); opacity: .4; animation-duration: 22s; }
.orbs .o3 { width: 300px; height: 300px; left: -6%; top: 10%; background: radial-gradient(circle, #ff5a3a, transparent 70%); opacity: .18; animation-duration: 26s; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

/* frosted demo card */
.stage { position: relative; }
.demo {
  position: relative; z-index: 2;
  background: rgba(18, 18, 18, .74);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 90px -30px rgba(255, 43, 43, .35), 0 2px 6px rgba(0, 0, 0, .5);
}
.demo-head, .demo-foot { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .06); }
.post { border-bottom-color: rgba(255, 255, 255, .06); }
.post.gone { background: rgba(255, 255, 255, .02); }

/* the glass shield */
.glass-shield { position: absolute; z-index: 3; width: 112px; left: -92px; top: -58px; transform: rotate(-12deg); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-9deg) translateY(-10px); } }

/* floating glass chips */
.glass-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  background: rgba(26, 26, 26, .72); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 16px 34px -14px rgba(255, 43, 43, .45);
  animation: bob2 7s ease-in-out infinite;
}
.glass-chip b { font-weight: 400; }
.glass-chip em { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--bot-bg); color: var(--bot); }
.glass-chip.c2 em { background: var(--sky-2); color: var(--blue-d); }
.glass-chip.c1 { left: -40px; bottom: -48px; }
.glass-chip.c2 { display: none; }
@keyframes bob2 { 50% { transform: translateY(-8px); } }

/* a glass marble, for depth */
.glass-orb {
  position: absolute; z-index: 1; width: 92px; height: 92px; right: -34px; bottom: -30px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff 0 6%, rgba(255, 210, 210, .6) 12%, rgba(255, 70, 70, .6) 45%, rgba(150, 8, 8, .95) 100%);
  box-shadow: inset -8px -12px 24px rgba(90, 0, 0, .6), inset 6px 8px 16px rgba(255, 200, 200, .5), 0 24px 40px -14px rgba(255, 43, 43, .55);
  animation: bob2 9s ease-in-out infinite reverse;
}

/* glass number tiles */
.glass-tile {
  background: linear-gradient(160deg, #2c2c2c, #141414) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 8px 18px -8px rgba(255, 43, 43, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* frosted stats and step cards */
.card.sky { background: linear-gradient(170deg, #171717, #101010); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border: 1px solid #1f1f1f; }
.stat { background: linear-gradient(170deg, #171717, #101010); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); border: 1px solid #1f1f1f; }

/* liquid sheen on the blue card */
.way.main { background: radial-gradient(120% 80% at 10% 0%, #ff7070 0%, transparent 55%), linear-gradient(160deg, #ff3333, #a80c0c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 30px 60px -30px rgba(255, 43, 43, .6); }
.way.main::before { content: ""; position: absolute; top: -40%; left: -20%; width: 70%; height: 180%; transform: rotate(18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { left: -60%; } 100% { left: 120%; } }
.way.main > * { position: relative; z-index: 1; }

/* glossy primary button */
.btn.blue { background: linear-gradient(180deg, #ff5252, #ff2b2b 55%, #e31414); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 24px -8px rgba(255, 43, 43, .65); }
.btn.blue:hover { background: linear-gradient(180deg, #ff4040, #e31414 55%, #c40d0d); }

@media (max-width: 1080px) {
  .glass-shield { left: auto; right: -10px; top: -96px; width: 96px; }
  .glass-chip.c1 { left: 16px; }
}
@media (max-width: 860px) {
  .orbs .o1 { width: 300px; height: 300px; }
  .glass-shield { width: 76px; right: 4px; top: -82px; }
  .glass-orb { width: 64px; height: 64px; right: -10px; bottom: -18px; }
  .glass-chip.c1 { left: 12px; bottom: -46px; animation: none; }
  .hero .stage { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbs i, .glass-shield, .glass-chip, .glass-orb, .way.main::before { animation: none; }
}

@media (max-width: 1080px) {
  /* stacked layout: keep the dots behind the demo card only, never behind text */
  .hero-band::after {
    -webkit-mask-image: radial-gradient(75% 20% at 100% 90%, #000 62%, transparent 63%), radial-gradient(14% 6% at 8% 66%, #000 60%, transparent 62%);
    mask-image: radial-gradient(75% 20% at 100% 90%, #000 62%, transparent 63%), radial-gradient(14% 6% at 8% 66%, #000 60%, transparent 62%);
  }
}

.logo-img { width: 32px; height: 32px; display: block; }

/* ---------- dashboard: tabs, items, training, rules ---------- */
.dtabs { display: inline-flex; gap: 4px; padding: 5px; margin-top: 28px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.dtabs button { border: 0; background: none; color: var(--ink-2); padding: 9px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.dtabs button b { font-weight: 600; color: var(--muted); margin-left: 4px; }
.dtabs button.on { background: var(--sky-2); color: var(--ink); }
.dtabs button.on b { color: var(--blue-d); }
.tabhint { margin: 12px 0 0; }
.items { margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item.done { background: rgba(255, 43, 43, .05); }
.item-top { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.item-top a { font-weight: 650; text-decoration: none; color: var(--ink); }
.item-top a:hover { color: var(--blue-d); }
.item-meta { font-size: 13px; color: var(--muted); }
.item-text { margin-top: 4px; color: var(--ink-2); font-size: 15px; word-break: break-word; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tagc { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--bot-bg); color: var(--bot); }
.item-block { margin-top: 8px; font-size: 13.5px; }
.unblock { color: var(--blue-d); font-weight: 600; text-decoration: none; }
.unblock:hover { text-decoration: underline; }
.item .chip { min-height: 34px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: 13px; background: var(--sky-2); color: var(--ink); border: 0; cursor: pointer; white-space: nowrap; }
.item .chip.warn { background: var(--bot-bg); color: var(--bot); }
.item .chip:hover { filter: brightness(1.2); }
.train, .learn { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sky); border: 1px solid var(--line); }
.train p, .learn p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.train-q { color: var(--ink) !important; font-weight: 600; }
.tick { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; cursor: pointer; }
.tick input { accent-color: var(--blue); width: 16px; height: 16px; }
.train .btns { margin-top: 12px; }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.sug { border: 1px dashed var(--sky-3); background: none; color: var(--ink); padding: 7px 12px; border-radius: 999px; font-size: 13.5px; cursor: pointer; }
.sug:hover { border-color: var(--blue); color: var(--blue-d); }
.sug.on { border-style: solid; border-color: var(--blue); background: rgba(255, 43, 43, .1); color: var(--blue-d); }
.rulesgrid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.rbox { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--panel); }
.rbox h3 { font-size: 17px; }
.rbox .caption { margin: 0 0 12px; }
.rchips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; }
.rchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 999px; background: var(--sky-2); font-size: 13.5px; }
.rchip a { color: var(--blue-d); font-weight: 600; text-decoration: none; }
.rchip button { border: 0; background: rgba(255, 255, 255, .06); color: var(--muted); width: 20px; height: 20px; border-radius: 50%; cursor: pointer; line-height: 1; }
.rchip button:hover { color: var(--ink); background: var(--bot-bg); }
.none { color: var(--muted); font-size: 14px; }
.radd { display: flex; gap: 8px; margin-top: 12px; }
.radd .field { margin: 0; padding: 9px 12px; font-size: 14px; }
@media (max-width: 860px) {
  .rulesgrid { grid-template-columns: minmax(0, 1fr); }
  .item { grid-template-columns: minmax(0, 1fr); }
  .item > .chip { justify-self: start; }
  .dtabs { display: flex; width: 100%; }
  .dtabs button { flex: 1; padding: 9px 8px; }
}
