/* Base, layout, header, footer and buttons. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font); color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
button { font: inherit; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  padding: 12px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: var(--bg-hero); color: var(--text); border-color: var(--line); font-size: 14px; line-height: 14px; padding: 12px 24px; }
.btn-ghost:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-white { background: var(--white); color: var(--blue); padding: 12px 24px; }
.btn-white:hover { background: var(--navy); color: var(--white); }
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: var(--blue); padding: 12px 24px;
}

/* Header */
.site-header { background: #FEFEFE; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; min-height: 76px; padding-top: 15px; padding-bottom: 15px; }
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 180px; height: auto; }
.site-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.site-nav > ul { display: flex; list-style: none; padding: 0; margin: 0; align-items: center; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a,
.site-nav > ul > li > button {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  font-size: 14px; font-weight: 600; line-height: 20px;
  color: var(--text); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > button:hover,
.site-nav a[aria-current="page"] { color: var(--blue); text-decoration: none; }
.site-nav .caret { transition: transform .2s; }
.site-nav button[aria-expanded="true"] .caret { transform: rotate(180deg); }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--white); list-style: none; padding: 0; margin: 0; box-shadow: var(--shadow-card); }
.sub-menu a { display: block; padding: 13px 20px; font-size: 16px; font-weight: 600; color: var(--text-dark); white-space: nowrap; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--blue); color: var(--white); text-decoration: none; }
.has-sub > button[aria-expanded="true"] + .sub-menu { display: block; }
@media (hover: hover) and (min-width: 1025px) {
  .has-sub:hover > .sub-menu, .no-js .has-sub:focus-within > .sub-menu { display: block; }
  .js .has-sub > button[aria-expanded="false"]:not(:hover) + .sub-menu:not(:hover) { display: none; }
}
.header-cta { margin-left: 0; flex: 0 0 auto; }
@media (max-width: 1280px) and (min-width: 1025px) { .site-nav > ul > li > a, .site-nav > ul > li > button { padding: 13px 12px; } }
/* Eight menu items: tighter still on small laptops so the menu stays on one row. */
@media (max-width: 1150px) and (min-width: 1025px) { .site-nav > ul > li > a, .site-nav > ul > li > button { padding: 13px 8px; } }
.menu-toggle, .nav-cta { display: none; }

@media (max-width: 1024px) {
  .header-inner { min-height: 54px; padding: 10px 17px; flex-wrap: wrap; }
  .site-logo { flex: 0 1 auto; }
  .site-logo img { width: 192px; }
  .header-cta { display: none; }
  .js .menu-toggle {
    display: flex; margin-left: auto; padding: 6px; background: none; border: 0; color: var(--navy); cursor: pointer;
  }
  .site-nav { flex-basis: 100%; flex-direction: column; justify-content: flex-start; }
  .js .site-nav { display: none; }
  .js .site-header.menu-open .site-nav { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 10px 0; }
  .site-nav > ul > li > a, .site-nav > ul > li > button { width: 100%; justify-content: space-between; padding: 13px 0; font-size: 16px; }
  .sub-menu { position: static; box-shadow: none; padding-left: 16px; }
  .no-js .sub-menu { display: block; }
  .sub-menu a { padding: 10px 0; font-size: 15px; }
  .sub-menu a:hover { background: none; color: var(--blue); }
  .nav-cta { display: inline-block; align-self: flex-start; margin: 4px 0 16px; }
}

/* Sections */
.section { padding: 80px 0; }
.eyebrow {
  display: block; margin: 0 0 20px;
  font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--blue);
}
.section-title { font-size: 36px; font-weight: 800; line-height: 1.1; letter-spacing: -0.9px; color: var(--navy); }
.lead { font-size: 18px; font-weight: 600; line-height: 27px; }
.center { text-align: center; }
.bg-hero { background: var(--bg-hero); }
.bg-soft { background: var(--bg-soft); }
.bg-soft-2 { background: var(--bg-soft-2); }
.bg-blue { background: var(--blue); }
.bg-navy { background: var(--navy-deep); }
.bg-blue .section-title, .bg-navy .section-title { color: var(--white); }
.bg-blue .eyebrow { color: var(--white-80); }

/* CTA band (part of the footer on every page) */
.cta-band { background: var(--blue); padding: 100px 0; text-align: center; color: var(--white-80); }
.cta-band h2 { color: var(--white); font-size: 36px; font-weight: 800; line-height: 36px; letter-spacing: -0.9px; margin-bottom: 20px; }
.cta-band p { font-size: 18px; font-weight: 600; line-height: 27px; margin-bottom: 25px; }

/* Footer */
.footer-main { background: var(--white); padding: 30px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 275px 295px 295px 1fr; align-items: start; padding-top: 0; }
.footer-logo img { width: 215px; height: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { display: block; font-size: 14px; font-weight: 600; line-height: 28px; color: var(--text); }
.footer-links a:hover { color: var(--blue); text-decoration: none; }
.footer-social { color: var(--blue); display: inline-block; }
.copyright { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--text); }
.footer-legal { margin-top: 30px; }
.footer-legal .disclaimer { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; line-height: 18px; color: var(--text); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .cta-band { padding: 70px 0; }
  .cta-band h2 { font-size: 30px; line-height: 1.15; }
}
