/* Mandarim hub — Mielina design system.
   Tokens come from the generated mirror; nothing is declared here. */

@import url('../components.css?v=c1ea0fd2');

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* The same wash the two child pages carry, so entering and leaving the hub
   reads as one place rather than three. */
.aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(255, 77, 216, .10), transparent 70%),
    radial-gradient(50% 40% at 85% 15%, rgba(99, 102, 122, .18), transparent 70%);
}

.wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 96px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 40px;
}
.back:hover { color: var(--fg); }

.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.lede {
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  max-width: 52ch;
}

.cards {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card, 16px);
  background: var(--bg-elev);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}
.entry:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.entry:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.entry-eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.entry-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.entry-line {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .entry { transition: none; }
  .entry:hover { transform: none; }
}
