/* Source guide: refresh.css
 * Final shared overrides.
 * Load order: base.css, components.css, page stylesheet, refresh.css.
 * Later rules intentionally refine earlier layouts; preserve cascade order.
 */

/* Shared editorial system: spacing, photography, evidence, and people. */
/* Group: Shared editorial refinements; this stylesheet loads after page styles. */
:root {
  --line: #dce5e3;
  --mint: #edf5ef;
  --beige: #f5f1e9;
}
.section {
  padding-block: clamp(64px, 7vw, 106px);
}
h1,
h2,
h3 {
  font-weight: 500;
}
h2 {
  letter-spacing: -0.035em;
}
.button {
  border-radius: 8px;
  font-weight: 500;
}
.nav-wrap {
  gap: 22px;
}
.brand {
  flex-shrink: 0;
}
.brand img {
  width: 180px;
  height: 48px;
  object-fit: contain;
}
.main-nav {
  gap: 18px;
}
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-actions {
  gap: 14px;
}
.footer-logo {
  background: white;
  border-radius: 5px;
  padding: 9px;
  width: 200px;
  height: 64px;
}
.footer-note a {
  color: inherit;
  text-decoration: underline;
}
/* Group: Section headings and story columns. */
.editorial-heading {
  max-width: 770px;
  margin: 0 auto 48px;
  text-align: center;
}
.editorial-heading p {
  max-width: 650px;
  margin: 20px auto 0;
}
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.story-split > * {
  min-width: 0;
}
.section-navy {
  background: #243d40;
  color: #fff;
}
.section-navy h2,
.section-navy p {
  color: #fff;
}
.story-copy p + p {
  margin-top: 20px;
}
.story-copy .button {
  margin-top: 24px;
}
.centered {
  justify-content: center;
  margin-top: 38px;
}
/* Group: Supporting organization logos. */
.trusted-band {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.trusted-band h2 {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 500;
}
.trusted-band p {
  margin: 20px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 36px;
  margin-top: 30px;
}
.trusted-logos img {
  width: 100%;
  height: 42px;
  object-fit: contain;
}
/* Group: Patient and clinician video presentation. */
.story-video {
  margin: 0;
  min-width: 0;
}
.story-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  background: #101d22;
  object-fit: cover;
}
.story-video figcaption {
  padding: 18px 0;
  display: grid;
  gap: 4px;
  font-size: 12px;
}
.story-video figcaption strong {
  font-size: 19px;
  font-weight: 500;
}
.story-video figcaption a {
  width: fit-content;
}
.portrait-video video {
  aspect-ratio: 16/9;
  object-fit: contain;
}
.stories-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
/* Group: Publication cards and visible study statistics. */
.research-card {
  background: #f1eee8;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #e1dbd0;
  border-radius: 22px;
}
.journal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #cbc8be;
  margin-bottom: 24px;
}
.journal-heading > span:first-child {
  font-family: Georgia, serif;
  font-size: 44px;
}
.journal-heading > span:last-child {
  font-size: 12px;
  text-align: right;
}
.research-card h3 {
  font-size: 24px;
  line-height: 1.35;
}
.research-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}
.research-numbers div {
  display: grid;
  gap: 3px;
}
.research-numbers strong {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 400;
}
.research-numbers span {
  font-size: 12px;
}
/* Group: Study group proportions; values remain readable without animation. */
.study-allocation {
  display: flex;
  overflow: hidden;
  border-radius: 6px;
  color: white;
  font-size: 10px;
  margin: 20px 0;
}
.study-allocation span {
  padding: 14px 8px;
  background: #356760;
  flex: 32;
}
.study-allocation span + span {
  background: #49416f;
  flex: 38;
}
.research-card > p {
  font-size: 12px;
}
.research-card .button {
  margin-top: 15px;
}
/* Group: Outcome rows and explanatory labels. */
.outcome-chart {
  padding: 28px;
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.outcome-chart > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.outcome-chart strong {
  color: #216253;
  font-size: 12px;
  font-weight: 500;
}
.outcome-chart .neutral strong {
  color: #67606e;
}
.outcome-chart h3 {
  margin-bottom: 15px;
}
.outcome-chart > p {
  margin-top: 18px;
}
.study > .research-card {
  margin: 30px 0;
}
/* Group: Company and app relationship. */
.brand-architecture {
  background: var(--mint);
  border-radius: 24px;
  padding: 50px;
  text-align: center;
}
.brand-architecture img {
  width: 250px;
  height: 75px;
  object-fit: contain;
  margin: auto;
}
.brand-architecture p {
  font-size: 13px;
  margin-top: 16px;
}
.brand-architecture > span {
  display: block;
  font-size: 36px;
  padding: 16px;
  color: #43847b;
}
/* Group: Team portraits, roles, and advisor cards. */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 25px;
}
.person-card img,
.team-initials {
  width: 100%;
  aspect-ratio: 4/4.5;
  object-fit: cover;
  border-radius: 15px;
}
.team-initials {
  display: grid;
  place-items: center;
  background: #e1e6e4;
  color: #566c67;
  font-size: 52px;
  font-weight: 400;
}
.person-card h3 {
  font-size: 20px;
  margin: 18px 0 5px;
}
.person-card p {
  font-size: 13px;
  margin: 10px 0;
}
.person-card .person-role {
  font-size: 12px;
  color: #3f665e;
}
.person-card a {
  font-size: 12px;
}
.advisor-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.advisor-grid img,
.advisor-grid .team-initials {
  aspect-ratio: 1.2;
  object-position: top;
}
.living-well-lockup {
  width: 180px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 18px;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #a9bab7;
  border-radius: 8px;
  background: #fff;
  min-height: 50px;
}
/* Group: Form focus, invalid states, and contact review spacing. */
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #38796e;
  box-shadow: 0 0 0 3px #38796e1c;
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.form-panel {
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.form-status .button {
  margin-top: 18px;
}
.form-status dl {
  overflow-wrap: anywhere;
}
.eligibility-chip {
  border: 1px solid #c0d9ce;
  padding: 8px 18px;
  display: inline-block;
  border-radius: 30px;
  color: #235b4b;
  font-size: 13px;
}
/* Group: Context for illustrative photography. */
.image-disclosure {
  font-size: 10px;
  margin-top: 22px;
  color: #58626b;
}
/* Viewport (max-width: 1200px): component adjustments at this breakpoint. */
@media (max-width: 1200px) {
  .main-nav {
    gap: 12px;
  }
  .nav-wrap {
    gap: 16px;
  }
  .brand img {
    width: 145px;
  }
  .nav-actions .plain-button {
    font-size: 12px;
  }
}
/* Viewport (max-width: 1100px): component adjustments at this breakpoint. */
@media (max-width: 1100px) {
  .nav-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .main-nav {
    display: none;
  }
  .main-nav.is-open {
    display: flex;
    position: fixed;
    inset: 80px 0 0;
    background: #fff;
    padding: 35px;
    flex-direction: column;
    align-items: stretch;
    z-index: 100;
    overflow-y: auto;
  }
  .main-nav.is-open a {
    font-size: 18px;
    padding: 9px 0;
  }
}
/* Viewport (max-width: 900px): component adjustments at this breakpoint. */
@media (max-width: 900px) {
  .story-split {
    grid-template-columns: 1fr;
  }
  .trusted-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editorial-heading {
    text-align: left;
  }
  .editorial-heading p {
    margin-left: 0;
  }
}
/* Viewport (max-width: 600px): component adjustments at this breakpoint. */
@media (max-width: 600px) {
  .people-grid,
  .advisor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 16px;
  }
  .person-card h3 {
    font-size: 17px;
  }
  .person-card p {
    font-size: 12px;
  }
  .stories-pair {
    grid-template-columns: 1fr;
  }
  .trusted-logos {
    gap: 24px;
  }
  .trusted-logos img {
    height: 32px;
  }
  .editorial-heading {
    margin-bottom: 32px;
  }
  .brand-architecture {
    padding: 30px;
  }
  .outcome-chart {
    padding: 20px;
  }
  .outcome-chart > div {
    gap: 12px;
    font-size: 12px;
  }
}
/* Accessibility: honor the visitor's reduced-motion preference. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .payer-track {
    transform: none !important;
  }
  .payer-carousel {
    overflow-x: auto;
  }
  .payer-group-copy {
    display: none;
  }
}
