/* ── Fonts ──────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'GR Sang';
  src: url('fonts/gr-sang.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fellix';
  src: url('fonts/Fellix-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fellix';
  src: url('fonts/Fellix-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fellix';
  src: url('fonts/Fellix-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fellix';
  src: url('fonts/Fellix-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --green-dark:   #2e5e4d; /* "no-screen green" — dark forest green */
  --green-lime:   #a1ff00; /* "screen green"    — electric lime     */
  --green-pale:   #ECE2D8; /* hero background   — light sage        */

  --font-display: 'GR Sang', Georgia, serif;
  --font-sans:    'Fellix', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--green-dark);
  overflow-x: hidden;
}

a { color: inherit; }

/* ── Ticker Bar ─────────────────────────────────────────────────────────── */
.ticker-bar {
  background: var(--green-lime);
  height: 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
  color: var(--green-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Hero Section ───────────────────────────────────────────────────────── */
/* Matches Figma node 11:441 — single flex-col container, gap 40px, padding 87px 240px */
.hero {
  background: var(--green-pale);
  padding: 87px 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(84px, 16.68vw, 240px);
  font-weight: normal;
  color: var(--green-dark);
  font-feature-settings: 'smcp' 1, 'c2sc' 1;
  letter-spacing: 0;
  max-width: 960px;
  line-height: 0.85;
}

.safari .hero-headline {
  font-variant-caps: all-small-caps;
}

.highlight {
  background: var(--green-lime);
  padding: 0 4px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--green-dark);
  max-width: 632px;
}

.hero-body {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 30px;
  line-height: normal;
  color: var(--green-dark);
  max-width: 710px;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 60px;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn:hover { opacity: 0.85; }

.btn--solid {
  background: var(--green-dark);
  color: var(--green-lime);
  border: 2px solid var(--green-dark);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

/* ── Callout Section ────────────────────────────────────────────────────── */
.callout {
  background: var(--green-dark);
  padding: 49px 240px 87px;
  display: flex;
  justify-content: center;
}

.callout-card {
  background: var(--green-dark);
  border: 2px solid var(--green-dark);
  box-shadow: 2px 2px 5px 5px rgba(46, 94, 77, 0.05);
  border-radius: 4px;
  max-width: 1246px;
  width: 100%;
  padding: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.callout-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 13.9vw, 200px);
  font-weight: normal;
  line-height: 0.85;
  color: var(--green-pale);
  max-width: 710px;
  font-feature-settings: 'smcp' 1, 'c2sc' 1;
}

.safari .callout-headline {
  font-variant-caps: all-small-caps;
}

.callout-card p:not(.callout-headline) {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.4;
  color: var(--green-pale);
  max-width: 710px;
}

/* ── Stats Section ──────────────────────────────────────────────────────── */
.stats {
  background: var(--green-lime);
  padding: 53px 240px 87px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.stats-eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--green-dark);
  text-align: center;
}

.stats-list {
  display: flex;
  flex-direction: column;
  max-width: 1246px;
  width: 100%;
}

.stat-divider {
  border: none;
  border-top: 1.5px solid var(--green-dark);
  opacity: 0.25;
  margin: 0;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 40px 50px;
}

.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(42px, 13.9vw, 200px);
  font-weight: normal;
  color: var(--green-dark);
  text-align: center;
  flex: 0 0 339px;
  line-height: 0.85;
  font-feature-settings: 'smcp' 1, 'c2sc' 1;
  letter-spacing: 0;
}

.safari .stat-figure {
  font-variant-caps: all-small-caps;
}

.stat-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-content p {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.45;
  color: var(--green-dark);
}

.stat-cite {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stat-cite:hover { opacity: 0.7; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  color: var(--green-dark);
  text-align: center;
  padding: 40px 0 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero,
  .callout,
  .stats { padding-left: 80px; padding-right: 80px; }

  .callout-card { padding: 60px; }

  .stat-row { padding: 40px 20px; }

  .stat-figure { flex: 0 0 220px; }
}

@media (max-width: 768px) {
  .hero,
  .callout,
  .stats { padding-left: 24px; padding-right: 24px; }

  .hero-body { font-size: 22px; }

  .callout-card { padding: 40px 24px; }
  .callout-card p:not(.callout-headline) { font-size: 22px; }

  .stat-row {
    flex-direction: column;
    padding: 32px 0;
    align-items: flex-start;
  }

  .stat-figure {
    flex: none;
    font-size: clamp(48px, 18vw, 100px);
    text-align: left;
  }

  .stat-content p { font-size: 18px; }

  .btn { padding: 18px 36px; font-size: 14px; }
}
