.science-statement {
  max-width: 900px;
}

.science-statement h2 {
  max-width: 780px;
}

.science-statement > div > p:not(.eyebrow):not(.clinical-caveat) {
  max-width: 850px;
  color: #486665;
  font-size: 1.1rem;
}

.ledger-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.ledger-header span {
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero {
  padding-top: 25px;
}

.hero h1 {
  font-size: 3.25rem;
}

#main .section h2 {
  font-size: 3.25rem;
}

#product h2 {
  color: var(--ink);
}

#product .split {
  align-items: center;
}

.split,
.employer-heading,
.video-grid,
.savings-intro,
.mission-grid,
.partner-box,
.faq-grid {
  align-items: center;
}

#product .steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-content: start;
}

#product .steps article > span {
  align-self: center;
}

#product .steps h3 {
  align-self: center;
  margin: 0;
}

#product .steps p {
  grid-column: 1 / -1;
  margin-top: 18px;
}

h1 {
  color: var(--ink);
}

.brand small {
  display: block;
  margin-top: -7px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
}

.site-header .brand > span {
  display: block;
  width: fit-content;
}

.site-header .brand-name {
  display: block;
  color: var(--green);
  background: linear-gradient(90deg, #d01625 0%, #e25412 43%, #ff822e 76%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: Archivo, sans-serif;
  font-size: 35px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.15;
  padding-bottom: 1px;
}

.hero-report {
  margin: 0;
  padding: 10px;
  border-radius: 0;
  cursor: zoom-in;
  transform: rotate(1deg);
}

.hero-report img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.report-dialog {
  width: min(1200px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.report-dialog::backdrop {
  background: rgba(5, 25, 29, .82);
  backdrop-filter: blur(7px);
}

.report-dialog-content {
  position: relative;
  display: grid;
  place-items: center;
}

.report-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 32px);
  width: auto;
  height: auto;
  border-radius: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .38);
}

.report-dialog-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font: 700 .82rem "DM Sans", sans-serif;
  cursor: pointer;
}

/* Subtle waves soften the background-color transitions between sections. */
.trust-strip,
#product,
.employer-section,
.cdc-section,
.science,
.savings-section,
.mission,
.partner,
.faq {
  position: relative;
}

.trust-strip { --wave-color: var(--ink); }
#product,
.employer-section { --wave-color: #fff; }
.cdc-section { --wave-color: var(--ink); }
.science { --wave-color: var(--mint); }
.savings-section,
.partner { --wave-color: var(--cream); }
.mission { --wave-color: var(--green); }
.faq { --wave-color: #fff; }

.trust-strip::before,
#product::before,
.employer-section::before,
.cdc-section::before,
.science::before,
.savings-section::before,
.mission::before,
.partner::before,
.faq::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -33px;
  left: 0;
  width: 100%;
  height: 34px;
  background: var(--wave-color);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 34' preserveAspectRatio='none'%3E%3Cpath d='M0 17C166 2 334 2 500 17S834 32 1000 17V34H0Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 34' preserveAspectRatio='none'%3E%3Cpath d='M0 17C166 2 334 2 500 17S834 32 1000 17V34H0Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 34px;
  mask-size: 100% 34px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}

@media (max-width: 560px) {
  .hero h1,
  .community-hero h1 {
    font-size: 2.65rem;
  }

  #main .section h2 {
    font-size: 2.5rem;
  }

  .trust-strip::before,
  #product::before,
  .employer-section::before,
  .cdc-section::before,
  .science::before,
  .savings-section::before,
  .mission::before,
  .partner::before,
  .faq::before {
    top: -19px;
    height: 20px;
    -webkit-mask-size: 100% 20px;
    mask-size: 100% 20px;
  }
}

.mission-card-link {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 4px;
}

.mission-card-link:hover {
  color: #bfe6d8;
}

.partner-text-link {
  display: block;
  width: fit-content;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.partner-box {
  align-items: center;
}

.faq-community-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 4px;
}

.community-hero {
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(145deg, #fbfaf6, #edf7f2);
}

.community-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 80px;
}

.community-hero h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.3rem);
}

.community-status-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,45,49,.1);
}

.community-status-card > span,
.community-option-grid article > span {
  color: var(--coral);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.community-status-card h2 {
  margin: 18px 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.community-status-card p,
.community-option-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.community-unit-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,45,49,.16);
}

.community-unit-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.community-hero-media .button-row {
  margin-bottom: 0;
}

.community-placeholder-section {
  background: var(--cream);
}

.community-placeholder-section > .container > h2 {
  max-width: 760px;
}

.community-section-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.community-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 55px;
}

.community-option-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.community-option-grid h3 {
  margin: 34px 0 12px;
}

.sponsor-price {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font: 800 2rem Manrope, sans-serif;
}

.community-option-grid h4 {
  margin: 24px 0 10px;
  font: 700 .8rem Manrope, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.community-option-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .88rem;
}

.community-option-grid li {
  margin-bottom: 6px;
}

.community-sponsor-cta {
  margin-top: 32px;
}

.site-header nav button.nav-cta {
  border: 0;
  color: #fff;
  background: var(--ink);
  font: 600 .92rem "DM Sans", sans-serif;
  cursor: pointer;
}

.community-option-grid article .button {
  width: 100%;
  margin-top: 24px;
  padding-inline: 16px;
  font-size: .88rem;
}

.community-sponsor-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 35px 120px rgba(5,25,29,.35);
}

.community-sponsor-dialog::backdrop {
  background: rgba(5,25,29,.72);
  backdrop-filter: blur(7px);
}

.community-sponsor-modal {
  position: relative;
  padding: 42px;
}

.community-sponsor-modal > h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.community-sponsor-modal > p:not(.eyebrow) {
  color: var(--muted);
}

.community-plan-options {
  display: grid;
  gap: 10px;
  margin: 28px 0 22px;
  padding: 0;
  border: 0;
}

.community-plan-options legend,
.community-email-label {
  margin-bottom: 10px;
  font-weight: 700;
}

.community-plan-options label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.community-plan-options label:has(input:checked) {
  border-color: var(--green);
  background: var(--mint);
}

.community-plan-options input {
  accent-color: var(--green);
}

.community-plan-options strong,
.community-plan-options small {
  display: block;
}

.community-plan-options small {
  color: var(--muted);
}

.community-plan-options b {
  color: var(--green);
}

.community-email-label {
  display: block;
}

.community-email-label input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #b8c9c6;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.community-email-label input:focus {
  outline: 3px solid rgba(14,101,92,.16);
  border-color: var(--green);
}

#community-sponsor-form > .button {
  margin-top: 8px;
}

.community-form-status {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .8rem;
}

.community-process {
  color: #fff;
  background: var(--green);
}

.community-process-list {
  display: grid;
  gap: 16px;
}

.community-process-list div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.community-process-list strong,
.community-process-list span {
  display: block;
}

.community-process-list span {
  color: #d3e7e2;
}

.legal-hero {
  padding: 75px 0 65px;
  background: linear-gradient(145deg, #fbfaf6, #edf7f2);
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 5vw, 4.8rem);
}

.legal-hero p:last-child {
  color: var(--muted);
}

.legal-content {
  padding: 85px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 85px;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 115px;
  padding: 26px;
  border-left: 4px solid var(--coral);
  border-radius: 0 16px 16px 0;
  background: var(--cream);
}

.legal-summary strong {
  font: 700 1.05rem Manrope, sans-serif;
}

.legal-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.legal-copy {
  max-width: 780px;
}

.legal-copy > p:first-child {
  color: #365255;
  font-size: 1.15rem;
}

.legal-copy h2 {
  margin: 52px 0 14px;
  font-size: clamp(1.65rem, 2.7vw, 2.25rem);
  letter-spacing: -.025em;
}

.legal-copy h3 {
  margin: 25px 0 8px;
  font-size: 1.08rem;
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.legal-copy ul {
  padding-left: 24px;
}

.legal-copy li {
  margin-bottom: 7px;
}

.legal-copy a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 45px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: .82rem;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 35px;
  }

  .community-hero-grid,
  .community-option-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .community-hero-grid {
    gap: 45px;
  }

  .legal-layout {
    gap: 45px;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .community-sponsor-modal {
    padding: 58px 20px 24px;
  }

  .community-plan-options label {
    grid-template-columns: auto 1fr;
  }

  .community-plan-options b {
    grid-column: 2;
  }
}

.ledger-header strong {
  font-family: Manrope, sans-serif;
  font-size: .88rem;
}

.study-card {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: transform .25s, color .25s;
}

.study-card:hover {
  color: var(--green);
  transform: translateX(5px);
}

.study-number {
  color: var(--coral);
  font: 700 .7rem Manrope, sans-serif;
}

.study-card span strong,
.study-card span small {
  display: block;
}

.study-card span strong {
  font: 700 .88rem/1.35 Manrope, sans-serif;
}

.study-card span small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
}

.study-card b {
  color: var(--green);
  font-size: .7rem;
  white-space: nowrap;
}

.ledger-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 20px;
}

.ledger-inputs span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  font-size: .65rem;
}

.science-grid sup {
  margin-left: 2px;
  font-size: .65em;
}

.science-grid sup a {
  color: var(--green);
  font-weight: 800;
  text-underline-offset: 2px;
}

.clinical-caveat {
  padding: 15px 17px;
  border-left: 3px solid var(--coral);
  background: rgba(255,255,255,.55);
  font-size: .83rem !important;
}

.references {
  display: grid;
  grid-template-columns: .35fr 1.65fr;
  gap: 70px;
  margin-top: 74px;
  padding-top: 38px;
  border-top: 1px solid rgba(14,101,92,.22);
}

.references-heading h3 {
  margin: 0;
}

.references ol {
  margin: 0;
  padding-left: 24px;
}

.references li {
  padding: 0 0 12px 8px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.55;
}

.references li::marker {
  color: var(--green);
  font-weight: 700;
}

.references a {
  color: inherit;
  text-decoration-color: rgba(14,101,92,.35);
  text-underline-offset: 3px;
}

.references a:hover {
  color: var(--green);
}

@media (max-width: 900px) {
  .references {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 560px) {
  .evidence-ledger {
    padding: 20px;
  }

  .ledger-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .study-card {
    grid-template-columns: 25px 1fr;
  }

  .study-card b {
    display: none;
  }
}
