/* ===== Design Tokens: Ananda Serenity System ===== */
:root {
  /* Colors */
  --color-surface: #fbf9f4;
  --color-surface-dim: #dbdad5;
  --color-surface-bright: #fbf9f4;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f5f3ee;
  --color-surface-container: #f0eee9;
  --color-surface-container-high: #eae8e3;
  --color-surface-container-highest: #e4e2dd;
  --color-on-surface: #1b1c19;
  --color-on-surface-variant: #424754;
  --color-outline: #727785;
  --color-outline-variant: #c2c6d6;

  --color-primary: #0058bf;
  --color-on-primary: #ffffff;
  --color-primary-container: #2171e5;
  --color-secondary: #904d00;
  --color-on-secondary: #ffffff;
  --color-secondary-container: #fe932c;
  --color-tertiary: #775800;
  --color-tertiary-container: #93701c;

  --color-background: #fbf9f4;
  --color-on-background: #1b1c19;

  --color-spiritual-blue-deep: #1A59B8;
  --color-saffron-energetic: #E67E22;
  --color-ethereal-white: #FFFFFF;
  --color-wisdom-grey: #4A4A4A;

  /* Typography */
  --font-serif: 'Source Serif 4', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  --headline-xl-size: 48px;
  --headline-xl-weight: 600;
  --headline-xl-line: 56px;
  --headline-xl-tracking: -0.02em;

  --headline-lg-size: 32px;
  --headline-lg-weight: 600;
  --headline-lg-line: 40px;

  --headline-lg-mobile-size: 28px;
  --headline-lg-mobile-line: 36px;

  --body-lg-size: 18px;
  --body-lg-line: 28px;

  --body-md-size: 16px;
  --body-md-line: 24px;

  --label-md-size: 14px;
  --label-md-line: 20px;
  --label-md-tracking: 0.05em;
  --label-md-weight: 600;

  --quote-size: 22px;
  --quote-line: 32px;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-default: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Spacing */
  --unit: 8px;
  --container-max: 1200px;
  --gutter: 24px;
  --margin-mobile: 20px;
  --stack-sm: 16px;
  --stack-md: 32px;
  --stack-lg: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-background);
  color: var(--color-on-background);
  font-family: var(--font-sans);
  font-size: var(--body-md-size);
  line-height: var(--body-md-line);
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* ===== Shared layout helpers ===== */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--margin-mobile);
}
