html {
  scroll-behavior: smooth;
}

body > .main {
  padding-top: 0;
}

.afprog-site {
  --afp-navy: #153554;
  --afp-navy-deep: #0d2740;
  --afp-teal: #078b84;
  --afp-teal-dark: #056c67;
  --afp-mint: #d9f0eb;
  --afp-sky: #eaf4f8;
  --afp-cream: #f8f7f2;
  --afp-gold: #f3ca52;
  --afp-ink: #17324d;
  --afp-copy: #52697a;
  --afp-line: #dce6eb;
  --afp-white: #ffffff;
  background: var(--afp-white);
  color: var(--afp-ink);
  font-family: "freight-sans-pro", Arial, sans-serif;
  font-size: 17px;
  margin: 0;
  overflow: hidden;
}

.afprog-site * {
  box-sizing: border-box;
}

.afprog-site a:focus-visible,
.afprog-site button:focus-visible {
  outline: 3px solid var(--afp-gold);
  outline-offset: 3px;
}

.afprog-site-container {
  margin: 0 auto;
  max-width: 1200px;
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}

/* Dedicated product navigation */
.afprog-site .afprog-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(21, 53, 84, .1);
  box-shadow: 0 8px 28px rgba(21, 53, 84, .06);
  height: auto;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}

.afprog-header-inner {
  align-items: center;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  min-height: 80px;
}

.afprog-brand {
  align-items: center;
  color: var(--afp-navy) !important;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 12px;
  text-decoration: none;
}

.afprog-brand-auditfile {
  display: block;
  height: 35px;
  width: 158px;
}

.afprog-brand-divider {
  background: var(--afp-line);
  height: 31px;
  width: 1px;
}

.afprog-brand-product {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.afprog-header-links {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.afprog-header-links a,
.afprog-header-login {
  color: var(--afp-ink) !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.afprog-header-links a:hover,
.afprog-header-login:hover {
  color: var(--afp-teal) !important;
}

.afprog-header-actions {
  align-items: center;
  display: flex;
  gap: 16px;
}

.afprog-header-cta {
  background: var(--afp-navy);
  border-radius: 999px;
  color: var(--afp-white) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 22px;
  text-decoration: none;
}

.afprog-header-cta:hover {
  background: var(--afp-navy-deep);
}

/* Hero */
.afprog-site-hero {
  background: linear-gradient(180deg, var(--afp-sky) 0%, var(--afp-white) 100%);
  padding: 96px 0 72px;
}

.afprog-hero-copy {
  margin: 0 auto;
  max-width: 880px;
  text-align: center;
}

.afprog-eyebrow {
  color: var(--afp-teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.afprog-site-hero h1 {
  color: var(--afp-navy);
  font-size: 54px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 22px;
}

.afprog-lede {
  color: var(--afp-copy);
  font-size: 20px;
  line-height: 1.55;
  margin: 0 auto 34px;
  max-width: 760px;
}

.afprog-site-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.afprog-site-button {
  border: 1px solid var(--afp-line);
  border-radius: 999px;
  color: var(--afp-navy) !important;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  text-decoration: none;
}

.afprog-site-button:hover {
  border-color: var(--afp-navy);
}

.afprog-site-button-primary {
  background: var(--afp-navy);
  border-color: var(--afp-navy);
  color: var(--afp-white) !important;
}

.afprog-site-button-primary:hover {
  background: var(--afp-navy-deep);
  border-color: var(--afp-navy-deep);
}

.afprog-trust-line {
  align-items: center;
  color: var(--afp-copy);
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 34px;
}

.afprog-trust-line span::before {
  color: var(--afp-teal);
  content: "\2713";
  font-weight: 700;
  margin-right: 7px;
}

/* Proof strip */
.afprog-proof-strip {
  background: var(--afp-navy);
  padding: 34px 0;
}

.afprog-proof-strip p {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  margin: 0 0 22px;
  text-align: center;
}

.afprog-proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.afprog-proof-item {
  border-left: 2px solid var(--afp-gold);
  padding-left: 14px;
}

.afprog-proof-item strong {
  color: var(--afp-white);
  display: block;
  font-size: 26px;
  letter-spacing: -.01em;
}

.afprog-proof-item span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

/* Sections */
.afprog-site-section {
  padding: 88px 0;
}

.afprog-section-heading {
  margin-bottom: 46px;
  max-width: 780px;
}

.afprog-section-heading-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.afprog-section-heading span {
  color: var(--afp-teal-dark);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.afprog-section-heading h2 {
  color: var(--afp-navy);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.afprog-section-heading p {
  color: var(--afp-copy);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

/* Program category cards */
.afprog-program-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.afprog-program-card {
  background: var(--afp-white);
  border: 1px solid var(--afp-line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(21, 53, 84, .06);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.afprog-program-card h3 {
  color: var(--afp-navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}

.afprog-program-card > p {
  color: var(--afp-copy);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}

.afprog-program-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.afprog-program-list li {
  background: var(--afp-sky);
  border: 1px solid var(--afp-line);
  border-radius: 999px;
  color: var(--afp-ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  padding: 7px 13px;
}

.afprog-program-list li::before {
  color: var(--afp-teal);
  content: "\2713";
  font-weight: 700;
  margin-right: 6px;
}

/* Modules */
.afprog-modules-section {
  background: var(--afp-cream);
}

.afprog-module-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.afprog-module-card {
  background: var(--afp-white);
  border: 1px solid var(--afp-line);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(21, 53, 84, .05);
  padding: 22px;
}

.afprog-module-card strong {
  color: var(--afp-navy);
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.afprog-module-card span {
  color: var(--afp-copy);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Final CTA */
.afprog-final-cta {
  background: linear-gradient(135deg, var(--afp-navy) 0%, var(--afp-navy-deep) 100%);
  padding: 84px 0;
}

.afprog-final-cta-inner {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.afprog-final-cta span {
  color: var(--afp-gold);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.afprog-final-cta h2 {
  color: var(--afp-white);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.afprog-final-cta p {
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 640px;
}

.afprog-final-cta .afprog-site-button-primary {
  background: var(--afp-gold);
  border-color: var(--afp-gold);
  color: var(--afp-navy-deep) !important;
  flex: 0 0 auto;
}

.afprog-final-cta .afprog-site-button-primary:hover {
  background: var(--afp-white);
  border-color: var(--afp-white);
}

/* Footer */
.afprog-footer {
  background: var(--afp-navy-deep);
  padding: 54px 0;
}

.afprog-footer-inner {
  display: grid;
  gap: 26px;
}

.afprog-footer-brand img {
  display: block;
  height: 32px;
  margin-bottom: 12px;
  width: 145px;
}

.afprog-footer-brand p {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 460px;
}

.afprog-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}

.afprog-footer-links a {
  color: rgba(255, 255, 255, .85) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.afprog-footer-links a:hover {
  color: var(--afp-gold) !important;
}

.afprog-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .55);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
  padding-top: 22px;
}

/* Responsive */
@media (max-width: 1000px) {
  .afprog-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .afprog-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .afprog-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .afprog-header-links {
    display: none;
  }

  .afprog-site-hero {
    padding: 64px 0 54px;
  }

  .afprog-site-hero h1 {
    font-size: 38px;
  }

  .afprog-lede {
    font-size: 18px;
  }

  .afprog-program-grid,
  .afprog-module-grid,
  .afprog-proof-grid {
    grid-template-columns: 1fr;
  }

  .afprog-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
