:root {
  --bg: #0b0f14;
  --h: 140;
  --h2: calc(var(--h) + 280);
  --sat: 100%;
  --sat-accent: var(--sat);
  --sat-accent-2: 66%;
  --sat-surface: 32%;
  --sat-panel-bg: 40%;
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.9);
  --muted: rgba(255, 255, 255, 0.62);
  --accent: hsl(var(--h), var(--sat-accent), 68%);
  --accent-2: hsl(var(--h2), var(--sat-accent-2), 50%);
  --chrome: hsla(var(--h), 30%, 6%, 0.75);
  --panel-bg: hsla(var(--h), var(--sat-panel-bg), 13%, 0.65);
  --surface-2: hsla(var(--h), var(--sat-surface), 12%, 0.8);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --radius-sm: 10px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: radial-gradient(
      1200px 700px at 20% 0%,
      hsla(var(--h), var(--sat-accent), 68%, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 10%,
      hsla(var(--h2), var(--sat-accent-2), 50%, 0.12),
      transparent 55%
    ),
    var(--bg);
}

a {
  color: inherit;
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 18px;
  gap: 18px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--chrome);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

.brand-text {
  min-width: 0;
}

.brand-title {
  font-weight: 750;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  padding: 16px;
  min-height: 320px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 0;
  color: rgba(226, 232, 240, 0.76);
  line-height: 1.5;
  max-width: 62ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.btn {
  border: 1px solid hsla(var(--h), var(--sat-accent), 68%, 0.38);
  background: hsla(var(--h), var(--sat-accent), 68%, 0.15);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.06s ease, background 0.15s ease;
}

.btn:hover {
  background: hsla(var(--h), var(--sat-accent), 68%, 0.24);
}

.btn:active {
  transform: translateY(1px);
}

.btn.btn-primary {
  background: linear-gradient(
    90deg,
    hsla(var(--h), var(--sat-accent), 68%, 0.55),
    hsla(var(--h2), var(--sat-accent-2), 50%, 0.35)
  );
  border-color: hsla(var(--h), var(--sat-accent), 68%, 0.6);
}

.btn.btn-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.5;
}

.agent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.agent-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin-top: 4px;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.15);
}

.agent-name {
  font-weight: 700;
}

.agent-note {
  font-size: 13px;
  color: rgba(226, 232, 240, 0.72);
  margin-top: 2px;
}

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

.tile {
  padding: 14px;
}

.tile-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.tile-body {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
}

.footer-link {
  color: rgba(226, 232, 240, 0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.22);
}

.footer-link:hover {
  border-bottom-color: rgba(226, 232, 240, 0.5);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .header {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 auto;
  }
}
