/* CMMC Training product page (/cmmc-training/). Builds on styles.css:
   same tokens, type and square-cornered look as the rest of the site. */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ct-hidden { display: none; }

/* Hero */
.ct-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--hairline); background-color: #fff; background-image: radial-gradient(ellipse 800px 560px at 95% 20%, rgba(10,89,115,0.12), transparent 60%), radial-gradient(circle, rgba(10,89,115,0.16) 1.5px, transparent 1.5px); background-size: auto, 26px 26px; }
.ct-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.ct-hero h1 { font-weight: 700; font-size: clamp(40px, 5vw, 72px); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 28px; max-width: 16ch; }
.ct-hero h1 .accent-italic { color: var(--accent); font-style: italic; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.ct-signin { margin: 28px 0 0; font-size: 14px; color: var(--ink-3); }

/* Screenshot frame */
.ct-shot { margin: 0; border: 1px solid var(--ink); background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.ct-shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--hairline); background: var(--paper); }
.ct-shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--hairline-2); }
.ct-shot img { width: 100%; height: auto; }
.ct-shot figcaption { padding: 10px 14px; border-top: 1px solid var(--hairline); font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--muted); }

/* Proof strip */
.ct-proof { border-bottom: 1px solid var(--hairline); background: var(--bg); }
.ct-proof-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.ct-proof-list li { padding: 28px 20px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.ct-proof-list li + li { padding-left: 20px; border-left: 1px solid var(--hairline); }
.ct-proof-num { font-family: var(--mono); font-size: 22px; font-weight: 600; color: var(--accent); letter-spacing: -0.02em; }
.ct-proof-label { font-size: 13px; line-height: 1.4; color: var(--ink-3); }

/* Section type */
.ct-h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.024em; line-height: 1.06; margin: 0; }
.ct-h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.012em; margin: 40px 0 8px; }
.ct-lede { font-size: 18px; line-height: 1.6; color: var(--ink-3); margin: 20px 0 0; max-width: 62ch; }
.ct-small { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 20px 0 0; }

/* Cards */
.ct-cards { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.ct-cards-3 { grid-template-columns: repeat(3, 1fr); }
.ct-card { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--hairline); }
.ct-card + .ct-card { padding-left: 32px; border-left: 1px solid var(--hairline); }
.ct-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; margin: 0 0 12px; }
.ct-card p { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin: 0; }
.ct-card-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 18px; display: block; }
.ct-messages { margin-top: 64px; }

/* Method: signature flow */
.ct-flow { position: relative; padding: 36px 32px 32px; border: 1px solid var(--ink); background: #fff; margin-bottom: 56px; }
.ct-flow-renewal { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px dashed var(--hairline-2); }
.ct-flow-tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 6px 10px; }
.ct-flow-note { font-size: 14px; color: var(--ink-3); }
.ct-flow-note::before { content: "↷ "; color: var(--accent); }
.ct-flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 2.4fr 1fr 1fr; gap: 16px; align-items: start; counter-reset: none; }
.ct-flow-steps > li { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; background: var(--paper); border-top: 3px solid var(--accent); min-height: 96px; }
.ct-flow-steps > li:not(:last-child)::after { content: "→"; position: absolute; right: -14px; top: 30px; font-size: 18px; color: var(--accent); }
.ct-step, .ct-flow-steps > li:not(.ct-flow-loop) { display: flex; flex-direction: column; gap: 6px; }
.ct-step-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.06em; }
.ct-step-name { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.ct-flow-loop { background: #fff !important; border: 1px solid var(--accent); border-top-width: 3px; }
.ct-loop-pair { display: flex; align-items: center; gap: 18px; }
.ct-loop-arrow { font-size: 22px; color: var(--accent); }
.ct-loop-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ct-path-card { margin-top: 6px; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--paper); font-size: 13px; line-height: 1.45; color: var(--ink-2); width: 100%; }
.ct-path-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }

.ct-steps { border-top: 2px solid var(--ink); }
.ct-step-row { display: grid; grid-template-columns: 220px 1fr 280px; gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.ct-step-label { display: flex; gap: 14px; align-items: baseline; }
.ct-step-label .ct-card-num { margin: 0; }
.ct-step-label h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.ct-step-row p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.ct-step-row .ct-basis { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--ink-3); }
.ct-step-renewal { background: var(--bg); }

/* Try a question */
.ct-demo { max-width: 860px; }
.ct-demo-path { border: 1px solid var(--hairline-2); background: var(--paper); margin-bottom: 24px; }
.ct-demo-path summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 15px; line-height: 1.45; }
.ct-demo-path ol { margin: 0; padding: 0 24px 18px 44px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ct-demo-path li + li { margin-top: 8px; }
.ct-q { border: 1px solid var(--ink); padding: 28px; background: #fff; }
.ct-q + .ct-q { margin-top: 20px; }
.ct-q-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.ct-q-text { font-size: 19px; line-height: 1.45; margin: 0 0 18px; font-weight: 500; }
.ct-q-options { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-opt { padding: 11px 20px; border: 1px solid var(--ink); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); }
.ct-opt:hover:not([aria-disabled="true"]) { background: var(--ink); color: #fff; }
.ct-opt:focus-visible, .ct-q-feedback:focus-visible, .ct-course summary:focus-visible, .ct-demo-path summary:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.ct-opt[aria-disabled="true"] { cursor: default; opacity: .7; }
.ct-opt.is-right { border-color: #1E9C58; background: #E8F5EE; color: #0F5132; opacity: 1; }
.ct-opt.is-wrong { border-color: #D14343; background: #FBEAEA; color: #7A1F1F; opacity: 1; }
.ct-q-feedback { margin-top: 18px; padding: 16px 18px; font-size: 15px; line-height: 1.55; }
.ct-q-feedback:focus { outline: none; }
.ct-q-feedback.is-right { background: #E8F5EE; border-left: 3px solid #1E9C58; }
.ct-q-feedback.is-wrong { background: #FBEAEA; border-left: 3px solid #D14343; }
.ct-q-feedback p { margin: 0; }
.ct-q-feedback p + p { margin-top: 8px; }
.ct-q-step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

/* Comparison */
.ct-table-wrap { border-top: 2px solid var(--ink); }
.ct-compare { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.ct-compare th, .ct-compare td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--hairline); }
.ct-compare thead th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.ct-compare tbody th { font-weight: 700; width: 18%; }
.ct-compare td { color: var(--ink-3); }
.ct-compare .ct-ours { color: var(--ink); background: rgba(20,160,200,0.08); padding-left: 16px; font-weight: 500; }
.ct-compare thead .ct-ours { color: var(--accent); }

/* Catalog */
.ct-catalog { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--hairline); }
.ct-course { border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: #fff; }
.ct-course-wide { grid-column: 1 / -1; background: var(--paper); }
.ct-course summary { cursor: pointer; list-style: none; padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.ct-course summary::-webkit-details-marker { display: none; }
.ct-course summary::after { content: "+"; position: absolute; right: 24px; top: 24px; font-family: var(--mono); font-size: 18px; color: var(--accent); }
.ct-course[open] summary::after { content: "−"; }
.ct-course-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); padding-right: 28px; }
.ct-course-name { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; padding-right: 28px; }
.ct-course-wide .ct-course-name { font-size: 26px; }
.ct-modules { margin: 0; padding: 0 28px 26px 48px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ct-course-wide .ct-modules { columns: 2; column-gap: 48px; }
.ct-modules li { padding: 4px 0; break-inside: avoid; }
.ct-callout { margin: 40px 0 0; padding: 24px 28px; background: var(--paper); border-left: 3px solid var(--accent); font-size: 17px; line-height: 1.55; }
.ct-callout-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* Evidence */
.ct-evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ct-map { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ct-map li { display: grid; grid-template-columns: 120px 1fr; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--hairline); }
.ct-map-req { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--accent); grid-row: span 2; }
.ct-map-ask { font-weight: 700; font-size: 16px; line-height: 1.4; }
.ct-map-ev { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.ct-checklist { list-style: none; margin: 0; padding: 0; }
.ct-checklist li { padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.ct-checklist li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Admins and IT */
.ct-features { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-left: 1px solid var(--hairline); }
.ct-feature { padding: 32px 28px; border-right: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ct-feature h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.012em; margin: 0 0 10px; }
.ct-feature p { font-size: 15px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* Research strip */
.ct-research { padding: 56px 0; border-bottom: 1px solid var(--hairline); background: #fff; }
.ct-research h2 { margin: 0 0 20px; }
.ct-research ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.ct-research li { font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.ct-research li strong { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.ct-research > .container > p { margin: 24px 0 0; font-size: 13px; color: var(--muted); }

/* Final CTA */
.ct-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ct-demo-form { color: var(--ink); }
.ct-disclaimer { font-size: 12px; line-height: 1.6; color: var(--muted); padding-top: 28px; padding-bottom: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .ct-hero-grid, .ct-evidence, .ct-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .ct-proof-list { grid-template-columns: repeat(3, 1fr); }
  .ct-proof-list li:nth-child(4) { padding-left: 0; border-left: 0; }
  .ct-proof-list li:nth-child(n+4) { border-top: 1px solid var(--hairline); }
  .ct-flow-steps { grid-template-columns: 1fr 1fr; }
  .ct-flow-loop { grid-column: 1 / -1; order: 2; }
  .ct-flow-steps > li:first-child { order: 1; }
  .ct-flow-steps > li:nth-child(3) { order: 3; }
  .ct-flow-steps > li:nth-child(4) { order: 4; }
  .ct-flow-steps > li::after { display: none; }
  .ct-step-row { grid-template-columns: 1fr; gap: 10px; }
  .ct-catalog { grid-template-columns: 1fr 1fr; }
  .ct-features { grid-template-columns: 1fr 1fr; }
  .ct-research ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ct-hero { padding: 56px 0 48px; }
  .ct-proof-list { grid-template-columns: 1fr 1fr; }
  .ct-proof-list li, .ct-proof-list li + li { padding: 18px 12px 18px 0; border-left: 0; }
  .ct-proof-list li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--hairline); }
  .ct-proof-list li:nth-child(n+3) { border-top: 1px solid var(--hairline); }
  .ct-cards-3 { grid-template-columns: 1fr; }
  .ct-card + .ct-card { padding-left: 0; border-left: 0; }
  .ct-flow { padding: 24px 18px; }
  .ct-flow-steps { grid-template-columns: 1fr; }
  .ct-loop-pair { gap: 12px; }
  .ct-catalog, .ct-features, .ct-research ul { grid-template-columns: 1fr; }
  .ct-course-wide .ct-modules { columns: 1; }
  .ct-q { padding: 20px; }
  .ct-map li { grid-template-columns: 1fr; }
  .ct-map-req { grid-row: auto; }
  /* Comparison becomes one card per row: our column first, then the others. */
  .ct-compare thead { display: none; }
  .ct-compare, .ct-compare tbody, .ct-compare tr, .ct-compare th, .ct-compare td { display: block; width: 100%; }
  .ct-compare tr { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
  .ct-compare tbody th, .ct-compare td { border: 0; padding: 4px 0; }
  .ct-compare tbody th { width: 100%; font-size: 16px; margin-bottom: 4px; }
  .ct-compare td::before { content: attr(data-label) ": "; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .ct-compare .ct-ours { padding: 8px 10px; margin-bottom: 6px; }
  .ct-compare .ct-ours::before { color: var(--accent); }
  .ct-compare tr { display: flex; flex-direction: column; }
  .ct-compare td.ct-ours { order: -1; }
  .ct-compare tbody th { order: -2; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-opt, .btn { transition: none; }
}

/* The CTA band colours paragraphs for a dark background; the form is white. */
.cta-band .ct-demo-form .form-fallback { color: var(--ink-3); font-size: 13px; line-height: 1.5; margin: 16px 0 0; }
.ct-step-renewal { padding-left: 16px; padding-right: 16px; }
.ct-sep { margin: 0 10px; color: var(--muted); }
.ct-cta-alt a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
