:root {
  --bg-base: #f5f5f7;
  --bg-deep: #ffffff;
  --bg-elevated: #fbfbfd;

  --brand-900: #1d1d1f;
  --brand-500: #0066cc;
  --brand-300: #66a7ff;

  --accent-cyan: #0071e3;
  --accent-glow: #2997ff;

  --glass-surface: rgba(255,255,255,0.78);
  --glass-border: rgba(0,0,0,0.08);
  --glass-hover: rgba(0,0,0,0.03);

  --text-primary: #1d1d1f;
  --text-muted: #6e6e73;
  --text-faint: #a1a1a6;

  --danger: #ef4444;
  --success: #10b981;

  --font-sans: -apple-system, BlinkMacSystemFont, "Inter",
               "PingFang SC", "HarmonyOS Sans SC",
               "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;

  --shadow-glow: none;
  --shadow-card: 0 1px 2px rgba(0,0,0,.04);
  --shadow-deep: 0 18px 48px rgba(0,0,0,.08);

  --backdrop: saturate(180%) blur(18px);

  --dur-fast: 0ms;
  --dur-base: 0ms;
  --dur-slow: 0ms;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-base);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-deep);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
}

.logo-mark,
.login-logo,
.empty-logo {
  display: inline-grid;
  place-items: center;
  color: var(--accent-cyan);
}

.logo-mark svg,
.login-logo svg,
.empty-logo svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-halo {
  fill: currentColor;
  opacity: .08;
}

.logo-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.logo-ring-soft {
  color: var(--accent-glow);
  stroke-width: 1;
  opacity: .7;
}

.logo-dot {
  fill: var(--accent-glow);
}
