:root {
  --bg: #0d1020;
  --panel: #151a30;
  --card: #1d2440;
  --text: #e8ecff;
  --muted: #a8b3d9;
  --accent: #4f8df7;
  --accent-2: #2bd4c8;
  --border: #2b355f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top left, #182144 0%, var(--bg) 50%);
  color: var(--text);
}

.site-locked {
  overflow: hidden;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 300px 1fr;
}

.site-locked .page-shell {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(6, 9, 20, 0.84);
  z-index: 1000;
}

.auth-card {
  width: min(440px, 100%);
  background: #131a33;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.auth-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.auth-label {
  display: inline-block;
  margin: 0.65rem 0 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-input {
  width: 100%;
  border: 1px solid var(--border);
  background: #0e1430;
  color: var(--text);
  border-radius: 0.55rem;
  padding: 0.68rem 0.75rem;
  outline: none;
}

.auth-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 141, 247, 0.25);
}

.auth-error {
  min-height: 1.1rem;
  margin: 0.45rem 0 0.65rem;
  color: #ff9ea2;
  font-size: 0.86rem;
}

.auth-button {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #3d73d0 100%);
  color: #fff;
  border-radius: 0.55rem;
  padding: 0.68rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-button:hover {
  filter: brightness(1.05);
}

.is-hidden {
  display: none;
}

.tab-sidebar {
  border-right: 1px solid var(--border);
  background: rgba(8, 11, 23, 0.8);
  backdrop-filter: blur(8px);
  padding: 1.25rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand-block {
  margin-bottom: 1rem;
}

.brand-block h1 {
  margin: 0.1rem 0 0.5rem;
  font-size: 1.9rem;
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.subtext {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.92rem;
}

.tab-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tab-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.72rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.94rem;
  cursor: pointer;
}

.tab-button:hover {
  background: rgba(79, 141, 247, 0.12);
}

.tab-button.active {
  background: rgba(79, 141, 247, 0.2);
  border-color: rgba(79, 141, 247, 0.4);
  font-weight: 600;
}

.tab-content {
  padding: 2rem;
}

.panel {
  max-width: 1060px;
}

h2 {
  margin: 0;
  font-size: 2rem;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.grid.one {
  grid-template-columns: 1fr;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
}

ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

li {
  margin: 0.45rem 0;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.step {
  border-left: 4px solid var(--accent);
  padding: 0.65rem 0.9rem;
  background: rgba(79, 141, 247, 0.08);
  border-radius: 0.3rem 0.7rem 0.7rem 0.3rem;
}

.step h3 {
  margin-bottom: 0.2rem;
}

.step p {
  margin: 0;
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .tab-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }

  .tab-content {
    padding: 1.2rem;
  }
}
