/**
 * August 2026 Data Dossier CTA pages.
 *
 * Loads on top of so-demo.css, which owns the hero, card grid, numbered steps,
 * dark stat bar and split form section. Everything here is the editorial layer
 * those demo pages do not have: measured prose, the funnel chart, the diagram
 * figures and the events list.
 */

/* ===== Figure tokens (single source for the inline SVGs) ===== */
.sfd_page {
  --sfd-navy: #012d51;
  --sfd-accent: #0229df;
  --sfd-ink: #12314b;
  --sfd-neutral: #4a6b86;
  --sfd-quiet: #8aa3b8;
  --sfd-hair: rgba(1, 45, 81, 0.14);
  --sfd-surface: #ffffff;
  --sfd-tint: rgba(1, 45, 81, 0.05);
  --sfd-muted: #688084;
}

/* ===== Inline icons =====
   Font Awesome is not loaded on this site, so these pages ship their own
   stroke icons through safience_dossier_icon(). */
.sfd_icon {
  display: block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sfd_page .custom_btn .sfd_icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

/* ===== Hero additions ===== */
.sfd_page .so_demo_bnr .custom_container {
  min-height: 560px;
}

.sfd_page .so_demo_bnr_content h1 {
  max-width: 15ch;
}

.sfd_hero_dek {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--secondary-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.3px;
  margin-bottom: 32px;
  max-width: 640px;
}

.sfd_hero_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.sfd_hero_chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--secondary-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.sfd_hero_chips .sfd_icon {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
  color: #ff8f8f;
}

/* ===== Bands ===== */
.sfd_sec {
  padding: 80px 0;
  background: var(--white-color);
}

.sfd_sec--alt {
  background: var(--background-color);
}

.sfd_sec--tight {
  padding: 64px 0;
}

/* The standfirst directly under the hero: centred so it reads as part of the
   hero's rhythm rather than an orphaned paragraph. */
.sfd_sec--tight .sfd_prose {
  max-width: 840px;
  text-align: center;
}

.sfd_sec .title {
  margin-bottom: 44px;
}

.sfd_sec .title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.sfd_sec .title h6 {
  color: var(--primary-color);
  font-family: var(--secondary-font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.sfd_sec .title h2 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 0;
}

.sfd_sec .sfd_split .title,
.sfd_sec .sfd_flow_body .title {
  margin-bottom: 28px;
}

/* The theme centres .title h2 by default, which is wrong in the asymmetric
   layouts where the kicker and body copy sit on the left rail. */
.sfd_sec .sfd_split .title h2,
.sfd_sec .sfd_flow_body .title h2 {
  font-size: 36px;
  letter-spacing: -1.2px;
  text-align: left;
}

.sfd_title_intro {
  margin: 18px 0 0;
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.2px;
}

.sfd_stack {
  margin-bottom: 36px;
}

.sfd_stack--top {
  margin: 36px 0 0;
}

/* Card grids and figures use the full theme container, the same measure the
   demo landings give their grids, so every band shares one left rail. */
.sfd_wide {
  max-width: none;
}

/* ===== Measured prose ===== */
.sfd_prose {
  max-width: 720px;
}

.sfd_prose--center {
  margin-left: auto;
  margin-right: auto;
}

.sfd_prose p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

.sfd_prose p:last-child {
  margin-bottom: 0;
}

.sfd_prose strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.sfd_lead {
  color: var(--secondary-color) !important;
  font-family: var(--secondary-font);
  font-size: 22px !important;
  font-weight: 500;
  line-height: 1.6 !important;
  letter-spacing: -0.4px;
}

.sfd_kicker {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

/* ===== Two-column stop cards (identity / relevance) ===== */
.sfd_pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.sfd_pair_card {
  position: relative;
  padding: 36px 30px;
  background: var(--background-color);
  border-radius: 20px;
  border: 1px solid transparent;
  border-left: 3px solid var(--secondary-color);
}

.sfd_sec--alt .sfd_pair_card {
  background: var(--white-color);
  border-color: rgba(0, 0, 0, 0.04);
  border-left-color: var(--secondary-color);
}

.sfd_pair_card--accent,
.sfd_sec--alt .sfd_pair_card--accent {
  border-left-color: var(--primary-color);
}

.sfd_pair_num {
  display: block;
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.sfd_pair_card--accent .sfd_pair_num {
  color: var(--primary-color);
}

.sfd_pair_unit {
  display: block;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.sfd_pair_card h4 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.sfd_pair_card p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 15.5px;
  line-height: 1.7;
  letter-spacing: -0.2px;
  margin: 0;
}

/* ===== Analyst checks: the demo's numbered step cards, unmodified ===== */
.sfd_page .so_demo_how_grid .so_demo_how_step p {
  line-height: 1.65;
}

/* ===== Criteria: four law-enforcement categories, then the operator's own ===== */
.sfd_criteria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 0 24px;
  padding: 0;
}

.sfd_criteria li {
  list-style: none;
  padding: 30px 26px;
  background: var(--background-color);
  border-radius: 20px;
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.3;
}

.sfd_sec--alt .sfd_criteria li {
  background: var(--white-color);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sfd_criteria_icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.sfd_criteria_icon .sfd_icon {
  width: 22px;
  height: 22px;
}

.sfd_criteria_own {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 20px;
  background: rgba(2, 41, 223, 0.05);
  border: 1px solid rgba(2, 41, 223, 0.12);
  margin-bottom: 32px;
}

.sfd_criteria_own .sfd_criteria_icon {
  background: var(--primary-color);
  margin-bottom: 0;
}

.sfd_criteria_own strong {
  display: block;
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.sfd_criteria_own p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.2px;
  margin: 0;
}

/* ===== Deny list: the demo's dark callout, two columns ===== */
.sfd_deny_panel {
  background: var(--dark-blue-color);
  border-radius: 20px;
  overflow: hidden;
}

.sfd_deny_head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 30px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sfd_deny_head .sfd_icon {
  width: 20px;
  height: 20px;
  color: #ef4444;
}

.sfd_deny_head h4 {
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0;
}

.sfd_deny {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 34px;
  margin: 0;
  padding: 24px 30px 28px;
  list-style: none;
}

.sfd_deny li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--secondary-font);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.sfd_deny li .sfd_icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  stroke-width: 2.6;
  margin-top: 1px;
}

/* ===== Source list (provenance) ===== */
.sfd_sources {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  padding: 0;
}

.sfd_source {
  grid-column: span 2;
  list-style: none;
  padding: 32px 28px;
  background: var(--background-color);
  border-radius: 20px;
  border: 1px solid transparent;
  transition: var(--transetion);
}

.sfd_sec--alt .sfd_source {
  background: var(--white-color);
  border-color: rgba(0, 0, 0, 0.04);
}

/* Five sources: three across, then two across at half the row. */
.sfd_source:nth-child(4),
.sfd_source:nth-child(5) {
  grid-column: span 3;
}

.sfd_source:hover {
  border-color: rgba(1, 45, 81, 0.12);
  box-shadow: 0 8px 30px rgba(1, 45, 81, 0.06);
}

.sfd_source_icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: var(--secondary-color);
  color: var(--white-color);
  margin-bottom: 18px;
}

.sfd_source_icon .sfd_icon {
  width: 23px;
  height: 23px;
}

.sfd_source h4 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.sfd_source p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.2px;
  margin: 0;
}

/* ===== Diagram beside its explanation ===== */
.sfd_flow {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}

.sfd_flow_fig {
  flex: 0 0 460px;
  max-width: 460px;
  position: sticky;
  top: 110px;
}

.sfd_flow_fig .sfd_figure_head {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.sfd_flow_body {
  flex: 1;
  min-width: 0;
}

.sfd_flow_body .sfd_sources {
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ===== Trio of small statements ===== */
.sfd_trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 26px;
  padding: 0;
}

.sfd_trio li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.08);
  border-radius: 14px;
  color: var(--secondary-color);
  font-family: var(--secondary-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  line-height: 1.4;
}

.sfd_trio li .sfd_icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.13);
  color: #0f9c72;
  stroke-width: 2.6;
}

/* ===== Split layout with dark aside ===== */
.sfd_split {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.sfd_split_main {
  flex: 1;
  min-width: 0;
}

.sfd_split_aside {
  flex: 0 0 380px;
  max-width: 380px;
}

.sfd_note {
  background: var(--dark-blue-color);
  border-radius: 20px;
  padding: 32px 30px;
  position: sticky;
  top: 110px;
}

.sfd_note h5 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--secondary-font);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sfd_note h5 .sfd_icon {
  width: 16px;
  height: 16px;
  color: #7ea8ff;
}

.sfd_note p {
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.6px;
  margin: 0;
}

.sfd_note p + p {
  margin-top: 16px;
  font-family: var(--secondary-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.62);
}

/* ===== Layer cards (gallery / traffic / alerts) ===== */
.sfd_layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}

.sfd_layer {
  padding: 36px 30px;
  border-radius: 20px;
  background: var(--background-color);
  border: 1px solid transparent;
}

.sfd_sec--alt .sfd_layer {
  background: var(--white-color);
  border-color: rgba(0, 0, 0, 0.04);
}

.sfd_layer_tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 48px;
  font-family: var(--secondary-font);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sfd_layer--keep .sfd_layer_tag {
  background: rgba(1, 45, 81, 0.07);
  color: var(--secondary-color);
}

.sfd_layer--drop .sfd_layer_tag {
  background: rgba(239, 68, 68, 0.1);
  color: #d13b3b;
}

.sfd_layer--audit .sfd_layer_tag {
  background: rgba(2, 41, 223, 0.08);
  color: var(--primary-color);
}

.sfd_layer h4 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.sfd_layer p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.2px;
  margin: 0;
}

/* ===== Deletion timeline =====
   HTML rather than SVG so the step labels keep their real type size when the
   figure narrows to a phone width. */
.sfd_timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sfd_timeline li {
  position: relative;
  padding: 0 22px 0 0;
}

.sfd_timeline li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 32px;
  right: 0;
  height: 2px;
  background: rgba(1, 45, 81, 0.14);
}

.sfd_timeline li:last-child::before {
  display: none;
}

.sfd_timeline_node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-color);
  border: 2px solid rgba(1, 45, 81, 0.18);
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.sfd_timeline li:last-child .sfd_timeline_node {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.sfd_timeline strong {
  display: block;
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.sfd_timeline p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.2px;
  margin: 0;
}

.sfd_timeline li:last-child strong {
  color: var(--primary-color);
}

.sfd_timeline_end {
  display: block;
  margin-top: 10px;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

/* ===== Funnel chart =====
   Responsive HTML bars rather than a fixed-viewBox SVG: at 375px an SVG
   scaled to container width renders its labels at roughly 7px. */
.sfd_funnel {
  margin: 0;
  padding: 34px 36px 28px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.1);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(1, 45, 81, 0.04);
  /* See .sfd_figure: undo the theme's figure reset. */
  font-size: 16px;
  line-height: 1.6;
}

.sfd_funnel_head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(1, 45, 81, 0.1);
}

.sfd_funnel_head h3 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0;
}

.sfd_funnel_head span {
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.sfd_funnel_row + .sfd_funnel_row {
  margin-top: 18px;
}

/* Label rail, bar, value rail: the scan distance from a label to its number
   stays the same on every row regardless of how long the bar is. */
.sfd_funnel_grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr) 96px;
  align-items: center;
  column-gap: 24px;
}

.sfd_funnel_label {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.sfd_funnel_value {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}

.sfd_funnel_track {
  height: 10px;
  border-radius: 5px;
  background: rgba(1, 45, 81, 0.06);
  overflow: hidden;
}

.sfd_funnel_bar {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--secondary-color);
}

/* Steps read progressively lighter as the pipeline narrows, so the two accent
   bars at the bottom are the only saturated marks in the figure. */
.sfd_funnel_row--s1 .sfd_funnel_bar { background: #012d51; }
.sfd_funnel_row--s2 .sfd_funnel_bar { background: #1b4468; }
.sfd_funnel_row--s3 .sfd_funnel_bar { background: #2f5878; }
.sfd_funnel_row--s4 .sfd_funnel_bar { background: #436c8b; }
.sfd_funnel_row--s5 .sfd_funnel_bar { background: #57809e; }

.sfd_funnel_row--accent .sfd_funnel_bar {
  background: var(--primary-color);
}

.sfd_funnel_row--accent .sfd_funnel_value {
  color: var(--primary-color);
}

/* The 8,538 left the pipeline, so it hangs off the 11,640 row. */
.sfd_funnel_branch {
  position: relative;
  margin: 12px 0 0 24px;
  padding: 14px 18px 16px 22px;
  border-left: 2px dashed rgba(1, 45, 81, 0.22);
  border-radius: 0 12px 12px 0;
  background: rgba(1, 45, 81, 0.035);
}

.sfd_funnel_branch::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 12px;
  border-top: 2px dashed rgba(1, 45, 81, 0.22);
}

.sfd_funnel_branch .sfd_funnel_grid {
  grid-template-columns: 306px minmax(0, 1fr) 96px;
}

.sfd_funnel_branch .sfd_funnel_label,
.sfd_funnel_branch .sfd_funnel_value {
  color: #6a86a0;
}

.sfd_funnel_branch .sfd_funnel_value {
  font-size: 17px;
}

.sfd_funnel_branch .sfd_funnel_bar {
  background: #9db2c6;
}

.sfd_funnel_branch_tag {
  display: block;
  margin-bottom: 8px;
  color: #7a93a9;
  font-family: var(--secondary-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

.sfd_funnel_foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(1, 45, 81, 0.1);
}

.sfd_funnel_foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 12.5px;
  letter-spacing: -0.1px;
}

.sfd_funnel_swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
  display: inline-block;
}

.sfd_funnel_swatch--main { background: #2f5878; }
.sfd_funnel_swatch--branch { background: #9db2c6; }
.sfd_funnel_swatch--accent { background: var(--primary-color); }

.sfd_figcaption {
  margin-top: 16px;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.2px;
}

/* ===== Provenance flow diagram ===== */
.sfd_pflow {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr 1fr 0.7fr 1fr;
  align-items: center;
  gap: 0;
}

.sfd_pflow_stage {
  padding: 22px 22px 24px;
  border-radius: 16px;
  background: rgba(1, 45, 81, 0.04);
  border: 1px solid rgba(1, 45, 81, 0.08);
}

.sfd_pflow_tag {
  display: block;
  margin-bottom: 14px;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.5;
}

.sfd_pflow_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sfd_pflow_list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 9px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.08);
  color: var(--secondary-color);
  font-family: var(--secondary-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.sfd_pflow_list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--secondary-color);
  flex-shrink: 0;
}

.sfd_pflow_stage--gallery {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  text-align: center;
  padding: 28px 22px;
}

.sfd_pflow_stage--gallery strong {
  display: block;
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.sfd_pflow_stage--gallery p {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--secondary-font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0;
}

.sfd_pflow_stage--query {
  background: var(--white-color);
  border: 1.5px solid rgba(2, 41, 223, 0.35);
  text-align: center;
  padding: 28px 22px;
}

.sfd_pflow_stage--query strong {
  display: block;
  color: var(--primary-color);
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.sfd_pflow_stage--query p {
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0;
}

.sfd_pflow_link {
  padding: 0 14px;
  text-align: center;
}

.sfd_pflow_link_label {
  display: block;
  margin-bottom: 10px;
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* One-way arrow, drawn so the head always sits at the receiving end. */
.sfd_pflow_link_rule {
  display: block;
  position: relative;
  height: 2px;
  background: rgba(1, 45, 81, 0.22);
}

.sfd_pflow_link_rule::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--secondary-color);
  border-right: 2px solid var(--secondary-color);
  transform: translate(1px, -50%) rotate(45deg);
}

.sfd_pflow_note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0 0;
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(176, 74, 74, 0.07);
  color: #8d3d3d;
  font-family: var(--secondary-font);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

.sfd_pflow_note .sfd_icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(176, 74, 74, 0.13);
  stroke-width: 2.6;
}

/* ===== Statement under the funnel ===== */
.sfd_statement {
  margin: 36px 0 0;
  padding: 34px 38px;
  background: var(--dark-blue-color);
  border-radius: 20px;
}

.sfd_statement p {
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.8px;
  margin: 0;
  max-width: 34ch;
}

.sfd_statement--wide p {
  max-width: none;
}

/* ===== Diagram figures ===== */
/* The theme resets every figure to font-size: 0 / line-height: 100% for image
   wrappers, which collapses inherited line boxes to zero and overlaps any text
   that wraps. These figures hold real type, so restore a baseline. */
.sfd_figure {
  margin: 0;
  padding: 34px 36px 32px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.1);
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.6;
}

.sfd_sec--alt .sfd_figure {
  border-color: rgba(0, 0, 0, 0.05);
}

/* Scoped away from .sfd_icon: an auto margin on a flex child would otherwise
   push the icon and its label to opposite ends of the row. */
.sfd_figure svg:not(.sfd_icon) {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.sfd_figure--plan svg { max-width: 680px; }

.sfd_figure_head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(1, 45, 81, 0.1);
}

.sfd_figure_head h3 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0;
}

.sfd_figure_head span {
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

/* SVG type scale, set here so both diagrams stay consistent. */
.sfd_svg_title {
  font-family: var(--body-font, sans-serif);
  font-size: 13px;
  font-weight: 700;
  fill: var(--sfd-navy);
}

.sfd_svg_label {
  font-family: var(--secondary-font, sans-serif);
  font-size: 11.5px;
  font-weight: 500;
  fill: var(--sfd-ink);
}

.sfd_svg_meta {
  font-family: var(--secondary-font, sans-serif);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  fill: var(--sfd-quiet);
  text-transform: uppercase;
}

.sfd_svg_on_dark {
  fill: #ffffff;
}

/* ===== Internal links ===== */
.sfd_links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(1, 45, 81, 0.1);
}

.sfd_links--bare {
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
  justify-content: center;
}

.sfd_links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 48px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.12);
  color: var(--secondary-color);
  font-family: var(--secondary-font);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: var(--transetion);
}

.sfd_links a:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
}

.sfd_links a .sfd_icon {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

/* ===== Events ===== */
.sfd_events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
}

.sfd_event {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 26px 28px;
  background: var(--white-color);
  border: 1px solid rgba(1, 45, 81, 0.09);
  border-radius: 18px;
  transition: var(--transetion);
}

.sfd_event:hover {
  border-color: rgba(1, 45, 81, 0.18);
  box-shadow: 0 8px 30px rgba(1, 45, 81, 0.06);
}

.sfd_event_date {
  flex: 0 0 76px;
  text-align: center;
  padding: 12px 6px;
  border-radius: 14px;
  background: var(--secondary-color);
  color: var(--white-color);
  align-self: flex-start;
}

.sfd_event_date .sfd_event_mon {
  display: block;
  font-family: var(--secondary-font);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.62);
}

.sfd_event_date .sfd_event_day {
  display: block;
  margin-top: 2px;
  font-family: var(--body-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.8px;
  font-variant-numeric: tabular-nums;
}

.sfd_event_date .sfd_event_day--tbd {
  font-size: 17px;
  letter-spacing: 0;
  padding: 2px 0;
}

.sfd_event_date .sfd_event_yr {
  display: block;
  margin-top: 2px;
  font-family: var(--secondary-font);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.sfd_event--past .sfd_event_date {
  background: rgba(1, 45, 81, 0.07);
  color: var(--secondary-color);
}

.sfd_event--past .sfd_event_mon,
.sfd_event--past .sfd_event_yr {
  color: rgba(1, 45, 81, 0.5);
}

.sfd_event_body {
  min-width: 0;
}

.sfd_event_body h4 {
  color: var(--secondary-color);
  font-family: var(--body-font);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.sfd_event_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 6px;
}

.sfd_event_meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 14px;
  letter-spacing: -0.2px;
}

.sfd_event_meta .sfd_icon {
  width: 15px;
  height: 15px;
  color: rgba(1, 45, 81, 0.4);
}

.sfd_event_note {
  color: rgba(104, 128, 132, 1);
  font-family: var(--secondary-font);
  font-size: 13.5px;
  line-height: 1.55;
  letter-spacing: -0.2px;
  margin: 6px 0 0;
}

.sfd_event_link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--primary-color);
  font-family: var(--secondary-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.sfd_event_link .sfd_icon {
  width: 14px;
  height: 14px;
}

.sfd_empty {
  padding: 40px 34px;
  border: 1px dashed rgba(1, 45, 81, 0.2);
  border-radius: 18px;
  background: var(--white-color);
  color: var(--text-color);
  font-family: var(--secondary-font);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: -0.2px;
  max-width: 640px;
}

/* ===== Form section: match the demo pages exactly ===== */
.sfd_page .so_demo_form_sec {
  padding: 80px 0;
  background: var(--white-color);
}

.sfd_page .so_demo_form_info {
  flex: 0 0 38%;
  max-width: 38%;
  padding-top: 6px;
}

.sfd_page .so_demo_form_info .title h2 {
  font-size: 36px;
}

.sfd_page .so_demo_form .form_wrp.w_half {
  width: calc(50% - 6px);
}

.sfd_page .so_demo_form textarea {
  min-height: 110px;
}

.sfd_page .apt-contact-form__trap {
  width: 100%;
}

.sfd_page .so_demo_form .apt-contact-form__turnstile {
  width: 100%;
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
  .sfd_split,
  .sfd_flow {
    flex-direction: column;
  }

  .sfd_flow_fig {
    flex: none;
    max-width: 100%;
    width: 100%;
    position: static;
  }

  .sfd_flow_body .sfd_sources {
    grid-template-columns: repeat(2, 1fr);
  }

  .sfd_split_aside {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .sfd_note {
    position: static;
  }

  .sfd_criteria {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Release the two-column form split, which the demo does at this width. */
  .sfd_page .so_demo_form_info {
    flex: none;
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .sfd_sec {
    padding: 60px 0;
  }

  .sfd_sec > .container > .title h2 {
    font-size: 32px;
    letter-spacing: -1.1px;
  }

  .sfd_layers,
  .sfd_events,
  .sfd_trio {
    grid-template-columns: 1fr;
  }

  .sfd_source,
  .sfd_source:nth-child(4),
  .sfd_source:nth-child(5) {
    grid-column: span 3;
  }

  .sfd_statement p {
    font-size: 22px;
  }

  .sfd_funnel_grid,
  .sfd_funnel_branch .sfd_funnel_grid {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 18px;
  }

  .sfd_funnel_label {
    grid-column: 1 / -1;
    margin-bottom: 7px;
  }

  .sfd_timeline {
    grid-template-columns: 1fr;
  }

  .sfd_timeline li {
    padding: 0 0 26px 0;
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 20px;
  }

  .sfd_timeline li::before {
    top: 34px;
    bottom: 0;
    left: 15px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .sfd_timeline li:last-child {
    padding-bottom: 0;
  }

  .sfd_timeline_node {
    margin-bottom: 0;
  }

  .sfd_pflow {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .sfd_pflow_link {
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .sfd_pflow_link_label {
    margin-bottom: 0;
    text-align: left;
  }

  .sfd_pflow_link_rule {
    width: 2px;
    height: 34px;
    order: -1;
    margin-left: 22px;
  }

  .sfd_pflow_link_rule::after {
    right: auto;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 1px) rotate(135deg);
  }
}

@media (max-width: 767px) {
  .sfd_page .so_demo_bnr .custom_container {
    min-height: 0;
  }

  /* Same reason as the info column: stack the paired fields like the demo. */
  .sfd_page .so_demo_form .form_wrp.w_half {
    width: 100%;
  }

  /* These CTAs carry a full sentence, and the theme button is a fixed 60px
     pill with overflow hidden, so a wrapped label collides with itself. */
  .sfd_page .custom_btn {
    height: auto;
    min-height: 54px;
    padding: 15px 26px;
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
  }

  .sfd_hero_dek {
    font-size: 17px;
  }

  .sfd_hero_chips span {
    font-size: 12.5px;
    padding: 8px 13px;
  }

  .sfd_sec > .container > .title h2 {
    font-size: 27px;
    letter-spacing: -0.8px;
  }

  .sfd_prose p {
    font-size: 16.5px;
  }

  .sfd_lead {
    font-size: 19px !important;
  }

  .sfd_pair,
  .sfd_criteria,
  .sfd_deny {
    grid-template-columns: 1fr;
  }

  .sfd_sources,
  .sfd_flow_body .sfd_sources {
    grid-template-columns: 1fr;
  }

  .sfd_source,
  .sfd_source:nth-child(4),
  .sfd_source:nth-child(5) {
    grid-column: auto;
  }

  .sfd_criteria_own {
    flex-direction: column;
    gap: 16px;
  }

  .sfd_deny {
    padding: 20px 22px 24px;
  }

  .sfd_deny_head {
    padding: 20px 22px 16px;
  }

  .sfd_funnel {
    padding: 24px 20px 20px;
  }

  .sfd_funnel_head {
    flex-direction: column;
    gap: 6px;
  }

  .sfd_funnel_value {
    font-size: 17px;
  }

  .sfd_funnel_branch {
    margin-left: 14px;
    padding: 14px 14px 16px 16px;
  }

  .sfd_figure {
    padding: 22px 18px;
  }

  .sfd_figure_head {
    flex-direction: column;
    gap: 6px;
  }

  .sfd_statement {
    padding: 26px 24px;
  }

  .sfd_statement p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }

  .sfd_event {
    padding: 22px 20px;
    gap: 16px;
  }

  .sfd_event_date {
    flex-basis: 66px;
  }

  .sfd_links a {
    font-size: 13.5px;
    padding: 10px 16px;
  }
}

/* Diagrams stay legible if the reader's OS is in dark mode and a future
   pass ever drops these figures onto a dark surface. */
@media (prefers-color-scheme: dark) {
  .sfd_page {
    --sfd-ink: #e6eef6;
    --sfd-neutral: #9fb8cd;
    --sfd-quiet: #8ba2b6;
    --sfd-hair: rgba(255, 255, 255, 0.2);
    --sfd-surface: #12283d;
    --sfd-tint: rgba(255, 255, 255, 0.06);
  }

  .sfd_page .sfd_figure {
    background: #0e2136;
    border-color: rgba(255, 255, 255, 0.14);
  }

  .sfd_page .sfd_figure_head {
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .sfd_page .sfd_figure_head h3 {
    color: #e6eef6;
  }

  .sfd_page .sfd_svg_title {
    fill: #e6eef6;
  }
}
