:root {
  --navy: #102b40;
  --ink: #173347;
  --green: #00735a;
  --bright: #b7ec83;
  --muted: #506575;
  --line: #d8e2e6;
  --pale: #f1f7f8;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a {
  color: var(--green);
  text-underline-offset: 5px;
}

a:hover {
  text-decoration: underline;
}

button,input,select,textarea {
  font: inherit;
}

button,a,input,select,textarea {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline: 3px solid #e5a100;
  outline-offset: 4px;
}

.wrap {
  width: min(1240px,calc(100% - 72px));
  margin: auto;
}

.utility {
  background: var(--navy);
  color: #d8e6ed;
  font-size: 14px;
}

.utility .wrap {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}

.utility a {
  color: white;
  margin-left: 28px;
  text-decoration: none;
}

header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 30px;
}

.brand {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1.7px;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.1;
  white-space: nowrap;
}

.brand b {
  color: var(--green);
  font-weight: 700;
}

.brand small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 1.3px;
  margin-top: 7px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
}

.nav nav a.active {
  color: var(--green);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 23px;
  background: var(--green);
  color: white!important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--green);
  border-radius: 5px;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
}

.button:hover {
  background: #005c47;
  text-decoration: none;
}

.button.small {
  min-height: 44px;
  padding: 10px 20px;
}

.button.secondary {
  background: white;
  color: var(--ink)!important;
  border: 1px solid #a5b6bf;
}

.button.secondary:hover {
  background: var(--pale);
}

.button.light {
  background: var(--bright);
  color: var(--navy)!important;
  border-color: var(--bright);
}

.button.light:hover {
  background: #a4db6d;
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 65px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 70px;
}

.hero-copy {
  padding: 8px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.9px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.5;
  display: block;
  margin-bottom: 18px;
}

h1,h2,h3 {
  line-height: 1.13;
  letter-spacing: -1.3px;
  margin: 0 0 24px;
}

h1 {
  font-size: clamp(40px,4.9vw,65px);
  font-weight: 700;
}

h1 em {
  font-style: normal;
  color: var(--green);
}

h2 {
  font-size: clamp(29px,3.1vw,43px);
}

h3 {
  font-size: 25px;
  letter-spacing: -.65px;
  line-height: 1.25;
  margin-bottom: 14px;
}

p {
  margin: 0 0 22px;
}

.lede {
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 720px;
}

.hero .lede {
  font-size: 19px;
  max-width: 530px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}

.micro {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 20px;
}

.hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 14px 30px #102b4015;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  border-radius: 6px 6px 0 0;
}

.photo-label {
  position: static;
  width: 100%;
  background: var(--navy);
  padding: 28px;
  color: white;
  border-radius: 0 0 6px 6px;
}

.photo-label span {
  font-size: 12px;
  letter-spacing: 1.7px;
  color: var(--bright);
}

.photo-label strong {
  display: block;
  font-size: 26px;
  line-height: 1.25;
  margin: 10px 0 14px;
  letter-spacing: -.5px;
}

.photo-label a {
  font-size: 15px;
  color: var(--bright);
}

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  padding-top: 29px;
  padding-bottom: 29px;
}

.proof strong {
  font-size: 30px;
  display: block;
  line-height: 1.25;
  margin-bottom: 7px;
}

.proof span,.proof a {
  font-size: 14px;
  line-height: 1.5;
  display: block;
  max-width: 235px;
}

.section {
  padding: 70px 0;
}

.section+.section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p {
  max-width: 350px;
  margin-bottom: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.card {
  background: var(--pale);
  padding: 32px;
  border-radius: 5px;
  border: 1px solid #e1eaed;
}

.card .eyebrow {
  margin-bottom: 25px;
}

.card p {
  color: var(--muted);
}

.card a {
  overflow-wrap: anywhere;
}

.textlink {
  font-size: 16px;
  font-weight: 700;
  display: inline-block;
}

.promise {
  background: var(--navy);
  padding: 80px 0;
  color: white;
  margin: 10px 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
}

.promise .eyebrow {
  color: var(--bright);
}

.promise h2 {
  font-size: 48px;
}

.large {
  font-size: 23px;
  line-height: 1.55;
}

.promise .micro {
  color: #cadce5;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.calculator {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 5px;
}

.number {
  font-size: 66px;
  letter-spacing: -2px;
  font-weight: 700;
  line-height: 1.25;
}

.number span {
  font-size: 17px;
  display: block;
  letter-spacing: 0;
  font-weight: 400;
  margin: 3px 0 24px;
}

.calculator hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 26px 0;
}

.page-head {
  padding: 64px 0 44px;
}

.page-head h1 {
  max-width: 920px;
  font-size: 54px;
}

.content {
  padding-bottom: 60px;
}

.content>.section:first-child {
  padding-top: 10px;
}

.content>.cards {
  margin-bottom: 35px;
}

.content>.section:last-child {
  padding-bottom: 10px;
}

.price-card {
  padding: 40px;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.price-card:nth-child(2) {
  border-top: 5px solid var(--green);
  padding-top: 36px;
}

.price {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.price span {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}

.price-card h2 {
  font-size: 30px;
}

.price-card ul {
  padding-left: 22px;
  line-height: 1.7;
  margin: 24px 0 30px;
}

.price-card li {
  margin: 8px 0;
}

.note {
  padding: 22px 26px;
  background: #eff6fb;
  border-left: 4px solid #3d718f;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  line-height: 1.65;
  margin: 26px 0;
  color: #284e65;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 22px;
}

input,select,textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 48px;
  background: white;
  border: 1px solid #a1b4bf;
  border-radius: 4px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 17px;
}

textarea {
  resize: vertical;
}

.results {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  padding-top: 15px;
}

.results span {
  font-size: 14px;
  display: block;
}

.results strong {
  font-size: 33px;
  line-height: 1.5;
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 5px;
  margin: 15px 0 24px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
  text-align: left;
}

th,td {
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

thead {
  background: var(--navy);
  color: white;
}

tbody th {
  font-weight: 600;
  width: 40%;
}

tbody tr:nth-child(even) {
  background: var(--pale);
}

tbody tr:last-child td,tbody tr:last-child th {
  border-bottom: none;
}

.resource-links {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.cta-band {
  background: var(--green);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 55px max(36px,calc((100% - 1240px)/2));
}

.cta-band .eyebrow {
  color: var(--bright);
}

.cta-band h2 {
  margin-bottom: 13px;
}

.cta-band p {
  margin: 0;
  max-width: 680px;
}

.cta-band .button {
  flex-shrink: 0;
}

footer {
  background: var(--navy);
  color: #c2d4df;
  padding: 60px 0 25px;
}

footer a {
  color: #dce9ef;
  text-decoration: none;
  font-size: 15px;
}

footer .brand {
  color: white;
  font-size: 34px;
}

footer .brand b {
  color: var(--bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 70px;
}

.footer-grid>div>a {
  display: block;
  margin-bottom: 11px;
}

.footer-grid p {
  font-size: 15px;
}

.footer-grid h3 {
  font-size: 16px;
  letter-spacing: 0;
  margin-bottom: 20px;
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #ffffff25;
  padding-top: 24px;
  margin-top: 38px;
  font-size: 12px;
  line-height: 1.7;
}

.skip {
  position: absolute;
  left: 15px;
  top: -100px;
  z-index: 30;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

.search-label {
  max-width: 700px;
  margin-bottom: 35px;
}

@media(max-width:1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav nav {
    gap: 16px;
  }
  .nav nav a {
    font-size: 14px;
  }
  .brand {
    font-size: 29px;
  }
  .brand small {
    font-size: 9px;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .cards {
    gap: 16px;
  }
  .card {
    padding: 25px;
  }
  .promise-grid {
    gap: 50px;
  }
  .promise h2 {
    font-size: 40px;
  }
  .two-col {
    gap: 30px;
  }
  .results strong {
    font-size: 29px;
  }
}

@media(max-width:850px) {
  .nav {
    min-height: 80px;
    flex-wrap: wrap;
    padding: 15px 0;
    gap: 15px;
  }
  .menu-toggle {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 16px;
    color: var(--ink);
    font-size: 15px;
  }
  .nav nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0;
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    padding: 13px;
    font-size: 16px;
  }
  .hero {
    padding-top: 40px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-art {
    max-width: 680px;
  }
  .proof {
    grid-template-columns: 1fr 1fr;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 30px;
  }
  .promise-grid,.two-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .promise h2 br {
    display: none;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 20px;
    max-width: 650px;
  }
  .section-heading>.textlink {
    margin-top: 20px;
  }
  .section {
    padding: 50px 0;
  }
  .page-head h1 {
    font-size: 43px;
  }
  .page-head {
    padding-top: 45px;
  }
  .footer-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }
  .cta-band {
    padding: 45px 24px;
    flex-direction: column;
    align-items: start;
  }
  .utility .wrap>span {
    display: none;
  }
  .utility .wrap {
    justify-content: flex-end;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-bottom: 10px;
  }
  thead th {
    white-space: normal;
    min-width: 130px;
  }
  .price-grid {
    gap: 24px;
  }
  .results {
    gap: 16px;
  }
  .results strong {
    font-size: 27px;
  }
}

@media(max-width:480px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero .lede {
    font-size: 18px;
  }
  .photo-label {
    padding: 22px;
  }
  .photo-label strong {
    font-size: 24px;
  }
  .proof {
    gap: 25px 15px;
  }
  .proof strong {
    font-size: 27px;
  }
  .proof span,.proof a {
    font-size: 13px;
  }
  .form-row,.results {
    grid-template-columns: 1fr;
  }
  .results {
    gap: 20px;
  }
  .calculator,.price-card {
    padding: 25px;
  }
  .price-card:nth-child(2) {
    padding-top: 21px;
  }
  .page-head h1 {
    font-size: 37px;
  }
  .promise {
    padding: 50px 0;
  }
  .promise h2 {
    font-size: 37px;
  }
  .large {
    font-size: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid>div:first-child {
    grid-column: auto;
  }
  .actions .button {
    width: 100%;
  }
  .utility a {
    margin-left: 20px;
  }
  .brand small {
    font-size: 9px;
  }
  .content {
    padding-bottom: 40px;
  }
  th,td {
    padding: 15px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

[hidden] {
  display: none!important;
}

.application-draft {
  max-width: 950px;
  margin: auto;
}

.application-question {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.application-question h3 {
  font-size: 21px;
  letter-spacing: -.4px;
  line-height: 1.5;
  max-width: 850px;
}

.application-question input[type=radio],.application-question input[type=checkbox] {
  display: inline-block;
  width: 19px;
  height: 19px;
  min-height: 0;
  margin: 10px 8px 10px 0;
  vertical-align: middle;
  accent-color: var(--green);
}

.application-question input[type=text],.application-question input[type=email],.application-question textarea,.application-question select {
  max-width: 650px;
}

.application-question table {
  font-size: 16px;
  max-width: 100%;
  table-layout: fixed;
}

.application-question table td {
  border: 0;
  overflow-wrap: anywhere;
  padding: 10px 12px 10px 0;
}

.application-question table input {
  max-width: 100%;
}

.application-question span {
  font-size: inherit!important;
}

.application-question .number1 {
  color: var(--green);
  font-weight: bold;
}

.application-question br {
  line-height: 1.8;
}

.application-question ul {
  padding-left: 25px;
}

.application-question a {
  overflow-wrap: anywhere;
}

@media(max-width:600px) {
  .application-question table,.application-question tbody,.application-question tr,.application-question td {
    display: block;
    width: 100%;
  }
  .application-question h3 {
    font-size: 19px;
  }
}

/* Coordinated topic photography */
.page-head-with-photo {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 55px;
}

.page-head-with-photo h1 {
  font-size: clamp(37px,4.2vw,54px);
}

.page-topic-photo {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
}

.page-head-copy .lede {
  margin-bottom: 0;
}

@media(max-width:850px) {
  .page-head-with-photo {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-topic-photo {
    height: 330px;
    max-width: 700px;
  }
  .page-head-with-photo h1 {
    font-size: 43px;
  }
}

@media(max-width:480px) {
  .page-topic-photo {
    height: 240px;
  }
  .page-head-with-photo h1 {
    font-size: 37px;
  }
}

/* Deep content and resource navigation */
.eligibility-message {
  padding: 15px 18px;
  margin: 12px 0 24px;
  border-left: 4px solid var(--green);
  background: white;
  color: var(--ink);
  font-size: 16px;
}

.price-card .eyebrow {
  max-width: 360px;
  letter-spacing: 1px;
}

.nav-resources {
  position: relative;
  align-self: center;
}

.nav-resources summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 0;
}

.nav-resources summary::-webkit-details-marker {
  display: none;
}

.nav-resources summary:focus-visible,summary:focus-visible {
  outline: 3px solid #e5a100;
  outline-offset: 4px;
}

.nav-resource-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 285px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: 0 10px 28px #102b4020;
  padding: 12px;
  z-index: 20;
}

.nav-resource-menu a {
  display: block;
  padding: 10px 12px!important;
  white-space: normal!important;
}

.nav-resource-menu a:hover {
  background: var(--pale);
}

.related-topics,.application-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 35px;
}

.related-topics a,.application-jumps a {
  font-size: 15px;
  font-weight: 600;
}

.directory-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
  max-width: 950px;
  margin-bottom: 12px;
}

.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 22px;
}

.alphabet button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 3px;
  min-width: 38px;
  min-height: 42px;
  color: var(--ink);
  font-size: 15px;
  cursor: pointer;
}

.alphabet button[aria-pressed=true] {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.directory-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0;
}

.button:disabled {
  opacity: .45;
  cursor: default;
}

.directory table th:first-child {
  width: 46%;
}

.directory table {
  font-size: 15px;
}

.directory #directory-status {
  font-size: 15px;
}

.resource-detail {
  background: var(--pale);
  border: 1px solid var(--line);
  padding: 20px 24px;
  border-radius: 5px;
  margin: 25px 0;
}

.resource-detail summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
}

.resource-detail p {
  margin: 20px 0 0;
}

.agreement-layout {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr);
  gap: 50px;
}

.agreement-nav {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.agreement-nav h3 {
  font-size: 19px;
}

.agreement-nav a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 11px;
}

.agreement-text {
  max-width: 830px;
}

.agreement-text p {
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.agreement-text h2 {
  font-size: 27px;
  margin: 38px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  letter-spacing: -.45px;
}

.article-meta {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-bottom: 25px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 65px;
}

.reading-column {
  max-width: 800px;
}

.reading-column>.section {
  padding: 32px 0;
}

.reading-column>.section:first-child {
  padding-top: 0;
}

.reading-column h2 {
  font-size: 30px;
}

.article-aside {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 25px;
  font-size: 15px;
}

.article-aside h3 {
  font-size: 21px;
}

.article-aside hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}

.sitemap-group {
  padding: 35px 0 45px;
  border-top: 1px solid var(--line);
}

.sitemap-group h2 {
  font-size: 32px;
}

.sitemap-group .card {
  padding: 25px;
}

.sitemap-group .card h3 {
  font-size: 21px;
}

.sitemap-group .card p {
  font-size: 15px;
  margin-bottom: 0;
}

.resource-hero {
  max-width: 700px;
  margin-bottom: 35px;
}

.application-group {
  border: 1px solid var(--line);
  border-radius: 5px;
  margin-bottom: 20px;
  scroll-margin-top: 120px;
}

.application-group>summary {
  background: var(--pale);
  padding: 22px 26px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.application-group>.application-question {
  margin: 0 26px;
  padding: 25px 0;
}

.application-group>.application-question:last-child {
  border-bottom: none;
}

.steps li {
  margin: 0 0 20px;
  line-height: 1.7;
}

.steps {
  padding-left: 26px;
}

.calculator fieldset {
  border: 1px solid var(--line);
  padding: 20px;
  margin: 10px 0 25px;
}

.calculator fieldset label {
  margin: 8px 0;
}

.calculator fieldset input[type=checkbox] {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-height: 0;
  vertical-align: middle;
  margin: 0 7px 0 0;
  accent-color: var(--green);
}

.form-row:has(#company-people) {
  grid-template-columns: 1fr 1fr 1fr;
}

@media(max-width:1150px) {
  .nav nav {
    gap: 12px;
  }
  .nav nav a,.nav-resources summary {
    font-size: 13px;
  }
  .nav {
    gap: 20px;
  }
  .brand {
    font-size: 27px;
  }
  .brand small {
    letter-spacing: .8px;
  }
}

@media(max-width:1000px) {
  .menu-toggle {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 10px 16px;
    color: var(--ink);
    font-size: 15px;
  }
  .nav {
    flex-wrap: wrap;
    padding: 15px 0;
    min-height: 80px;
  }
  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav a {
    font-size: 16px;
    padding: 13px;
  }
  .nav-resources {
    align-self: stretch;
  }
  .nav-resources summary {
    font-size: 16px;
    padding: 13px;
  }
  .nav-resource-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-bottom: 15px;
  }
  .agreement-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .agreement-nav {
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px;
    max-height: 330px;
    overflow: auto;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .article-aside {
    max-width: 800px;
  }
}

@media(max-width:600px) {
  .directory-controls,.form-row:has(#company-people) {
    grid-template-columns: 1fr;
  }
  .directory-pager {
    gap: 10px;
    flex-wrap: wrap;
  }
  .directory-pager .button {
    padding: 10px 15px;
  }
  .directory table {
    min-width: 620px;
  }
  .application-group>summary {
    font-size: 18px;
    padding: 18px;
  }
  .application-group>.application-question {
    margin: 0 18px;
  }
  .related-topics,.application-jumps {
    gap: 12px 16px;
  }
  .sitemap-group h2 {
    font-size: 28px;
  }
  .agreement-text h2 {
    font-size: 24px;
  }
}

.video-frame {
  aspect-ratio: 16/9;
  max-width: 900px;
  background: var(--navy);
  border-radius: 5px;
  overflow: hidden;
  margin: 25px 0;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.company-video {
  margin-top: 35px;
}

/* Annual provider comparison */
.comparison-intro {
  padding-top: 0;
}

.comparison-ranking table {
  min-width: 720px;
}

.comparison-ranking th:first-child {
  width: 35%;
}

.comparison-ranking td {
  font-variant-numeric: tabular-nums;
}

.comparison-ranking .annual-total {
  font-weight: 700;
  font-size: 22px;
  white-space: nowrap;
  color: var(--navy);
}

.comparison-featured {
  background: var(--pale);
}

.comparison-featured th:first-child {
  border-left: 4px solid var(--green);
}

.comparison-ranking .comparison-featured .annual-total {
  color: var(--green);
}

.provider-rank {
  display: inline-block;
  margin-right: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.comparison-detail table {
  min-width: 1150px;
  font-size: 15px;
}

.comparison-detail th {
  min-width: 120px;
}

.comparison-detail th:first-child {
  min-width: 180px;
}

.comparison-detail td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.comparison-detail td small {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 5px;
}

.note p:last-of-type {
  margin-bottom: 15px;
}

/* Consistent planning worksheets */
.application-question h3 {
  font-size: 19px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.application-question input:not([type=radio]):not([type=checkbox]),.application-question select,.application-question textarea {
  display: block;
  width: 100%;
  max-width: 600px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  margin: 10px 0;
}

.application-question input[type=radio],.application-question input[type=checkbox] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 10px 7px 10px 0;
  accent-color: var(--green);
}

.planner-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.planner-controls>div {
  min-width: 100px;
  flex: 1;
}

.application-question>div {
  font-size: 16px;
  line-height: 1.9;
}

.application-group>summary {
  color: var(--navy);
}

.table-wrap table th.complete-highlight {
  background: #ffeb00;
  color: #102a43;
}

.comparison-ranking .comparison-featured>th,.comparison-ranking .comparison-featured>td,.comparison-detail .comparison-featured>th,.comparison-detail .comparison-featured>td {
  background: #ffeb00;
  color: #102a43;
}

.comparison-ranking .comparison-featured .annual-total,.comparison-featured .provider-rank,.comparison-featured small {
  color: #102a43;
}

.custodian-highlight {
  background: #ffeb00;
  color: #102a43;
  padding: .1em .2em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.comparison-basis-highlight {
  background: #ffeb00;
  color: #102a43;
  font-weight: 700;
  padding: .15em .25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Preserve readable navigation and proof text at smaller widths. */
@media(min-width:1001px) and (max-width:1280px) {
  .nav {
    gap: 16px;
  }
  .nav nav {
    gap: 12px;
  }
  .nav nav a,.nav-resources summary {
    font-size: 14px;
  }
  .brand {
    font-size: 27px;
  }
}

@media(max-width:480px) {
  .proof span,.proof a {
    font-size: 14px;
  }
}


/* Original 401K Easy artwork, shared by every header and footer. */
.brand img {
  display: block;
  width: 230px;
  max-width: 100%;
  height: auto;
}
footer .brand.inverse {
  display: inline-block;
  background: #fff;
  padding: 8px;
}


/* Footer social links, shared by all current pages. */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 0;
  margin-top: 30px;
}

.footer-social a {
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 12px;
  line-height: 1.5;
}

.footer-social a:first-child {
  padding-left: 0;
}

.footer-social a + a {
  border-left: 1px solid #c2d4df;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: white;
  text-decoration-thickness: 2px;
}

.footer-social + .footer-bottom {
  margin-top: 20px;
}