/* MMB — plain CSS port of the Next.js design tokens (app/globals.css) */

:root {
  --ink-950: #04050a;
  --ink-900: #070912;
  --ink-850: #0a0d19;
  --ink-800: #0f1322;
  --ink-700: #171c2e;
  --ink-600: #232941;

  --mist-100: #f4f6ff;
  --mist-300: #c7cde4;
  --mist-500: #8b93b0;
  --mist-600: #6a7291;

  --volt-300: #7df2ff;
  --volt-400: #38dcf4;
  --volt-500: #12c2e9;

  --iris-300: #a5b4fc;
  --iris-400: #818cf8;
  --iris-500: #6366f1;

  --plum-400: #c084fc;
  --plum-500: #a855f7;

  --bg: var(--ink-950);
  --fg: var(--mist-100);
  --hair: rgba(255, 255, 255, .08);
  --hair-strong: rgba(255, 255, 255, .16);

  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--fg);
  margin: 0;
  padding: 0;
}

body {
  font-family: "Geist Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
}

.mono {
  font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--iris-500); color: white; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-950); }
::-webkit-scrollbar-thumb { background: var(--ink-700); border-radius: 6px; }

/* ---------------- layout shell ---------------- */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 90%);
}

.aurora {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(96px);
  opacity: .5;
  animation: drift 26s ease-in-out infinite;
}
.aurora.a1 { top: -120px; left: -100px; background: var(--iris-500); }
.aurora.a2 { top: 20%; right: -160px; background: var(--volt-500); animation-delay: -8s; }
.aurora.a3 { bottom: -160px; left: 30%; background: var(--plum-500); animation-delay: -16s; }

@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,20px) scale(0.95); }
}

/* ---------------- utility surfaces ---------------- */

.glass {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: linear-gradient(150deg, rgba(255,255,255,.055), rgba(255,255,255,.014));
  border: 1px solid var(--hair);
  border-radius: 20px;
}

.text-gradient {
  background: linear-gradient(100deg, var(--volt-300) 0%, var(--iris-300) 45%, var(--plum-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--hair-strong), transparent);
  border: none;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

/* ---------------- nav ---------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: rgba(4, 5, 10, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hair);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
}
.logo .dim { color: var(--mist-500); }
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--volt-400), var(--iris-400), var(--plum-400), var(--volt-400));
  display: grid;
  place-items: center;
  font-family: "Geist Mono", monospace;
  font-weight: 700;
  color: var(--ink-950);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--mist-300);
  font-size: .92rem;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--fg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--mist-100);
  color: var(--ink-950);
}
.btn-primary:hover { background: white; }
.btn-outline {
  border-color: var(--hair-strong);
  color: var(--fg);
}
.btn-outline:hover { border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.04); }
.btn-sm { padding: 8px 16px; font-size: .82rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hair-strong);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  color: var(--fg);
  align-items: center;
  justify-content: center;
}
.mobile-sheet {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 0 6px;
}
.mobile-sheet.open { display: flex; }
.mobile-sheet a { color: var(--mist-300); font-size: 1rem; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }
}

/* ---------------- hero ---------------- */

.hero {
  padding: 72px 0 56px;
  position: relative;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: .8rem;
  color: var(--mist-300);
  background: rgba(255,255,255,.03);
}
h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 22px 0 20px;
  font-weight: 600;
  max-width: 16ch;
}
.hero p.lead {
  color: var(--mist-300);
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------- marquee ---------------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  color: var(--mist-500);
  font-family: "Geist Mono", monospace;
  font-size: .95rem;
  white-space: nowrap;
}

/* ---------------- sections ---------------- */

section { padding: 84px 0; }
.eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--volt-300);
  margin: 0 0 14px;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -.015em;
  margin: 0 0 12px;
  font-weight: 600;
  max-width: 22ch;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head .link-more {
  color: var(--mist-300);
  font-size: .9rem;
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: 2px;
}
.section-head .link-more:hover { color: var(--fg); }

/* ---------------- stats ---------------- */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: 20px;
  overflow: hidden;
}
.stat-tile {
  background: var(--ink-900);
  padding: 30px 24px;
}
.stat-tile .num {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Geist Mono", monospace;
}
.stat-tile .label { color: var(--mist-500); font-size: .88rem; margin-top: 6px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------- cards / grid ---------------- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--hair-strong); transform: translateY(-2px); }

.card-art {
  height: 84px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, var(--iris-500), transparent 70%),
              radial-gradient(circle at 70% 70%, var(--volt-500), transparent 70%);
  opacity: .55;
  border: 1px solid var(--hair);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--mist-500);
}
.status-row.live .pulse-dot { background: #34d399; }
.status-row.beta .pulse-dot { background: var(--volt-400); animation: none; opacity: .9;}
.status-row.in-development .pulse-dot { background: var(--mist-600); animation: none; }

.card h3 { font-size: 1.15rem; margin: 0; font-weight: 600; }
.card .tagline { color: var(--mist-300); font-size: .92rem; margin: 0; }
.card .summary { color: var(--mist-500); font-size: .86rem; line-height: 1.55; margin: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: "Geist Mono", monospace;
  font-size: .74rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  color: var(--mist-500);
}

.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--hair);
  font-size: .82rem;
  color: var(--mist-500);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  color: #34d399;
  font-family: "Geist Mono", monospace;
}

/* ---------------- capability / process ---------------- */

.cap-grid, .process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .cap-grid, .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cap-grid, .process-grid { grid-template-columns: 1fr; } }

.cap-card, .step-card { padding: 26px; }
.cap-card .num, .step-card .num {
  font-family: "Geist Mono", monospace;
  color: var(--mist-600);
  font-size: .85rem;
  margin-bottom: 16px;
}
.cap-card h3, .step-card h3 { font-size: 1.05rem; margin: 0 0 10px; font-weight: 600; }
.cap-card p, .step-card p { color: var(--mist-500); font-size: .88rem; line-height: 1.55; margin: 0; }

/* ---------------- categories block ---------------- */

.cat-list { display: flex; flex-direction: column; }
.cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--hair);
  transition: background .15s ease;
}
.cat-row:last-child { border-bottom: none; }
.cat-row:hover { background: rgba(255,255,255,.02); }
.cat-row .label { font-weight: 600; font-size: 1.02rem; }
.cat-row .blurb { color: var(--mist-500); font-size: .86rem; margin-top: 4px; max-width: 60ch; }
.cat-row .count {
  font-family: "Geist Mono", monospace;
  font-size: .78rem;
  color: var(--mist-500);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px 10px;
  margin-left: 16px;
  white-space: nowrap;
}

/* ---------------- spotlight banner ---------------- */

.spotlight-banner {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--hair);
  overflow: hidden;
  padding: 46px 40px;
  background: var(--ink-900);
}
.spotlight-banner .kicker {
  font-family: "Geist Mono", monospace;
  font-size: .78rem;
  color: var(--volt-300);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.spotlight-banner h2 { margin: 14px 0 12px; max-width: none; }
.spotlight-banner p { color: var(--mist-300); max-width: 60ch; margin: 0 0 24px; }
.spotlight-tabs { display: flex; gap: 8px; margin-top: 28px; }
.spotlight-tabs a {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--hair-strong);
  overflow: hidden;
}
.spotlight-tabs a.active { background: var(--volt-400); }

/* ---------------- CTA ---------------- */

.cta-block {
  text-align: center;
  padding: 64px 40px;
  border-radius: 28px;
}
.cta-block h2 { max-width: none; margin: 0 auto 16px; }
.cta-block p { color: var(--mist-300); max-width: 54ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- footer ---------------- */

footer.site-footer { border-top: 1px solid var(--hair); padding: 60px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid p { color: var(--mist-500); font-size: .88rem; max-width: 40ch; margin: 14px 0; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mist-500); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--mist-300); font-size: .92rem; }
.footer-grid a:hover { color: var(--fg); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--mist-600);
  font-size: .8rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------- project listing / filters ---------------- */

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-tab {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: .85rem;
  color: var(--mist-300);
}
.filter-tab.active { background: var(--mist-100); color: var(--ink-950); border-color: transparent; font-weight: 600; }
.filter-tab:hover:not(.active) { border-color: rgba(255,255,255,.32); color: var(--fg); }
.empty-state { color: var(--mist-500); padding: 60px 0; text-align: center; }

/* ---------------- project detail ---------------- */

.breadcrumb { color: var(--mist-500); font-size: .85rem; margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--fg); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--hair-strong);
  font-size: .78rem;
  margin-right: 8px;
}
.pill-row { margin-bottom: 20px; }
.detail-tagline { font-size: 1.2rem; color: var(--mist-300); margin: 10px 0 18px; }
.detail-summary { font-size: 1rem; color: var(--mist-500); max-width: 70ch; line-height: 1.6; }

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
@media (max-width: 860px) { .detail-layout { grid-template-columns: 1fr; } }

.detail-block { margin-bottom: 40px; }
.detail-block h3 { font-size: 1.05rem; margin-bottom: 12px; }
.detail-block p { color: var(--mist-300); line-height: 1.65; }

.highlight-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.highlight-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--mist-300); font-size: .95rem; }
.highlight-list li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 999px;
  background: linear-gradient(120deg, var(--volt-400), var(--iris-400));
  margin-top: 8px;
  flex-shrink: 0;
}

.sidebar { position: sticky; top: 90px; padding: 26px; }
.sidebar h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mist-500); margin: 0 0 12px; }
.sidebar .chips { margin-bottom: 24px; }
.sidebar p { color: var(--mist-500); font-size: .88rem; line-height: 1.6; margin: 16px 0; }
.sidebar .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

.demo-frame-wrap { margin: 30px 0 44px; border-radius: 20px; overflow: hidden; border: 1px solid var(--hair); }
.demo-frame-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; background: var(--ink-900); border-bottom: 1px solid var(--hair);
  font-size: .85rem; color: var(--mist-300);
}
.demo-frame-head .actions { display: flex; gap: 10px; }
.demo-frame-head a, .demo-frame-head button {
  color: var(--mist-500); font-size: .8rem; background: none; border: none;
}
.demo-frame-head a:hover, .demo-frame-head button:hover { color: var(--fg); }
.demo-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: var(--ink-950); }
.demo-frame.tall { aspect-ratio: 9/16; max-width: 420px; margin: 0 auto; }
.demo-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.demo-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: var(--ink-950); cursor: pointer; color: var(--mist-300);
}
.demo-overlay .play {
  width: 60px; height: 60px; border-radius: 999px; display: grid; place-items: center;
  background: var(--mist-100); color: var(--ink-950); font-size: 1.4rem;
}

.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 60px; }
.neighbours a { padding: 22px 26px; }
.neighbours .dir { color: var(--mist-500); font-size: .8rem; margin-bottom: 6px; }
.neighbours .name { font-weight: 600; }
.neighbours .next { text-align: right; }
@media (max-width: 640px) { .neighbours { grid-template-columns: 1fr; } }

/* ---------------- contact ---------------- */

.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; margin-top: 40px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.form-card { padding: 32px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; color: var(--mist-300); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--hair-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--fg);
  font: inherit;
  font-size: .92rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--iris-400);
}
.field .err { color: #fb7185; font-size: .8rem; margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { color: var(--mist-500); font-size: .8rem; margin-top: 6px; }
.success-box { text-align: center; padding: 30px 10px; }
.success-box .check {
  width: 54px; height: 54px; border-radius: 999px; background: rgba(52,211,153,.15); color: #34d399;
  display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.5rem;
}
.alert-error {
  background: rgba(251,113,133,.08); border: 1px solid rgba(251,113,133,.3);
  color: #fda4af; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: .88rem;
}

.faq-item { padding: 20px 0; border-bottom: 1px solid var(--hair); }
.faq-item:last-child { border-bottom: none; }
.faq-item .q { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.faq-item .a { color: var(--mist-500); font-size: .87rem; line-height: 1.55; }

/* ---------------- 404 ---------------- */

.notfound { text-align: center; padding: 120px 0; }
.notfound .code { font-family: "Geist Mono", monospace; font-size: 1rem; margin-bottom: 14px; }

/* ---------------- admin ---------------- */

.admin-body { background: var(--ink-950); }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px; flex-shrink: 0; background: var(--ink-900); border-right: 1px solid var(--hair);
  padding: 24px 18px; position: sticky; top: 0; height: 100vh;
}
.admin-sidebar .brand { font-weight: 700; margin-bottom: 30px; font-size: 1.05rem; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar a {
  padding: 10px 14px; border-radius: 10px; color: var(--mist-300); font-size: .9rem;
}
.admin-sidebar a:hover { background: rgba(255,255,255,.04); color: var(--fg); }
.admin-sidebar a.active { background: rgba(255,255,255,.07); color: var(--fg); font-weight: 600; }
.admin-main { flex: 1; padding: 32px 40px; max-width: 1100px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 1.5rem; margin: 0; }

.admin-card { background: var(--ink-900); border: 1px solid var(--hair); border-radius: 16px; padding: 24px; margin-bottom: 24px; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hair); font-size: .88rem; }
table.admin-table th { color: var(--mist-500); font-weight: 600; text-transform: uppercase; font-size: .74rem; letter-spacing: .04em; }
table.admin-table tr.unread { background: rgba(129,140,248,.05); }
.badge { padding: 3px 9px; border-radius: 999px; font-size: .72rem; border: 1px solid var(--hair-strong); }
.badge.new { color: var(--iris-300); border-color: var(--iris-400); }

.admin-flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: .88rem; }
.admin-flash.success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #6ee7b7; }
.admin-flash.error { background: rgba(251,113,133,.08); border: 1px solid rgba(251,113,133,.3); color: #fda4af; }

.login-shell { min-height: 100vh; display: grid; place-items: center; }
.login-card { width: 100%; max-width: 380px; padding: 34px; }
.login-card h1 { font-size: 1.3rem; margin-bottom: 22px; }

.admin-actions { display: flex; gap: 8px; }
.admin-actions .btn-sm { padding: 6px 12px; font-size: .78rem; }
.btn-danger { background: rgba(251,113,133,.12); color: #fda4af; border: 1px solid rgba(251,113,133,.3); }

.status-toggle { font-size: .8rem; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--ink-700); }

@media (max-width: 800px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-main { padding: 22px; }
}

/* ---------------- floating contact buttons ---------------- */

.float-buttons {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(255,255,255,.12);
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 34px rgba(0,0,0,.55); }
.float-btn.whatsapp { background: #25d366; }
.float-btn.whatsapp svg { fill: #04050a; }
.float-btn.email { background: var(--mist-100); }
.float-btn.email svg { fill: var(--ink-950); }
.float-btn svg { width: 26px; height: 26px; }

/* ---------------- heartbeat / curiosity hook ---------------- */

.heartbeat-section { padding: 70px 0; }
.heartbeat-panel {
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 820px) { .heartbeat-panel { grid-template-columns: 1fr; } }

.heartbeat-counter {
  font-family: "Geist Mono", monospace;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}
.heartbeat-counter .unit { font-size: .85rem; color: var(--mist-500); font-weight: 400; margin-left: 8px; }
.heartbeat-caption { color: var(--mist-500); font-size: .88rem; margin-top: 8px; }

.heartbeat-list { display: flex; flex-direction: column; gap: 0; }
.heartbeat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hair);
  font-size: .88rem;
}
.heartbeat-row:last-child { border-bottom: none; }
.heartbeat-row .hb-dot {
  width: 8px; height: 8px; border-radius: 999px; background: #34d399;
  animation: pulse-dot 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.heartbeat-row .hb-name { color: var(--fg); font-weight: 500; }
.heartbeat-row .hb-meta { margin-left: auto; color: var(--mist-600); font-family: "Geist Mono", monospace; font-size: .78rem; }
