:root {
  --ink: #f7fbff;
  --muted: rgba(247, 251, 255, 0.68);
  --soft: rgba(247, 251, 255, 0.14);
  --line: rgba(247, 251, 255, 0.16);
  --navy-950: #06111d;
  --navy-900: #0b1b2c;
  --navy-800: #102840;
  --navy-700: #17375a;
  --blue: #244b7a;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 18%, rgba(36, 75, 122, 0.48), transparent 34rem),
    radial-gradient(circle at 20% 80%, rgba(31, 65, 106, 0.34), transparent 30rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 54%, #081522);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  opacity: 0.16;
}

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

.nav,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.32));
}

.status {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.hero {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 80px 0 64px;
}

.mark-wrap {
  position: relative;
  width: clamp(108px, 18vw, 164px);
  height: clamp(108px, 18vw, 164px);
  margin-bottom: 38px;
}

.mark,
.mark-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mark-glow {
  transform: scale(1.52);
  opacity: 0.28;
  filter: blur(28px);
}

.mark {
  filter: drop-shadow(0 22px 52px rgba(0, 0, 0, 0.42));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(64px, 13vw, 154px);
  line-height: 0.86;
  letter-spacing: -0.085em;
  text-wrap: balance;
}

.lead {
  max-width: 660px;
  margin: 28px auto 0;
  color: rgba(247, 251, 255, 0.78);
  font-size: clamp(20px, 2.7vw, 31px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.flow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.flow span {
  display: inline-flex;
  min-width: 82px;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  color: rgba(247, 251, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 650;
}

.flow i {
  width: 18px;
  height: 1px;
  background: var(--soft);
}

.note {
  max-width: 520px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer {
  color: rgba(247, 251, 255, 0.52);
  font-size: 13px;
}

.status:hover,
.status:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  color: var(--ink);
}

.footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 650;
}

.footer-link:focus-visible,
.status:focus-visible {
  outline: 2px solid rgba(247, 251, 255, 0.62);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding: 18px 0 22px;
  }

  .nav,
  .footer {
    align-items: flex-start;
  }

  .status {
    padding: 7px 11px;
  }

  .hero {
    padding: 58px 0 48px;
  }

  .mark-wrap {
    margin-bottom: 30px;
  }

  .flow {
    border-radius: 28px;
    gap: 8px;
  }

  .flow span {
    min-width: auto;
  }

  .footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .mark {
    animation: float 7s ease-in-out infinite;
  }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}
