/* ──────── Mastra Bar — fresh stylesheet ──────── */

:root {
  --bg:          #0a0a0a;
  --bg-soft:     #131313;
  --bg-card:     #171717;
  --bg-elev:     #1d1d1d;
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.12);
  --border-lime: rgba(163,255,18,0.4);
  --text:        #f5f5f5;
  --text-soft:   #a3a3a3;
  --text-dim:    #6b6b6b;
  --lime:        #a3ff12;
  --lime-bright: #c5ff5a;
  --lime-soft:   rgba(163,255,18,0.10);
  --pink:        #ff6b9d;
  --orange:      #ffb86b;
  --blue:        #6b9dff;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --nav-h: 64px;
  --max-w: 1180px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ambient glow */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(163,255,18,0.08) 0%, transparent 32%),
    radial-gradient(circle at 88% 78%, rgba(255,107,157,0.05) 0%, transparent 32%),
    radial-gradient(circle at 50% 102%, rgba(107,157,255,0.04) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 540px) {
  .wrap { padding: 0 18px; }
}

/* ─────────── TOP BAR ─────────── */

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.75);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--border);
}
.nav-bar .wrap {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(163,255,18,0.25));
}
.brand-text { white-space: nowrap; }

.nav-links {
  display: none;
  gap: 28px;
  font-size: 0.9rem;
  margin: 0 auto;
}
.nav-links a {
  color: var(--text-soft);
  padding: 6px 2px;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--lime); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
}
@media (min-width: 760px) {
  .nav-links { display: inline-flex; }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--lime); color: var(--bg); }
.nav-cta.connected {
  background: var(--lime-soft);
}
.nav-cta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ─────────── REUSABLE BITS ─────────── */

section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 64px 0; } }
@media (max-width: 540px) { section { padding: 52px 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 7.5vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
h1 .accent { color: var(--lime); }

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  color: var(--text-soft);
  max-width: 580px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulse 1.8s ease-in-out infinite;
}
.badge .accent { color: var(--lime); font-weight: 500; }

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid var(--border-mid);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  transition: transform .15s, border-color .2s, background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); border-color: var(--text); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
  font-weight: 600;
}
.btn.primary:hover { background: var(--lime-bright); border-color: var(--lime-bright); }
.btn.ghost { background: transparent; }

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* terminal-ish command pill */
.cmd {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color .2s, transform .15s;
  margin-bottom: 28px;
}
.cmd:hover { border-color: var(--lime); transform: translateY(-1px); }
.cmd .arrow { color: var(--text-dim); }
.cmd .lime { color: var(--lime); }

/* ─────────── HERO ─────────── */

.hero {
  padding: 84px 0 104px;
}
@media (max-width: 760px) {
  .hero { padding: 56px 0 68px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-art {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 24px;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(163,255,18,0.22) 0%, rgba(163,255,18,0.06) 40%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
  z-index: 0;
  animation: spin-slow 24s linear infinite;
}
.hero-art img {
  width: 92%;
  max-width: 460px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(163,255,18,0.18));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@media (max-width: 880px) {
  .hero-art { max-width: 400px; margin: 0 auto; }
}

/* ─────────── STATS STRIP ─────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: var(--border);
}
@media (max-width: 660px) {
  .stat + .stat::before { display: none; }
  .stat + .stat { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 8px; }
}
.stat .v {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat .l {
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─────────── SPLIT (house section) ─────────── */

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-text p {
  font-size: 1.06rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 18px;
}
.split-text p strong { color: var(--text); font-weight: 600; }

.quote {
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.015em;
  border-left: 2px solid var(--lime);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
}

.split-art {
  display: grid;
  place-items: center;
  padding: 30px;
  position: relative;
}
.split-art img {
  width: 80%;
  max-width: 280px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5)) drop-shadow(0 0 24px rgba(163,255,18,0.12));
  animation: float 7s ease-in-out infinite;
}

/* ─────────── CARDS (menu / tok / phase) ─────────── */

.cards {
  display: grid;
  gap: 16px;
}
.cards.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .25s, border-color .25s;
  position: relative;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-lime);
}
.card.now {
  border-color: var(--lime);
  background: linear-gradient(180deg, var(--lime-soft), var(--bg-card) 70%);
}
.card.now::after {
  content: "Now";
  position: absolute; top: 18px; right: 18px;
  padding: 3px 10px;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
}

.card .tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.card .tag.lime { color: var(--lime); }
.card h4 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.card p {
  font-size: 0.94rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

/* pour cards (menu) extend .card */
.pour {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform .25s, border-color .25s;
  cursor: pointer;
}
.pour:hover {
  transform: translateY(-3px);
  border-color: var(--border-lime);
}
.pour-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}
.pour-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pour-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  white-space: nowrap;
  padding-top: 4px;
}
.pour h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.pour-by {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--lime);
  margin-bottom: 14px;
}
.pour-desc {
  font-size: 0.92rem;
  color: var(--text-soft);
  margin: 0 0 20px;
  line-height: 1.55;
}
.pour-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 0.85rem;
}
.pour-price .label {
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pour-price .amt {
  color: var(--lime);
  font-weight: 500;
}

/* see-more tile */
.see-more {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border-mid);
  border-radius: 18px;
  transition: border-color .25s;
  color: var(--text);
}
.see-more:hover { border-color: var(--lime); }
.see-more h3 { margin: 0 0 8px; }
.see-more p { color: var(--text-soft); margin: 0 0 16px; font-size: 0.94rem; }

/* ─────────── CTA CARD ─────────── */

.cta {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 36px;
  background: linear-gradient(180deg, var(--lime-soft), transparent 75%);
  border: 1px solid var(--border-lime);
  border-radius: 28px;
  text-align: center;
}
@media (max-width: 540px) { .cta { padding: 40px 22px; } }
.cta h2 { margin: 0 auto 14px; }
.cta .lede { margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* ─────────── DOCS PAGE ─────────── */

.docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) {
  .docs-layout { grid-template-columns: 1fr; gap: 32px; }
  .docs-toc { position: static !important; }
}
.docs-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.docs-toc h5 {
  font-family: var(--sans);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.docs-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-toc a {
  display: block;
  padding: 6px 12px;
  color: var(--text-soft);
  border-left: 1px solid var(--border);
  transition: all .2s;
  border-radius: 0 6px 6px 0;
}
.docs-toc a:hover, .docs-toc a.active {
  color: var(--lime);
  border-left-color: var(--lime);
  background: rgba(163,255,18,0.04);
}

.doc-section {
  margin-bottom: 56px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.doc-section h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.doc-section h2 .anchor {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.doc-section p {
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0 0 16px;
}
.doc-section p strong { color: var(--text); font-weight: 600; }
.doc-section ul, .doc-section ol {
  color: var(--text-soft);
  padding-left: 22px;
  line-height: 1.75;
  margin: 0 0 16px;
}
.doc-section li { margin-bottom: 6px; }
.doc-section code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--lime);
}
.doc-section pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--text);
  font-size: inherit;
}

.code-block {
  position: relative;
  margin: 18px 0 28px;
}
.code-block pre {
  margin: 0;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--text);
  overflow-x: auto;
  line-height: 1.65;
}
.code-block .copy {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.code-block .copy:hover { border-color: var(--lime); color: var(--lime); }
.code-block .copy.copied { color: var(--lime); border-color: var(--lime); }

/* accordion (FAQ) */
.acc-item { border-bottom: 1px solid var(--border); }
.acc-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.acc-q .plus {
  font-family: var(--mono);
  color: var(--lime);
  transition: transform .25s;
  font-size: 1.2rem;
}
.acc-item.open .acc-q .plus { transform: rotate(45deg); }
.acc-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}
.acc-a > div { padding: 0 0 22px; }
.acc-item.open .acc-a { max-height: 600px; }

/* contract card */
.contract {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  flex-wrap: wrap;
}
.contract .info { flex: 1; min-width: 200px; }
.contract .label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contract .addr {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--lime);
  word-break: break-all;
}
.contract .copy {
  padding: 8px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .2s;
}
.contract .copy:hover { border-color: var(--lime); color: var(--lime); }
.contract .copy.copied { color: var(--lime); border-color: var(--lime); }

/* divider with text */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─────────── FOOTER ─────────── */

footer {
  margin-top: auto;
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ─────────── WALLET MODAL ─────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fade-in .2s ease-out;
}
.modal-overlay.open { display: flex; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-mid);
  border-radius: 22px;
  padding: 34px 28px 24px;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: slide-up .25s ease-out;
}
@keyframes slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: transparent;
  border: 0;
  color: var(--text-soft);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg-elev); color: var(--text); }
.modal h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.modal .mod-sub {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin: 0 0 22px;
}
.wallets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wallet-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  width: 100%;
}
.wallet-opt:hover {
  border-color: var(--lime);
  background: rgba(163,255,18,0.04);
}
.wallet-opt .w-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
}
.wallet-opt .w-icon img,
.wallet-opt .w-icon svg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wallet-opt .w-name { flex: 1; }
.wallet-opt .w-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.modal .status {
  margin-top: 22px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--text-soft);
  display: none;
  line-height: 1.6;
}
.modal .status.show { display: block; }
.modal .status .key { color: var(--lime); }
.modal .status .val { color: var(--text); }
.modal-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text-dim);
  text-align: center;
}

.spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--text-dim);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─────────── PAGE WRAPPERS ─────────── */

.page-head { padding: 56px 0 24px; }
.page-body { padding: 24px 0 80px; }
@media (max-width: 760px) {
  .page-head { padding: 36px 0 16px; }
  .page-body { padding: 16px 0 60px; }
}

/* ─────────── BUTTON-IN-CTA SPACING ─────────── */

.tight-mt-32 { margin-top: 32px; }
.tight-mt-40 { margin-top: 40px; }
