:root {
  --bg: #0f0f10;
  --bg-soft: #141417;
  --card: #1a1a1f;
  --card-hover: #23232a;
  --line: #3a3a42;
  --line-strong: #62626d;
  --text: #f5f5f7;
  --muted: #bbbbc3;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #0f0f10;
}

body {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px 14px;
}

.layout-card {
  width: min(540px, 100%);
  display: grid;
  gap: 16px;
}

.ambient {
  display: none;
}

.brand-side {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.fleap-logo {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.fleap-logo span {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #1b1b21;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.fleap-logo span.is-linked {
  background: #f2f2f4;
  color: #121216;
  border-color: #f2f2f4;
}

.bio {
  margin: 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
}

.link-rail {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  margin: 0 auto;
  padding-left: 22px;
}

.link-rail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0.12) 100%);
}

.rail-trail {
  position: absolute;
  left: 3px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #f3f3f5;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  transform: translateY(var(--trail-y, 14px));
  transition: transform 220ms ease;
  pointer-events: none;
}

.panel {
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 12px;
  display: grid;
  gap: 5px;
  transition: background 220ms ease, border-color 220ms ease;
}

.panel:hover,
.panel.is-active,
.panel:focus-visible {
  background: var(--card-hover);
  border-color: var(--line-strong);
}

.panel:focus-visible {
  outline: none;
}

.panel-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.panel-launch {
  position: relative;
  cursor: default;
  padding: 14px 14px 15px;
  gap: 11px;
  background: linear-gradient(180deg, #202028 0%, #1a1a20 100%);
  border-color: #4a4a54;
}

.panel-top-launch {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-bottom: 2px;
}

.launch-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #5d5d69;
  background: #292932;
  color: #ececf0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.launch-milestone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.launch-marker {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f3f3f5;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.launch-date {
  color: #d1d1d8;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.launch-title {
  color: #f6f6f8;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 3px;
}

.count-item {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 9px 8px 10px;
  border-radius: 10px;
  border: 1px solid #4f4f59;
  background: #25252d;
}

.count-item strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.count-item small {
  color: #b7b7c0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #202028;
  display: grid;
  place-items: center;
}

.icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.icon-mail {
  font-weight: 800;
  font-size: 0.95rem;
  color: #f4f4f6;
}

.name {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.arrow {
  color: #d8d8de;
  display: grid;
  place-items: center;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.meta {
  color: var(--muted);
  font-size: 0.86rem;
  padding-left: 40px;
}

@media (max-width: 560px) {
  .fleap-logo span {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .bio {
    font-size: 0.78rem;
  }

  .link-rail {
    width: min(390px, 100%);
    padding-left: 18px;
  }

  .meta {
    font-size: 0.82rem;
  }

  .launch-date {
    font-size: 0.68rem;
  }

  .panel-launch {
    padding: 12px 12px 13px;
    gap: 8px;
  }

  .countdown {
    gap: 7px;
  }

  .count-item {
    gap: 2px;
    padding: 7px 6px 8px;
    border-radius: 9px;
  }

  .count-item strong {
    font-size: 0.82rem;
  }

  .count-item small {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
