:root {
  --background: 216 33% 97%;
  --foreground: 220 29% 15%;
  --primary: 223 72% 54%;
  --secondary: 281 72% 58%;
  --muted: 221 22% 88%;
  --destructive: 0 76% 56%;
  --border: 219 25% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 22px rgba(18, 28, 45, 0.06);
  --shadow-md: 0 18px 40px rgba(18, 28, 45, 0.10);
  --shadow-lg: 0 30px 80px rgba(18, 28, 45, 0.16);

  --transition-fast: 160ms ease;
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.dark {
  --background: 225 29% 9%;
  --foreground: 214 32% 94%;
  --primary: 221 90% 68%;
  --secondary: 285 84% 72%;
  --muted: 222 20% 20%;
  --destructive: 0 85% 66%;
  --border: 223 18% 23%;
  --card: 224 24% 13%;

  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 22px 50px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

a,
button,
input,
textarea {
  transition: all var(--transition-fast);
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.14);
}

.resume-sheet {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 100% 30px;
}

::selection {
  background: hsl(var(--primary) / 0.18);
  color: hsl(var(--foreground));
}
