/*
 * Ondo Bot holding page.
 *
 * Monochrome, light first, because the brand assets are pure black on pure
 * white with no alpha channel. That constraint is also the solution: since the
 * mark is only ever black or white, dark mode inverts it in CSS rather than
 * shipping a second file.
 *
 * Deliberately no accent colour. robin.bot carries lime and XRADE carries
 * amber; a visibly branded family across the bots would undercut the
 * independence each one claims separately.
 */
:root {
  color-scheme: light dark;
  --fg: #0a0a0a;
  --bg: #fbfbf9;
  --muted: #6b6b66;
  --rule: #e4e4dd;
  --invert: 0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f2f2ec;
    --bg: #0a0a0a;
    --muted: #8a8a82;
    --rule: #26261f;
    --invert: 1;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--fg);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 34rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
}

/* ---------- head ---------- */

.head { margin-bottom: 2.5rem; }

/* The asset is black on an opaque white ground, so on a dark page it would
   render as a white tile. Inverting gives white on black at zero extra weight. */
.mark {
  display: block;
  width: 112px;
  height: auto;
  margin-bottom: 1.1rem;
  filter: invert(var(--invert));
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.15rem;
}

.tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

h2 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  margin: 2.5rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}

section p { margin: 0 0 0.9rem; }

.lede p {
  font-size: 1.2rem;
  line-height: 1.45;
  margin: 0;
}

/* ---------- status ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fg);
  animation: pulse 2.4s ease-in-out infinite;
}

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

/* Respect a stated preference for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}

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

footer {
  margin-top: 4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

footer p { margin: 0; }
footer strong { color: var(--fg); font-weight: 600; }
