@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans Pro";
  src: url("../fonts/SourceSansPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #052148;
  --navy-deep: #031530;
  --teal: #1f7e96;
  --teal-dark: #176272;
  --teal-soft: #e7f3f6;
  --cream: #f5f8f9;
  --white: #ffffff;
  --text: #1c2a32;
  --muted: #4a5a64;
  --line: #d4e0e4;
  --ph: #ffe566;
  --focus: #c45c12;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(5, 33, 72, 0.08);
  --max: 70rem;
  --space: 1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

/* Placeholders Charles still needs to fill */
.ph,
mark.ph {
  background: var(--ph);
  color: #1a1a1a;
  padding: 0 0.28em;
  font-weight: 700;
  border-radius: 2px;
  box-decoration-break: clone;
  white-space: nowrap;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}

.logo {
  display: block;
  flex: 0 1 16rem;
  min-width: 10rem;
}
.logo img {
  width: 100%;
  max-width: 17.5rem;
  height: auto;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: var(--navy);
  color: var(--white);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-toggle-label .bars {
  width: 1.05rem;
  height: 0.85rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle-label .bars span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem;
  box-shadow: var(--shadow);
}
.nav-toggle:checked ~ .site-nav,
.nav-toggle:focus ~ .site-nav { display: flex; }

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.4rem;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--teal-soft); color: var(--navy); }
.site-nav .btn { text-align: center; margin-top: 0.4rem; }

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  border: 2px solid var(--teal);
  line-height: 1.2;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-light:hover { background: var(--navy); color: var(--white); }
.btn[disabled],
.btn.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.hero {
  background: var(--cream);
  padding: 2.4rem 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 2rem;
}
.hero h1 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hero .lede {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-mark {
  width: min(46%, 9.5rem);
  margin: 0.25rem auto 0;
  opacity: 0.95;
}

.wave {
  display: block;
  width: 100%;
  height: 3.2rem;
  color: var(--white);
}
.wave path { fill: currentColor; }
.hero .wave { color: var(--white); margin-bottom: -1px; }

.section { padding: 3rem 0; }
.section-alt { background: var(--cream); }
.section-teal { background: var(--navy); color: var(--white); }
.section-teal h2,
.section-teal p { color: var(--white); }
.section-teal .muted { color: #d5e3ea; }

h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h3 {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 1.15rem;
}
.intro {
  margin: 0 0 1.6rem;
  color: var(--muted);
  max-width: 42rem;
}

.cards {
  display: grid;
  gap: 1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
  box-shadow: var(--shadow);
}
.card p { margin: 0 0 0.9rem; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.icon-svg {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.7rem;
  color: var(--teal);
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.2rem 4.2rem;
  position: relative;
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}
.step p { margin: 0; color: var(--muted); }

.cta-band .wrap { text-align: center; }
.cta-band p { margin: 0 auto 1.1rem; max-width: 36rem; }

.list {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.15rem;
}
.list li { margin: 0 0 0.45rem; }

.photo-ph {
  background: repeating-linear-gradient(
    -45deg,
    #eef4f6,
    #eef4f6 12px,
    #e4eef1 12px,
    #e4eef1 24px
  );
  border: 2px dashed #9bb3bc;
  border-radius: var(--radius);
  min-height: 10rem;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--navy);
}

.form-note,
.page-note {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 0.85rem 1rem;
  margin: 0 0 1.25rem;
  border-radius: 0 8px 8px 0;
}

form {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
}
label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--navy);
}
input,
select,
textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid #b7c6cc;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
textarea { min-height: 8rem; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.contact-aside {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.contact-aside p { margin: 0 0 0.4rem; }

.site-footer {
  background: var(--navy-deep);
  color: #d7e2e8;
  padding: 2.25rem 0 1.5rem;
  font-size: 0.98rem;
}
.site-footer a { color: #eef6f8; }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid;
  gap: 1.25rem;
}
.site-footer .logo img {
  max-width: 15.5rem;
  background: var(--white);
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.7rem 1.1rem; }
.copyright { margin: 1.5rem 0 0; color: #a9bbc4; font-size: 0.9rem; }

@media (min-width: 52rem) {
  .header-inner { position: relative; }
  .nav-toggle,
  .nav-toggle-label { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 0.35rem;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }
  .site-nav a { padding: 0.4rem 0.55rem; }
  .site-nav .btn { margin-top: 0; margin-left: 0.4rem; }
  .logo { flex-basis: 18.5rem; }
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding-bottom: 2.5rem;
  }
  .hero-mark { width: min(100%, 18rem); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 4rem 1.2rem 1.3rem 1.2rem; }
  .step::before { top: 1.1rem; left: 1.15rem; }
  .section { padding: 3.6rem 0; }
  .footer-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }
}

@media (max-width: 51.99rem) {
  .cards-2 { grid-template-columns: 1fr; }
}
