/* ==========================================================================
   Strong Families. Strong South Bay. — landing page
   Palette: Navy #063B70 · Body #334E68 · Accent #F59E0B · Tint #F2FAFD
   Type:    Montserrat (headings, 700–800) · Inter (body, 400–600)
   ========================================================================== */

:root {
  --navy:        #063B70;
  --navy-dark:   #04294E;
  --body:        #334E68;
  --muted:       #4A6B87;
  --accent:      #F59E0B;
  --tint:        #F2FAFD;
  --line:        #DCEAF4;
  --line-soft:   #E6EEF5;
  --white:       #FFFFFF;

  --shell:       1280px;
  --gutter:      clamp(24px, 5vw, 80px);
  --radius-card: 14px;
  --radius-img:  20px;

  --font-head: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); }
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus {
  left: 0;
  color: var(--white);
}

/* Shared shell ------------------------------------------------------------ */

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.rule {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}

/* Topbar ------------------------------------------------------------------ */

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}

.topbar__logo {
  width: auto;
  height: clamp(68px, 8vw, 96px);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.hero__lede {
  margin: clamp(18px, 2vw, 28px) 0 0;
  max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
  color: var(--body);
}

/* What We Believe --------------------------------------------------------- */

.believe {
  background: var(--tint);
  padding-block: clamp(64px, 8vw, 104px);
}

.believe__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.believe__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2vw, 28px);
}

.believe__statement {
  margin: 0;
  max-width: 34ch;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.7;
  color: var(--body);
}

.believe__image {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-img);
}

/* Get in Touch ------------------------------------------------------------ */

.contact {
  background: var(--white);
  padding-block: clamp(64px, 8vw, 104px);
}

.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__cards {
  margin-top: clamp(24px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 440px));
  gap: clamp(14px, 2vw, 24px);
  width: 100%;
  justify-content: center;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-align: left;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.contact-card:hover {
  background: var(--white);
  border-color: var(--navy);
}

.contact-card__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--navy);
  overflow-wrap: anywhere;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  background: var(--navy);
  padding-block: clamp(32px, 4vw, 64px);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
  margin-bottom: clamp(28px, 3.5vw, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.footer__brand {
  flex-shrink: 0;
  display: inline-flex;
  padding: 14px 18px;
  background: var(--white);
  border-radius: 10px;
}

.footer__logo {
  width: auto;
  height: clamp(64px, 7vw, 84px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.footer__heading {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact a {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  color: var(--white);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__privacy {
  margin-top: 4px;
  font-weight: 500;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.disclaimer {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  text-align: center;
}

.disclaimer p {
  margin: 0;
  font-size: clamp(12.5px, 1.1vw, 13px);
  line-height: 1.7;
  color: var(--white);
}

.disclaimer p + p { margin-top: 1.7em; }

.disclaimer a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.disclaimer a:hover { color: var(--white); }

/* Legal page -------------------------------------------------------------- */

.legal {
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px);
}

.legal__inner {
  max-width: calc(760px + var(--gutter) * 2);
}

.legal__title {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.legal__date {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}

.legal h2 {
  margin: clamp(40px, 4vw, 56px) 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.legal h3 {
  margin: clamp(26px, 2.6vw, 34px) 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.4;
  color: var(--navy);
}

.legal p {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.75;
  color: var(--body);
}

.legal ul {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.legal li {
  margin-top: 8px;
  font-size: clamp(15px, 1.4vw, 16.5px);
  line-height: 1.75;
  color: var(--body);
}

.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

/* Breakpoints ------------------------------------------------------------- */

@media (max-width: 900px) {
  .believe__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .believe__statement { max-width: none; }
  .believe__image { margin-top: 4px; }
}

@media (max-width: 640px) {
  .hero__inner,
  .contact__inner {
    align-items: flex-start;
    text-align: left;
  }
  .hero__title { max-width: none; }
  .contact__cards {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }
  .rule { width: 48px; }
  .believe__image { border-radius: 18px; }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer__contact {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
