/*
 * Canton Bot holding page.
 *
 * DARK ONLY, and that is a decision rather than an oversight. The supplied mark
 * is pale yellow on an opaque black ground. ondo.bot handles its light-mode
 * problem with filter: invert(), which works there because that asset is pure
 * black on pure white. It cannot work here: inverting pale yellow gives pale
 * blue. Rather than ship a second asset for a holding page, the page commits to
 * the artwork's own ground.
 *
 * The accent is sampled from the mark and used as a signal only, never as a
 * background wash. Canton's audience is institutional rather than crypto-native,
 * so this page stays quieter than robin.bot or ondo.bot: more air, no imagery
 * beyond the mark itself.
 */
:root {
  color-scheme: dark;
  --fg: #f2f2ec;
  --bg: #000000;
  --muted: #8a8a82;
  --rule: #23231c;
  --accent: #f5f3b1; /* sampled from mark.png, not eyeballed */
}

* { 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's ground is the page's ground, so it needs no treatment at all. */
.mark {
  display: block;
  width: 104px;
  height: auto;
  margin-bottom: 1.3rem;
}

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);
}

/* The single place the accent appears. */
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  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; }
}

/* ---------- social ---------- */

.social {
  margin: 0.9rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, 'Liberation Mono', monospace;
  font-size: 0.85rem;
}

.social a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
}

.social a:hover,
.social a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ext {
  margin-left: 0.3em;
  font-size: 0.85em;
  opacity: 0.75;
}

/* ---------- 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; }
