:root {
  --bg: #06151d;
  --surface: rgba(11, 38, 48, 0.72);
  --line: rgba(156, 230, 217, 0.18);
  --text: #f3fbf9;
  --muted: #a8c6c2;
  --mint: #7ce4cb;
  --teal: #1ebda2;
  --blue: #6eb9ff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 10%, rgba(35, 166, 154, 0.16), transparent 31rem),
    linear-gradient(145deg, #071b24 0%, #05131b 54%, #041016 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(129, 207, 196, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 207, 196, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.16;
}

.ambient-one {
  top: -10rem;
  right: -5rem;
  background: var(--mint);
}

.ambient-two {
  bottom: -13rem;
  left: -8rem;
  background: var(--blue);
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1120px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 0 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: var(--mint);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.brand-mark path {
  fill: rgba(124, 228, 203, 0.12);
}

.brand-mark .brand-center {
  fill: var(--mint);
  stroke: none;
}

.brand-name {
  color: #daf6ef;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.hero {
  align-self: center;
  max-width: 800px;
  padding: 80px 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 29px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #c7e8e1;
  background: rgba(13, 53, 61, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(124, 228, 203, 0.09), 0 0 18px rgba(124, 228, 203, 0.58);
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  font-weight: 570;
  letter-spacing: -0.066em;
  line-height: 0.94;
  text-wrap: balance;
}

.lead {
  max-width: 650px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 390;
  line-height: 1.65;
  text-wrap: pretty;
}

.progress-card {
  max-width: 620px;
  margin-top: 52px;
  padding: 19px 21px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(18px);
}

.progress-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
  color: #d8ece8;
  font-size: 0.84rem;
}

.progress-label {
  color: var(--mint);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.progress-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(175, 220, 212, 0.12);
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--mint), #9cebdc);
  box-shadow: 0 0 19px rgba(124, 228, 203, 0.42);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 21px;
  border-top: 1px solid rgba(156, 230, 217, 0.12);
  color: #769b97;
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

footer a,
.home-link {
  color: #9ec5c0;
  text-decoration: none;
  transition: color 160ms ease;
}

footer a:hover,
footer a:focus-visible,
.home-link:hover,
.home-link:focus-visible {
  color: var(--mint);
}

.shell-error .hero {
  max-width: 720px;
}

.shell-error h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.home-link {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 34px, 1120px);
    padding-top: 25px;
  }

  .hero {
    padding: 64px 0 68px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .lead {
    margin-top: 25px;
    line-height: 1.55;
  }

  .progress-card {
    margin-top: 39px;
  }

  .progress-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: pulse 2.8s ease-in-out infinite;
  }

  @keyframes pulse {
    50% {
      opacity: 0.65;
      box-shadow: 0 0 0 7px rgba(124, 228, 203, 0.045), 0 0 24px rgba(124, 228, 203, 0.34);
    }
  }
}
