:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  --bg: #07111f;
  --panel: rgba(15, 31, 50, 0.78);
  --panel-strong: rgba(18, 38, 60, 0.94);
  --line: rgba(158, 188, 213, 0.16);
  --text: #f4f8fb;
  --muted: #9eb0c2;
  --accent: #4de0b2;
  --accent-strong: #1acb98;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button, a { font: inherit; }

.desktop {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 18% 12%, rgba(42, 198, 162, 0.18), transparent 30rem),
    radial-gradient(circle at 85% 28%, rgba(49, 108, 213, 0.23), transparent 34rem),
    linear-gradient(145deg, #07111f 0%, #0a1727 45%, #07121e 100%);
}

.desktop::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.topbar {
  position: relative;
  z-index: 2;
  min-height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 14, 25, 0.62);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #052018;
  background: linear-gradient(135deg, #79f1ca, #28c999);
  box-shadow: 0 8px 28px rgba(47, 215, 166, 0.25);
}

.server-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cfe0ed;
  background: rgba(255,255,255,.045);
  font-size: 13px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(77, 224, 178, 0.11);
}

.clock {
  justify-self: end;
  color: #bfd0df;
  font-variant-numeric: tabular-nums;
}

.workspace {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 164px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  align-items: center;
  gap: 22px;
  padding: 52px 0 72px;
}

.welcome-card, .system-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 28px 80px rgba(0, 7, 15, 0.32);
  backdrop-filter: blur(22px);
}

.welcome-card { padding: clamp(28px, 5vw, 58px); }
.system-card { padding: 26px; background: var(--panel-strong); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; letter-spacing: -0.04em; }
h1 { max-width: 720px; font-size: clamp(38px, 6vw, 68px); line-height: .98; }
h2 { font-size: 22px; }

.lead {
  max-width: 680px;
  margin: 24px 0 34px;
  color: #bacbd9;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.checks { display: grid; gap: 12px; }

.check {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(77, 224, 178, 0.13);
  border-radius: 16px;
  background: rgba(77, 224, 178, 0.055);
}

.check.muted { border-color: var(--line); background: rgba(255,255,255,.025); }

.check-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #052018;
  background: var(--accent);
  font-weight: 900;
}

.check.muted .check-icon { color: #c8d7e4; background: rgba(255,255,255,.1); }
.check strong, .check small { display: block; }
.check small { margin-top: 3px; color: var(--muted); }

.system-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: #9df2d6;
  background: rgba(77, 224, 178, 0.11);
  font-size: 12px;
  font-weight: 700;
}

.system-list { margin: 28px 0; }
.system-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.system-list dt { color: var(--muted); }
.system-list dd { margin: 0; text-align: right; }

.privacy-note {
  margin: 0;
  padding: 15px;
  border-radius: 15px;
  color: #aebfce;
  background: rgba(255,255,255,.035);
  font-size: 13px;
  line-height: 1.55;
}

.dock {
  position: fixed;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(6, 16, 28, 0.78);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}

.dock-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 9px;
  border: 0;
  border-radius: 14px;
  color: #8fa3b6;
  background: transparent;
}

.dock-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255,255,255,.06);
  font-size: 18px;
}

@media (max-width: 820px) {
  .topbar { grid-template-columns: 1fr auto; }
  .server-pill { display: none; }
  .workspace { grid-template-columns: 1fr; padding-top: 28px; }
  .welcome-card, .system-card { border-radius: 22px; }
  .dock { width: calc(100% - 28px); }
  .dock-item { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .topbar { padding-inline: 16px; }
  .workspace { width: min(100% - 24px, 1120px); }
  .welcome-card { padding: 26px 20px; }
  h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
