:root {
  --bg-primary: #0a0a0a;
  --bg-card: #161616;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --accent-primary: #6d28d9;
  --accent-hover: #7c3aed;
  --border: #27272a;
  --surface-soft: #101010;
  --surface-raised: #1d1d1f;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --focus: #38bdf8;
  --radius-sm: 6px;
  --radius-md: 8px;
  --shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(109, 40, 217, 0.18), transparent 30rem),
    linear-gradient(135deg, #0a0a0a 0%, #0d0d0f 45%, #090909 100%);
  color: var(--text-primary);
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea {
  outline-color: var(--focus);
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: 2.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #0f0f10;
  color: var(--text-primary);
}

textarea {
  min-height: 112px;
  resize: vertical;
}

::selection {
  background: var(--accent-primary);
  color: var(--text-primary);
}
