/* Veranta Health — interior page stylesheet.
   Loaded only by the plan pages. site.css holds everything the homepage and
   the professional sign-in page need and is not touched by this file.

   Kept separate rather than appended to site.css for two reasons: site.css is
   already edge-cached for seven days on the live domain (PLAT-06/PLAT-11), and
   a new filename sidesteps that entirely; and interior-page rules stay legible
   as a group. Same tokens, same geometry rule: radius 0, no shadows, no
   gradients. */

/* ---------- breadcrumb ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--v-steel);
  margin: 0;
  padding: 14px var(--v-gutter) 0;
  max-width: calc(var(--v-max) + var(--v-gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.crumbs a { color: var(--v-steel); }
.crumbs a:hover { color: var(--v-primary); }
.crumbs span[aria-current] { color: var(--v-ink); font-weight: 500; }
.crumbs .sep { color: var(--v-mist); }

/* ---------- plan-family sub-navigation ---------- */

.subnav {
  border-bottom: 1px solid var(--v-mist);
  background: var(--v-white);
}
.subnav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 0 var(--v-gutter);
}
.subnav a {
  display: block;
  padding: 14px 20px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--v-steel);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.subnav a:hover { color: var(--v-primary); text-decoration: none; background: var(--v-cloud); }
.subnav a[aria-current="page"] {
  color: var(--v-ink);
  border-bottom-color: var(--v-primary);
  font-weight: 600;
}
.subnav a:first-child { padding-left: 0; }
.subnav a:first-child:hover { background: none; }

/* ---------- page hero ---------- */

.page-hero {
  background: var(--v-cloud);
  padding: 48px var(--v-gutter) 52px;
}
.page-hero > .wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  align-items: start;
}
.page-hero h1 { font-size: 38px; line-height: 1.14; margin-top: 10px; text-wrap: pretty; }
.page-hero .lede {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--v-steel);
  max-width: 54ch;
}
.page-hero .hero-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* the boxed summary that sits beside the hero copy */
.hero-aside {
  background: var(--v-white);
  border: 1px solid var(--v-mist);
  padding: 24px 26px;
}
.hero-aside h2 { font-size: 15px; letter-spacing: 0; }
.hero-aside dl { margin: 16px 0 0; display: flex; flex-direction: column; gap: 0; }
.hero-aside dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--v-steel);
}
.hero-aside dd {
  margin: 2px 0 0;
  font-size: 14.5px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--v-mist);
}
.hero-aside dd:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* ---------- fact strip ---------- */

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--v-mist);
  border-left: 0;
}
.fact-strip > div {
  padding: 20px 24px;
  border-left: 1px solid var(--v-mist);
}
.fact-n { font-size: 26px; font-weight: 600; letter-spacing: -.02em; display: block; }
.fact-l { font-size: 12.5px; color: var(--v-steel); display: block; margin-top: 2px; }

/* ---------- comparison table ---------- */

.table-scroll { overflow-x: auto; }
.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}
.ptable caption {
  text-align: left;
  font-size: 12.5px;
  color: var(--v-steel);
  padding-bottom: 10px;
}
.ptable th, .ptable td {
  border: 1px solid var(--v-mist);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.ptable thead th {
  background: var(--v-cloud);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}
.ptable tbody th {
  font-weight: 500;
  color: var(--v-steel);
  width: 210px;
  background: #FBFCFD;
}
.ptable .plan-name { font-weight: 600; color: var(--v-ink); font-size: 13.5px; display: block; }
.ptable .plan-sub { font-size: 12px; color: var(--v-steel); display: block; margin-top: 2px; }
.ptable td.num { font-variant-numeric: tabular-nums; }

/* ---------- generic prose blocks ---------- */

.prose { max-width: 68ch; }
.prose p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; font-size: 15px; line-height: 1.6; }

.two-col {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ---------- checklist ---------- */

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid var(--v-mist);
  font-size: 14px;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--v-primary);
  border-bottom: 2px solid var(--v-primary);
  transform: rotate(-45deg);
}
.checklist .not::before {
  border: 0;
  background: var(--v-steel);
  height: 2px;
  width: 10px;
  transform: none;
  top: 21px;
}

/* ---------- numbered steps ---------- */

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--v-mist);
}
.steps li:last-child { border-bottom: 1px solid var(--v-mist); }
.steps li::before {
  content: counter(step);
  font-size: 15px;
  font-weight: 600;
  color: var(--v-white);
  background: var(--v-primary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { font-size: 15.5px; }
.steps p { margin: 4px 0 0; font-size: 13.5px; color: var(--v-steel); line-height: 1.6; }

/* ---------- key dates ---------- */

.dates { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.dates th, .dates td { padding: 12px 0; border-bottom: 1px solid var(--v-mist); text-align: left; vertical-align: top; }
.dates thead th { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--v-steel); font-weight: 600; }
.dates td:first-child { width: 200px; font-weight: 600; white-space: nowrap; }
.dates td:last-child { color: var(--v-steel); }

/* ---------- callout ---------- */

.callout {
  border-left: 3px solid var(--v-primary);
  background: var(--v-cloud);
  padding: 18px 22px;
}
.callout p { margin: 0; font-size: 14px; line-height: 1.6; }
.callout strong { font-weight: 600; }
.callout + .callout { margin-top: 12px; }
.callout-warn { border-left-color: var(--v-error); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--v-mist); }
.faq details { border-bottom: 1px solid var(--v-mist); }
.faq summary {
  cursor: pointer;
  padding: 15px 30px 15px 0;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 12px;
  font-size: 19px;
  font-weight: 400;
  color: var(--v-primary);
}
.faq details[open] summary::after { content: "\2013"; }
.faq summary:hover { color: var(--v-primary); }
.faq .answer { padding: 0 40px 18px 0; font-size: 14px; line-height: 1.65; color: var(--v-steel); }
.faq .answer p { margin: 0 0 10px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- closing CTA ---------- */

.cta-band {
  background: var(--v-ink);
  color: var(--v-white);
  padding: 44px var(--v-gutter);
}
.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 24px; color: var(--v-white); }
.cta-band p { margin: 8px 0 0; font-size: 14.5px; color: var(--v-footer-text); max-width: 52ch; }
.cta-band .btn-secondary { border-color: var(--v-white); color: var(--v-white); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .1); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footnote ---------- */

.footnote {
  font-size: 12px;
  line-height: 1.6;
  color: var(--v-steel);
  border-top: 1px solid var(--v-mist);
  padding-top: 16px;
  max-width: 80ch;
}
.footnote p { margin: 0 0 8px; }
.footnote p:last-child { margin-bottom: 0; }

@media (max-width: 1000px) {
  .page-hero > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page-hero h1 { font-size: 30px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--v-mist); }
}

@media (max-width: 640px) {
  .checklist { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div { border-bottom: 1px solid var(--v-mist); }
  .fact-strip > div:last-child { border-bottom: 0; }
  .dates td:first-child { width: auto; }
  .subnav .wrap { flex-direction: column; }
  .subnav a { padding-left: 0; border-bottom: 1px solid var(--v-mist); border-left: 3px solid transparent; }
  .subnav a[aria-current="page"] { border-left-color: var(--v-primary); padding-left: 12px; }
}
