/* MICLED shared landing page
 * No external assets, no frameworks, no remote fonts.
 */

:root {
  --bg: #020713;
  --bg-deep: #01040a;
  --blue: #1097ff;
  --blue-bright: #53d3ff;
  --blue-soft: #65bfff;
  --text: #f3f7fb;
  --muted: #c3cbd6;
  --line: rgba(66, 157, 255, .22);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--bg-deep);
}

body {
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding:
    max(28px, env(safe-area-inset-top))
    max(42px, env(safe-area-inset-right))
    max(44px, env(safe-area-inset-bottom))
    max(42px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 54%, rgba(0, 96, 255, .08), transparent 29%),
    radial-gradient(circle at 50% 100%, rgba(0, 103, 255, .12), transparent 38%),
    linear-gradient(180deg, #01040b 0%, #020916 57%, #01040a 100%);
}

.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .22;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.6) 0 1px, transparent 1.25px),
    radial-gradient(circle at 70% 18%, rgba(72,172,255,.5) 0 1px, transparent 1.2px),
    radial-gradient(circle at 84% 45%, rgba(255,255,255,.4) 0 1px, transparent 1.2px);
  background-size: 280px 230px, 350px 320px, 460px 410px;
}

.space {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 720px;
  pointer-events: none;
}

.stars {
  fill: #68c6ff;
  opacity: .35;
}

.upper-arc {
  filter: drop-shadow(0 0 5px rgba(38, 157, 255, .72));
}

.upper-arc-glow {
  opacity: .42;
}

.arc-star {
  animation: pulse-star 4.6s ease-in-out infinite;
}

.arc-star-glow {
  opacity: .72;
  animation: breathe 6s ease-in-out infinite;
}

.horizon-line {
  filter: drop-shadow(0 0 8px rgba(59, 205, 255, .7));
}

.horizon-aura {
  opacity: .72;
}

.center-flare {
  animation: horizon-breathe 7.5s ease-in-out infinite;
}

.network {
  fill: none;
  stroke: #178dff;
  stroke-width: 1.1;
  stroke-opacity: .34;
  filter: drop-shadow(0 0 2px rgba(0, 116, 255, .38));
}

.nodes {
  fill: #85ddff;
  filter: drop-shadow(0 0 5px rgba(0, 141, 255, .95));
}

.nodes circle:nth-child(3n + 1) {
  animation: node-pulse 4.4s ease-in-out infinite;
}

.nodes circle:nth-child(3n + 2) {
  animation: node-pulse 5.2s ease-in-out 1.1s infinite;
}

.nodes circle:nth-child(3n) {
  animation: node-pulse 6.1s ease-in-out 2.2s infinite;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: clamp(.68rem, .78vw, .88rem);
  font-weight: 500;
  letter-spacing: .22em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 250, 255, .92);
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #159fff;
  box-shadow:
    0 0 10px rgba(21, 159, 255, .62),
    0 0 24px rgba(21, 159, 255, .28);
  animation: status-pulse 3.8s ease-in-out infinite;
}

.domain {
  color: var(--blue-bright);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(33, 158, 255, .15);
}

.hero {
  align-self: center;
  justify-self: center;
  width: min(950px, 92vw);
  margin-top: clamp(-4rem, -5vh, -1rem);
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #f7f9fc;
  font-size: clamp(4.8rem, 11vw, 10.4rem);
  font-weight: 300;
  line-height: .9;
  letter-spacing: .14em;
  text-indent: .14em;
  text-shadow:
    0 0 28px rgba(28, 125, 255, .08),
    0 1px 0 rgba(255,255,255,.45);
}

.since {
  display: grid;
  grid-template-columns: minmax(45px, 1fr) auto minmax(45px, 1fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 48px);
  width: min(720px, 78vw);
  margin: clamp(28px, 4.6vh, 44px) auto 0;
  color: var(--blue);
  font-size: clamp(1rem, 1.65vw, 1.62rem);
  font-weight: 450;
  letter-spacing: .34em;
  text-indent: .34em;
  white-space: nowrap;
}

.since-line {
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(0, 125, 255, .62), transparent);
}

.tagline {
  margin: clamp(18px, 2.8vh, 26px) 0 0;
  color: rgba(232, 237, 244, .88);
  font-size: clamp(.92rem, 1.3vw, 1.3rem);
  font-weight: 350;
  letter-spacing: .08em;
}

.timeline {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(850px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: 24px;
}

.separator {
  width: 1px;
  height: 72px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(202, 221, 241, .38) 24%,
    rgba(202, 221, 241, .38) 76%,
    transparent
  );
}

.milestone {
  min-width: 0;
  text-align: center;
}

.milestone-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  color: rgba(245, 250, 255, .96);
  filter: drop-shadow(0 0 7px rgba(0, 133, 255, .2));
}

.milestone-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.milestone strong {
  display: block;
  color: #10a1ff;
  font-size: clamp(.86rem, 1.15vw, 1.12rem);
  font-weight: 500;
  letter-spacing: .14em;
}

.milestone span {
  display: block;
  margin-top: 8px;
  color: rgba(235, 239, 245, .88);
  font-size: clamp(.64rem, .76vw, .79rem);
  font-weight: 450;
  letter-spacing: .12em;
  white-space: nowrap;
}

.milestone span b {
  color: #149dff;
  font-weight: 700;
}

.noscript-note {
  position: fixed;
  right: 14px;
  bottom: 12px;
  margin: 0;
  color: rgba(255,255,255,.45);
  font-size: .7rem;
  letter-spacing: .16em;
}

@keyframes status-pulse {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(.78); opacity: .62; }
}

@keyframes pulse-star {
  0%, 100% { opacity: .84; transform: scale(1); transform-origin: 800px 160px; }
  50% { opacity: 1; transform: scale(1.8); transform-origin: 800px 160px; }
}

@keyframes breathe {
  0%, 100% { opacity: .44; }
  50% { opacity: .82; }
}

@keyframes horizon-breathe {
  0%, 100% { opacity: .62; }
  50% { opacity: .95; }
}

@keyframes node-pulse {
  0%, 100% { opacity: .42; }
  50% { opacity: 1; }
}

@media (max-width: 760px) {
  .scene {
    min-height: 100svh;
    padding:
      max(22px, env(safe-area-inset-top))
      max(20px, env(safe-area-inset-right))
      max(26px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
  }

  .space {
    min-height: 680px;
  }

  .topbar {
    letter-spacing: .14em;
  }

  .hero {
    margin-top: -2rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 6rem);
    letter-spacing: .08em;
    text-indent: .08em;
  }

  .since {
    width: 92vw;
    gap: 12px;
    font-size: clamp(.82rem, 4vw, 1rem);
    letter-spacing: .22em;
    text-indent: .22em;
  }

  .tagline {
    max-width: 84vw;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
  }

  .timeline {
    width: min(620px, 96vw);
    gap: 10px;
  }

  .separator {
    height: 58px;
  }

  .milestone-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .milestone span {
    white-space: normal;
    line-height: 1.35;
    letter-spacing: .07em;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 14px;
    font-size: .64rem;
  }

  .status {
    gap: 9px;
  }

  .domain {
    padding-right: 8px;
    letter-spacing: .16em;
  }

  .timeline {
    padding-bottom: 4px;
  }
  .domain {
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .timeline {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .separator {
    display: none;
  }

  .milestone strong {
    letter-spacing: .08em;
  }

  .milestone span {
    font-size: .58rem;
  }
}

@media (max-height: 730px) and (min-width: 761px) {
  .scene {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero {
    margin-top: -2.2rem;
  }

  .hero h1 {
    font-size: clamp(5rem, 9vw, 8rem);
  }

  .since {
    margin-top: 22px;
  }

  .tagline {
    margin-top: 14px;
  }

  .timeline {
    margin-top: 10px;
  }

  .milestone-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
