/* One heading system for every section after the hero. */
:root {
  --display: 'Outfit', Arial, sans-serif;
  --heading-ink: #513f44;
  --heading-size: clamp(32px, 3.4vw, 44px);
  --heading-weight: 600;
  --heading-leading: 1.22;
  --heading-tracking: -.025em;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/outfit-latin.woff2') format('woff2');
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.035em;
}

main .section-title {
  font-family: var(--display);
  font-size: var(--heading-size);
  font-weight: var(--heading-weight);
  line-height: var(--heading-leading);
  letter-spacing: var(--heading-tracking);
  color: var(--heading-ink);
  text-wrap: balance;
}

main .section-title span,
main .section-title em {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.section-kicker,
.intro-assurance {
  color: var(--deep);
  font-weight: 500;
}

.intro h2 span,
.about-copy h2 span,
.care-section h2 span,
.formats h2 span {
  display: inline;
}

.intro:before {
  background: radial-gradient(ellipse at 15% 25%, #e8c4d035, transparent 65%),
    linear-gradient(180deg, #fff, #fbf7f8 45%, #fff);
}

.about-copy { align-self: start; padding-top: 28px; }
.about-copy h2 { margin-bottom: 28px; }
.about-small {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 28px #63344512;
}
.care-section .section-heading { margin-bottom: 44px; }
.reviews-section .section-heading { margin-bottom: 38px; }

/* The modalities title has the same scale and enough room to breathe. */
.formats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 55px;
  padding-block: 58px 75px;
}
.formats-heading { grid-column: 1 / -1; }
.formats-heading h2 { max-width: 650px; }
.format-card { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
.format-card svg { margin-bottom: 19px; }
.format-card h3,
.review-placeholder h3,
.care-panel > span {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: var(--heading-ink);
}
.format-card p { max-width: 440px; }
.care-explanation .care-panel > span { display: block; font-size: 21px; line-height: 1.4; }
.care-panel p { max-width: 480px; }
.care-tabs strong { font-family: var(--display); color: var(--heading-ink); font-weight: 600; }
.care-tabs button[aria-selected=true] strong { color: var(--deep); }

.cta-content .section-title {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--heading-ink);
  max-width: 320px;
  text-wrap: wrap;
}
.cta-content .section-title .cta-invitation {
  display: block;
  font-family: var(--display);
  font-size: 41px;
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -1.4px;
  color: var(--deep);
  margin-top: 30px;
  padding-bottom: 21px;
  white-space: nowrap;
}
.cta-content { padding-right: 14px; }

/* Questions form a single reading surface, without nested app-like cards. */
.faq {
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 80px 0 30px;
  margin-top: 15px;
  margin-bottom: 0;
}
.faq-heading {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 0;
  padding-bottom: 32px;
}
.faq-heading .section-title { max-width: 480px; }
.faq-heading p:not(.section-kicker) {
  max-width: 350px;
  margin: 0;
  padding: 5px 0 5px 22px;
  border-left: 2px solid #d6b7c2;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.faq-list {
  display: block;
  padding: 0;
  border-top: 1px solid #d9c7cd;
}
.faq-list details,
.faq-list details:first-child {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e7dbdf;
  border-radius: 0;
  transition: background .25s;
}
.faq-list details[open] { background: #fbf7f8; border-color: #d9c7cd; }
.faq-list summary {
  display: grid;
  grid-template-columns: 190px 1fr 28px;
  align-items: center;
  gap: 30px;
  padding: 25px 22px;
  color: var(--heading-ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}
.faq-list summary:hover { background: #fbf7f8; }
.faq-list summary::marker { content: ''; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .faq-topic {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  color: var(--muted);
  transform: none;
}
.faq-list summary .faq-question {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  transform: none;
}
.faq-list summary .faq-toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid #d9c7cd;
  border-radius: 50%;
  color: var(--deep);
  transform: none;
}
.faq-toggle svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
}
.faq-toggle .faq-toggle-vertical { transition: opacity .2s; }
.faq-list details[open] summary { color: var(--heading-ink); }
.faq-list details[open] summary .faq-topic,
.faq-list details[open] summary .faq-question,
.faq-list details[open] summary .faq-toggle { transform: none; }
.faq-list details[open] .faq-toggle-vertical { opacity: 0; }
.faq-answer { padding: 0 90px 27px 242px; }
.faq-answer p {
  max-width: 680px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 1150px) {
  .cta-content .section-title { font-size: 26px; }
  .cta-content .section-title .cta-invitation { font-size: 34px; }
  .formats { gap: 30px 40px; }
  .faq-heading { gap: 35px; }
  .faq-list summary { grid-template-columns: 145px 1fr 28px; gap: 20px; }
  .faq-answer { padding-left: 187px; padding-right: 70px; }
}
@media (max-width: 720px) {
  :root { --heading-size: 32px; }
  .about-copy { padding-top: 0; }
  .formats { gap: 25px; padding-block: 42px 55px; }
  .format-card h3 { font-size: 20px; }
  .care-explanation .care-panel > span { font-size: 20px; }
  .care-section .section-heading { margin-bottom: 30px; }
  .cta-content h2 { max-width: none; }
  .cta-content { padding-right: 30px; }
  .cta-content .section-title { font-size: 28px; max-width: none; line-height: 1.3; }
  .cta-content .section-title .cta-invitation { font-size: 37px; margin-top: 23px; }
  .faq { padding-top: 55px; }
  .faq-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 0; padding-bottom: 28px; }
  .faq-heading p:not(.section-kicker) { margin: 0; max-width: 360px; font-size: 13px; padding-left: 17px; border-left-width: 1px; }
  .faq-list summary { grid-template-columns: 1fr 28px; gap: 8px 17px; padding: 21px 13px; font-size: 14px; }
  .faq-list summary .faq-topic { grid-column: 1; font-size: 11px; }
  .faq-list summary .faq-question { grid-column: 1; grid-row: 2; }
  .faq-list summary .faq-toggle { grid-column: 2; grid-row: 1 / 3; }
  .faq-answer { padding: 0 52px 24px 13px; }
  .faq-answer p { font-size: 13px; }
}
@media (max-width: 370px) {
  :root { --heading-size: 29px; }
  .formats { grid-template-columns: 1fr; }
  .cta-content .section-title .cta-invitation { font-size: clamp(28px, 8.6vw, 33px); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-list details, .faq-toggle .faq-toggle-vertical { transition: none; }
}
