/* ---------------------------------------------------------------------------
   PlainScore IT Compliance and Security Group — design tokens
--------------------------------------------------------------------------- */
:root {
  --bg: #0b0f14;
  --bg-raised: #121820;
  --bg-card: #161d27;
  --border: #232c38;
  --text: #e7edf3;
  --text-muted: #97a3b3;
  --accent: #3dd9d6;
  --accent-strong: #1fb8b5;
  --accent-contrast: #06171a;
  /* CTA/key-stat accent: distinct from the teal used for links, badges and
     eyebrows, so calls to action and headline numbers carry more visual
     weight than an ordinary hyperlink. */
  --accent-cta: #f5a623;
  --accent-cta-strong: #e0941a;
  --accent-cta-contrast: #1a1206;
  --danger: #ff6b6b;
  --success: #4ade80;
  --radius: 10px;
  --max-width: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(680px circle at 0% 8%, rgba(61, 217, 214, 0.10), transparent 60%),
    radial-gradient(680px circle at 100% 92%, rgba(61, 217, 214, 0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42'%3E%3Cpath d='M42 0H0V42' fill='none' stroke='%233dd9d6' stroke-opacity='0.14' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='1.4' fill='%233dd9d6' fill-opacity='0.22'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed;
  background-position: left top, right bottom, center;
  background-size: auto, auto, 42px 42px;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

.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;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 0.75rem 1rem;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Decorative vertical rails in the side gutters on very wide viewports, so the
   margin outside .wrap reads as designed space rather than empty background. */
@media (min-width: 1500px) {
  body::before,
  body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(61, 217, 214, 0.3) 0 6px, transparent 6px 18px);
    pointer-events: none;
    z-index: 0;
  }
  body::before { left: 36px; }
  body::after { right: 36px; }
}

/* ---------------------------------------------------------------------------
   Header / nav
--------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
}
.brand:hover { text-decoration: none; }
.brand__logo { height: 40px; width: auto; display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  margin: 0 8px;
  background: var(--text);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.primary-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}
.primary-nav a:hover { color: var(--text); text-decoration: none; }

.primary-nav__cta {
  color: var(--accent-cta-contrast) !important;
  background: var(--accent-cta);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
}
.primary-nav__cta:hover {
  background: var(--accent-cta-strong);
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .primary-nav__cta { margin-top: 0.75rem; text-align: center; }
}

/* ---------------------------------------------------------------------------
   Hero / sections
--------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(61, 217, 214, 0.10), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(61, 217, 214, 0.08), transparent 40%);
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.hero__content { flex: 1 1 480px; }
.hero__art {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art img {
  position: relative;
  z-index: 1;
  width: 62%;
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(61, 217, 214, 0.25));
}
/* Animated network graphic behind the hero mark: pulsing nodes joined by
   faint lines, evoking the Network Security / Engineering practice areas. */
.hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__network .net-line {
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0.45;
  animation: net-fade 4s ease-in-out infinite;
}
.hero__network .net-node {
  fill: var(--accent);
  animation: net-pulse 2.4s ease-in-out infinite;
}
.hero__network .net-node:nth-of-type(2) { animation-delay: 0.3s; }
.hero__network .net-node:nth-of-type(3) { animation-delay: 0.6s; }
.hero__network .net-node:nth-of-type(4) { animation-delay: 0.9s; }
.hero__network .net-node:nth-of-type(5) { animation-delay: 1.2s; }
@keyframes net-fade {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
@keyframes net-pulse {
  0%, 100% { r: 3.5; opacity: 0.7; }
  50% { r: 5.5; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__network .net-line, .hero__network .net-node { animation: none; }
}
@media (max-width: 900px) {
  .hero__art { display: none; }
}
.hero__tags {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.hero__eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  margin: 0 0 0.6rem;
  max-width: 18ch;
}
.hero__tagline {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 60ch;
  margin: 0 0 2rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__audience {
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 60ch;
}

/* ---------------------------------------------------------------------------
   Badges (e.g. "Veteran-Owned & Operated" pill near the hero eyebrow)
--------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(61, 217, 214, 0.35);
  background: rgba(61, 217, 214, 0.10);
  color: var(--accent);
  white-space: nowrap;
}
.badge svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.25rem 0;
}

section { padding: 4rem 0; }
section.alt { background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------------------------------------------------------------------------
   Stat band: a slim strip of headline numbers (homepage, under the hero)
--------------------------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-band__value {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--accent-cta);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-band__label {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
}
@media (max-width: 820px) {
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .stat-band { grid-template-columns: 1fr; gap: 1.5rem; }
}

.section-heading { max-width: 65ch; margin-bottom: 2.5rem; }
.section-heading__eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.section-heading h2 { margin: 0.4rem 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.section-heading p { color: var(--text-muted); margin: 0; }

/* Sub-heading between two card grids in the same section (e.g. "Core Practice"
   cards above, "Supporting Services" grid below) — smaller gap than a full
   section-heading since it isn't opening a new section. */
.section-heading--tight { margin: 2.5rem 0 1.5rem; }
.section-heading--tight p { margin-top: 0.35rem; }

/* ---------------------------------------------------------------------------
   Grids / cards
--------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { margin-top: 0.75rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.card p { color: var(--text-muted); margin: 0; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(61, 217, 214, 0.12);
  color: var(--accent);
}
.card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-card__link {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Flagship service cards (vCISO & Compliance on the homepage): larger, with
   a "Core Practice" badge, sitting above the regular-sized service grid. */
.services-featured { margin-bottom: 1.5rem; }
.service-card--featured { padding: 2.25rem; }
.service-card--featured .badge { margin-bottom: 1.25rem; align-self: flex-start; }
.service-card--featured h3 { font-size: 1.3rem; }
.service-card--featured p { font-size: 1.02rem; }
.card__icon--lg {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}
.card__icon--lg svg { width: 28px; height: 28px; }

/* Track-record / proof-point cards: a big stat above a short write-up. */
.proof-card__stat {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-cta);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.proof-card h3 { margin-top: 0; }

/* ---------------------------------------------------------------------------
   Service package / pricing cards (homepage "Where to Start" section)
--------------------------------------------------------------------------- */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card__kicker {
  display: inline-block;
  align-self: flex-start;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.pricing-card h3 { margin-top: 0; font-size: 1.1rem; }
.pricing-card .check-list { margin: 1.25rem 0; gap: 0.55rem; }
.pricing-card .check-list li { font-size: 0.92rem; }
.pricing-card__price {
  margin-top: auto;
  padding-top: 1.1rem;
  margin-bottom: 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
}
.pricing-card__price span {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}
.pricing-card .btn { align-self: flex-start; }
.pricing-note { margin-top: 2rem; }

/* ---------------------------------------------------------------------------
   Platform illustrative preview (Platform page)
--------------------------------------------------------------------------- */
.platform-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.platform-visual__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.platform-visual__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.platform-visual__title {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0.6rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.platform-visual__body { display: flex; flex-direction: column; gap: 1.5rem; }
.platform-visual__score { text-align: center; }
.platform-visual__score-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-cta);
  line-height: 1;
}
.platform-visual__score-label {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.platform-visual__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.platform-visual__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
}
.platform-visual__rows li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.platform-visual__pill { flex: none; }
.platform-visual__pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}
.platform-visual__pill--met { background: rgba(74, 222, 128, 0.15); color: var(--success); }
.platform-visual__pill--gap { background: rgba(255, 107, 107, 0.15); color: var(--danger); }
.platform-visual__pill--progress { background: rgba(245, 166, 35, 0.15); color: var(--accent-cta); }
.platform-visual__caption {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
}

/* Grid items in the Platform page's two-column hero: without this, the
   nowrap platform-visual__title (and any other unbreakable content) sets an
   oversized automatic minimum size and blows out the grid at narrow widths. */
.platform-hero__col { min-width: 0; }

/* Numbered Assess/Prioritize/Track step cards (Platform page). */
.platform-steps { gap: 1.25rem; }
.platform-steps .badge {
  width: 26px;
  height: 26px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------------
   Leadership team bios (About page)
--------------------------------------------------------------------------- */
.team {
  display: grid;
  gap: 3rem;
}
.team .founder:not(:first-child) {
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.founder {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.founder__photo {
  flex: none;
  width: 200px;
  height: 300px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(160deg, rgba(61, 217, 214, 0.22), rgba(31, 184, 181, 0.08));
  border: 1px solid rgba(61, 217, 214, 0.35);
}
.founder__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--accent);
}
@media (max-width: 480px) {
  .founder__photo { width: 160px; height: 240px; }
}
.founder__bio h3 { margin-top: 0; margin-bottom: 0.75rem; }
.founder__bio p { color: var(--text-muted); }
@media (max-width: 620px) {
  .founder { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent-cta);
  color: var(--accent-cta-contrast);
}
.btn-primary:hover { background: var(--accent-cta-strong); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------------------
   Lists
--------------------------------------------------------------------------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.6rem; color: var(--text-muted); }
.check-list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Framework/label lists: name on its own line, description below, so entries of
   very different name lengths (e.g. "HIPAA" vs "NIST SP 800-53 / NIST CSF 2.0")
   still line up in a clean, even column instead of wrapping raggedly inline. */
.check-list--framework li > div { display: flex; flex-direction: column; gap: 0.15rem; }
.check-list--framework li strong { color: var(--text); }
.check-list--framework li span { color: var(--text-muted); font-size: 0.92rem; }
.check-list--framework li::before { margin-top: 4px; }

/* ---------------------------------------------------------------------------
   Page header (interior pages)
--------------------------------------------------------------------------- */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(61,217,214,0.06), transparent);
}
.page-header__eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.page-header h1 { margin: 0.5rem 0 0.75rem; font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
.page-header p { color: var(--text-muted); max-width: 65ch; margin: 0; font-size: 1.05rem; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 2.5rem; }
.prose p { color: var(--text-muted); }
.prose ul { color: var(--text-muted); }

/* ---------------------------------------------------------------------------
   Forms
--------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.25rem; max-width: 640px; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; font-size: 0.9rem; }
.form-row__optional { font-weight: 400; color: var(--text-muted); }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.7rem 0.85rem;
  font: inherit;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.field-validation-error, .validation-summary-errors {
  color: var(--danger);
  font-size: 0.85rem;
}
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.input-validation-error { border-color: var(--danger) !important; }

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
}
.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--success);
}

/* Honeypot field: hidden from sighted users, still reachable by naive bots that
   fill in every field. Kept off-screen rather than display:none, which some
   spam scripts specifically skip. */
.hp-field {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 3rem;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.site-footer__col h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}
.footer-logo { height: 44px; width: auto; display: block; margin-bottom: 1rem; }
.site-footer__col p.footer-motto {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}
.site-footer__col p { color: var(--text-muted); margin: 0.3rem 0; font-size: 0.92rem; }
.site-footer__col a { display: block; color: var(--text-muted); margin: 0.4rem 0; font-size: 0.92rem; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__legal {
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
@media (max-width: 700px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Legal pages: on-page nav, term list, comparison table, report quote,
   and the per-framework disclaimer cards on the Compliance service page
--------------------------------------------------------------------------- */
.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  margin: 1.5rem 0 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.legal-toc strong { color: var(--text); margin-right: 0.25rem; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }

.prose h3 { margin-top: 2rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.prose ol { color: var(--text-muted); }
/* Links inline in a paragraph of text need a non-color cue (WCAG 1.4.1) —
   the site-wide `a` only underlines on hover, which isn't enough on its own. */
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.term-list { margin: 1rem 0 1.5rem; display: grid; gap: 0.75rem; }
.term-list dt { color: var(--text); font-weight: 700; }
.term-list dd { margin: 0.15rem 0 0; color: var(--text-muted); }

.table-scroll { overflow-x: auto; margin: 1.5rem 0 2rem; }
.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); }
.legal-table th { color: var(--text); background: var(--bg-raised); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }
.legal-table td { color: var(--text-muted); }
.legal-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.legal-table td:first-child a { color: var(--accent); text-decoration: none; }
.legal-table td:first-child a:hover { text-decoration: underline; }
.legal-table tbody tr:last-child td { border-bottom: 0; }

.report-quote {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-raised);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}

.notice {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.disclaimer-card h3 { margin-top: 0.25rem; }
.disclaimer-card p { margin: 0 0 0.6rem; }
.disclaimer-card p:last-child { margin-bottom: 0; }
.disclaimer-card__label {
  display: block;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.disclaimer-card a { color: var(--accent); font-size: 0.9rem; }

/* ---------------------------------------------------------------------------
   Utility classes
   These replace inline style="..." attributes. The site's Content-Security-Policy
   sets style-src 'self' with no 'unsafe-inline', which blocks inline style
   attributes as well as <style> blocks, so styling must live here to take effect.
   --------------------------------------------------------------------------- */

.u-center { text-align: center; }

.u-flush-top { margin-top: 0; }

/* Centred supporting paragraph under a section heading. */
.u-lede {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}

/* Full-width call-to-action card: copy on the left, button on the right,
   stacking on narrow screens. */
.cta-band {
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
