/* mielina.space — the family door. Layout and the warm aurora are its own;
   every colour, space and radius comes from the shared layer. */

@import url('components.css?v=1ffa80db');

* { box-sizing: border-box; }
html { color-scheme: dark; overflow-x: clip; height: 100%; }
body { min-height: 100%; }
body {
  margin: 0;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  position: relative;
  overflow-x: clip;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Aurora — warm bloom behind the mark, top-center, like the cloud hero.
   The two stops are --bloom-comfyui-1 and --primary, written as the literal
   rgba the house uses for every hero bloom rather than derived from the
   custom properties. Four stops in the reference's own order: deep across the
   top, top and peak as the two lobes, tint-violet as the cold right edge. */
body::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 110%;
  background:
    radial-gradient(46% 58% at 50% 26%, rgba(46, 56, 85, 0.70), transparent 70%),
    radial-gradient(38% 50% at 70% 16%, rgba(65, 77, 97, 0.40), transparent 70%),
    radial-gradient(72% 44% at 50% 0%, rgba(30, 39, 60, 0.55), transparent 76%),
    radial-gradient(32% 38% at 12% 30%, rgba(12, 9, 19, 0.85), transparent 72%);
  pointer-events: none;
}

main {
  position: relative;
  width: 100%;
  max-width: 34rem;
  text-align: center;
  animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.tag {
  margin: 0 0 var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.mark .dot { color: var(--accent); }

.rule {
  width: 48px;
  height: 1px;
  margin: var(--space-3) auto;
  border: 0;
  background: var(--line-strong);
}

.line {
  margin: 0 auto;
  max-width: 26rem;
  font-size: 17px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Card — the shared surface from components.css supplies background, border
   and the hover lift. This adds only what is specific to a link in a list. */
.card {
  display: block;
  margin-top: var(--space-4);
  max-width: 380px;
  padding: var(--space-3);
  text-align: left;
  color: inherit;
  text-decoration: none;
}
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card[aria-disabled="true"] { cursor: default; }
.card[aria-disabled="true"]:hover { transform: none; }

.card-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-title {
  margin: var(--space-1) 0 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}
.card-line {
  margin: var(--space-1) 0 0;
  font-size: 15px;
  color: var(--muted);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  main { animation: none; }
}
