/* LineageMind — coming soon landing page
   Self-contained: system fonts only, no external requests. */

:root {
  --navy-deep: #09212f;
  --navy: #0c2739;
  --navy-soft: #123449;
  --gold-100: #f6e3b4;
  --gold-300: #e3c170;
  --gold-500: #d9b26a;
  --ink: #f4f2ec;
  --ink-dim: #a9bcc8;
  --ink-faint: #7e94a2;
  --rule: rgba(217, 178, 106, 0.28);
  --max: 46rem;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% -10%, #123a52 0%, rgba(18, 58, 82, 0) 62%),
    linear-gradient(162deg, #0c2739 0%, #0a2434 46%, #09212f 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  pointer-events: none;
}

.glow-a {
  width: 34rem;
  height: 34rem;
  top: -14rem;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(217, 178, 106, 0.22), rgba(217, 178, 106, 0) 68%);
}

.glow-b {
  width: 26rem;
  height: 26rem;
  bottom: -12rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(70, 130, 170, 0.24), rgba(70, 130, 170, 0) 70%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 65% at 50% 38%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 65% at 50% 38%, #000 0%, transparent 100%);
}

/* ---------- layout ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: var(--gold-300);
  color: #0a1a24;
  font-weight: 600;
  z-index: 10;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 7vh, 5.5rem) clamp(1.25rem, 5vw, 3rem);
}

.hero {
  width: 100%;
  max-width: var(--max);
  text-align: center;
  animation: rise 720ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* ---------- mark ---------- */

.mark {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(217, 178, 106, 0.22),
    0 18px 46px -18px rgba(0, 0, 0, 0.85),
    0 0 60px -18px rgba(217, 178, 106, 0.45);
  animation: halo 6s ease-in-out infinite;
}

.mark svg {
  display: block;
  width: clamp(60px, 10vw, 76px);
  height: auto;
}

/* ---------- type ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0.32rem 0.85rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(217, 178, 106, 0.07);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 3px rgba(227, 193, 112, 0.18);
  animation: pulse 2.8s ease-in-out infinite;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.028em;
  /* The gradient is painted with background-clip: text, so the background box
     (the border box) must be taller than the glyphs. A tight line-height clipped
     the descender of the "g" in "LineageMind"; the padding buys that space back. */
  line-height: 1.16;
  padding: 0.04em 0 0.14em;
  background: linear-gradient(180deg, #ffffff 0%, #e6eef3 58%, #c6d5df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  color: var(--ink-dim);
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.rule {
  width: 56px;
  height: 1px;
  margin: 2.5rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.6rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tags li {
  position: relative;
}

.tags li + li::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: rgba(217, 178, 106, 0.55);
}

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

.foot {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.5rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.sep {
  color: rgba(217, 178, 106, 0.5);
}

/* ---------- motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

@keyframes halo {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(217, 178, 106, 0.22),
      0 18px 46px -18px rgba(0, 0, 0, 0.85),
      0 0 60px -18px rgba(217, 178, 106, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(217, 178, 106, 0.4),
      0 18px 46px -18px rgba(0, 0, 0, 0.85),
      0 0 74px -12px rgba(217, 178, 106, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero {
    opacity: 1;
    transform: none;
  }
}

/* ---------- small screens ---------- */

@media (max-width: 30rem) {
  .tags {
    gap: 0.4rem 1.1rem;
    font-size: 0.72rem;
  }
}
