/* Match the secondary pages to the homepage’s typography, surfaces, and spacing. */
.site-secondary main {
  --page-paper: #f6f8f4;
  --page-mist: #e9f0e9;
  --page-line: #d7e2dc;
  --page-ink: #102632;
  --page-teal: #21665f;
  background: #fff;
}

.site-secondary main > .page-head:not(.vision-hero),
.site-secondary main > .app-page-head {
  padding: clamp(36px, 6vw, 92px) 0;
  background: var(--page-paper);
  color: var(--page-ink);
  border-bottom: 1px solid var(--page-line);
}

.site-secondary main > .app-page-head::before,
.site-secondary main > .app-page-head::after {
  display: none;
}

.site-secondary main > .page-head .breadcrumb,
.site-secondary main > .app-page-head .breadcrumb {
  margin: 0 0 24px;
}

.site-secondary main > .page-head:not(.vision-hero) h1,
.site-secondary main > .app-page-head h1 {
  max-width: 20ch;
  margin: 0;
  color: var(--page-ink);
  font-size: clamp(2.5rem, 5.4vw, 4.65rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.site-secondary main > .page-head:not(.vision-hero) .lead,
.site-secondary main > .app-page-head .app-lead {
  max-width: 62ch;
  margin: 20px 0 0;
  color: #415662;
  line-height: 1.65;
}

.site-secondary .app-page-head :is(a, .app-eyebrow, .breadcrumb) {
  color: var(--page-teal);
}

.site-secondary main > .section,
.site-secondary main > .app-section {
  padding-block: clamp(48px, 6.2vw, 88px);
}

.site-secondary main > .section:is(.mist, .offwhite),
.site-secondary main > .app-offwhite {
  background-color: var(--page-mist);
}

.site-secondary :is(.card, .form-card, .app-card, .priority-card, .config-summary) {
  min-width: 0;
  border-radius: 10px;
  box-shadow: none;
}

.site-secondary :is(.form-card, .config-summary) {
  padding: clamp(18px, 3vw, 32px);
}

.site-secondary .form-card :is(input, select, textarea) {
  max-width: 100%;
}

.site-secondary .form-card .form-2 > * {
  min-width: 0;
}

.site-secondary .page-head .subnav {
  gap: 8px;
  margin-top: 24px;
}

.site-secondary .page-head .subnav a {
  padding: 8px 14px;
  border: 1px solid var(--page-line);
  border-radius: 999px;
}

.site-hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.site-hero-split > * {
  min-width: 0;
}

.site-hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--page-mist);
}

.site-hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  display: block;
  object-fit: cover;
}

.site-spaces {
  padding: clamp(38px, 5vw, 72px) 0;
  background: var(--page-mist);
}

.site-spaces h2 {
  margin: 0 0 24px;
}

.site-space-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-space-card {
  background: white;
  border: 1px solid var(--page-line);
  border-radius: 10px;
  overflow: hidden;
  scroll-margin-top: 110px;
}

.site-space-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.site-space-card div {
  padding: 20px;
}

.site-space-card h3 {
  margin: 0 0 8px;
}

.site-space-card p {
  margin: 0;
}

.v2-navigation a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer-info {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
}

.site-footer-info a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:where(main, .v2-header, .v2-footer) :focus-visible {
  outline: 3px solid #278a7d;
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .site-hero-split,
  .site-space-grid {
    grid-template-columns: 1fr;
  }

  .site-hero-media img {
    aspect-ratio: 16 / 10;
  }

  .site-secondary main > .page-head:not(.vision-hero) h1,
  .site-secondary main > .app-page-head h1 {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}


/* Chapter controls sit outside the content column on wide screens. */
.v2-chapter-navigation {
  display: none;
}

@media (min-width: 1320px) and (min-height: 560px) {
  .v2-chapter-navigation {
    position: fixed;
    inset: 50% 12px auto auto;
    z-index: 25;
    display: grid;
    gap: 2px;
    padding: 8px 4px;
    transform: translateY(-50%);
    border: 1px solid #49616a;
    border-radius: 24px;
    background: #071e2cee;
  }

  .v2-chapter-navigation a {
    position: relative;
    display: grid;
    place-items: center;
    width: 28px;
    height: 26px;
    color: #f8faf7;
    border-radius: 16px;
  }

  .v2-chapter-navigation a::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 1px solid #b2c9c9;
    border-radius: 50%;
  }

  .v2-chapter-navigation a[aria-current]::before {
    background: var(--v2-mint);
    border-color: var(--v2-mint);
    box-shadow: 0 0 0 3px #68e0ce35;
  }

  .v2-chapter-navigation a:is(:hover, :focus-visible)::after {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    padding: 4px 10px;
    border-radius: 5px;
    background: var(--v2-deep);
    color: #fff;
    font-size: .8rem;
    white-space: nowrap;
    content: attr(data-label);
  }
}

.v2-home > section:has(.v2-next-chapter) {
  flex-direction: column;
  justify-content: center;
}

.v2-next-chapter {
  width: fit-content;
  margin: 14px auto 0;
  flex-shrink: 0;
}

.v2-hero .v2-next-chapter {
  margin: 0 auto 10px;
}

.v2-dashboard .v2-next-chapter,
.v2-hero .v2-next-chapter {
  color: var(--v2-mint);
}

@media (max-width: 620px) {
  html.v2-fullpage {
    scroll-snap-type: none;
  }
}

@media (min-width: 621px) and (max-height: 740px) {
  html.v2-fullpage {
    scroll-snap-type: y proximity;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.v2-fullpage {
    scroll-snap-type: none;
  }
}

.v2-film-toggle:not([hidden]) {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 16px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: var(--v2-deep);
  color: #fff;
}

.v2-film-toggle:not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 360px) {
  .v2-nav {
    gap: 0;
  }
}
@media (max-width: 480px) {
  .site-secondary .cta-actions {
    flex-wrap: wrap;
  }

  .site-secondary .cta-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
    min-height: 44px;
  }
}
.v2-purification > section.purification-film {
  display: none;
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .v2-purification > section.purification-film {
    display: block;
    min-height: 0;
    padding-block: 0;
    background: #08223a;
  }
  .purification-film video {
    display: block;
    width: 100%;
    max-height: calc(100svh - var(--v2-header-height, 70px));
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }
}
:root {
  --site-font: Arial, Helvetica, sans-serif;
  --sora: var(--site-font);
  --inter: var(--site-font);
}
body,
body :is(button, input, select, textarea) {
  font-family: var(--site-font);
}
.site-secondary .btn.purification-link {
  background-color: #2f6f49;
  color: #fff;
  font-family: var(--sora);
  font-size: .98rem;
  font-weight: 600;
}
.site-secondary .btn.purification-link:hover {
  background-color: #234f34;
}
