/* Parent Care Pages
   Green #405A4D, paper #F7F3EB, terracotta #B5694A.
   Type is large on purpose. Body text targets WCAG AAA on this paper. */

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/atkinson-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Atkinson Hyperlegible";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/atkinson-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #405a4d;
  --green-deep: #31483d;
  --ink: #1c2822;
  --body: #243029;
  --paper: #f7f3eb;
  --paper-bright: #fbf8f2;
  --sand: #efe8dc;
  --notice: #f3e6d4;
  --line: #e0d6c8;
  --terracotta: #b5694a;
  --terracotta-deep: #8e4e34;
  --cream: #fbf8f2;
  --header-offset: 8.75rem;
  --wrap: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  font-synthesis: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  margin: 0 0 0.85rem;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  margin: 0 0 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

p {
  margin: 0 0 1rem;
}

a {
  color: #1e3a2f;
  text-underline-offset: 0.18em;
}

a:visited {
  color: #1e3a2f;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-200%);
  background: var(--cream);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.accent-line {
  height: 4px;
  background: var(--terracotta);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  padding: 0.8rem 0 0.7rem;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.logo,
.logo:visited {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo:hover {
  text-decoration: underline;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
}

.nav a,
.nav a:visited {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c8b8a4;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
  display: inline-block;
  padding: 0.4rem 0;
}

.nav a:hover {
  text-decoration-color: var(--ink);
}

.btn,
.btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
}

.btn-small,
.btn-small:visited {
  min-height: 48px;
  padding: 0.55rem 0.95rem;
  font-size: 1.05rem;
  background: var(--green);
  color: var(--cream);
  flex: 0 0 auto;
  white-space: nowrap;
}

.btn-small:hover {
  background: var(--green-deep);
  color: var(--cream);
}

.btn-light,
.btn-light:visited {
  background: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
}

.btn-solid,
.btn-solid:visited {
  background: var(--green);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--green-deep);
  color: var(--cream);
}

.btn-ghost,
.btn-ghost:visited {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-ghost:hover {
  background: rgba(251, 248, 242, 0.12);
  color: var(--cream);
}

.hero :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--cream);
}

.hero {
  background: var(--green);
  color: var(--cream);
}

.hero-grid {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  gap: 0.5rem;
  padding: 2.25rem 0 1.75rem;
}

.hero h1 {
  color: var(--cream);
  max-width: 12em;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.hero .eyebrow {
  color: var(--cream);
}

.lede {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 36rem;
  margin-bottom: 0.4rem;
}

.price {
  margin: 1rem 0 0.35rem;
  font-size: 1.125rem;
}

.price-amt {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  margin-right: 0.35rem;
  line-height: 1;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.15rem 0 0.85rem;
  padding: 0;
}

.pills li {
  border: 1.5px solid rgba(251, 248, 242, 0.8);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 1rem;
}

.hero-note {
  margin: 0 0 0.45rem;
  max-width: 38rem;
  font-size: 1.05rem;
}

.hero a:not(.btn),
.hero a:not(.btn):visited {
  color: var(--cream);
}

.hero-media {
  margin: 0.75rem 0 0;
}

.hero-media img,
.frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(36, 48, 41, 0.12);
  box-shadow: 0 16px 40px rgba(28, 40, 34, 0.14);
}

.section {
  padding: 3.5rem 0;
}

.section .lede,
.intro {
  font-size: 1.25rem;
  max-width: 42rem;
}

.band-white {
  background: var(--paper-bright);
}

.band-sand {
  background: var(--sand);
}

.frame {
  margin: 1.5rem 0 0;
}

figcaption {
  margin-top: 0.65rem;
  font-size: 1.05rem;
  max-width: 65ch;
}

.page-list,
.steps,
.who-list,
.features {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.page-list {
  counter-reset: page;
  display: grid;
  gap: 1.35rem;
}

.page-list li,
.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
}

.page-list li {
  counter-increment: page;
}

.page-list li::before {
  content: counter(page, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--green);
  line-height: 1.2;
  padding-top: 0.1rem;
}

.page-list p,
.steps p,
.features p,
.who-list p {
  margin: 0;
}

.section-link {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.features li {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  border-left: 4px solid var(--terracotta);
}

.who-list {
  display: grid;
  gap: 0.85rem;
}

.who-list li {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.sq {
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.45rem;
  background: var(--terracotta);
}

.boundary {
  margin-top: 1.35rem;
  max-width: 46rem;
  font-size: 1.125rem;
}

.steps {
  counter-reset: step;
  gap: 1.35rem;
  display: grid;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--terracotta-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  line-height: 1;
}

.split {
  display: grid;
  gap: 1.75rem;
}

.about-copy {
  max-width: 42rem;
}

.about-copy p {
  font-size: 1.25rem;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.35;
  padding: 1.05rem 2.4rem 1.05rem 0;
  position: relative;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 1.15rem;
  max-width: 65ch;
}

.disclaimer-bar {
  background: var(--notice);
  color: var(--ink);
  padding: 1.35rem 0;
}

.disclaimer-bar p {
  margin: 0;
  font-size: 1.175rem;
  max-width: 48rem;
}

.closing {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 3.75rem 0;
}

.closing h2 {
  color: var(--cream);
  margin-inline: auto;
  max-width: 16ch;
}

.closing p {
  margin-inline: auto;
  max-width: 36rem;
  font-size: 1.25rem;
}

.closing .btn {
  margin-top: 0.35rem;
}

.site-footer {
  background: #243029;
  color: var(--cream);
  padding: 2.4rem 0 2rem;
}

.site-footer p {
  max-width: 46rem;
}

.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.site-footer a,
.site-footer a:visited {
  color: var(--cream);
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0.4rem 0 1rem;
}

.footer-nav a {
  padding: 0.35rem 0;
}

.footer-meta {
  margin-bottom: 0;
  font-size: 1rem;
}

#main:focus {
  outline: none;
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

.prose {
  padding: 2.4rem 0 4rem;
}

.prose h1 {
  max-width: 16ch;
}

.prose h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 2rem 0 0.55rem;
}

.prose p,
.prose li {
  max-width: 65ch;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}

.prose li {
  margin: 0.4rem 0;
}

.prose a {
  overflow-wrap: anywhere;
}

.callout {
  background: var(--notice);
  border-left: 4px solid var(--terracotta);
  padding: 1rem 1.1rem;
  margin: 0 0 1.5rem;
  max-width: 65ch;
}

.callout p:last-child {
  margin-bottom: 0;
}

.back {
  margin-bottom: 1rem;
}

.missing {
  padding: 3.5rem 0 4.5rem;
  max-width: 40rem;
}

.missing .actions {
  align-items: flex-start;
  margin-top: 1.4rem;
}

@media (min-width: 720px) {
  .wrap,
  .hero-grid {
    width: min(var(--wrap), calc(100% - 4rem));
  }

  .hero-grid {
    width: min(1180px, calc(100% - 4rem));
  }

  .section {
    padding: 5rem 0;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .page-list {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .who-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 2.5rem;
    padding: 3.25rem 0;
  }

  .hero-media {
    margin: 0;
  }

  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
  }

  .split-reverse {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .closeup .copy {
    order: 2;
  }

  .page-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .how-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .closeup {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split .frame {
    margin-top: 0;
  }
}

@media (max-width: 380px) {
  .wrap,
  .hero-grid {
    width: min(var(--wrap), calc(100% - 1.7rem));
  }

  .btn-small {
    padding-inline: 0.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .skip,
  .btn {
    display: none;
  }
}
