/* MicroEdge network — plain product UI */
:root {
  color-scheme: dark;
  --me-bg0: #070a12;
  --me-bg1: #0a0f18;
  --me-card: #0e1420;
  --me-border: #243044;
  --me-border-strong: #3a5068;
  --me-text: #e6edf6;
  --me-muted: #93a4b8;
  --me-faint: #6b7c90;
  --me-cyan: #5ec8ef;
  --me-emerald: #3ecf8e;
  --me-rose: #e86a7a;
  --me-radius: 8px;
  --me-radius-sm: 6px;
  --me-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --me-display: Georgia, "Times New Roman", serif;
  --me-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--me-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--me-text);
  background: var(--me-bg0);
  -webkit-font-smoothing: antialiased;
}
body::before { display: none !important; content: none !important; }
body > * { position: static; }
a { color: var(--me-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: #3ecf8e44; color: #fff; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--me-cyan); outline-offset: 2px; }

.me-display { font-family: var(--me-display); letter-spacing: -0.02em; }
.me-mono { font-family: var(--me-mono); }
.gradient-text { color: var(--me-cyan); background: none; -webkit-background-clip: unset; background-clip: unset; }
.glow { box-shadow: none; }

.me-shell { width: min(1040px, calc(100% - 2rem)); margin-inline: auto; }
.me-section { padding: 2.5rem 0; }
.me-section-sm { padding: 1.75rem 0; }
.me-stack > * + * { margin-top: 0.85rem; }

.me-header {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--me-border);
  background: var(--me-bg1);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.me-header-inner {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.me-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--me-text);
  font-weight: 650;
  text-decoration: none !important;
}
.me-mark {
  width: 28px; height: 28px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #041018;
  background: var(--me-cyan);
  box-shadow: none;
}
.me-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.84rem;
  color: var(--me-muted);
}
.me-nav a { color: var(--me-muted); padding: 0.3rem 0; text-decoration: none !important; }
.me-nav a:hover, .me-nav a.is-active { color: var(--me-text); text-decoration: underline !important; }
.me-nav .me-cta {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  color: #041018 !important;
  background: var(--me-emerald);
  border: 1px solid transparent;
  text-decoration: none !important;
}
.me-menu-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--me-border);
  background: var(--me-card);
  color: var(--me-text);
  cursor: pointer;
}
@media (max-width: 820px) {
  .me-nav { display: none; }
  .me-nav.is-open {
    display: flex;
    position: absolute;
    left: 0; right: 0; top: 56px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--me-bg1);
    border-bottom: 1px solid var(--me-border);
  }
  .me-nav.is-open a { padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--me-border); }
  .me-menu-btn { display: inline-flex !important; }
}

.me-hero { text-align: center; padding: 3rem 0 2rem; }
.me-hero h1 {
  font-family: var(--me-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 0.85rem;
}
.me-hero .lede {
  max-width: 40rem;
  margin: 0 auto 1rem;
  color: var(--me-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.me-badge {
  display: inline-block;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 999px;
  color: var(--me-muted);
  background: transparent;
  border: 1px solid var(--me-border);
  margin-bottom: 1rem;
}
.me-badge .dot { display: none; }
.me-actions {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; align-items: center;
  margin-top: 1rem;
}
.me-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-weight: 600; font-size: 0.92rem;
  border: 1px solid var(--me-border);
  cursor: pointer;
  text-decoration: none !important;
  min-height: 42px;
}
.me-btn-primary {
  color: #041018 !important;
  background: var(--me-cyan);
  border-color: var(--me-cyan);
}
.me-btn-secondary {
  color: var(--me-text) !important;
  background: var(--me-card);
}
.me-btn-ghost {
  color: var(--me-cyan) !important;
  background: transparent;
  border-color: var(--me-border-strong);
}

.me-card {
  background: var(--me-card);
  border: 1px solid var(--me-border);
  border-radius: var(--me-radius);
  box-shadow: none;
  padding: 1.1rem 1.15rem;
  backdrop-filter: none;
  transition: none;
}
.me-card:hover { border-color: var(--me-border-strong); transform: none; box-shadow: none; }
.me-card-link { display: block; color: inherit; text-decoration: none; }
.me-card-link:hover { border-color: var(--me-border-strong); color: inherit; text-decoration: none; }

.me-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
@media (min-width: 768px) {
  .me-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.me-stat {
  background: var(--me-card);
  border: 1px solid var(--me-border);
  border-radius: var(--me-radius-sm);
  padding: 0.85rem 0.95rem;
  backdrop-filter: none;
  transition: none;
}
.me-stat:hover { border-color: var(--me-border); transform: none; }
.me-stat .label {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--me-faint); font-weight: 600;
}
.me-stat .value {
  margin-top: 0.25rem;
  font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em;
  font-family: var(--me-display);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--me-text);
}

.me-grid-3 { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
.me-grid-2 { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .me-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .me-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.me-h2 {
  font-family: var(--me-display);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 0.65rem;
}
.me-sub { color: var(--me-muted); font-size: 0.95rem; max-width: 40rem; }

.me-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--me-border);
  background: transparent;
  padding: 2rem 0 1.75rem;
  font-size: 0.85rem;
  color: var(--me-faint);
}
.me-footer-grid {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
@media (max-width: 800px) {
  .me-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .me-footer-grid { grid-template-columns: 1fr; }
}
.me-footer h4 {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
}
.me-footer a { color: var(--me-muted); display: inline-block; padding: 0.15rem 0; }
.me-footer a:hover { color: var(--me-text); }
.me-footer .brand-blurb { color: var(--me-muted); line-height: 1.5; max-width: 22rem; }
.me-footer-bottom {
  width: min(1040px, calc(100% - 2rem));
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--me-border);
  display: flex; flex-wrap: wrap; gap: 0.65rem 1rem;
  justify-content: space-between; align-items: center;
  color: var(--me-faint); font-size: 0.78rem;
}
.me-network-pill {
  display: inline-flex;
  padding: 0.2rem 0.5rem; border-radius: 999px;
  border: 1px solid var(--me-border);
  background: transparent;
  font-size: 0.72rem; color: var(--me-muted);
}

#cookie-notice {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.65rem;
  justify-content: center;
  padding: 0.65rem 1rem;
  font-size: 0.78rem; color: #cbd5e1;
  background: #0a0f18;
  border-top: 1px solid var(--me-border);
  backdrop-filter: none;
}
#cookie-notice a { color: var(--me-cyan); }
#cookie-notice button {
  padding: 0.3rem 0.7rem; border-radius: 0.35rem;
  font-family: inherit; font-size: 0.75rem; cursor: pointer;
  color: var(--me-cyan);
  background: transparent;
  border: 1px solid var(--me-border-strong);
}

.bg-\[\#0a0e16\]\/70, .bg-\[\#0a0e16\]\/80 {
  background: var(--me-card) !important;
}
.border-slate-800\/70, .border-slate-800\/60 {
  border-color: var(--me-border) !important;
}
.rounded-lg { border-radius: var(--me-radius-sm) !important; }
.rounded-xl { border-radius: var(--me-radius) !important; }
