/* ============================================================
   BASE – Reset, CSS Variables, Typography
   ============================================================ */

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

:root {
  /* Colors */
  --color-primary:       #3634FD;
  --color-primary-dark:  #2220d4;
  --color-primary-light: #eeeeff;
  --color-dark:          #141414;
  --color-mid:           #4a4a4a;
  --color-light:         #f5f5f5;
  --color-white:         #ffffff;
  --color-border:        #e0e0e0;
  --color-wood:          #c8a97e;

  /* Typography */
  --font-heading: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --banner-height:   36px;
  --header-height:   72px;
  --section-padding: clamp(64px, 10vw, 120px);
  --container-max:   1200px;
  --container-pad:   clamp(16px, 4vw, 48px);

  /* Decoration */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);

  /* Transitions */
  --transition:        0.25s ease;
  --transition-reveal: 0.65s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--banner-height) + var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
  padding-top: calc(var(--banner-height) + var(--header-height));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ---- Typography ------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); }

p {
  color: var(--color-mid);
  line-height: 1.75;
}
