/* The Auto No-Fault guide, /auto-no-fault/ (Build 8). Builds on the tokens and components in /assets/css/site.css;
   every class is scoped with nf-. The FAQ items inside each section, the .more disclosure and the closing band are
   styled in site.css and are not restyled here. Calm standard (docs/CALM-STANDARD.md): borders rather than boxes,
   left-aligned text, a steady rhythm, nothing decorative.
   Every text/background pair used here is a role token from site.css (text, muted, heading and link on the page; the
   link colour on the tint for the markers), already checked in both themes by tools/check-contrast.py; this file adds
   no new pair. */

/* ======================================================================
   1. Hero: one primary button, the phone as a quiet text link (as the service pages; the band carries the other two)
   ====================================================================== */
.nf-hero-actions { --cluster-gap: 0.5rem 1.25rem; }
.nf-hero-phone { margin: 0; color: var(--color-muted); }
.nf-hero-phone a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-heading);
  white-space: nowrap;
}

/* ======================================================================
   2. The six fold-out sections: a title row (the H2 and a plus/minus marker) that opens to the questions
   ====================================================================== */
.nf-sections { max-width: 900px; }
.nf-section { border-top: 1px solid var(--color-border); }
.nf-section:last-child { border-bottom: 1px solid var(--color-border); }
.nf-section__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 1.1rem 0.25rem 1.1rem 0;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-xs);
}
.nf-section__summary::-webkit-details-marker { display: none; }
.nf-section__summary::marker { content: ''; }
.nf-section__summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* The section toggles are teal, the colour of everything clickable (Build 9: gold marks labels only, and the headings'
   navy would read as plain headings). */
.nf-section__title { margin: 0; font-size: var(--step-2); line-height: 1.25; color: var(--color-link); }
.nf-section__summary:hover .nf-section__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* The marker: the FAQ's plus that turns into a minus, a size up. */
.nf-section__marker {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-tint);
}
.nf-section__marker::before, .nf-section__marker::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  border-radius: 2px;
  background: var(--color-link);
  transition: transform var(--dur) var(--ease);
}
.nf-section__marker::after { transform: rotate(90deg); }
.nf-section[open] > .nf-section__summary .nf-section__marker::after { transform: rotate(0deg); }
.nf-section__body { padding: 0.25rem 0 2rem; }
/* Section 6's opening line: the practice's own sentence, set like a lead. */
.nf-section__lead {
  margin: 0 0 1.25rem;
  max-width: var(--measure);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--color-heading);
}
/* A list inside an answer (section 3's first answer): the page's list style, a little tighter. */
.nf-section .faq__a ul { margin: 0.6rem 0 0.9rem; }
.nf-section .faq__a li + li { margin-top: 0.45em; }
@media (forced-colors: active) {
  .nf-section__marker { border: 1px solid CanvasText; }
  .nf-section__marker::before, .nf-section__marker::after { background: CanvasText; }
}

/* ======================================================================
   3. Where this information comes from: the disclaimer line, then the sources in one disclosure
   ====================================================================== */
.nf-sources .section-head { margin-bottom: 1rem; }
.nf-disclaimer { margin: 0; max-width: var(--measure); color: var(--color-text); }
.nf-sources .more__body { max-width: var(--measure); }
.nf-sources__list { display: grid; gap: 0.6rem; margin: 0.75rem 0 0; }
.nf-sources__list li { color: var(--color-text); }
.nf-sources__list strong { color: var(--color-heading); }
