/* Joseph Aquino design system tokens (dark). Source: the "Joseph Aquino" Design System artifact, tokens.json + bundle.css. */
:root {
  color-scheme: dark;

  --bg-0: #0b0b0d;
  --bg-1: #151517;
  --bg-2: #1e1e21;
  --bg-3: #2a2a2e;
  --ink: #0c0c0e;
  --paper: #fdfdfb;

  --pink-300: #fbd2e1;
  --pink-500: #f4a8c6;
  --pink-600: #ea82ac;
  --blue-300: #c3ecf5;
  --blue-500: #7fd3e8;
  --blue-600: #4fb9d6;
  --lavender-300: #e2d9ee;
  --lavender-500: #b9a9d6;
  --lavender-600: #9c86c2;

  --border-subtle: #2f2f34;
  --border-strong: #45454c;
  --text-primary: #f6f5f3;
  --text-secondary: #a8a7ae;
  --text-muted: #6f6e76;
  --text-on-pastel: var(--ink);
  --link: var(--blue-500);
  --link-hover: var(--blue-300);
  --focus-ring: var(--pink-500);
  --success: #7fd88f;
  --warning: #f4c96a;
  --danger: #f28b82;

  --font-display: 'Permanent Marker', cursive;
  --font-body: 'Montserrat', sans-serif;

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

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.55);
  --shadow-pastel-glow: 0 0 0 1px rgba(244, 168, 198, 0.25), 0 12px 32px rgba(127, 211, 232, 0.12);

  --dur-fast: 120ms;
  --dur-med: 220ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-standard: cubic-bezier(.4, 0, .2, 1);

  --dot-texture: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  --dot-texture-size: 14px 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* Buttons: pill, bold; hover nudges up 1px, press scales to 0.97. */
.btn {
  height: 48px;
  padding: 0 var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard);
}
.btn:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--lavender-500); }
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn-primary { background: var(--pink-500); border-color: var(--pink-500); color: var(--text-on-pastel); }
.btn-primary:hover:not(:disabled) { background: var(--pink-300); border-color: var(--pink-300); }
.btn-small { height: 40px; padding: 0 var(--space-4); font-size: 14px; }
.btn-danger { color: var(--danger); }

/* Eyebrow: small tracked caps, the brand's "//" label style. */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--blue-500);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: var(--space-5);
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-3);
  color: var(--text-primary);
  font-size: 15px;
  box-shadow: var(--shadow-md);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
