/**
 * SHIYUN LU MINIMALIST STUDIO THEME // DESIGN TOKENS
 * Tactile, warm studio palette with deep charcoal typography and rich physical contrast.
 */

:root {
  /* Studio Warm Cream & Charcoal Foundations */
  --bg-canvas: #F4F1EA;
  --bg-surface: #ECE8E0;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-overlay: rgba(244, 241, 234, 0.96);
  --bg-pill: rgba(18, 18, 20, 0.05);
  --bg-pill-hover: rgba(18, 18, 20, 0.1);

  /* Delicate Architectural Borders */
  --border-subtle: rgba(18, 18, 20, 0.08);
  --border-strong: rgba(18, 18, 20, 0.16);
  --border-focus: rgba(18, 18, 20, 0.35);

  /* Typographic Contrast */
  --text-primary: #111215;
  --text-secondary: #5F606B;
  --text-tertiary: #8C8D98;
  --text-accent: #2563EB;

  /* Typography Fonts */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Radius Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s var(--ease-out);
  --transition-normal: 0.28s var(--ease-out);
}

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

html {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  height: 100%;
}

body {
  height: 100%;
  height: 100dvh;
  width: 100vw;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  overflow: hidden;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.65;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background-color: rgba(18, 18, 20, 0.15);
  color: #111215;
}
