:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #111318;
  --surface-strong: #171a20;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f6f8;
  --muted: #9b9fa9;
  --blue: #6871f4;
  --blue-soft: rgba(104, 113, 244, 0.18);
  --blue-bright: #aeb3ff;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 73% 24%, rgba(104, 113, 244, 0.15), transparent 29rem),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 72px 72px, 72px 72px, auto;
  font-family: "Inter", system-ui, sans-serif;
}

a {
  color: inherit;
}

.entry-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(174, 179, 255, 0.55);
  border-radius: 9px;
  color: var(--blue-bright);
  background: var(--blue-soft);
  font-size: 0.85rem;
}

.system-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.system-state > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63d7a0;
  box-shadow: 0 0 14px rgba(99, 215, 160, 0.8);
}

.entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(72px, 10vw, 150px);
  align-items: center;
  padding: 80px 0;
}

.intro {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  margin: 0 8px;
  color: #5f6470;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(3.7rem, 7.2vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  max-width: 570px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.access-panel {
  position: relative;
  display: grid;
  gap: 14px;
}

.access-panel::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  border: 1px solid rgba(104, 113, 244, 0.12);
  border-radius: 30px;
  background: rgba(8, 9, 11, 0.48);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.35);
}

.access-card {
  min-height: 210px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 19, 24, 0.9);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.access-card:hover,
.access-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.access-card:focus-visible {
  outline: 3px solid rgba(104, 113, 244, 0.45);
  outline-offset: 3px;
}

.access-card-primary {
  border-color: rgba(104, 113, 244, 0.38);
  background:
    linear-gradient(140deg, rgba(104, 113, 244, 0.19), transparent 63%),
    rgba(18, 20, 29, 0.96);
}

.access-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.access-title {
  margin-top: 20px;
  font-family: "Inter Tight", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.access-copy {
  max-width: 330px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.access-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.access-card-primary .access-action {
  color: var(--blue-bright);
}

.entry-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: #737781;
  font-size: 0.78rem;
}

@media (max-width: 820px) {
  .entry-shell {
    width: min(100% - 32px, 620px);
  }

  .entry-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(3.3rem, 14vw, 5.5rem);
  }

  .access-panel::before {
    inset: -16px;
  }
}

@media (max-width: 520px) {
  .entry-shell {
    width: min(100% - 24px, 620px);
  }

  .topbar {
    min-height: 72px;
  }

  .system-state {
    font-size: 0;
  }

  .entry-grid {
    gap: 44px;
    padding: 48px 0 54px;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .lede {
    margin-top: 25px;
    font-size: 1rem;
  }

  .access-card {
    min-height: 196px;
    padding: 24px;
  }

  .entry-footer {
    min-height: 88px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .access-card {
    transition: none;
  }
}
