/* =============================================================================
   LazyFox — Shared Styles
   Referenced from all inner pages (blog, platform, versus, about, index)
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --teal:        #1D9E75;
  --teal-dark:   #085041;
  --teal-mid:    #0F6E56;
  --teal-light:  #E1F5EE;
  --ink:         #141412;
  --paper:       #FAF8F4;
  --stone:       #F0EDE6;
  --muted:       #7A7770;
  --border:      #E2DED6;
  --red:         #C94040;
  --amber:       #D48C24;
  --amber-light: #FEF5E4;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a:visited { color: inherit; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,244,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo img { height: 28px; display: block; }
.nav-links { display: flex; gap: 1.75rem; align-items: center; list-style: none; }
.nav-links li { position: relative; }
.nav-link {
  font-size: 0.85rem; color: var(--muted); text-decoration: none;
  font-weight: 400; transition: color 0.2s;
  display: flex; align-items: center; gap: 0.3rem; white-space: nowrap;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-caret { display: inline-block; width: 10px; flex-shrink: 0; }
.nav-flyout {
  display: none; position: absolute;
  top: calc(100% + 0.75rem); left: 0;
  background: white; border: 1px solid var(--border);
  border-radius: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 220px; overflow: hidden; z-index: 200;
}
.nav-flyout a {
  display: block; padding: 0.75rem 1.1rem;
  font-size: 0.82rem; color: var(--ink);
  text-decoration: none; font-weight: 500;
  transition: background 0.15s;
  border-bottom: 1px solid var(--border);
}
.nav-flyout a:last-child { border-bottom: none; }
.nav-flyout a:hover { background: var(--stone); }
.nav-flyout a.is-active { color: var(--teal); background: var(--teal-light); }
.nav-flyout small { display: block; font-size: 0.72rem; color: var(--muted); font-weight: 400; margin-top: 0.15rem; }
.nav-links li:hover .nav-flyout { display: block; }
.nav-cta {
  background: var(--teal); color: white;
  font-size: 0.82rem; font-weight: 500;
  padding: 0.6rem 1.4rem; text-decoration: none;
  border-radius: 2px; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--teal-dark); }

/* ── HERO EYEBROW ── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--teal);
}

/* ── TICKER ── */
.ticker-wrap {
  background: var(--ink); overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid #2a2a28; border-bottom: 1px solid #2a2a28;
}
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 32px;
  padding: 0 40px; white-space: nowrap;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.6); letter-spacing: 0.02em;
}
.ticker-item strong { color: #fff; font-weight: 700; }
.ticker-sep { color: var(--teal); font-size: 18px; opacity: 0.6; }

/* ── SECTION SHELL ── */
section { padding: 96px 0; }
.section-inner { max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 20px;
}
.section-h {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.1;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 20px;
}
.section-sub {
  font-size: 18px; font-weight: 300; color: var(--muted);
  max-width: 600px; margin-bottom: 64px; line-height: 1.55;
}
.stone-bg { background: var(--stone); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:visited { color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--border);
  padding-bottom: 2px; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--teal);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-cta-white:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-cta-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  padding: 14px 28px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ── DARK SECTION ── */
.dark-section { background: var(--ink); color: #fff; }
.dark-section .section-label { color: var(--teal); }
.dark-section .section-h { color: #fff; }
.dark-section .section-sub { color: rgba(255,255,255,0.5); }

/* ── CTA SECTION ── */
.cta-section { background: var(--teal); padding: 96px 48px; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px; color: rgba(255,255,255,0.75);
  margin-bottom: 44px; font-weight: 300;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.cta-form input {
  flex: 1; padding: 14px 18px; border-radius: 8px; border: none;
  background: rgba(255,255,255,0.15); color: #fff;
  font-family: var(--font-body); font-size: 15px; outline: none;
  transition: background 0.2s;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { background: rgba(255,255,255,0.22); }
.cta-form button {
  padding: 14px 28px; border-radius: 8px; border: none;
  background: #fff; color: var(--teal);
  font-family: var(--font-display); font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.15s, opacity 0.2s;
}
.cta-form button:hover { transform: translateY(-1px); opacity: 0.92; }
.cta-fine { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.45); }

/* ── FOOTER ── */
footer { background: var(--ink); }
.footer-inner {
  max-width: 1400px; margin: 0 auto; padding: 2rem 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 400;
  font-size: 18px; color: #fff; text-decoration: none;
}
.footer-logo span { color: var(--teal); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-inner { padding: 0.875rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 72px 0; }
  .section-inner { padding: 0 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .cta-section { padding: 72px 24px; }
  .cta-form { flex-direction: column; }
}
