/* Dipnauts: moon dusk world. One owned accent (signal gold); teal/coral only on numbers. */
:root {
  --night: #120a2e; --indigo: #1B1040; --violet: #4B2A8C; --magenta: #C2418F; --peach: #FF9E7A;
  --gold: #FFD36E; --gold-2: #FFB84D; --up: #3EE6B0; --down: #FF5C7A;
  --ink: #F6F3FF; --ink-2: rgba(246,243,255,.74); --ink-3: rgba(246,243,255,.52);
  --glass: rgba(30,18,70,.46); --glass-2: rgba(255,255,255,.07); --edge: rgba(255,255,255,.16);
  --display: "Clash Display", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font: 400 16px/1.55 var(--body); background: var(--night);
  font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 28vh; }
a { color: inherit; }
#scenewrap { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#scene { display: block; width: 100vw; height: 100vh; }
.grain { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07; 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 baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
header, main, footer, .mockflag { position: relative; z-index: 2; }
header.nav { z-index: 40; }

/* ---- nav ---- */
.nav { position: sticky; top: 0; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(18,10,46,.55); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--edge); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(255,211,110,.35)); transition: transform .4s; }
.brand:hover .brand-mark { transform: rotate(-12deg) translateY(-2px); }
.wordmark { font: 700 22px/1 var(--display); letter-spacing: .06em;
  background: linear-gradient(100deg, #fff 0%, var(--gold) 35%, #FF8FC7 65%, #B58CFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .2s; }
.links a:hover { color: var(--gold); }
.mockflag { text-align: center; font: 600 12px var(--mono); letter-spacing: .08em; color: #2b1a00; background: var(--gold); padding: 6px; }

/* ---- buttons ---- */
.btn { --bg: var(--gold); position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none; font: 700 16px var(--body); padding: 14px 24px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(2px) scale(.98); }
.btn-gold { background: linear-gradient(180deg, #FFE29A, var(--gold) 45%, var(--gold-2)); color: #2b1a00;
  box-shadow: 0 6px 0 #c98a1e, 0 14px 30px rgba(255,184,77,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #c98a1e, 0 18px 40px rgba(255,184,77,.5); }
.btn-gold:active { box-shadow: 0 2px 0 #c98a1e, 0 6px 16px rgba(255,184,77,.35); }
.btn-gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.65) 50%, transparent 70%);
  transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-glass { background: var(--glass-2); color: var(--ink); border: 1px solid var(--edge); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.btn.sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }

/* ---- shared ---- */
.glass { background: var(--glass); border: 1px solid var(--edge); border-radius: var(--r); backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 20px 50px rgba(8,4,30,.35), inset 0 1px 0 rgba(255,255,255,.12); }
.num { font-family: var(--body); font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
.up { color: var(--up); } .down { color: var(--down); }
.small { font-size: 13px; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(62,230,176,.7);
  animation: pulse 1.8s infinite; vertical-align: middle; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,230,176,.7); } 70% { box-shadow: 0 0 0 10px rgba(62,230,176,0); } 100% { box-shadow: 0 0 0 0 rgba(62,230,176,0); } }
.holo-text { background: linear-gradient(100deg, var(--gold), #FF8FC7 45%, #B58CFF 70%, var(--up)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo 8s ease-in-out infinite alternate; }
@keyframes holo { to { background-position: 100% 0; } }
main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(48px, 8vw, 96px) 0 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.sec-head.left { text-align: left; margin-left: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .005em; margin: 0; }
h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; text-shadow: 0 2px 18px rgba(10,4,40,.7); }
.sec-head p, .lede, .trust, .orbit p { text-shadow: 0 1px 10px rgba(10,4,40,.8); }
h3 { font-size: 22px; }
.sec-head p { color: var(--ink-2); font-size: 18px; margin: 12px 0 0; }

/* ---- hero ---- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 14px var(--mono); color: var(--ink-2);
  background: var(--glass-2); border: 1px solid var(--edge); padding: 7px 14px; border-radius: 99px; margin: 0 0 20px; }
h1 { font-size: clamp(44px, 7vw, 84px); line-height: .98; text-shadow: 0 6px 40px rgba(0,0,0,.35); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 520px; margin: 22px 0 28px; }
.lede b { color: var(--ink); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.trust.col { flex-direction: column; margin-top: 22px; }

/* the app frame */
.app-frame { position: relative; background: rgba(250,248,255,.92); color: #1d1638; border-radius: 22px; overflow: visible;
  box-shadow: 0 40px 90px rgba(5,2,25,.55), 0 0 0 1px rgba(255,255,255,.6), 0 0 80px rgba(181,140,255,.25); }
.app-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e7e2f5; }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ffb4c0; } .dots i:nth-child(2) { background: #ffe08a; } .dots i:nth-child(3) { background: #9be8c8; }
.app-title { font-weight: 700; font-size: 14px; }
.pill-live { margin-left: auto; display: flex; align-items: center; gap: 7px; font: 700 12px var(--mono); color: #0b7a55; background: #dff8ee; padding: 4px 10px; border-radius: 99px; }
.app-body { padding: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { background: #f3f0fb; border-radius: 14px; padding: 10px 12px; }
.tile span { display: block; font-size: 12px; color: #6b6290; font-weight: 600; }
.tile b { font-size: 26px; font-weight: 800; }
.app-frame .up { color: #0f9e6e; }
.app-label { margin: 16px 0 8px; font-weight: 700; font-size: 14px; } .app-label small { color: #8a82ad; font-weight: 500; margin-left: 6px; }
.holding { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #f3f0fb; border-radius: 14px; padding: 10px 12px; }
.h-coin b, .h-pct b { display: block; font-size: 17px; } .h-coin small, .h-pct small { color: #8a82ad; font-size: 12px; }
.spark { width: 100%; height: 44px; }
.spark .lvl, .lesson-art .lvl { stroke: #FFB84D; stroke-dasharray: 4 4; stroke-width: 1.5; }
.spark .tgt { stroke: #3EC79A; stroke-dasharray: 4 4; stroke-width: 1.5; }
.spark .pl { fill: none; stroke: #6a4bd6; stroke-width: 2.4; stroke-linejoin: round; }
.spark .fill { fill: #FFB84D; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; font-weight: 700; font-size: 13px; }
.bar em { font-style: normal; font-family: var(--mono); color: #6b6290; text-align: right; }
.track { height: 12px; border-radius: 99px; background: #e8e3f7; box-shadow: inset 0 2px 3px rgba(40,20,90,.15); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #6a4bd6, #9b7bff);
  position: relative; transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.track i.near { background: linear-gradient(90deg, #12b886, #3EE6B0); }
.track i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); animation: streak 2.4s infinite; }
.track i.near::after { animation-duration: 1.4s; }
@keyframes streak { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.in .track i { width: var(--w); }
.vol { margin-top: 14px; font-size: 13px; color: #6b6290; font-weight: 600; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 99px; font-weight: 700; font-size: 12px; margin-right: 6px; }
.tag.good { background: #dff8ee; color: #0b7a55; }
.sticker { position: absolute; width: 86px; height: 86px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.sticker-wave { left: -34px; bottom: -30px; animation: bob 4s ease-in-out infinite, wave 1.2s ease-in-out 1s 2; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(4deg); } }
@keyframes wave { 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
.sticker.sm { position: static; width: 56px; height: 56px; flex: none; animation: bob 5s ease-in-out infinite; }

/* ---- ticker ---- */
.ticker { margin: clamp(40px, 6vw, 72px) calc(-1 * clamp(16px, 4vw, 40px)) 0; overflow: hidden; border-block: 1px solid var(--edge);
  background: rgba(18,10,46,.6); backdrop-filter: blur(10px); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 14px 0; font: 600 15px var(--mono); animation: tick 40s linear infinite; white-space: nowrap; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---- scoreboard ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 18px 20px; }
.stat span { display: block; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.stat b { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.log { margin-top: 14px; padding: 6px 0; overflow: hidden; }
.log-row { display: grid; grid-template-columns: 76px 1.6fr 1fr 1.2fr .8fr .6fr; gap: 12px; align-items: center; padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.07); }
.log-row.head { border-top: 0; font: 600 12px var(--mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.log-row.win { background: linear-gradient(90deg, rgba(62,230,176,.1), transparent 60%); }
.badge { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; margin-left: 6px; white-space: nowrap; }
.badge.in { background: rgba(255,211,110,.18); color: var(--gold); }
.badge.sig { background: rgba(181,140,255,.18); color: #cdb6ff; }
.orbit { display: flex; gap: 16px; align-items: center; padding: 14px 20px; margin-top: 14px; }
.orbit p { margin: 0; color: var(--ink-2); }

/* ---- steps / lessons / plans ---- */
.steps, .lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step, .lesson { padding: 24px; }
.step-n { font: 700 14px var(--mono); color: var(--gold); margin-bottom: 18px; }
.step p, .lesson p { color: var(--ink-2); margin: 10px 0 0; }
.lesson-art { width: 100%; height: 110px; margin-bottom: 14px; background: rgba(255,255,255,.05); border-radius: 14px; }
.lesson-art .pl { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.lesson-art .fill { fill: var(--gold); }
.lesson-art .lbl { fill: var(--ink-3); font: 600 9px var(--body); } .lesson-art .lbl.big { fill: #fff; font-size: 13px; }
.lesson-art .box-a { fill: rgba(62,230,176,.25); stroke: var(--up); } .lesson-art .box-b { fill: rgba(255,92,122,.2); stroke: var(--down); }
.lesson-art .zoom { fill: rgba(255,211,110,.12); stroke: var(--gold); stroke-width: 2; }
.in .draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.in .pop { transform-origin: 82px 64px; animation: pop .5s 1.1s both cubic-bezier(.3,1.8,.5,1); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.more { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 700; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.tg { padding: 18px; max-width: 440px; justify-self: end; width: 100%; }
.tg-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; } .tg-head small { display: block; color: var(--ink-3); }
.tg-ava { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--magenta)); padding: 3px; }
.tg-post { background: rgba(255,255,255,.07); border-radius: 16px; padding: 10px; }
.tg-chart { position: relative; border-radius: 12px; overflow: hidden; } .tg-chart svg { display: block; width: 100%; height: auto; }
.stamp { position: absolute; right: 10px; top: 30px; transform: rotate(-8deg); font: 800 13px var(--display); color: #0b3d2c; background: var(--up); padding: 5px 10px; border-radius: 8px; letter-spacing: .06em; }
.tg-post p { margin: 10px 4px 2px; }
.tg-upsell { color: var(--gold); font-weight: 600; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } }
.plan { position: relative; padding: 28px; }
.plan.hot { border-color: rgba(255,211,110,.6); box-shadow: 0 20px 60px rgba(255,184,77,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.ribbon { position: absolute; top: -12px; left: 24px; background: var(--gold); color: #2b1a00; font: 700 12px var(--mono); padding: 4px 10px; border-radius: 8px; }
.price { font: 600 34px var(--display); margin: 8px 0 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: var(--ink-2); }
.plan li::before { content: "✦ "; color: var(--gold); }
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { padding: 16px 20px; } .faq summary { cursor: pointer; font-weight: 700; font-size: 17px; } .faq p { color: var(--ink-2); margin: 10px 0 0; }
.wait { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 24px 28px; max-width: 900px; margin: 0 auto; }
.wait p { margin: 6px 0 0; color: var(--ink-2); }
.wait-in { display: flex; gap: 10px; }
.wait input { font: 500 16px var(--body); padding: 14px 16px; border-radius: 14px; border: 1px solid var(--edge); background: rgba(255,255,255,.92); color: #1d1638; min-width: 240px; }
.wait .ok { display: none; grid-column: 1 / -1; color: var(--up); font-weight: 700; }
.wait.done .ok { display: block; } .wait.done .wait-in { opacity: .5; pointer-events: none; }
.demo { display: block; margin: 18px auto 0; }
.foot { text-align: center; padding: 48px 20px 24px; color: var(--ink-3); font-size: 14px; }
.foot-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.tilt { transition: transform .25s ease; transform-style: preserve-3d; }

/* confetti */
.confetti { position: fixed; inset: 0; z-index: 50; pointer-events: none; }

/* ---- phones ---- */
@media (max-width: 900px) {
  .links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero, .split { grid-template-columns: 1fr; }
  .tg { justify-self: stretch; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .lessons { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .wait { grid-template-columns: 1fr; }
  .wait-in { flex-direction: column; } .wait input { min-width: 0; }
  .log-row { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .log-row.head { display: none; }
  .log-row > :nth-child(1) { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); }
  .log-row > :nth-child(3), .log-row > :nth-child(6) { color: var(--ink-3); font-size: 13px; }
  .sticker-wave { left: -6px; bottom: -34px; width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---- real site pages (slice 1) ---- */
.section.first { padding-top: clamp(36px, 6vw, 72px); }
.links a[aria-current="page"] { color: var(--gold); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border-radius: 12px; background: var(--glass-2); border: 1px solid var(--edge); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; display: grid; min-width: 180px; padding: 8px; z-index: 20; background: rgba(27,16,64,.95); }
.menu-panel a { padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 10px; }
.menu-panel a:hover { background: var(--glass-2); color: var(--gold); }
a.log-row { color: inherit; text-decoration: none; transition: background .2s; }
a.log-row:hover { background: rgba(255,255,255,.06); }
.log-empty { display: flex; gap: 16px; align-items: center; padding: 22px 20px; }
.log-empty p { margin: 0; color: var(--ink-2); }
.record { padding: 20px 24px; }
.record-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 17px; }
.record-top .mono b { color: var(--gold); }
.record-track { height: 14px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 14px 0 10px; overflow: hidden; }
.record-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--gold-2), var(--gold), #FFF1C2); box-shadow: 0 0 18px rgba(255,211,110,.6); }
.record p { margin: 0; color: var(--ink-2); font-size: 14px; }
.shots { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; }
.shot { margin: 0; padding: 10px; overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.shot figcaption { padding: 12px 6px 4px; color: var(--ink-2); font-size: 14px; }
.shot figcaption b { color: var(--ink); margin-right: 6px; }
.pad { padding: 22px 24px; }
.muted { color: var(--ink-3); }
.fine { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 22px; }
.fine a { color: var(--ink-2); }
.sticker.xs { position: static; width: 36px; height: 36px; flex: none; }
.sticker.lg { position: static; width: 160px; height: 160px; animation: bob 5s ease-in-out infinite; }
.holding.empty { display: flex; gap: 12px; align-items: center; color: #6b6290; font-weight: 600; font-size: 14px; }
.tg-post { display: block; color: inherit; text-decoration: none; }
.tg-chart img { display: block; width: 100%; height: auto; }
.stamp.st-open { background: var(--gold); color: #2b1a00; }
.stamp.st-breakeven { background: #cdb6ff; color: #24124f; }
.stamp.st-timeout { background: var(--down); color: #3a0010; }
.tg.waiting { display: flex; gap: 14px; align-items: center; }
.tg.waiting p { margin: 0; color: var(--ink-2); }
.wait { text-align: left; margin-bottom: 28px; }
.wait .err { grid-column: 1 / -1; margin: 0; color: var(--down); font-weight: 600; }
.wait .err:empty { display: none; }
.foot-note { max-width: 640px; margin: 10px auto 4px; }
.foot-copy { margin: 0; font-size: 12px; }
.lesson { position: relative; }
.lesson-n { position: absolute; top: 18px; right: 20px; font: 700 13px var(--mono); color: var(--gold); opacity: .8; }
.lessons { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lesson-art .hi { stroke: rgba(255,255,255,.5); stroke-dasharray: 3 4; }
.lesson-art .tgt { stroke: var(--up); stroke-dasharray: 4 4; stroke-width: 1.5; fill: none; }
.lesson-art .bad { fill: var(--down); }
.lesson-art .shackle, .lesson-art .handle { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; }
.lesson-art .boom { fill: var(--down); }
.in .lesson-art .pop { animation: pop .5s 1.1s both cubic-bezier(.3,1.8,.5,1); }
.lesson-art .pulse { animation: bob 2s ease-in-out infinite; }
.about-moon { display: grid; place-items: center; min-height: 240px; }
.lost { text-align: center; display: grid; justify-items: center; gap: 14px; padding-bottom: 40px; }
@media (max-width: 900px) {
  .menu { display: block; }
  .nav .btn { margin-left: auto; }
  .shots { grid-template-columns: 1fr; }
  .log-row > :nth-child(5) { text-align: right; }
}
.nav .btn { white-space: nowrap; }
.back { margin: 0 0 14px; }
.sig-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sig-title { font-size: clamp(40px, 6vw, 64px); }
.stamp-inline { font: 800 14px var(--display); letter-spacing: .05em; padding: 6px 12px; border-radius: 10px; background: var(--up); color: #0b3d2c; }
.stamp-inline.st-open { background: var(--gold); color: #2b1a00; } .stamp-inline.st-breakeven { background: #cdb6ff; color: #24124f; } .stamp-inline.st-timeout { background: var(--down); color: #3a0010; }
.sig-chart { margin-bottom: 14px; }
.sig-stats .stat b { font-size: clamp(20px, 2.4vw, 28px); display: block; }
.sig-stats .stat small { color: var(--ink-3); font-size: 12px; }
.center { display: flex; justify-content: center; }
.sc-link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 13px; color: #5a3fb8; text-decoration: none; }
.legal { max-width: 780px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); }
.legal h2 { margin-bottom: 12px; } .legal h3 { margin: 26px 0 8px; font-size: 20px; }
.legal p, .legal li { color: var(--ink-2); } .legal li { margin: 6px 0; } .legal b { color: var(--ink); } .legal a { color: var(--gold); }

/* ---- payments + admin ---- */
.pay { max-width: 760px; margin: 0 auto; padding: clamp(18px, 3vw, 30px); }
.pay-closed { display: flex; gap: 16px; align-items: center; max-width: 640px; margin: 0 auto; } .pay-closed p { margin: 0; }
.pay-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.pay-step h3 { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.pay-step h3 span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #2b1a00; font: 800 15px var(--body); }
.coin-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.coin-tab { font: 700 15px var(--body); padding: 10px 18px; border-radius: 12px; border: 1px solid var(--edge); background: var(--glass-2); color: var(--ink); cursor: pointer; }
.coin-tab.on { background: var(--gold); color: #2b1a00; border-color: var(--gold); }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.field input, .field select { font: 500 16px var(--body); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(255,255,255,.92); color: #1d1638; width: 100%; min-width: 0; }
.hint { color: var(--ink-3); font-size: 13px; }
.send-box { display: grid; gap: 10px; }
.send-box > div { background: rgba(255,255,255,.07); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.send-box small { grid-column: 1 / -1; color: var(--ink-3); font-weight: 600; }
.send-amt b { font-size: 26px; color: var(--gold); }
.send-box code { font: 600 14px var(--mono); word-break: break-all; }
.copy { font: 700 12px var(--body); padding: 6px 10px; border-radius: 9px; border: 1px solid var(--edge); background: var(--glass-2); color: var(--ink); cursor: pointer; }
.pay-notes { padding-left: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; }
.tx-form .err { color: var(--down); font-weight: 600; } .tx-form .err:empty { display: none; }
.pay-done { text-align: center; display: grid; gap: 12px; justify-items: center; }
.member { max-width: 760px; margin: 0 auto; }
.m-status { font-size: 20px; margin: 0 0 6px; }
.pays { display: grid; gap: 6px; margin-bottom: 18px; }
.pay-row { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr auto; gap: 8px; font-size: 14px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.pst { font: 700 12px var(--mono); padding: 3px 8px; border-radius: 99px; background: rgba(255,255,255,.1); white-space: nowrap; }
.pst-approved, .pst-active { background: rgba(62,230,176,.18); color: var(--up); }
.pst-check, .pst-not_found, .pst-grace { background: rgba(255,211,110,.18); color: var(--gold); }
.pst-failed, .pst-rejected, .pst-expired { background: rgba(255,92,122,.18); color: var(--down); }
.admin-login { max-width: 420px; margin: 0 auto; display: grid; gap: 12px; } .admin-login .err { color: var(--down); }
.admin h3 { margin: 28px 0 10px; }
.a-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.a-box { margin-top: 14px; } .a-switch { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .a-switch p { margin: 0; }
.a-list { overflow: hidden; }
.a-row { display: grid; grid-template-columns: 1.3fr 1.4fr 1fr auto; gap: 10px; align-items: center; padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.a-row:first-child { border-top: 0; } .a-row .mono { word-break: break-all; } .a-row a { color: var(--gold); }
.a-btns { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .a-row, .pay-row { grid-template-columns: 1fr; gap: 4px; }
}
[hidden] { display: none !important; }

/* plan picker on /join */
.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.plan-opt { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; cursor: pointer; border: 1px solid var(--edge); }
.plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.plan-opt .price { font-size: 26px; margin: 2px 0; }
.plan-opt small { color: var(--ink-2); }
.plan-opt:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,211,110,.35), 0 12px 40px rgba(255,184,77,.16); }
.plan-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.plan-opt { position: relative; }

/* lessons: cards link to full pages */
a.lesson { display: block; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s; }
a.lesson:hover { border-color: rgba(255,211,110,.5); }
.lesson-go { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 600; font-size: 14px; }
.lesson-page { max-width: 760px; margin: 0 auto; }
.crumbs { color: var(--ink-3); font-size: 14px; margin: 0 0 8px; } .crumbs a { color: var(--gold); text-decoration: none; }
.lesson-h { font: 600 clamp(30px, 6vw, 46px)/1.1 var(--display); margin: 0 0 10px; }
.lede { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; }
.lesson-hero { padding: 18px; margin-bottom: 8px; } .lesson-hero .lesson-art { height: 200px; margin: 0; }
.lesson-sec { margin-top: 16px; padding: 20px 22px; } .lesson-sec h2 { font: 600 22px var(--display); margin: 0 0 8px; }
.lesson-sec p { color: var(--ink-2); margin: 0 0 12px; line-height: 1.65; }
.mistakes { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.mistakes li::before { content: "✗ "; color: var(--down); font-weight: 700; }
.lesson-ex { display: block; padding: 10px; color: var(--ink); text-decoration: none; }
.lesson-ex img { width: 100%; height: auto; border-radius: 12px; display: block; }
.lesson-ex span { display: block; padding: 10px 4px 2px; color: var(--gold); font-weight: 600; }
.quiz { margin-top: 30px; padding: 20px; }
.quiz-q { margin: 0 0 12px; }
.quiz-opts { display: grid; gap: 8px; }
.quiz-opts button { text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--edge); background: var(--glass-2); color: var(--ink); font: inherit; cursor: pointer; }
.quiz-opts button:hover:not(:disabled) { border-color: var(--gold); }
.quiz-opts button.right { border-color: var(--up); background: rgba(62,230,176,.15); }
.quiz-opts button.wrong { border-color: var(--down); background: rgba(255,92,122,.15); }
.quiz-why { margin: 12px 0 0; color: var(--ink-2); }
.lesson-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 30px; }
.lesson-nav .btn { max-width: 100%; white-space: normal; }
.plan li.no::before { content: "✗ "; color: var(--down); }
.plan li.no { color: var(--ink-3); }
