/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Brand palette */
  --color-bg: #F7F6F1;
  --color-white: #FFFFFF;
  --color-ink: #172317;
  --color-forest-dark: #13322A;
  --color-forest: #2F6B56;
  --color-forest-deep: #0F2922;
  --color-mint: #E6F0EC;
  --color-sand: #F0D28D;
  --color-peach: #FDE9E0;
  --color-terracotta: #F78154;
  --color-terracotta-dark: #E0663A;
  --color-gold: #F2C14E;
  --color-rose: #B4436C;
  --color-whatsapp: #5FAD56;
  --color-whatsapp-dark: #4A8F43;
  --color-sage: #4D9078;
  --color-sage-dark: #245543;
  --color-border: #E3E6DF;
  --color-text: #172317;
  --color-text-muted: #5E6A60;
  --color-text-mute-2: #7D877F;
  --color-text-mute-3: #4F5A52;
  --color-success: #28C76F;
  --color-error: #EA5455;

  /* Mystical Pink Afterglow accents */
  --color-heading: #363537;
  --color-accent: #2FBF71;
  --color-accent-dark: #1E8F55;
  --color-accent-light: #8CD867;
  --color-accent-2: #ED7D3A;
  --color-accent-2-dark: #D4651F;

  /* Typography */
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Manrope', sans-serif;

  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;

  --line-height-tight: 1.25;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --page-pad: clamp(16px, 3.4vw, 48px);
  --section-pad: clamp(56px, 7vw, 96px);
  --header-h: 82px;
  --radius: 8px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a { color: var(--color-forest); text-decoration: none; }
a:hover { color: var(--color-rose); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-md);
  color: var(--color-heading);
}

h1 { font-size: clamp(32px, 4vw, 48px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: var(--font-size-2xl); }

p { margin: 0 0 var(--space-md); }

button { font-family: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

main { flex: 1; }

.section { padding: var(--section-pad) var(--page-pad); }
.section > .container { padding: 0; }

.section--tight { padding-top: 48px; padding-bottom: 48px; }

.section--white { background: var(--color-white); }
.section--bg { background: var(--color-bg); }
.section--mint { background: var(--color-mint); }
.section--forest { background: var(--color-forest); color: var(--color-white); }
.section--forest-dark { background: var(--color-forest-dark); color: var(--color-white); }
.section--peach { background: var(--color-peach); }

.section--forest h2,
.section--forest-dark h1,
.section--forest-dark h2 { color: var(--color-white); }

.text-center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-forest);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  z-index: 200;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-rose);
  outline-offset: 2px;
}
