:root {
  color-scheme: dark;
  --navy: #08111b;
  --slate: #0d1724;
  --slate-light: #0f1b2a;
  --text: #f5f7fa;
  --muted: #b8c2cf;
  --yellow: #facc15;
  --line: rgba(184, 194, 207, 0.16);
  --line-strong: rgba(250, 204, 21, 0.56);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--navy);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 580px), rgba(184, 194, 207, 0.035) calc(50% - 579px), transparent calc(50% - 578px)),
    var(--navy);
  color: var(--text);
  font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: min(100% - 64px, 1248px);
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: 240px;
  height: auto;
  max-width: 48vw;
  object-fit: contain;
}

.sign-in-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0 8px 16px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.sign-in-link span {
  color: var(--yellow);
  font-size: 1rem;
}

.sign-in-link:hover,
.sign-in-link:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: clamp(64px, 10vh, 120px) 0 clamp(72px, 12vh, 128px);
}

.hero::before,
.hero::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), rgba(184, 194, 207, 0.05) 58%, transparent);
  content: "";
}

.hero::before {
  top: clamp(30px, 6vh, 64px);
}

.hero::after {
  bottom: clamp(32px, 6vh, 64px);
  opacity: 0.55;
}

.hero-rule {
  width: 56px;
  height: 4px;
  margin-bottom: 30px;
  background: var(--yellow);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.hero-copy {
  max-width: 590px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  border-top: 1px solid var(--line);
  color: rgba(184, 194, 207, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.footer-mark {
  color: #8fa0b3;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 3px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 40px, 1248px);
  }

  .site-header {
    min-height: 88px;
  }

  .brand img {
    width: 172px;
  }

  .hero {
    padding: 72px 0 88px;
  }

  .hero::before {
    top: 32px;
  }

  .hero::after {
    bottom: 40px;
  }

  .hero-rule {
    margin-bottom: 24px;
  }

  .hero-copy {
    margin-top: 28px;
    line-height: 1.6;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 96px;
  }
}
