:root {
  color-scheme: light;
  --ink: #142231;
  --muted: #435569;
  --paper: #f4f4f5;
  --line: #d4dde6;
  --blue: #e7edf4;
  --orange: #ff7540;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #1b6596; outline-offset: 4px; }
.shell { width: min(100% - 40px, 1176px); margin-inline: auto; }
.skip { position: absolute; left: .5rem; top: .5rem; transform: translateY(-200%); background: white; padding: .5rem; z-index: 1; }
.skip:focus { transform: none; }
.header { display: flex; justify-content: space-between; align-items: center; min-height: 68px; gap: 1rem; }
.header nav { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; font-size: .875rem; font-weight: 650; }
.header nav a, .footer a, .button { text-decoration: none; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.logo { display: block; width: 172px; height: auto; margin-left: -10px; }
.hero { background: linear-gradient(90deg, #142231ed, #1422318c), url('assets/hero-wide.png') center/cover; color: white; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 7vw, 6rem); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.06; letter-spacing: -.04em; margin-block: .7rem 1rem; }
h2 { font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.2; }
h3 { font-size: 1.05rem; }
p { margin-block: .55rem .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .75rem; font-weight: 750; }
.promise { font-weight: 750; font-size: 1.25rem; margin-top: 1.4rem; }
.signup { background: #14223166; border: 1px solid #ffffff55; border-radius: .5rem; padding: 1.4rem; }
.signup .button { display: flex; margin-top: .7rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem .9rem; border-radius: .3rem; font-weight: 700; }
.primary { background: var(--orange); color: var(--ink); }
.secondary { border: 1px solid currentColor; }
.button:hover { text-decoration: underline; }
.section { padding-block: 2rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.steps article, .feature { background: var(--blue); border-radius: .35rem; padding: 1rem; }
.steps p, .feature p { color: var(--muted); margin-bottom: 0; }
.feature { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.text-link { font-weight: 700; }
.placeholder { display: grid; align-content: center; min-height: 56vh; padding-block: 4rem; border-top: 1px solid var(--line); }
.placeholder h1 { margin-top: .3rem; }
.placeholder .message { max-width: 38rem; color: var(--muted); }
.placeholder .button { justify-self: start; margin-top: 1rem; }
.content-page { min-height: 55vh; padding-block: 2.5rem 4rem; border-top: 1px solid var(--line); }
.content-page > p { max-width: 42rem; }
.content-page details { max-width: 42rem; border-bottom: 1px solid var(--line); padding-block: .9rem; }
.content-page summary { cursor: pointer; font-weight: 700; }
.content-page .steps h2 { font-size: 1.15rem; }
.directory { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); gap: 1.5rem; margin-top: 2rem; }
.directory section { padding-top: .8rem; border-top: 1px solid var(--line); }
.directory h2 { font-size: 1.1rem; }
.directory ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.directory li + li { margin-top: .3rem; }
.interest-form { max-width: 32rem; margin-top: 1.5rem; background: white; border-radius: .5rem; padding: 1.25rem; }
.interest-form label { display: block; font-weight: 700; margin-bottom: .9rem; }
.interest-form input, .interest-form select { display: block; width: 100%; margin-top: .3rem; min-height: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: .3rem; padding: .5rem; font: inherit; font-weight: 400; }
.interest-form button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.interest-form button:disabled { opacity: .65; cursor: wait; }
.interest-form :focus-visible { outline: 3px solid #1b6596; outline-offset: 3px; }
.footer { border-top: 1px solid var(--line); padding-block: 1rem 2rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 3rem; margin-top: .8rem; }
.footer h2 { font-size: .9rem; margin-bottom: .45rem; }
.footer-grid a { display: block; font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.home-footer .logo { width: 223.6px; }
.footer-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.25rem;
  /* Align with the wordmark after the orange logo mark. */
  margin-inline-start: 66px;
  margin-top: .8rem;
}
.footer-menu .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem clamp(1rem, 3vw, 3rem);
  margin-top: 0;
}
.footer-socials { display: flex; gap: .7rem; color: var(--ink); }
.footer-socials svg { width: 1.35rem; height: 1.35rem; }
.footer > .footer-socials { display: none; }
@media (max-width: 850px) {
  .footer-menu .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .footer-menu { grid-template-columns: minmax(0, 1fr); }
  .footer-socials { justify-self: end; }
}
@media (max-width: 720px) {
  .header { gap: .5rem; flex-wrap: wrap; padding-bottom: .7rem; }
  .header nav { gap: .5rem 1rem; }
  .hero { background: linear-gradient(#14223196, #142231f5), url('assets/hero-mobile.png') top center/100% auto no-repeat, var(--ink); }
  .hero-grid, .steps { grid-template-columns: 1fr; }
  .feature { align-items: flex-start; flex-direction: column; }
  .footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
  .mobile-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 20px 1.75rem;
    background: var(--blue);
  }
  .mobile-footer > a { justify-self: start; max-width: 100%; }
  .mobile-footer .logo { width: 223.6px; max-width: 100%; }
  .mobile-footer .footer-menu { display: contents; }
  .mobile-footer .footer-socials { display: flex; grid-column: 2; grid-row: 1; }
  .mobile-footer .footer-grid {
    grid-column: 1 / -1;
    gap: 1.35rem 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
  }
  .mobile-footer h2 { margin-bottom: .2rem; font-size: .95rem; }
  .mobile-footer .footer-grid a {
    display: flex;
    align-items: center;
    min-height: 36px;
    margin-top: 0;
    font-size: .875rem;
  }
}

.profile-page { max-width: 1120px; }
.profile-panel { margin-block: 1.4rem; padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: .5rem; background: white; scroll-margin-top: 1rem; }
.profile-panel > p { color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.profile-page label { display: block; font-weight: 650; }
.profile-page input:not([type="checkbox"]), .profile-page select, .profile-page textarea { display: block; width: 100%; margin-top: .25rem; min-height: 44px; border: 1px solid var(--line); border-radius: .3rem; padding: .5rem; font: inherit; font-weight: 400; color: var(--ink); background: white; }
.profile-page textarea { min-height: 6rem; resize: vertical; }
.profile-page button { font: inherit; font-weight: 700; cursor: pointer; }
.profile-page button.primary { border: 1px solid transparent; }
.profile-page button.secondary { background: white; color: var(--ink); }
.profile-page :disabled { cursor: default; opacity: .68; }
.profile-page :focus-visible { outline: 3px solid #1b6596; outline-offset: 3px; }
.profile-page .is-required, .profile-legend span.is-required { background: #fff4cb; }
.profile-page .is-imported, .profile-legend span.is-imported { background: #e4f4e9; }
.profile-actions, .profile-source { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem 1rem; }
.profile-actions label { flex: 1 1 17rem; }
.profile-actions[hidden] { display: none; }
.profile-source { justify-content: space-between; margin-top: .55rem; font-size: .9rem; }
.profile-legend { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; }
.profile-legend span { padding: .2rem .4rem; border-radius: .2rem; }
.profile-check { display: flex !important; align-items: flex-start; gap: .45rem; margin-block: .85rem; }
.profile-check input { margin-top: .35em; }
.profile-preview { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .35rem .75rem; overflow-wrap: anywhere; }
.profile-preview dt { font-weight: 700; }
.profile-preview dd { margin: 0; }
.lookup-results { display: grid; gap: .45rem; padding: 0; list-style: none; }
.lookup-results:empty, .profile-page [role="status"]:empty { display: none; }
.profile-field-note { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
@media (max-width: 720px) {
  .profile-grid { grid-template-columns: minmax(0, 1fr); }
}

.member-login { max-width: 34rem; margin-inline: auto; }
.member-login h1, .member-heading h1 { margin-top: .35rem; }
.member-auth { max-width: none; border: 1px solid var(--line); }
.member-actions, .member-heading { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.member-heading { justify-content: space-between; }
.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.member-grid[hidden] { display: none; }
.members-page .button[hidden] { display: none; }
.member-grid .profile-panel { margin: 0; overflow-wrap: anywhere; }
.member-summary { grid-column: 1 / -1; }
.member-state { display: inline-block; background: var(--blue); padding: .25rem .55rem; border-radius: .25rem; font-size: .875rem; font-weight: 700; }
.members-page button.secondary { background: white; color: var(--ink); border: 1px solid currentColor; cursor: pointer; }
.members-page :focus-visible { outline: 3px solid #1b6596; outline-offset: 3px; }
@media (max-width: 720px) {
  .member-grid { grid-template-columns: minmax(0, 1fr); }
}

.interest-confirmation:not(:target), .interest-confirmation:target ~ .registration-prompt { display: none; }
.interest-confirmation { margin-block: 1.2rem; scroll-margin-top: 1rem; }

#how { border-block: 1px solid var(--line); }
.home .desktop-navigation { font-weight: 400; }
.home .desktop-navigation a {
  display: grid;
  justify-items: start;
  border-bottom: 2px solid transparent;
}
.home .desktop-navigation a::before {
  /* Reserve the link width at its hover weight. */
  content: attr(data-label) / "";
  font-weight: 600;
  visibility: hidden;
}
.home .desktop-navigation a::before, .home .desktop-navigation a span { grid-area: 1 / 1; }
.home .desktop-navigation a:hover, .home .desktop-navigation a:focus-visible {
  font-weight: 600;
  border-bottom-color: var(--orange);
  text-decoration: none;
}
.mobile-navigation { display: none; }
.home .hero {
  background: linear-gradient(90deg, #142231f5, #142231d1 46%, #1422314d), url('assets/hero-wide.png') center/cover, var(--ink);
}
.home .hero-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.home .hero h1 { font-size: clamp(2rem, 4.6vw, 3.75rem); margin-top: 0; }
.home .hero h1 span { display: block; }
.hero-description { max-width: 36rem; font-size: clamp(1rem, 1.65vw, 1.125rem); }
.home .promise {
  max-width: 36rem;
  padding-top: .8rem;
  border-top: 1px solid #ffffff52;
  font-weight: 600;
  font-size: .95rem;
}
.home .signup {
  container-type: inline-size;
  background: #142231eb;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  padding-inline: clamp(1rem, 2.4vw, 2.25rem);
  border-radius: .75rem;
}
.home .signup h2 { font-size: clamp(.9375rem, 6.7cqi, 1.8rem); letter-spacing: -.02em; }
.home .signup > p { color: #e7edf4; }
.hero-how-link {
  gap: .65rem;
  padding-inline: 1.1rem;
}
.hero-how-link::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: rotate(45deg);
}
.home .signup .button { justify-content: center; }
.home .signup .secondary { border-color: #ffffffa6; }
.home .signup .primary:hover { background: #ff9369; }
.home .hero .secondary:hover { background: #ffffff1a; }
.home .hero a:focus-visible { outline-color: #ffd2be; }
.step-list {
  --step-spacing: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
  padding: 0;
  margin-bottom: 0;
  gap: var(--step-spacing);
}
.step-list li + li {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: var(--step-spacing);
}
.step-marker {
  display: block;
  color: #b94b09;
  font-size: .8rem;
  font-weight: 750;
  margin-bottom: .2rem;
}
.step-list p { margin-top: .15rem; }
@media (max-width: 720px) {
  .step-list li + li {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
    padding-inline-start: 0;
    padding-block-start: var(--step-spacing);
  }
}
@media (max-width: 720px) {
  body { --mobile-header-height: 68px; }
  .header.has-mobile-navigation {
    flex-wrap: nowrap;
    width: 100%;
    min-height: var(--mobile-header-height);
    padding-inline: 20px;
    padding-bottom: 0;
    background: white;
  }
  .header.has-mobile-navigation > nav { display: none; }
  .mobile-navigation { display: block; }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .35rem .7rem;
    border: 0;
    border-radius: .3rem;
    background: var(--ink);
    color: white;
    font: 600 .875rem/1 system-ui, sans-serif;
    cursor: pointer;
  }
  .menu-toggle:focus-visible { outline: 3px solid #1b6596; outline-offset: 3px; }
  .menu-open {
    justify-content: center;
    min-width: 44px;
    background: transparent;
    color: #000;
  }
  .menu-glyph {
    width: 1.25rem;
    height: .9rem;
    border-block: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
  }
  .menu-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(85vw, 23rem);
    height: 100dvh;
    max-height: 100%;
    margin: 0;
    padding: 1rem clamp(1.25rem, 6vw, 2.5rem);
    border: 0;
    background: #f4f4f5f0;
    color: var(--ink);
    box-shadow: -12px 0 40px #14223138;
  }
  .menu-drawer::backdrop { background: #14223150; }
  .menu-close { margin-inline-start: auto; }
  .menu-close span { font-size: 1.25rem; }
  .header .menu-drawer nav {
    display: grid;
    gap: .3rem;
    margin-block: clamp(1.5rem, 14vh, 6rem) 1rem;
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
    font-weight: 400;
  }
  .menu-drawer nav a { display: flex; align-items: center; min-height: 44px; }
  .header .menu-drawer .member-navigation {
    margin-block: 1rem;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
  }
  .header .menu-drawer [hidden] { display: none; }
  .home .hero {
    background: linear-gradient(#142231b3, #142231dd 68%, #142231e6), url('assets/hero-mobile.png') top center/100% auto no-repeat, var(--ink);
  }
  .home .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-height: calc(100dvh - var(--mobile-header-height));
    gap: 1rem;
    padding-block: clamp(3.25rem, 9vw, 4rem) 1.25rem;
  }
  .home .hero h1 { margin-bottom: 0; font-size: clamp(1.4rem, 7.25vw, 3.75rem); }
  .home .hero-description { margin-block: 2lh 1lh; }
  .home .promise { margin-top: 0; }
  .home .offer .hero-how-link { display: none; }
  .home .signup {
    --panel-inset: .75rem;
    margin-inline: calc(-1 * var(--panel-inset));
    padding-inline: calc(var(--panel-inset) - 1px);
    background: #142231d4;
  }
  .home .signup > p { margin-bottom: 1lh; }
}

.profile-page [hidden], #profile-sign-out { display: none; }
