:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --surface: #11141c;
  --surface-raised: #171a24;
  --surface-hover: #1d202b;
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f3f7;
  --text-soft: #a0a2af;
  --text-muted: #6f7280;
  --accent: #9b8cff;
  --accent-strong: #806aff;
  --accent-soft: rgba(144, 120, 255, 0.13);
  --green: #65d9a5;
  --error: #ff818a;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 8% 6%, rgba(108, 88, 224, 0.11), transparent 34%),
    radial-gradient(ellipse at 95% 92%, rgba(44, 120, 98, 0.07), transparent 32%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: rgba(128, 106, 255, 0.45);
}

.app-shell {
  min-height: 100vh;
}

.brand-lockup {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.brand-name {
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1.1px;
}

.brand-period,
.accent-text {
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aaa1db;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.status-dot,
.model-status {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(101, 217, 165, 0.6);
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
