/* ============================================================
   Kumo (KUMO) Mint Lab — stylesheet
   Dark near-black theme, lime accent sampled from the mascot's
   hood (#A3E635). Mobile-first, no frameworks.
   ============================================================ */

:root {
  --bg: #070806;
  --bg-soft: #0d0f0a;
  --panel: #12140d;
  --panel-2: #171a10;
  --border: #262b18;
  --lime: #a3e635;
  --lime-bright: #bef264;
  --lime-dark: #3f6212;
  --text: #f4f7ec;
  --muted: #a3ad97;
  --danger: #f87171;
  --ok: #a3e635;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.45rem; }
p { margin: 0 0 12px; }
a { color: var(--lime); }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px;
  background: rgba(7, 8, 6, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-logo { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: #000; filter: drop-shadow(0 0 9px rgba(163, 230, 53, .5)) drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .2px; }
.brand-ticker { color: var(--lime); font-size: .8rem; font-weight: 700; }
.site-nav { display: none; gap: 18px; }
.site-nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--lime); }
@media (min-width: 760px) { .site-nav { display: flex; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  text-decoration: none; transition: transform .08s ease, background .15s ease, opacity .15s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--lime); color: #131603; }
.btn-primary:hover { background: var(--lime-bright); }
.btn-secondary { background: var(--panel-2); color: var(--text); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--lime-dark); color: var(--lime-bright); }
.btn-ghost { background: transparent; color: var(--lime); border-color: var(--lime-dark); }
.btn-small { min-height: 42px; padding: 8px 18px; font-size: .92rem; }
.btn-tiny { min-height: 30px; padding: 3px 12px; font-size: .8rem; }
.btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
button.btn { width: auto; }
.mint-card > .btn-primary, .step .btn-primary { width: 100%; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 40px 8px 28px; }
.hero-mascot {
  width: min(240px, 62vw); height: auto;
  filter: drop-shadow(0 0 34px rgba(163, 230, 53, .35)) drop-shadow(0 18px 30px rgba(0,0,0,.55));
}
.hero h1 { font-size: clamp(2.6rem, 9vw, 4rem); font-weight: 900; margin-top: 22px; letter-spacing: .5px; }
.tagline { color: var(--muted); font-size: 1.06rem; max-width: 640px; margin: 0 auto 18px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 18px; }
.badge {
  border: 1px solid var(--lime-dark); color: var(--lime-bright);
  background: rgba(163, 230, 53, .07);
  padding: 5px 13px; border-radius: 999px; font-size: .85rem; font-weight: 700;
}
.launch-banner {
  max-width: 640px; margin: 0 auto 16px; text-align: left;
  border: 1px solid #a16207; background: rgba(234, 179, 8, .09); color: #fde68a;
  border-radius: var(--radius); padding: 14px 16px; font-size: .95rem;
}
.contract-line { color: var(--muted); font-size: .92rem; display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; }
.contract-line a { font-weight: 700; word-break: break-all; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin: 20px auto 0; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; max-width: none; justify-content: center; } }

/* ---------- cards & sections ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  margin: 22px 0;
}
@media (min-width: 760px) { .card { padding: 28px; } }
.section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 4px; }
.section-head h2 { margin: 0; }
.hint { color: var(--muted); font-size: .9rem; }
.note-honest { border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 18px; }

/* ---------- wallet bar ---------- */
.wallet-bar-head { display: flex; align-items: center; justify-content: space-between; }
.wallet-bar-head h2 { margin: 0; font-size: 1.15rem; }
.chip { font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--border); }
.chip-muted { color: var(--muted); }
.chip-ok { color: #131603; background: var(--lime); border-color: var(--lime); }
.chip-warn { color: #fde68a; border-color: #a16207; }
.wallet-grid, .paid-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 16px 0 10px;
}
@media (min-width: 760px) { .wallet-grid, .paid-facts { grid-template-columns: repeat(4, 1fr); } }
.w-label { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
.w-value { font-weight: 700; font-size: 1.02rem; word-break: break-all; }

/* ---------- stats ---------- */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { margin: 0; padding: 18px 16px; display: flex; flex-direction: column; gap: 5px; }
.stat-label { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .6px; }
.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--lime-bright); word-break: break-word; }
.stat-sub { color: var(--muted); font-size: .85rem; }
.progress { height: 9px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--lime-dark), var(--lime)); border-radius: 999px; transition: width .6s ease; }

/* ---------- mint steps ---------- */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.step-head h3 { margin: 0; font-size: 1.05rem; }
.step-num {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--panel-2); border: 1px solid var(--lime-dark); color: var(--lime);
  font-weight: 800; font-size: .95rem;
}
.step.done .step-num { background: var(--lime); color: #131603; border-color: var(--lime); }
.text-block {
  background: #000; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; white-space: pre-wrap; word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86rem; line-height: 1.5; color: #e7f5d0; max-height: 380px; overflow: auto;
  margin: 0 0 12px;
}
input[type="url"] {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #000; border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-size: 16px; /* 16px prevents focus-zoom on mobile */
}
input[type="url"]:focus { outline: 2px solid var(--lime-dark); border-color: var(--lime); }
input[type="url"].valid { border-color: var(--lime); }
.status-line { min-height: 1.4em; font-size: .93rem; margin-top: 10px; }
.status-line.ok { color: var(--ok); }
.status-line.err { color: var(--danger); }
.status-line a { word-break: break-all; }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- tokenomics / how ---------- */
.toke-rows { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.toke-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; font-size: .98rem; }
.toke-head strong { color: var(--lime-bright); white-space: nowrap; }
.how-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .how-grid { grid-template-columns: repeat(3, 1fr); } }
.how-step { background: var(--panel-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.how-step h3 { margin: 10px 0 6px; }
.how-step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- FAQ ---------- */
details { border-top: 1px solid var(--border); padding: 13px 0; }
details:first-of-type { border-top: none; }
summary { cursor: pointer; font-weight: 700; font-size: 1rem; padding: 2px 0; }
details p { color: var(--muted); margin: 8px 0 2px; font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 30px 8px 10px; color: var(--muted); }
.footer-logo { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; background: #000; margin-bottom: 8px; }
.disclaimer { font-size: .83rem; max-width: 720px; margin: 10px auto; }
