/*
 * Erasure standards: the hub at /resources/standards/ and the 25 pages under it.
 *
 * Every selector is prefixed st- so nothing here reaches the rest of the site.
 * Colour comes from the site tokens in ds-theme.css. Below 768px the layout
 * becomes a single centred column: headings, copy, chips and buttons centre,
 * while lists, tables and FAQ answers stay left aligned so they still read.
 */

.st-page {
  --st-ink: var(--ds-ink, #1c1c25);
  --st-muted: #5d6470;
  --st-line: #e3e8ea;
  --st-teal: var(--ds-teal, #009688);
  --st-teal-deep: var(--ds-teal-deep, #00796b);
  --st-wash: var(--ds-teal-wash, #f0faf9);
  --st-bg-alt: #f6f9f9;
  --st-dark: #0e2a27;
  --st-radius: 18px;
  --st-shadow: 0 1px 2px rgba(16, 40, 38, 0.06), 0 8px 28px rgba(16, 40, 38, 0.06);
  color: var(--st-ink);
  font-family: var(--font_inter), system-ui, sans-serif;
}
.st-page h1,
.st-page h2,
.st-page h3 {
  font-family: var(--font_generalsanssemibold), var(--font_inter), sans-serif;
  color: var(--st-ink);
  letter-spacing: -0.01em;
}
.st-page p {
  color: var(--st-muted);
  line-height: 1.7;
  font-size: 16px;
  margin: 0 0 14px;
}
.st-page a {
  color: var(--st-teal-deep);
}

/* ---------- section rhythm ---------- */
.st-section {
  padding: 88px 0;
}
.st-alt {
  background: var(--st-bg-alt);
}
.st-dark {
  background: var(--st-dark);
}
.st-dark h2,
.st-dark h3 {
  color: #fff;
}
.st-dark p {
  color: #b9cdca;
}
.st-narrow {
  max-width: 920px !important;
}
.st-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.st-head h2,
.st-split h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 10px 0 14px;
}
.st-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--st-teal);
}
.st-dark .st-eyebrow {
  color: #6fd6c9;
}
.st-note {
  font-size: 14px !important;
  text-align: center;
  margin: 22px auto 0;
  max-width: 760px;
}

/* ---------- buttons ---------- */
.st-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  border: 1.5px solid transparent;
}
.st-btn:hover {
  transform: translateY(-1px);
}
.st-page .st-btn-primary {
  background: var(--st-teal);
  color: #fff;
}
.st-page .st-btn-primary:hover {
  background: var(--st-teal-deep);
  color: #fff;
}
.st-page .st-btn-ghost {
  border-color: var(--st-line);
  color: var(--st-ink);
  background: #fff;
}
.st-page .st-btn-ghost:hover {
  border-color: var(--st-teal);
  color: var(--st-teal-deep);
}
.st-page .st-btn-light {
  background: #fff;
  color: var(--st-teal-deep);
}
.st-page .st-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.st-page .st-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------- hero ---------- */
.st-hero {
  padding: 36px 0 64px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(0, 150, 136, 0.14), transparent 60%),
    linear-gradient(180deg, #f3fbfa 0%, #fff 100%);
  border-bottom: 1px solid var(--st-line);
}
.st-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--st-muted);
  margin-bottom: 28px;
}
.st-crumbs a {
  color: var(--st-muted);
  text-decoration: none;
}
.st-crumbs a:hover {
  color: var(--st-teal-deep);
}
.st-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.st-hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  margin: 12px 0 18px;
}
.st-lead {
  font-size: 18px !important;
  max-width: 640px;
}
.st-motto {
  font-weight: 600;
  color: var(--st-ink) !important;
  border-left: 3px solid var(--st-teal);
  padding-left: 14px;
}
.st-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.st-hero-panel {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--st-shadow);
}
.st-hero-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--st-line);
  font-size: 14px;
  font-weight: 600;
}
.st-hero-row:last-of-type {
  border-bottom: 0;
}
.st-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--st-muted);
}
.st-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  margin-left: 4px;
}
.st-hero-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--st-shadow);
  aspect-ratio: 3 / 2;
}
.st-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 48px 0 0;
}
.st-stats > div {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  padding: 20px 22px;
}
.st-stats dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--st-muted);
}
.st-stats dd {
  margin: 4px 0 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--st-teal-deep);
  font-family: var(--font_generalsanssemibold), sans-serif;
}

/* ---------- pass strip ---------- */
.st-strip {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
}
.st-cell {
  flex: 1 1 0;
  min-width: 0;
  min-height: 58px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  text-align: center;
}
.st-cell b {
  font-size: 13px;
}
.st-cell em {
  font-style: normal;
  font-size: 11px;
  opacity: 0.85;
  overflow-wrap: anywhere;
  padding: 0 3px;
}
.st-strip.is-compact .st-cell {
  min-height: 22px;
  border-radius: 5px;
}
.st-strip.is-many {
  gap: 2px;
}
.st-strip.is-many .st-cell {
  min-height: 44px;
  border-radius: 3px;
}
.st-zero {
  background: #e9f1f0;
  color: #24514b;
  box-shadow: inset 0 0 0 1px #d2e2df;
}
.st-one {
  background: #1f3d39;
  color: #fff;
}
.st-random {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 3px, transparent 3px 7px),
    linear-gradient(135deg, #009688, #26a69a);
  color: #fff;
}
.st-pattern {
  background: repeating-linear-gradient(90deg, #7c5cff 0 4px, #9b85ff 4px 8px);
  color: #fff;
}
.st-complement {
  background: repeating-linear-gradient(-45deg, #0e2a27 0 3px, #26a69a 3px 7px);
  color: #fff;
}
.st-tech {
  background: linear-gradient(135deg, #00796b, #009688 55%, #4db6ac);
  color: #fff;
}
.st-verify {
  background: #fff4d6;
  color: #7a5200;
  box-shadow: inset 0 0 0 1.5px #f1c24c;
}

/* ---------- pills ---------- */
.st-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--st-wash);
  color: var(--st-teal-deep);
}
.st-pill.is-lock {
  background: #fff4d6;
  color: #7a5200;
}

/* ---------- explorer ---------- */
.st-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.st-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.st-chip {
  border: 1px solid var(--st-line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-ink);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s;
}
.st-chip span {
  font-size: 12px;
  background: var(--st-bg-alt);
  border-radius: 999px;
  padding: 1px 8px;
  color: var(--st-muted);
}
.st-chip.is-on {
  background: var(--st-teal);
  border-color: var(--st-teal);
  color: #fff;
}
.st-chip.is-on span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.st-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.st-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--st-line);
  background: #fff;
  border-radius: 999px;
  padding: 0 16px;
  height: 44px;
  margin: 0;
}
.st-search svg,
.st-card-go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  flex: none;
}
.st-search svg {
  color: var(--st-muted);
}
.st-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  width: 210px;
  color: var(--st-ink);
}
.st-toggle {
  display: inline-flex;
  border: 1px solid var(--st-line);
  border-radius: 999px;
  padding: 3px;
  background: #fff;
}
.st-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
  cursor: pointer;
}
.st-toggle button.is-on {
  background: var(--st-ink);
  color: #fff;
}
.st-empty {
  text-align: center;
}
.st-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.st-card {
  display: flex;
}
.st-card-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.st-card-link::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--st-teal);
}
.st-fam-government .st-card-link::before {
  background: #3f51b5;
}
.st-fam-legacy .st-card-link::before {
  background: #9e9e9e;
}
.st-card-link:hover {
  border-color: var(--st-teal);
  box-shadow: var(--st-shadow);
  transform: translateY(-2px);
}
.st-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.st-num {
  font-family: var(--font_generalsanssemibold), sans-serif;
  font-size: 14px;
  color: var(--st-teal);
}
.st-region {
  font-size: 12px;
  font-weight: 600;
  color: var(--st-muted);
  background: var(--st-bg-alt);
  padding: 3px 10px;
  border-radius: 999px;
}
.st-card-name {
  font-family: var(--font_generalsanssemibold), sans-serif;
  font-size: 19px;
  line-height: 1.3;
  color: var(--st-ink);
}
.st-card-sum {
  font-size: 14px;
  line-height: 1.6;
  color: var(--st-muted);
  flex: 1;
}
.st-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.st-card-meta .st-pill {
  font-size: 12px;
  padding: 4px 10px;
}
.st-card-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-teal-deep);
  margin-top: 4px;
}
.st-card-link:hover .st-card-go svg {
  transform: translateX(3px);
}
.st-card-go svg {
  transition: transform 0.2s;
}

/* ---------- tables ---------- */
.st-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  background: #fff;
  -webkit-overflow-scrolling: touch;
}
.st-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 560px;
}
.st-table th {
  background: var(--st-ink);
  color: #fff;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 14px 18px;
}
.st-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--st-line);
  color: var(--st-ink);
  vertical-align: middle;
}
.st-table tbody tr:nth-child(even) td {
  background: #fafcfc;
}
.st-table tbody tr:hover td {
  background: var(--st-wash);
}
.st-table a {
  font-weight: 600;
  text-decoration: none;
}
.st-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--st-teal);
  margin-right: 8px;
}
.st-dot.is-lock {
  background: #f1a91c;
}
.st-compare td:nth-child(2),
.st-compare td:nth-child(3),
.st-compare th:nth-child(2),
.st-compare th:nth-child(3) {
  text-align: center;
}
.st-compare th:nth-child(3) {
  background: var(--st-teal);
}
.st-yes {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--st-wash);
  color: var(--st-teal-deep);
  font-weight: 700;
}
.st-varies {
  font-size: 13px;
  color: var(--st-muted);
}

/* ---------- split and boxes ---------- */
.st-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.st-split-img {
  align-items: center;
}
.st-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--st-shadow);
}
.st-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.st-quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--st-shadow);
}
.st-quote p {
  font-family: var(--font_generalsanssemibold), sans-serif;
  font-size: 22px !important;
  line-height: 1.35 !important;
  margin: 0 0 16px;
}
.st-quote-wrong {
  color: #a0a6ae !important;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.st-quote-right {
  color: var(--st-ink) !important;
}
.st-quote figcaption {
  font-size: 14px;
  color: var(--st-teal-deep);
  font-weight: 600;
}
.st-box {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 26px;
  height: 100%;
}
.st-box h3 {
  font-size: 20px;
  margin: 6px 0 14px;
}
.st-box ul {
  margin: 0;
  padding-left: 20px;
}
.st-box li {
  color: var(--st-muted);
  margin-bottom: 8px;
  line-height: 1.55;
}
.st-box-good {
  border-top: 4px solid var(--st-teal);
}
.st-box-note {
  border-top: 4px solid #f1a91c;
}
.st-cols {
  display: grid;
  gap: 18px;
}
.st-small {
  font-size: 14px !important;
  margin: 12px 0 0;
}
.st-tagline {
  font-size: 14px !important;
  font-weight: 600;
  color: var(--st-teal-deep) !important;
}

/* ---------- NIST levels ---------- */
.st-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.st-level {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.st-level.is-key {
  border-color: var(--st-teal);
  box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.12);
}
.st-level-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-teal);
  background: var(--st-wash);
  border-radius: 999px;
  padding: 4px 12px;
}
.st-level h3 {
  font-size: 26px;
  margin: 16px 0 8px;
}
.st-level dl {
  margin: 8px 0 18px;
  flex: 1;
}
.st-level dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--st-ink);
  margin-top: 12px;
}
.st-level dd {
  margin: 2px 0 0;
  color: var(--st-muted);
  font-size: 15px;
}
.st-level > a {
  font-weight: 600;
  text-decoration: none;
}
.st-level > a::after {
  content: " →";
}

/* ---------- media cards ---------- */
.st-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.st-media article {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 28px;
}
.st-media h3 {
  font-size: 22px;
  margin: 0 0 10px;
}
.st-media ul,
.st-ticks,
.st-checks,
.st-warn {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.st-media li,
.st-ticks li,
.st-checks li,
.st-warn li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--st-ink);
  line-height: 1.5;
}
.st-media li::before,
.st-ticks li::before,
.st-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--st-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23009688' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.st-ticks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  margin-bottom: 24px;
}
.st-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.st-checks li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 14px 14px 42px;
  color: #fff;
  margin: 0;
}
.st-checks li::before {
  left: 14px;
  top: 16px;
}
.st-warn li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdecea;
  color: #c62828;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.st-warn-dark li {
  color: #fff;
}
.st-callout {
  background: rgba(0, 150, 136, 0.12);
  border-left: 3px solid var(--st-teal);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  color: var(--st-ink) !important;
  font-weight: 500;
}
.st-dark .st-callout {
  color: #e6f4f2 !important;
}

/* ---------- bars ---------- */
.st-bars {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--st-shadow);
}
.st-bar {
  display: grid;
  grid-template-columns: 180px 1fr 44px;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 14px;
}
.st-bar a {
  font-weight: 600;
  text-decoration: none;
  color: var(--st-ink);
}
.st-bar-track {
  height: 12px;
  background: var(--st-bg-alt);
  border-radius: 999px;
  overflow: hidden;
}
.st-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--st-teal), #f1a91c);
}
.st-bar b {
  text-align: right;
  font-size: 14px;
}
.st-bar-note {
  font-size: 13px !important;
  margin: 8px 0 0;
}

/* ---------- steps and flow ---------- */
.st-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.st-steps li {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 26px;
}
.st-step-n {
  font-family: var(--font_generalsanssemibold), sans-serif;
  font-size: 30px;
  color: var(--st-teal);
  opacity: 0.35;
}
.st-steps h3 {
  font-size: 19px;
  margin: 6px 0 8px;
}
.st-steps p {
  font-size: 15px !important;
  margin: 0;
}
.st-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  counter-reset: none;
}
.st-flow li {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  font-weight: 600;
  position: relative;
}
.st-flow li > span {
  display: flex;
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--st-teal);
  color: #fff;
  font-size: 14px;
}
.st-flow-rich {
  grid-template-columns: repeat(4, 1fr);
}
.st-flow-rich li b {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}
.st-flow-rich li em {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.55;
}
.st-flow-arrows li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--st-teal);
  border-right: 2px solid var(--st-teal);
  transform: translateY(-50%) rotate(45deg);
}
.st-tags {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.st-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--st-wash);
  color: var(--st-teal-deep);
  font-size: 13px;
  font-weight: 600;
}
.st-tags-center {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- spec block ---------- */
.st-spec-wrap {
  padding: 56px 0;
}
.st-spec {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.st-spec > div {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--st-shadow);
}
.st-spec h2 {
  font-size: 22px;
  margin: 0 0 18px;
}
.st-spec dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px 16px;
  margin: 0;
}
.st-spec dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--st-muted);
}
.st-spec dd {
  margin: 0;
  font-size: 15px;
  color: var(--st-ink);
}
.st-seq-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}
.st-seq-list li {
  font-size: 15px;
  color: var(--st-muted);
}
.st-seq-list b {
  display: inline-block;
  min-width: 70px;
  margin-right: 6px;
  color: var(--st-ink);
}

/* ---------- fit cards ---------- */
.st-fit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.st-fit-card {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 24px;
}
.st-fit-card h3 {
  font-size: 19px;
  margin: 12px 0 8px;
}
.st-fit-card p {
  font-size: 15px !important;
  margin: 0;
}
.st-fit-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.st-fit-card.is-recommended .st-fit-tag {
  background: var(--st-wash);
  color: var(--st-teal-deep);
}
.st-fit-card.is-suitable .st-fit-tag {
  background: #e8f0fe;
  color: #1a4fb4;
}
.st-fit-card.is-policy .st-fit-tag {
  background: #fff4d6;
  color: #7a5200;
}
.st-fit-card.is-recommended {
  border-top: 4px solid var(--st-teal);
}
.st-fit-card.is-suitable {
  border-top: 4px solid #5b8def;
}
.st-fit-card.is-policy {
  border-top: 4px solid #f1a91c;
}

/* ---------- DPDP specific ---------- */
.st-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.st-mini {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 16px;
  padding: 20px;
}
.st-dark .st-mini {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}
.st-mini h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.st-mini p {
  font-size: 14px !important;
  margin: 0;
}
.st-questions {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
}
.st-questions li {
  background: #fff;
  border: 1px dashed var(--st-teal);
  color: var(--st-ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
}
/* Flex rather than grid so an odd last card centres instead of hanging left. */
.st-report {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.st-report article {
  flex: 0 1 calc((100% - 36px) / 3);
}
.st-report article {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 24px;
}
.st-report h3 {
  font-size: 18px;
  margin: 0 0 8px;
}
.st-report p {
  font-size: 15px !important;
  margin: 0;
}
.st-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.st-chain {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.st-chain li {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--st-wash);
  color: var(--st-teal-deep);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 18px;
  text-align: center;
}
.st-chain li:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  color: var(--st-teal);
  font-size: 14px;
}
.st-model {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.st-model li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
}
.st-model span {
  display: block;
  color: #6fd6c9;
  font-weight: 700;
  font-size: 13px;
}
.st-model b {
  display: block;
  color: #fff;
  font-size: 18px;
  margin: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.st-model em {
  font-style: normal;
  color: #b9cdca;
  font-size: 14px;
}
.st-brings {
  text-align: center;
  margin-top: 48px;
}
.st-brings h3 {
  font-size: 26px;
  margin: 0;
}
.st-brings p {
  font-weight: 600;
  color: var(--st-ink) !important;
  margin-top: 20px;
}
.st-position {
  border: 1px solid var(--st-line);
  border-left: 4px solid #f1a91c;
  border-radius: 0 var(--st-radius) var(--st-radius) 0;
  padding: 28px 32px;
  background: #fffdf6;
}
.st-position h2 {
  font-size: 22px;
  margin: 0 0 10px;
}
.st-position p {
  font-size: 15px !important;
}

/* ---------- FAQ ---------- */
.st-faq details {
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.st-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
  color: var(--st-ink);
}
.st-faq summary::-webkit-details-marker {
  display: none;
}
.st-faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--st-wash);
  color: var(--st-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.st-faq details[open] summary::after {
  content: "−";
}
.st-faq details p {
  padding: 0 22px 20px;
  margin: 0;
}

/* ---------- related + pager ---------- */
.st-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.st-rel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius);
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.st-rel:hover {
  border-color: var(--st-teal);
  box-shadow: var(--st-shadow);
}
.st-rel .st-region {
  align-self: flex-start;
}
.st-rel b {
  font-size: 18px;
  color: var(--st-ink);
}
.st-rel em {
  font-style: normal;
  font-size: 14px;
  color: var(--st-muted);
  line-height: 1.55;
}
.st-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--st-line);
}
.st-pager a {
  text-decoration: none;
  font-weight: 600;
  color: var(--st-ink);
}
.st-pager a small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--st-muted);
}
.st-pager a[rel="next"] {
  text-align: right;
}
.st-pager-all {
  border: 1px solid var(--st-line);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
}

/* ---------- CTA ---------- */
.st-cta {
  padding: 24px 0 88px;
}
.st-cta-box {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  padding: 48px 52px;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, var(--st-teal-deep), var(--st-teal));
}
.st-cta-box h2 {
  color: #fff !important;
  font-size: clamp(26px, 3vw, 38px);
  margin: 0 0 10px;
}
.st-cta-box p {
  color: #d9f2ef !important;
  margin: 0;
  max-width: 620px;
}
.st-cta-box .st-actions {
  margin: 0;
  flex: none;
}

/* ================================================================== */
/* Tablet                                                               */
/* ================================================================== */
@media (max-width: 1199px) {
  .st-grid,
  .st-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-report article {
    flex-basis: calc((100% - 18px) / 2);
  }
  .st-fit {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-flow,
  .st-model {
    grid-template-columns: repeat(3, 1fr);
  }
  .st-flow-arrows li::after {
    display: none;
  }
}

@media (max-width: 991px) {
  .st-section {
    padding: 64px 0;
  }
  .st-hero-grid,
  .st-split,
  .st-spec {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .st-hero-panel,
  .st-hero-photo {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }
  .st-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .st-levels,
  .st-media,
  .st-three,
  .st-related {
    grid-template-columns: 1fr 1fr;
  }
  .st-level:last-child,
  .st-media article:last-child,
  .st-three > :last-child,
  .st-related > :last-child {
    grid-column: 1 / -1;
  }
  .st-flow-rich {
    grid-template-columns: 1fr 1fr;
  }
  .st-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
  .st-cta-box p {
    margin: 0 auto;
  }
  .st-cta-box .st-actions {
    justify-content: center;
  }
  .st-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .st-chips {
    justify-content: center;
  }
  .st-tools {
    justify-content: center;
  }
}

/* ================================================================== */
/* Phone: one centred column                                            */
/* ================================================================== */
@media (max-width: 767px) {
  .st-section {
    padding: 52px 0;
  }
  .st-hero {
    padding: 22px 0 44px;
    text-align: center;
  }
  .st-crumbs,
  .st-badges,
  .st-actions {
    justify-content: center;
  }
  .st-lead,
  .st-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .st-motto {
    border-left: 0;
    padding-left: 0;
    border-top: 3px solid var(--st-teal);
    padding-top: 12px;
    display: inline-block;
  }
  .st-actions .st-btn {
    flex: 1 1 100%;
  }
  .st-hero-row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }
  .st-legend {
    justify-content: center;
  }
  .st-stats {
    gap: 10px;
    margin-top: 32px;
  }
  .st-stats > div {
    padding: 16px;
    text-align: center;
  }
  .st-stats dd {
    font-size: 26px;
  }
  .st-split > div:first-child,
  .st-head {
    text-align: center;
  }
  .st-split .st-btn {
    margin-top: 8px;
  }
  .st-report article {
    flex-basis: 100%;
  }
  .st-grid,
  .st-steps,
  .st-fit,
  .st-levels,
  .st-media,
  .st-three,
  .st-related,
  .st-grid2 {
    grid-template-columns: 1fr;
  }
  .st-level,
  .st-steps li,
  .st-fit-card,
  .st-report article,
  .st-mini,
  .st-rel {
    text-align: center;
  }
  .st-level-tag,
  .st-rel .st-region {
    align-self: center;
  }
  .st-card-link {
    text-align: center;
    align-items: center;
  }
  .st-card-top {
    width: 100%;
  }
  .st-card-meta {
    justify-content: center;
  }
  .st-media article,
  .st-box {
    text-align: left;
  }
  .st-ticks,
  .st-checks {
    grid-template-columns: 1fr;
  }
  .st-flow,
  .st-flow-rich,
  .st-model {
    grid-template-columns: 1fr 1fr;
  }
  .st-flow-rich {
    grid-template-columns: 1fr;
  }
  .st-bar {
    grid-template-columns: 1fr 44px;
  }
  .st-bar a {
    grid-column: 1 / -1;
  }
  .st-search {
    width: 100%;
  }
  .st-search input {
    width: 100%;
  }
  .st-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .st-toggle {
    align-self: center;
  }
  .st-spec dl {
    grid-template-columns: 1fr;
    gap: 2px;
    text-align: center;
  }
  .st-spec dd {
    margin-bottom: 12px;
  }
  .st-spec h2 {
    text-align: center;
  }
  .st-seq-list {
    text-align: left;
  }
  .st-quote {
    text-align: center;
    padding: 24px;
  }
  .st-quote p {
    font-size: 19px !important;
  }
  .st-pager {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .st-pager a[rel="next"] {
    text-align: center;
  }
  .st-pager-all {
    order: 3;
  }
  .st-faq summary {
    font-size: 16px;
  }
  .st-questions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .st-note {
    text-align: center;
  }
  .st-cta {
    padding-bottom: 64px;
  }
}

/* Cards without a finished page: no hover lift, no pointer. */
.st-card-link.is-static { cursor: default; }
.st-card-link.is-static:hover { border-color: var(--st-line); box-shadow: none; transform: none; }
.st-card.is-linked .st-card-link { border-color: var(--st-teal); box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.1); }
