/* ============================================================
   REFINED EXTERIOR — DESIGN TOKENS
   Mobile-first. Premium. Conversion-focused.
   ============================================================ */

:root {
  /* ── Brand Colors ── */
  --green-950: #0A3019;
  --green-900: #0F4D29;
  --green-800: #166038;
  --green-700: #1B7F44;
  --green-600: #22A058;
  --green-100: #E6F4EC;
  --green-50:  #F2FAF5;

  --gold:      #D4A24C;
  --gold-light:#E9C98B;
  --gold-dark: #B8882E;

  --charcoal:  #141414;
  --gray-800:  #232323;
  --gray-700:  #333333;
  --gray-600:  #4A4A4A;  /* NEW — readable body text */
  --gray-500:  #666666;
  --gray-300:  #999999;  /* bumped from #AAA for readability */
  --gray-100:  #F0EEE9;
  --gray-50:   #FAF9F6;
  --white:     #FFFFFF;
  --line:      #E4E2DB;

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ── Fluid Type Scale — all clamp() so nothing breaks at any viewport ── */
  /* FIX: xs/sm bumped up — too small on mobile before */
  --text-xs:   0.8125rem;           /* 13px — was 12px, too small */
  --text-sm:   0.9375rem;           /* 15px — was 14px */
  --text-base: 1rem;                /* 16px */
  --text-lg:   1.125rem;            /* 18px */
  --text-xl:   clamp(1.2rem, 2.5vw, 1.375rem);
  --text-2xl:  clamp(1.4rem, 3vw, 1.75rem);
  --text-3xl:  clamp(1.65rem, 3.5vw, 2.125rem);
  --text-4xl:  clamp(1.9rem, 4.5vw, 2.75rem);
  --text-5xl:  clamp(2.25rem, 5.5vw, 3.5rem);

  /* ── Spacing ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* FIX: tighter section padding on mobile, breathes on desktop */
  --section-y: clamp(3rem, 7vw, 5.5rem);
  --gap:       clamp(1rem, 3vw, 2rem);

  /* ── Layout ── */
  --container: 1200px;
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* ── Shadows ── */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:    0 10px 40px rgba(0,0,0,0.14);
  --shadow-green: 0 8px 32px rgba(27,127,68,0.25);

  /* ── Transitions ── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;

  /* ── Nav ── */
  --nav-h: 68px;
  /* FIX: CTA bar height token so hero padding uses same value */
  --cta-bar-h: 60px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Fixed nav offset: announcement bar (~34px) + header (72px) */
  padding-top: calc(72px + 34px);
}
/* Announcement bar is hidden below 480px */
@media (max-width: 479px) {
  body { padding-top: 72px; }
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
/* FIX: body paragraph text darker & larger */
p  { color: var(--gray-600); line-height: 1.75; font-size: var(--text-base); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  /* FIX: fluid horizontal padding — never squishes to edge */
  padding-inline: clamp(1.125rem, 5vw, 2rem);
}

.section { padding-block: var(--section-y); }
.section--dark  { background: var(--charcoal); }
.section--green { background: var(--green-700); }
.section--tint  { background: var(--gray-50); }
.section--deep  { background: var(--green-950); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-green  { color: var(--green-700) !important; }
.text-gold   { color: var(--gold) !important; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  /* FIX: bump up from xs so it's legible */
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: var(--space-3);
}
.eyebrow i { color: var(--gold); font-size: 0.95em; }
.section--dark .eyebrow,
.section--green .eyebrow,
.section--deep .eyebrow { color: var(--gold-light); }

/* ── Section head ── */
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p {
  max-width: 62ch;
  margin-top: var(--space-4);
  /* FIX: was var(--text-lg) which is fine but ensure it hits */
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--gray-600);
}
.section-head--center { text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ── Stars ── */
.stars { color: var(--gold); letter-spacing: 0.05em; font-size: 1rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  /* FIX: base button text readable on mobile */
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--green-700);
  color: #ffffff !important;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover { background: var(--green-800); color: #ffffff !important; box-shadow: 0 12px 40px rgba(27,127,68,0.35); }

.btn--gold {
  background: var(--gold);
  color: #141414 !important;
}
.btn--gold:hover { background: var(--gold-dark); color: #ffffff !important; }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}
.btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: var(--text-xs);
}

/* FIX: btn-group wraps and stays even on narrow screens */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  background: var(--green-700);
  color: var(--white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { left: var(--space-4); }

/* ── Focus ring ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="100"] { transition-delay: 0.08s; }
[data-reveal-delay="200"] { transition-delay: 0.16s; }
[data-reveal-delay="300"] { transition-delay: 0.24s; }
[data-reveal-delay="400"] { transition-delay: 0.32s; }

/* ── Divider ── */
.divider {
  height: 3px;
  background: linear-gradient(90deg, var(--green-700) 0%, var(--gold) 50%, var(--green-700) 100%);
  border: none;
  margin: 0;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--green-100);
  color: var(--green-800);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

/* ── Trust bar ── */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.trust-item i { color: var(--gold); font-size: 1em; }
