@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;400;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Design tokens ── */
:root {
  --color-bg: #faf9f7;
  --color-text: #1c1c1c;
  --color-muted: #6b6b6b;
  --color-accent: #8b7355;
  --color-border: #e0ddd8;
  --color-error: #c0392b;
  --color-white: #ffffff;

  --font-sans: 'Libre Franklin', sans-serif;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  --max-width: 720px;
  --max-width-wide: 1100px;

  --transition: 0.2s ease;
}

/* ── Base ── */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { max-width: 65ch; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background: var(--color-white);
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: var(--space-md) 0;
}

@media (max-width: 640px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2rem;
  }
}
