/* ==========================================================================
   ForensicReport.org — components for the multi-page site.
   Loaded after styles.css, which owns the tokens and the base layout.
   ========================================================================== */

/* --- header: CTA + mobile menu ------------------------------------------ */

.nav-cta {
  background: var(--blue);
  color: var(--cream) !important;
  font-weight: 600;
  padding: 9px 16px;
}

.nav-cta:hover {
  background: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--red);
}

.nav a[aria-current="page"].nav-cta {
  box-shadow: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: none;
  border: 1px solid var(--rule-mid);
  padding: 9px 14px;
  cursor: pointer;
}

.menu-toggle .bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.menu-toggle .bars i {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--blue);
}

@media (max-width: 900px) {
  .masthead {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--rule-mid);
    margin-top: 4px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    display: block;
    padding: 13px 2px;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
    border-bottom: 0 !important;
  }
}

/* --- interior page head -------------------------------------------------- */

.pagehead {
  padding-block: clamp(30px, 5vw, 46px) clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--rule-mid);
}

.pagehead .lede {
  max-width: 68ch;
}

/* --- notices ------------------------------------------------------------- */

.notice {
  border: 1px solid var(--rule-mid);
  border-left: 4px solid var(--red);
  background: var(--cream);
  padding: 18px 22px 20px;
  margin-bottom: 32px;
  max-width: 80ch;
}

.notice--quiet {
  border-left-color: var(--blue);
}

.notice-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
  margin-bottom: 7px;
}

.notice p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.notice p + p {
  margin-top: 8px;
}

.notice-owner {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px !important;
}

/* --- document outline (legal + help stubs) ------------------------------- */

.doc {
  max-width: 80ch;
}

.doc-section {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.doc-section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 8px;
}

.doc-todo {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-style: italic;
}

/* --- long steps ---------------------------------------------------------- */

.steps-long {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 88ch;
}

.step-long {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 8px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.step-long .step-n {
  margin: 0;
}

.step-long .card-title {
  margin-top: 0;
}

@media (max-width: 560px) {
  .step-long {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- split + trust list -------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 50px);
  align-items: start;
}

.split--form {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

@media (max-width: 900px) {
  .split,
  .split--form {
    grid-template-columns: minmax(0, 1fr);
  }
}

.trust li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.trust li:last-child {
  border-bottom: 1px solid var(--rule);
}

.trust b {
  color: var(--blue);
  font-weight: 600;
}

.pull--lead {
  margin-top: 16px;
}

.more {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 600;
}

.numbered {
  counter-reset: n;
  margin: 10px 0 26px;
}

.numbered li {
  counter-increment: n;
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}

.numbered li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--blue);
}

.numbered--plain li::before {
  content: "";
}

.numbered--plain li {
  padding-left: 0;
}

/* --- forms: extras ------------------------------------------------------- */

.request--wide form {
  padding: 22px 24px 24px;
}

.request textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(13, 17, 23, 0.28);
  border-radius: 0;
  padding: 12px 13px;
  width: 100%;
  resize: vertical;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}

.form-status:empty {
  display: none;
}

.form-status {
  font-size: 13px;
  line-height: 1.6;
  color: var(--body);
  border-left: 3px solid var(--rule-strong);
  padding-left: 10px;
}

.form-status[data-tone="ok"] {
  color: var(--blue);
  border-left-color: var(--blue);
  font-weight: 600;
}

/* --- pricing ------------------------------------------------------------- */

.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--rule-mid);
  margin-bottom: 28px;
}

.billing-toggle button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--body);
  background: none;
  border: 0;
  padding: 11px 20px;
  cursor: pointer;
}

.billing-toggle button + button {
  border-left: 1px solid var(--rule-mid);
}

.billing-toggle button[aria-pressed="true"] {
  background: var(--blue);
  color: var(--cream);
}

.billing-toggle span {
  font-weight: 400;
  opacity: 0.75;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}

@media (max-width: 900px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
}

.plan {
  border: 1px solid var(--rule-mid);
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border-color: var(--blue);
  border-width: 2px;
}

.plan:not(.plan--featured)::before {
  content: "";
  display: block;
  height: 17px;
  margin-bottom: 8px;
}

.plan-list {
  margin-top: auto;
}

.plan-flag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--blue);
}

.plan-for {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.plan-price .amount {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}

.plan-price .per {
  font-size: 13px;
  color: var(--muted);
}

.plan-billed {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 7px;
}

.plan-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.plan-list li {
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  padding: 6px 0 6px 18px;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 2px;
  background: var(--red);
}

.pricing-note {
  margin-top: 26px;
  max-width: 80ch;
}

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

.faq {
  max-width: 82ch;
}

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

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

.faq summary {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--blue);
  padding: 18px 34px 18px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 11px;
  height: 2px;
  background: var(--red);
}

.faq summary::before {
  content: "";
  position: absolute;
  right: 10.5px;
  top: 21px;
  width: 2px;
  height: 11px;
  background: var(--red);
}

.faq details[open] summary::before {
  opacity: 0;
}

.faq details p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--body);
  padding: 0 0 20px;
  max-width: 74ch;
}

/* --- footer -------------------------------------------------------------- */

.footer-top {
  border-top: 1px solid var(--rule-strong);
  padding-block: 36px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: start;
}

.footer-brand .wordmark {
  font-size: 18px;
}

.footer-brand .credential {
  font-size: 14px;
  line-height: 1.5;
  margin-top: 12px;
  max-width: 30ch;
}

.footer-hipaa {
  margin-top: 16px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.footer-cols h2 {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 12px;
}

.footer-cols li + li {
  margin-top: 8px;
}

.footer-cols a {
  font-size: 13px;
  color: var(--body);
}

.footer-cols a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }
}

@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-news {
  border-top: 1px solid var(--rule);
  padding-block: 26px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.footer-news h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 6px;
}

.footer-news p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
}

.news-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.news-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.news-form input {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(13, 17, 23, 0.28);
  border-radius: 0;
  padding: 12px 13px;
  width: 100%;
}

.news-form button {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
}

.news-form button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.news-form .form-status {
  grid-column: 1 / -1;
}

@media (max-width: 760px) {
  .footer-news {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- intake assistant ---------------------------------------------------- */

.chat {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 22px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chat-launch {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cream);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0;
  padding: 13px 20px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(13, 17, 23, 0.22);
}

.chat-launch::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cream);
  margin-right: 9px;
  vertical-align: 1px;
}

.chat-launch:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.chat-panel {
  width: min(360px, calc(100vw - 24px));
  background: var(--cream);
  border: 1px solid var(--blue);
  box-shadow: 0 6px 28px rgba(13, 17, 23, 0.24);
  display: flex;
  flex-direction: column;
  max-height: min(560px, calc(100vh - 120px));
}

.chat-panel[hidden] {
  display: none;
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--blue);
  padding: 12px 10px 12px 16px;
}

.chat-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--cream);
}

.chat-close {
  font-size: 22px;
  line-height: 1;
  color: var(--cream);
  background: none;
  border: 0;
  padding: 2px 8px;
  cursor: pointer;
}

.chat-log {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bubble {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 13px;
  max-width: 85%;
}

.bubble--bot {
  background: var(--panel);
  color: var(--ink);
  align-self: flex-start;
}

.bubble--you {
  background: var(--blue);
  color: var(--cream);
  align-self: flex-end;
}

.chat-input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--rule);
}

.chip {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--blue);
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 9px 12px;
  cursor: pointer;
  text-align: left;
}

.chip:hover {
  background: var(--blue);
  color: var(--cream);
  border-color: var(--blue);
}

.chat-input input,
.chat-input textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(13, 17, 23, 0.28);
  border-radius: 0;
  padding: 10px 12px;
  flex: 1 1 190px;
  resize: vertical;
}

.chat-send {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 0;
  padding: 10px 16px;
  cursor: pointer;
}

.chat-send:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.chat-foot {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 0 16px 12px;
}

@media print {
  .chat {
    display: none;
  }
}

/* --- closing band accent -------------------------------------------------- */

.closing .value::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  background: var(--red);
  margin-bottom: 18px;
}

/* ==========================================================================
   Banner composition, per banner-96x54.svg in the brand guide:
   wordmark left and HIPAA badge right over a hairline, then a centred
   headline, a short rule, the value line in red, and the claim in ink.
   ========================================================================== */

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding-block: 20px 0;
  border-bottom: 0;
}

.masthead .wordmark {
  order: 1;
}

.hipaa--head {
  order: 2;
}

.masthead .menu-toggle {
  order: 3;
}

.masthead .nav {
  order: 4;
  flex-basis: 100%;
  margin-top: 18px;
  padding-block: 12px;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .masthead .nav {
    margin-top: 14px;
    padding-block: 0;
    border-bottom: 0;
  }

  .hipaa--head {
    order: 4;
    flex-basis: 100%;
    justify-content: center;
  }

  .masthead .nav {
    order: 5;
  }
}

/* --- the stage ----------------------------------------------------------- */

.stage {
  text-align: center;
  padding-block: clamp(44px, 8vw, 96px) clamp(38px, 6vw, 72px);
}

.stage h1 {
  font-size: clamp(29px, 5vw, 62px);
  line-height: 1.14;
  max-width: 20ch;
  margin-inline: auto;
}

.stage-rule {
  display: block;
  width: clamp(90px, 14vw, 180px);
  height: 1px;
  background: var(--rule-strong);
  margin: clamp(26px, 4vw, 44px) auto clamp(22px, 3.4vw, 38px);
}

.value-line {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(21px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--red);
  text-wrap: balance;
}

.claim {
  font-size: clamp(15px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
  margin: clamp(14px, 2vw, 22px) auto 0;
  text-wrap: balance;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(26px, 4vw, 40px);
}

/* --- buttons ------------------------------------------------------------- */

.button {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream) !important;
  background: var(--blue);
  border: 1px solid var(--blue);
  padding: 14px 26px;
}

.button:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.button--quiet {
  color: var(--blue) !important;
  background: none;
  border-color: var(--rule-strong);
}

.button--quiet:hover {
  color: var(--cream) !important;
  background: var(--blue);
  border-color: var(--blue);
}

/* --- callout (replaces the ink band) ------------------------------------- */

.callout {
  text-align: center;
  border-top: 1px solid var(--rule-strong);
  padding-block: clamp(38px, 5.5vw, 62px);
}

.callout .value-line,
.callout-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(21px, 2.9vw, 34px);
  line-height: 1.25;
  color: var(--blue);
  text-wrap: balance;
}

.callout .value-line {
  color: var(--red);
}

.callout-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  max-width: 58ch;
  margin: 14px auto 0;
}

.callout .button {
  margin-top: 26px;
}

/* --- shared bits --------------------------------------------------------- */

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--blue);
  margin-bottom: 14px;
}

.section--ruled {
  border-top: 1px solid var(--rule);
}

h2.eyebrow {
  font-weight: 400;
  margin-bottom: 24px;
}

.trust-more {
  font-weight: 600;
  border-bottom: 0 !important;
}

/* --- footer: brand band on top, then four even columns ------------------- */

.footer-top {
  display: block;
  padding-block: clamp(30px, 4vw, 44px) clamp(26px, 3.4vw, 36px);
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-bottom: clamp(24px, 3vw, 32px);
  margin-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--rule);
}

.footer-brand .credential {
  margin-top: 0;
  max-width: 42ch;
  flex: 1 1 320px;
}

.footer-hipaa {
  margin-top: 0;
}

@media (max-width: 620px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  /* flex-basis follows the main axis, so the row-direction basis would
     become 320px of height once the band stacks. */
  .footer-brand .credential {
    flex: 0 0 auto;
  }
}

/* --- measure control on a full-bleed page -------------------------------- */

/* The page now runs to the edges, so individual copy blocks carry their own
   measure. Without this a three-column grid at 1680px sets 120-character
   lines, which is unreadable however handsome the grid looks. */
.card-body,
.plan-for,
.doc-todo {
  max-width: 46ch;
}

.trust li {
  max-width: 82ch;
}

.claim {
  max-width: 64ch;
}

.grid-3 {
  gap: clamp(24px, 3.4vw, 56px);
}

.section {
  padding-block: clamp(42px, 6vw, 72px);
}

/* The claim is one line on the banner master; give it room to stay one line
   on a desktop viewport rather than balancing into two. */
.claim {
  max-width: 80ch;
}

/* 21 footer links in a single column makes the phone page needlessly long. */
@media (max-width: 480px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

@media (max-width: 360px) {
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Operator revision, 2026-08-26: nav right, title and definition left, the
   request box top right beside the title, value line in ink with a small red
   accent on the title, footer credit on one centred line.
   ========================================================================== */

.masthead .nav {
  justify-content: flex-end;
}

/* --- hero: copy left, request box right ---------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
  padding-block: clamp(38px, 6vw, 72px) clamp(36px, 5vw, 64px);
  text-align: left;
}

.hero-copy .tick {
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(29px, 3.9vw, 52px);
  line-height: 1.14;
  max-width: 18ch;
  margin-inline: 0;
}

.hero-copy .value-line {
  color: var(--ink);
  font-size: clamp(19px, 2.1vw, 27px);
  margin-top: clamp(20px, 2.6vw, 30px);
  text-wrap: initial;
}

.hero-copy .claim {
  margin: 12px 0 0;
  max-width: 44ch;
  text-align: left;
  text-wrap: initial;
}

.hero-copy .credential {
  font-size: clamp(15px, 1.5vw, 17px);
  margin-top: clamp(22px, 2.8vw, 30px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1 {
    max-width: none;
  }
}

/* --- request box --------------------------------------------------------- */

.request > h2 {
  font-size: 19px;
  padding: 20px 26px;
}

.request form {
  padding: 24px 26px 26px;
  gap: 13px;
}

/* The mid-page box carries no sub-heading, so it needs its own top padding. */
.request--roomy form {
  padding: 30px 30px 30px;
  gap: 14px;
}

/* --- footer credit, one centred line ------------------------------------- */

.footer-brand {
  justify-content: center;
  text-align: center;
  gap: 8px 14px;
}

.footer-brand .credential {
  flex: 0 1 auto;
  max-width: none;
  font-size: 15px;
}

.footer-brand .credential::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  vertical-align: 3px;
  margin-right: 12px;
}

@media (max-width: 620px) {
  .footer-brand {
    align-items: center;
  }
}

/* The headline was set at 18ch, which broke it over five lines and left the
   left column much taller than the request box beside it. */
.hero-copy h1 {
  max-width: 24ch;
  font-size: clamp(29px, 3.5vw, 47px);
}

/* ==========================================================================
   Iconography (Nikolaj's review, 2026-08-26: show, don't tell)
   Flat geometric line marks that inherit the colour of the text they sit with.
   No shield, badge, or seal anywhere: those read as a certification.
   ========================================================================== */

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--blue);
  flex: none;
}

.icon--sm {
  width: 19px;
  height: 19px;
}

/* A card that leads with a mark: icon on its own line above the heading. */
.card-icon {
  margin-bottom: 14px;
}

.cap .card-icon,
.grid-3 .card-icon {
  margin-bottom: 12px;
}

/* Rows where the mark sits beside the text. */
.icon-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

/* --- checklist (pricing) -------------------------------------------------- */

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 10px 30px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--body);
  padding: 9px 0;
  border-top: 1px solid var(--rule);
}

.checklist .icon {
  color: var(--red);
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.checklist b {
  color: var(--ink);
  font-weight: 600;
}

.checklist-group {
  margin-top: 30px;
}

.checklist-group > h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--blue);
  margin-bottom: 6px;
}

/* --- plan lists get the same tick ---------------------------------------- */

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
}

.plan-list li::before {
  display: none;
}

.plan-list .icon {
  color: var(--red);
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

/* --- export formats ------------------------------------------------------ */

.formats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
}

.formats li {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--rule-mid);
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.formats .icon {
  width: 18px;
  height: 18px;
}

.formats span {
  font-weight: 400;
  color: var(--muted);
  font-size: 12.5px;
}

/* ==========================================================================
   Review follow-ups, 2026-08-27
   ========================================================================== */

/* --- how it works: four steps read left to right, then wrap --------------- */

.steps-long {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px) clamp(30px, 4vw, 56px);
  max-width: none;
}

@media (max-width: 760px) {
  .steps-long {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- HIPAA statement: a stamp, not a control ------------------------------
   Nikolaj read the filled blue block top right as a login button, which is
   exactly where a sign-in control lives on every other site. Same prominence,
   but an outlined stamp with a rule reads as a statement instead. */

.hipaa--head {
  background: none;
  border: 1px solid var(--rule-strong);
  border-left: 4px solid var(--red);
  padding: 8px 16px 8px 14px;
  cursor: default;
}

.hipaa--head::before {
  display: none;
}

.hipaa--head span {
  color: var(--blue);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- documentation block -------------------------------------------------- */

.kit {
  border: 1px solid var(--rule-mid);
  border-top: 4px solid var(--blue);
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

@media (max-width: 760px) {
  .kit {
    grid-template-columns: minmax(0, 1fr);
  }
}

.kit h2,
.kit h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  color: var(--blue);
  margin-bottom: 12px;
}

.kit-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  padding: 7px 0;
}

.kit-list .icon {
  color: var(--red);
  width: 16px;
  height: 16px;
  margin-top: 3px;
}

.kit .button {
  margin-top: 6px;
}

.kit-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
}

/* Group headings need to own their block, or the checklist reads as one long
   table with a stray label in the first column. */
.checklist-group {
  margin-top: 38px;
}

.checklist-group > h3 {
  padding-bottom: 10px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--rule-strong);
}

.checklist-group > h3 + .checklist > li:first-child,
.checklist-group > h3 + .checklist > li:nth-child(2),
.checklist-group > h3 + .checklist > li:nth-child(3),
.checklist-group > h3 + .checklist > li:nth-child(4) {
  border-top: 0;
}

.kit {
  margin-top: clamp(30px, 4vw, 46px);
}

/* ==========================================================================
   Operator review on a phone, 2026-08-27
   ========================================================================== */

/* --- the HIPAA statement carries weight again -----------------------------
   The outlined version fixed the login-button misread but went too quiet for
   what is a real selling point. Solid again, but shaped as a tagged banner:
   red leading block, letterspaced small caps, wide rather than compact. A
   button is compact with a centred label; this is neither. */

.hipaa--head {
  background: var(--blue);
  border: 0;
  border-left: 7px solid var(--red);
  padding: 11px 20px 11px 16px;
  cursor: default;
}

.hipaa--head::before {
  display: block;
  content: "";
  width: 9px;
  height: 9px;
  background: var(--cream);
  flex: none;
}

.hipaa--head span {
  color: var(--cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- plan feature lists collapse ------------------------------------------
   Collapsed, the three cards are the same height however long each list is;
   opened, each shows exactly what it has. */

.plan-details {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.plan-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--blue);
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
}

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

.plan-details > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg) translate(-2px, -2px);
  flex: none;
}

.plan-details[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.plan-details .plan-list {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .plan-details > summary::after {
    transition: transform 0.15s ease;
  }
}

/* --- phone --------------------------------------------------------------- */

@media (max-width: 620px) {
  .hipaa--head {
    width: 100%;
    justify-content: flex-start;
  }

  .hipaa--head span {
    font-size: 12px;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  /* A 40px numeral beside a 78px column wastes half the width on a phone. */
  .step-long {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .plan {
    padding: 20px 18px 22px;
  }

  .kit,
  .request form,
  .request--roomy form {
    padding: 20px 18px 22px;
  }

  .billing-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .checklist li {
    font-size: 14px;
  }

  .formats {
    gap: 8px;
  }

  .formats li {
    padding: 9px 12px;
    font-size: 13px;
  }
}

/* Phone: footer links are a list of small targets stacked close together, and
   the legal line was set at 11.5px, which is below comfortable reading. */
@media (max-width: 620px) {
  .footer-cols a {
    display: block;
    padding-block: 9px;
    font-size: 14px;
  }

  .footer-cols li + li {
    margin-top: 0;
  }

  .footer-cols h2 {
    font-size: 12px;
  }

  .legal {
    font-size: 13px;
    gap: 10px;
    line-height: 1.6;
  }

  .fineprint,
  .kit-note,
  .plan-billed {
    font-size: 13px;
  }
}

/* styles.css turns the masthead into a column below 620px, but this file later
   sets align-items:center, which then reads as horizontal centring and pushed
   the wordmark to the middle of the phone. Keep it a wrapping row: wordmark
   left, Menu right, the HIPAA banner full width underneath. */
@media (max-width: 620px) {
  .masthead {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
}

/* --- billing row: the saving is a banner beside the toggle, not a label ---
   inside the Annual button. Operator review: the button stays clean and the
   benefit appears when annual is the selected period. */

.billing-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-bottom: 28px;
}

.billing-row .billing-toggle {
  margin-bottom: 0;
}

.billing-note {
  display: none;
  font-size: 14px;
  color: var(--ink);
  background: var(--panel);
  border-left: 4px solid var(--red);
  padding: 10px 16px;
}

.billing-note b {
  color: var(--blue);
  font-weight: 600;
}

.billing-row[data-period='annual'] .billing-note {
  display: block;
}

/* --- plan lead line ------------------------------------------------------- */

.plan-lead {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.star {
  color: var(--red);
  font-weight: 700;
}

.pricing-note .star {
  margin-right: 4px;
}

@media (max-width: 620px) {
  .billing-row {
    display: block;
  }

  .billing-note {
    margin-top: 12px;
  }
}
