/* ============================================================
   FROSTPULSE — SHARED STYLES
   Brand: #138EBA primary, #333333 charcoal, #F7F7F7 off-white
   Typography: Figtree (per brand guidelines)
   ============================================================ */

:root {
  --blue:        #138EBA;
  --blue-dark:   #0F6F94;
  --blue-deep:   #0A4A66;
  --blue-bright: #4FB3D2;
  --blue-pale:   #E3F2F7;
  --charcoal:    #333333;
  --charcoal-deep: #1A1A1A;
  --slate:       #2A3744;
  --slate-mute:  #6B7A8A;
  --off-white:   #F7F7F7;
  --white:       #FFFFFF;
  --line:        #E6E9EC;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif; font-weight: 400;
  color: var(--charcoal); background: var(--white);
  line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: 'Figtree', sans-serif; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1; color: var(--charcoal);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* PLACEHOLDER BLOCKS */
.placeholder {
  background: repeating-linear-gradient(45deg, #E6E9EC, #E6E9EC 12px, #EFF1F3 12px, #EFF1F3 24px);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-mute); font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 24px; height: 100%;
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  transition: padding 0.3s ease;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo img {
  height: 64px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links > a {
  font-size: 13px; font-weight: 700; color: var(--charcoal);
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative;
}
.nav-links > a:hover { color: var(--blue); }
.nav-links > a.active { color: var(--blue); }
.nav-links > a.active::after {
  content: ''; position: absolute; bottom: -22px; left: 0; right: 0;
  height: 2px; background: var(--blue);
}
.nav-cta {
  background: var(--blue); color: var(--white) !important;
  padding: 12px 22px; border-radius: 2px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.nav-cta.active::after { display: none; }
/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
  .nav-inner {
    position: relative;
  }

  .mobile-menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    z-index: 101;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a,
  .nav-links > a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 14px 10px;
  }

  .nav-links > a.active::after {
    display: none;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    padding: 14px 18px;
    text-align: center;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* BUTTONS */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 2px;
  font-family: 'Figtree', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.2s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-deep); }
.btn-charcoal-outline { background: transparent; color: var(--charcoal); border: 1.5px solid var(--charcoal); }
.btn-charcoal-outline:hover { background: var(--charcoal); color: var(--white); }

/* TYPOGRAPHY UTILITIES */
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px; display: inline-block;
}
.eyebrow-light { color: var(--blue-bright); }

/* PAGE HERO (non-home pages) */
.page-hero {
  position: relative; padding: 180px 0 90px;
  background: var(--charcoal-deep); color: var(--white); overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 1; opacity: 0.32; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0.92) 100%);
}
.page-hero-inner { position: relative; z-index: 2; max-width: 920px; }
.page-hero .eyebrow { color: var(--blue-bright); }
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 68px); font-weight: 700;
  color: var(--white); margin-bottom: 22px; letter-spacing: -0.035em; line-height: 1.05;
}
.page-hero p {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255,255,255,0.82); max-width: 680px; line-height: 1.55;
}

/* FOOTER */
.footer { background: var(--charcoal-deep); color: rgba(255,255,255,0.65); padding: 60px 0 24px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand {
  margin-bottom: 20px;
  display: inline-flex; align-items: center;
  background: var(--white); padding: 10px 16px; border-radius: 4px;
}
.footer-brand img {
  height: 32px; width: auto; display: block;
}
.footer-tag { font-size: 14px; line-height: 1.6; max-width: 340px; }
.footer-col h5 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--blue-bright); margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* COMMON CTAs */
.cta-band {
  background: var(--charcoal); color: var(--white); padding: 80px 0; text-align: center;
}
.cta-band h2 {
  color: var(--white); font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700; margin-bottom: 16px; letter-spacing: -0.025em;
}
.cta-band p {
  color: rgba(255,255,255,0.78); font-size: 17px;
  max-width: 580px; margin: 0 auto 28px; line-height: 1.55;
}
