:root {
  --primary: #66BB6A;
  --primary-hover: #57AD5B;
  --primary-soft: rgba(102, 187, 106, 0.12);
  --primary-border: rgba(102, 187, 106, 0.28);

  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --surface-alt: #F3F4F6;
  --on-surface: #111827;
  --on-surface-muted: #6B7280;
  --border: #E5E7EB;
  --nav-bg: rgba(250, 250, 250, 0.86);
  --shadow-device: 0 20px 44px rgba(17, 24, 39, 0.14);
}

html[data-theme="dark"] {
  --bg: #111214;
  --surface: #1A1C20;
  --surface-alt: #23262B;
  --on-surface: #F5F5F7;
  --on-surface-muted: #9CA3AF;
  --border: #2B2F36;
  --nav-bg: rgba(17, 18, 20, 0.86);
  --shadow-device: 0 24px 54px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}
