:root {
  color-scheme: light dark;
  --bg: #0b1120;
  --bg-soft: #111827;
  --panel: #f8fafc;
  --panel-dark: #151d2f;
  --text: #edf2f7;
  --muted: #9aa8bc;
  --ink: #111827;
  --ink-muted: #5c6675;
  --line: rgba(148, 163, 184, 0.28);
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --coral: #fb7185;
  --gold: #fbbf24;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.18), transparent 24rem),
    linear-gradient(145deg, #0b1120 0%, #111827 52%, #182033 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  padding: 24px;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-block;
  background:
    linear-gradient(135deg, var(--teal), #67e8f9 62%),
    var(--teal);
  position: relative;
  box-shadow: 0 14px 35px rgba(20, 184, 166, 0.28);
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid white;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: white;
}

.hero {
  width: min(1180px, 100%);
  margin: 76px auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
  gap: 48px;
}

.hero-copy h1,
.status-main h1,
.auth-card h1,
.locked-card h1 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(44px, 6.6vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #80ffea;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: #c3cede;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  font-weight: 760;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: #042f2e;
  box-shadow: 0 16px 38px rgba(20, 184, 166, 0.32);
}

.button.secondary {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.button.wide {
  width: 100%;
}

.signal-strip {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signal-strip div,
.feature-panel,
.operations-band,
.auth-card,
.auth-preview,
.status-grid article,
.incident-panel,
.locked-card {
  border: 1px solid var(--line);
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(18px);
}

.signal-strip div {
  border-radius: 8px;
  padding: 14px;
}

.signal-strip dt {
  color: var(--muted);
  font-size: 12px;
}

.signal-strip dd {
  margin: 5px 0 0;
  font-weight: 780;
}

.hero-visual {
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  background: #050816;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-panel {
  border-radius: 8px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 32px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: #031d1c;
  background: #99f6e4;
  font-weight: 900;
  font-size: 12px;
}

.feature-panel h2,
.operations-band h2,
.incident-panel h2 {
  margin: 18px 0 10px;
  font-size: 22px;
  letter-spacing: 0;
}

.feature-panel p,
.incident-panel p {
  margin: 0;
  color: #b8c4d5;
  line-height: 1.65;
}

.operations-band {
  width: min(1180px, 100%);
  margin: 16px auto 48px;
  border-radius: 8px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
}

.operations-band h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-list div,
.queue div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.activity-list small,
.queue span,
.status-grid small {
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot.ok {
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
}

.dot.warm {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.14);
}

.footer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 22px 0 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

.auth-page {
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-layout {
  width: min(1000px, 100%);
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(360px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.auth-card,
.auth-preview,
.locked-card {
  border-radius: 8px;
  padding: 34px;
}

.auth-brand {
  margin-bottom: 38px;
}

.auth-card h1,
.locked-card h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.auth-note,
.fine-print,
.locked-card p {
  color: #c2ccdb;
  line-height: 1.68;
}

.login-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: #d9e2ef;
  font-weight: 720;
  font-size: 13px;
}

.login-form input,
.login-form select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.8);
  color: white;
  padding: 0 13px;
  font: inherit;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sso-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.sso-row button {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-weight: 780;
}

.auth-preview {
  display: grid;
  gap: 16px;
  align-content: center;
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.16), transparent 45%),
    rgba(17, 24, 39, 0.68);
}

.mini-player {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(251, 113, 133, 0.12)),
    #07101f;
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.player-topline {
  display: flex;
  justify-content: space-between;
  color: #d9fdf7;
  font-size: 13px;
}

.play-symbol {
  width: 62px;
  height: 62px;
  place-self: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
}

.play-symbol::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
}

.timeline {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--coral);
}

.queue {
  display: grid;
  gap: 10px;
}

.queue div {
  grid-template-columns: 1fr auto;
}

.compact {
  min-height: 100vh;
}

.status-main {
  width: min(920px, 100%);
  margin: 76px auto;
}

.status-main h1 {
  font-size: clamp(36px, 6vw, 68px);
}

.status-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.status-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  padding: 18px;
  border-radius: 8px;
}

.status-grid small {
  grid-column: 2;
}

.incident-panel {
  border-radius: 8px;
  margin-top: 14px;
  padding: 22px;
}

.locked-card {
  width: min(560px, 100%);
}

@media (max-width: 900px) {
  .page-shell,
  .auth-page {
    padding: 18px;
  }

  .hero,
  .operations-band,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: 48px;
  }

  .product-grid,
  .status-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .topbar,
  .footer,
  .hero-actions {
    flex-direction: column;
  }

  .signal-strip,
  .sso-row {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .auth-card,
  .auth-preview,
  .locked-card {
    padding: 24px;
  }
}
