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

html {
  font-size: 16px;
  /* scroll-behavior left to Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

ul,
ol {
  list-style: none;
}

/* ============================================================
   Custom Properties
   ============================================================ */
:root {
  /* --- Colors (from gradient palette) --- */
  --color-bg:         #FAF0E8;  /* warm beige/cream */
  --color-fg:         #D040A8;  /* rose-purple — primary brand color */
  --color-accent:     #60C8F5;  /* cyan-blue */
  --color-purple:     #9070DC;  /* violet (mid-gradient) */
  --color-surface:    #F2E4D8;  /* slightly deeper beige for cards/layers */
  --color-text:       #1A0820;  /* dark purple-black — readable body text */
  --color-text-muted: #7A5870;  /* muted/secondary text */
  --color-border:     #E5D4C8;  /* subtle border */

  /* --- Typography --- */
  --font-sans: 'Inter', system-ui, sans-serif;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  2rem;      /* 32px */
  --text-3xl:  2.5rem;    /* 40px */
  --text-4xl:  3.5rem;    /* 56px */
  --text-5xl:  5rem;      /* 80px */

  /* --- Font weights --- */
  --weight-light:    300;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;

  /* --- Spacing scale (4px base) --- */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* --- Transition timings --- */
  --ease-default: 0.3s ease;
  --ease-smooth:  0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce:  0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in:      0.4s cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     0.4s cubic-bezier(0, 0, 0.2, 1);

  /* --- Layout --- */
  --max-width: 1200px;
  --gutter:    var(--space-6);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

/* ============================================================
   Base Styles
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* Shared layout elements */
.site-header,
.site-main,
.site-footer {
  width: 100%;
}

/* Centered content wrapper */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
