/* ==========================================================================
   FINDABILITY — Global Styles
   Design tokens, reset, typography, shared components
   ========================================================================== */

/* ---------- Self-hosted fonts ---------- */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/lato-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/lato-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/lato-latin-900-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/merriweather-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/merriweather-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/merriweather-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  --blue: #0069B1;
  --blue-dark: #004d80;
  --blue-light: #e8f2fa;
  --gold: #ED8C2A;
  --gold-dark: #c97320;
  --gold-light: #fdf3e6;

  --white: #ffffff;
  --neutral-50: #faf9f7;
  --neutral-100: #f0eeea;
  --neutral-200: #e0ddd7;
  --neutral-300: #c5c0b8;
  --neutral-400: #a09a90;
  --neutral-500: #7a7368;
  --neutral-600: #5c5650;
  --neutral-700: #43403c;
  --neutral-800: #2f2a25;
  --neutral-900: #1a1714;

  --font-heading: 'Lato', sans-serif;
  --font-body: 'Merriweather', serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;

  --max-width: 1200px;
  --max-narrow: 800px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Base Typography ---------- */
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--neutral-800);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

.fb-h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.fb-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.fb-container--narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Sections ---------- */
.fb-section {
  padding: var(--space-xl) 0;
}
.fb-section--white { background: var(--white); }
.fb-section--light { background: var(--neutral-50); }
.fb-section--cta {
  background: var(--blue-dark);
  color: var(--neutral-200);
}

/* ---------- Buttons ---------- */
.fb-btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: none;
  text-align: center;
}
.fb-btn--primary {
  background: var(--gold);
  color: var(--white);
}
.fb-btn--primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- Links ---------- */
.fb-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
  display: inline-block;
  margin-top: var(--space-sm);
  transition: color 0.2s;
}
.fb-link:hover { color: var(--blue-dark); }

/* ---------- Proof Bar ---------- */
.fb-proof-bar {
  background: var(--gold);
  color: var(--white);
  padding: var(--space-md) 0;
}
.fb-proof-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  text-align: center;
}
.fb-proof-bar__number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
}
.fb-proof-bar__label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
}

/* ---------- Pillar Groups (ACR) ---------- */
.fb-pillar-group {
  margin-top: var(--space-lg);
}
.fb-pillar-group__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* ---------- Pillar Grid ---------- */
.fb-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.fb-pillar-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.fb-pillar-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.fb-pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  overflow: hidden;
}
.fb-pillar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.fb-pillar-card__number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--blue);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.fb-pillar-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
}
.fb-pillar-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--neutral-900);
  margin-bottom: 6px;
}
.fb-pillar-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--neutral-600);
}

/* ---------- Case Study ---------- */
.fb-casestudy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  margin-top: var(--space-md);
}
.fb-casestudy__image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.fb-casestudy__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 4px;
}
.fb-casestudy__name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: var(--space-sm);
}

/* ---------- Final CTA ---------- */
.fb-final-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.fb-final-cta__headline { color: var(--white) !important; }
.fb-final-cta__sub {
  color: var(--neutral-300);
  margin-bottom: var(--space-md);
}

/* ---------- Tier Cards ---------- */
.fb-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}
.fb-tier-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}
.fb-tier-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--blue);
  margin-bottom: var(--space-xs);
}
.fb-tier-card__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--neutral-600);
}

/* ---------- Value Cards ---------- */
.fb-value-card {
  background: var(--neutral-50);
  border-left: 3px solid var(--blue);
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-sm);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Problem Section ---------- */
.fb-problem__body p {
  font-size: 1.05rem;
  color: var(--neutral-700);
}
.fb-problem__pullquote {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--neutral-900);
  border-left: 4px solid var(--gold);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
  margin: var(--space-lg) 0;
}

/* ---------- Services ---------- */
.fb-services__intro {
  color: var(--neutral-600);
  margin-bottom: var(--space-md);
}
.fb-services__pricing {
  font-style: italic;
  color: var(--neutral-500);
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .fb-pillar-grid,
  .fb-pillar-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .fb-pillar-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .fb-tier-grid { grid-template-columns: 1fr; }
  .fb-casestudy { grid-template-columns: 1fr; }
  .fb-h2 { font-size: 1.7rem; }
}

@media (max-width: 767px) {
  .fb-section { padding: var(--space-lg) 0; }
  .fb-proof-bar__inner { gap: var(--space-lg); }
  .fb-proof-bar__number { font-size: 1.5rem; }
  body { font-size: 16px; }
  .fb-h2 { font-size: 1.5rem; }
}

@media (max-width: 479px) {
  .fb-pillar-grid,
  .fb-pillar-grid--3,
  .fb-pillar-grid--2 { grid-template-columns: 1fr; }
  .fb-proof-bar__inner { flex-direction: column; gap: var(--space-sm); }
}
