:root {
  --paper: #f6f8fa;
  --surface: #ffffff;
  --ink: #1f2a33;
  --muted: #5d6a74;
  --brand: #4f7698;
  --brand-deep: #274c68;
  --brand-pale: #e6eff6;
  --line: #d7e0e6;
  --line-strong: #b9c8d2;
  --danger: #9b2c2c;
  --danger-pale: #fff4f4;
  --success: #276749;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(39, 76, 104, 0.1);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.funnel-container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 10;
  transform: translateY(-150%);
  background: var(--ink);
  color: #f8fafb;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  transform: none;
}

.funnel-header {
  height: 76px;
  background: rgba(246, 248, 250, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.funnel-brand {
  display: inline-flex;
  align-items: center;
}

.funnel-brand img {
  width: 118px;
  height: auto;
  display: block;
}

.back-link {
  color: var(--brand-deep);
  font-weight: 700;
  border-bottom: 1px solid var(--line-strong);
}

.diagnostic-hero {
  padding: 66px 0 58px;
  background: var(--paper);
}

.hero-inner {
  max-width: 900px;
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-label {
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3,
legend {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 27px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 14px;
}

.hero-facts span {
  padding: 0 18px;
  border-left: 1px solid var(--line-strong);
}

.hero-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.assessment-section {
  padding: 72px 0 100px;
  border-top: 1px solid var(--line);
  background: #edf3f7;
}

.assessment-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 78px;
  align-items: start;
}

.assessment-intro {
  position: sticky;
  top: 36px;
}

.assessment-intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.assessment-intro > p {
  margin: 23px 0 30px;
  color: var(--muted);
}

.privacy-callout {
  padding: 22px;
  border: 1px solid #c8d8e4;
  border-radius: var(--radius);
  background: var(--brand-pale);
}

.privacy-callout strong {
  display: block;
  color: var(--brand-deep);
  font: 700 14px/1.35 "Manrope", sans-serif;
}

.privacy-callout p {
  margin: 8px 0 0;
  color: #496273;
  font-size: 14px;
}

.assessment-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-status {
  margin: 24px 30px 0;
  padding: 14px 16px;
  border: 1px solid #e4aaaa;
  border-radius: 10px;
  background: var(--danger-pale);
  color: #7b2424;
  font-weight: 700;
}

.question-group {
  min-width: 0;
  margin: 0;
  padding: 34px 34px 38px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.question-group legend {
  width: 100%;
  padding: 28px 0 0;
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  font-weight: 700;
  line-height: 1.4;
}

.question-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.option-grid,
.option-stack {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.option-grid label,
.option-stack label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-width: 0;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfcfd;
  color: var(--ink);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.option-grid label {
  min-height: 66px;
  align-items: center;
  padding: 14px;
}

.option-stack label {
  padding: 16px;
}

.option-grid label:hover,
.option-stack label:hover {
  border-color: var(--brand);
  background: #f5f9fc;
}

.option-grid label:active,
.option-stack label:active {
  transform: translateY(1px);
}

.option-grid input,
.option-stack input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--brand-deep);
}

.option-grid label:has(input:checked),
.option-stack label:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-pale);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.option-grid span {
  font-weight: 700;
  line-height: 1.35;
}

.option-stack span {
  display: flex;
  flex-direction: column;
}

.option-stack strong {
  font: 700 15px/1.35 "Manrope", sans-serif;
}

.option-stack small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.question-group[data-invalid="true"] {
  background: #fffafa;
}

.question-group[data-invalid="true"] legend {
  color: #7b2424;
}

.question-error {
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.form-submit {
  padding: 30px 34px 34px;
}

.primary-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 10px;
  font: 700 15px/1 "Manrope", sans-serif;
  white-space: nowrap;
}

.primary-button {
  min-width: 190px;
  cursor: pointer;
  border: 1px solid var(--brand-deep);
  background: var(--brand-deep);
  color: #f8fafb;
  padding: 0 24px;
}

.primary-button:hover {
  background: #1e4058;
}

.primary-button:active {
  transform: translateY(1px);
}

.form-submit p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.noscript-message {
  margin: 0 34px 34px;
  padding: 16px;
  border: 1px solid #e4aaaa;
  border-radius: 10px;
  background: var(--danger-pale);
  color: #7b2424;
}

.result-section {
  padding: 92px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.result-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 90px;
  align-items: start;
}

.result-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.result-heading > p:last-child {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.result-detail {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.result-detail h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.result-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-detail li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
}

.result-detail li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.result-recommendation {
  margin-top: 26px;
  padding-top: 26px;
}

.result-recommendation h3 {
  margin-bottom: 10px;
}

.result-recommendation p {
  margin: 0 0 20px;
  color: var(--muted);
}

.secondary-link {
  border: 1px solid var(--brand-deep);
  color: var(--brand-deep);
  padding: 0 20px;
  background: var(--surface);
}

.secondary-link:hover {
  background: var(--brand-pale);
}

.result-section[data-band="controlled"] .result-label {
  color: var(--success);
}

.result-section[data-band="high_leakage_risk"] .result-label {
  color: var(--danger);
}

.funnel-footer {
  padding: 38px 0;
  background: var(--ink);
  color: #e7edf1;
}

.industry-hero {
  padding: 72px 0 86px;
  background: var(--paper);
}

.industry-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: 76px;
  align-items: center;
}

.industry-hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.15rem, 5vw, 4.8rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.industry-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.industry-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.industry-text-link {
  color: var(--brand-deep);
  font-weight: 700;
  border-bottom: 1px solid var(--brand);
}

.industry-flow {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.industry-flow > p {
  margin: 0;
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--brand-deep);
  font: 700 14px/1.3 "Manrope", sans-serif;
}

.industry-flow ol {
  margin: 0;
  padding: 8px 24px 12px;
  list-style: none;
  counter-reset: industry-flow;
}

.industry-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 72px;
  padding: 17px 0 16px 46px;
  border-bottom: 1px solid var(--line);
  counter-increment: industry-flow;
}

.industry-flow li:last-child {
  border-bottom: 0;
}

.industry-flow li::before {
  content: counter(industry-flow);
  position: absolute;
  left: 0;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand-deep);
  font: 700 11px/1 "Manrope", sans-serif;
}

.industry-flow span {
  font: 700 14px/1.35 "Manrope", sans-serif;
}

.industry-flow small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.4;
}

.industry-problem {
  padding: 110px 0;
  background: #edf3f7;
  border-top: 1px solid var(--line);
}

.industry-section-heading {
  max-width: 860px;
  margin-bottom: 58px;
}

.industry-section-heading h2,
.workflow-copy h2,
.ownership-column h2,
.proof-copy h2,
.path-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.industry-section-heading > p:last-child,
.workflow-copy > p:last-child,
.proof-copy > p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.leakage-list {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.leakage-list article {
  grid-column: span 6;
  min-height: 190px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.leakage-list article:last-child {
  grid-column: span 8;
}

.leakage-list h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.leakage-list p {
  margin: 0;
  color: var(--muted);
}

.industry-workflow {
  padding: 118px 0;
  background: var(--surface);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.workflow-copy {
  position: sticky;
  top: 40px;
}

.workflow-sequence {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow-sequence;
}

.workflow-sequence li {
  position: relative;
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 32px;
  padding: 27px 0 27px 54px;
  border-bottom: 1px solid var(--line);
  counter-increment: workflow-sequence;
}

.workflow-sequence li::before {
  content: counter(workflow-sequence);
  position: absolute;
  left: 0;
  top: 30px;
  color: var(--brand);
  font: 700 12px/1 "Manrope", sans-serif;
}

.workflow-sequence strong {
  font: 700 17px/1.35 "Manrope", sans-serif;
}

.workflow-sequence span {
  color: var(--muted);
}

.industry-ownership {
  padding: 110px 0;
  background: #dfe8ef;
  color: var(--ink);
}

.ownership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.ownership-column {
  padding: 42px;
}

.ownership-column + .ownership-column {
  border-left: 1px solid var(--line);
}

.ownership-column h2 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.ownership-column ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.ownership-column li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.ownership-column li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.human-owned {
  background: #edf3f7;
}

.industry-fit {
  padding: 116px 0;
  background: var(--paper);
}

.fit-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fit-comparison > div {
  padding: 38px;
}

.fit-comparison > div + div {
  border-left: 1px solid var(--line);
  background: #edf3f7;
}

.fit-comparison h3 {
  margin: 0 0 23px;
  font-size: 1.4rem;
}

.fit-comparison ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-comparison li {
  position: relative;
  padding: 11px 0 11px 23px;
}

.fit-comparison li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.industry-proof {
  padding: 118px 0;
  background: #e7eff5;
}

.proof-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 88px;
  align-items: center;
}

.proof-copy .industry-text-link {
  display: inline-block;
  margin-top: 26px;
}

.audit-preview {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audit-preview > p {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 700;
}

.audit-preview h3 {
  margin: 0 0 25px;
  font-size: 1.55rem;
}

.audit-preview dl {
  margin: 0;
}

.audit-preview dl div {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.audit-preview dt {
  color: var(--brand-deep);
  font-weight: 700;
}

.audit-preview dd {
  margin: 0;
  color: var(--muted);
}

.audit-preview small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
}

.industry-path {
  padding: 96px 0;
  background: var(--brand);
  color: #f3f7fa;
}

.path-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.path-layout h2 {
  color: #f7fafc;
}

.path-layout p {
  max-width: 700px;
  margin: 22px 0 0;
  color: #dce8f0;
}

.path-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.path-actions .primary-button {
  border-color: #f7fafc;
  background: #f7fafc;
  color: var(--brand-deep);
}

.path-actions .primary-button:hover {
  background: #e8f0f5;
}

.path-actions .industry-text-link {
  color: #f7fafc;
  border-color: #c5d4df;
}

.path-actions span {
  color: #dce8f0;
  font-size: 13px;
}

/* Sales Pipeline Audit and fictional sample deliverable */
.audit-hero {
  padding: 72px 0 88px;
  background: var(--paper);
}

.audit-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 84px;
  align-items: center;
}

.audit-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.15rem, 5.4vw, 5rem);
}

.audit-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.audit-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.audit-scope-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.audit-scope-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
  background: var(--brand-pale);
}

.audit-scope-price span {
  color: var(--brand-deep);
  font-weight: 700;
}

.audit-scope-price strong {
  font: 800 clamp(2.4rem, 5vw, 3.6rem)/0.9 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.audit-scope-card dl {
  margin: 0;
  padding: 8px 28px;
}

.audit-scope-card dl div {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.audit-scope-card dt {
  color: var(--brand-deep);
  font-weight: 700;
}

.audit-scope-card dd {
  margin: 0;
  color: var(--muted);
}

.audit-scope-card small {
  display: block;
  padding: 19px 28px 23px;
  color: var(--muted);
}

.audit-decisions {
  padding: 112px 0;
  border-top: 1px solid var(--line);
  background: #edf3f7;
}

.audit-section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.audit-section-heading h2,
.audit-input-layout h2,
.deliverable-copy h2,
.boundary-layout h2,
.audit-path-layout h2,
.sample-section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.audit-section-heading p,
.deliverable-copy > p {
  max-width: 680px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.decision-grid article {
  grid-column: span 4;
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.decision-grid .decision-primary {
  grid-column: span 8;
  background: var(--brand-deep);
}

.decision-grid span,
.gap-grid strong {
  color: var(--brand);
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-grid h3 {
  margin: 18px 0 12px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.18;
}

.decision-grid p {
  margin: 0;
  color: var(--muted);
}

.decision-primary span,
.decision-primary p {
  color: #c5d4df;
}

.decision-primary h3 {
  max-width: 520px;
  color: #f7fafc;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.audit-inputs {
  padding: 112px 0;
  background: var(--surface);
}

.audit-input-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.audit-input-layout > div,
.boundary-layout > div {
  padding: 42px;
}

.audit-input-layout > div + div,
.boundary-layout > div + div {
  border-left: 1px solid var(--line);
  background: #edf3f7;
}

.audit-input-layout h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.audit-input-layout ul,
.sample-prose ul,
.spec-groups ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.audit-input-layout li,
.sample-prose li,
.spec-groups li {
  position: relative;
  padding: 10px 0 10px 24px;
  color: var(--muted);
}

.audit-input-layout li::before,
.sample-prose li::before,
.spec-groups li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.audit-deliverable {
  padding: 118px 0;
  background: #e7eff5;
}

.deliverable-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 96px;
  align-items: start;
}

.deliverable-copy {
  position: sticky;
  top: 40px;
}

.deliverable-copy .industry-text-link {
  display: inline-block;
  margin-top: 25px;
}

.deliverable-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverable-list li {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-strong);
}

.deliverable-list strong {
  font: 700 18px/1.35 "Manrope", sans-serif;
}

.deliverable-list span {
  color: var(--muted);
}

.audit-boundaries,
.sample-exclusions {
  padding: 102px 0;
  background: var(--paper);
}

.boundary-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.boundary-layout h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.boundary-layout p {
  margin: 20px 0 0;
  color: var(--muted);
}

.audit-path,
.sample-next-step {
  padding: 94px 0;
  background: var(--brand);
  color: #f3f7fa;
}

.audit-path-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
}

.audit-path-layout h2 {
  color: #f7fafc;
}

.audit-path-layout p {
  max-width: 700px;
  margin: 21px 0 0;
  color: #dce8f0;
}

.audit-path-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.audit-path-actions .primary-button {
  border-color: #f7fafc;
  background: #f7fafc;
  color: var(--brand-deep);
}

.audit-path-actions .industry-text-link {
  color: #f7fafc;
  border-color: #c5d4df;
}

.sample-header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.print-button {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--brand-deep);
  cursor: pointer;
  font-weight: 700;
}

.sample-cover {
  padding: 84px 0 96px;
  background: var(--paper);
}

.sample-cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: 92px;
  align-items: end;
}

.sample-cover-copy h1 {
  font-size: clamp(3.7rem, 7vw, 6.7rem);
}

.sample-business {
  margin: 23px 0 0;
  color: var(--brand-deep);
  font: 700 clamp(1.5rem, 3vw, 2.4rem)/1.2 "Manrope", sans-serif;
}

.sample-cover-copy > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-pale);
  color: #445c6d;
}

.sample-cover-meta {
  margin: 0;
  padding: 9px 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.sample-cover-meta div {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.sample-cover-meta div:last-child {
  border-bottom: 0;
}

.sample-cover-meta dt {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sample-cover-meta dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.sample-section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.sample-section:nth-of-type(even) {
  background: #edf3f7;
}

.sample-section-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 94px;
  align-items: start;
}

.sample-section-title > span {
  display: block;
  margin-bottom: 17px;
  color: var(--brand);
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-section-title h2 {
  font-size: clamp(2rem, 3.7vw, 3.45rem);
}

.sample-section-title.wide {
  max-width: 790px;
  margin-bottom: 52px;
}

.sample-prose > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 17px;
}

.sample-prose h3 {
  margin: 34px 0 12px;
  font-size: 1.35rem;
}

.sample-prose h3:first-child {
  margin-top: 0;
}

.sample-decision {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid #c7d7e2;
  border-radius: var(--radius);
  background: var(--brand-pale);
}

.sample-decision strong {
  color: var(--brand-deep);
  font: 700 14px/1.3 "Manrope", sans-serif;
}

.sample-decision p {
  margin: 10px 0 0;
  color: #445c6d;
}

.journey-map {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sample-journey;
}

.journey-map li {
  position: relative;
  padding: 0 0 32px 55px;
  counter-increment: sample-journey;
}

.journey-map li::before {
  content: counter(sample-journey);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brand);
  border-radius: 50%;
  color: var(--brand-deep);
  font: 700 12px/1 "Manrope", sans-serif;
}

.journey-map li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 37px;
  bottom: 7px;
  width: 1px;
  background: var(--line-strong);
}

.journey-map strong {
  font: 700 18px/1.35 "Manrope", sans-serif;
}

.journey-map p {
  margin: 7px 0 0;
  color: var(--muted);
}

.gap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gap-grid article {
  grid-column: span 4;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.gap-grid article:nth-child(4),
.gap-grid article:nth-child(5) {
  grid-column: span 6;
}

.gap-grid h3 {
  margin: 17px 0 11px;
  font-size: 1.35rem;
}

.gap-grid p {
  margin: 0;
  color: var(--muted);
}

.gap-grid small {
  display: block;
  margin-top: 20px;
  color: var(--brand-deep);
  font-weight: 700;
}

.recommended-system {
  counter-reset: recommended-system;
}

.recommended-system > div {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 0.72fr 1.35fr;
  gap: 28px;
  padding: 25px 0 25px 42px;
  border-bottom: 1px solid var(--line);
  counter-increment: recommended-system;
}

.recommended-system > div::before {
  content: counter(recommended-system);
  position: absolute;
  left: 0;
  top: 30px;
  color: var(--brand);
  font: 700 12px/1 "Manrope", sans-serif;
}

.recommended-system b {
  color: var(--brand-deep);
}

.recommended-system h3,
.recommended-system p {
  margin: 0;
}

.recommended-system p {
  color: var(--muted);
}

.spec-groups {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.spec-groups article {
  grid-column: span 5;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec-groups article:nth-child(2) {
  grid-column: span 7;
  background: var(--brand-pale);
}

.spec-groups article:nth-child(3) {
  grid-column: span 12;
}

.spec-groups h3 {
  margin: 0;
  font-size: 1.45rem;
}

.spec-groups ul {
  columns: 2;
  column-gap: 42px;
}

.spec-groups li {
  break-inside: avoid;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner p {
  max-width: 560px;
  margin: 0;
  color: #b7c1c8;
}

.footer-inner div {
  display: flex;
  gap: 24px;
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .assessment-layout,
  .result-layout,
  .industry-hero-layout,
  .workflow-layout,
  .proof-layout,
  .path-layout,
  .audit-hero-layout,
  .deliverable-layout,
  .audit-path-layout,
  .sample-cover-layout,
  .sample-section-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .assessment-intro {
    position: static;
  }

  .assessment-intro > p {
    max-width: 660px;
  }

  .privacy-callout {
    max-width: 660px;
  }

  .industry-hero-copy h1 {
    max-width: 760px;
  }

  .industry-flow {
    max-width: 680px;
  }

  .workflow-copy {
    position: static;
  }

  .deliverable-copy {
    position: static;
  }

  .ownership-layout,
  .fit-comparison,
  .audit-input-layout,
  .boundary-layout {
    grid-template-columns: 1fr;
  }

  .ownership-column + .ownership-column,
  .fit-comparison > div + div,
  .audit-input-layout > div + div,
  .boundary-layout > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .decision-grid article,
  .decision-grid .decision-primary,
  .gap-grid article,
  .gap-grid article:nth-child(4),
  .gap-grid article:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .funnel-container {
    width: min(calc(100% - 28px), var(--container));
  }

  .funnel-header {
    height: 68px;
  }

  .funnel-brand img {
    width: 104px;
  }

  .back-link {
    font-size: 13px;
  }

  .diagnostic-hero {
    padding: 44px 0 42px;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .hero-copy {
    margin: 19px 0 22px;
  }

  .hero-facts {
    display: grid;
    gap: 7px;
  }

  .hero-facts span,
  .hero-facts span:first-child {
    padding: 0;
    border: 0;
  }

  .assessment-section {
    padding: 54px 0 70px;
  }

  .assessment-layout {
    gap: 30px;
  }

  .question-group {
    padding: 27px 20px 30px;
  }

  .question-group legend {
    padding-top: 22px;
  }

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

  .option-grid label {
    min-height: 58px;
  }

  .form-status {
    margin: 20px 20px 0;
  }

  .form-submit {
    padding: 25px 20px 28px;
  }

  .primary-button,
  .secondary-link {
    width: 100%;
  }

  .noscript-message {
    margin: 0 20px 28px;
  }

  .result-section {
    padding: 68px 0;
  }

  .result-layout {
    gap: 34px;
  }

  .result-detail {
    padding: 25px 20px;
  }

  .industry-hero {
    padding: 48px 0 62px;
  }

  .audit-hero,
  .sample-cover {
    padding: 48px 0 62px;
  }

  .industry-hero-copy h1,
  .audit-hero-copy h1,
  .sample-cover-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .industry-actions,
  .audit-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .industry-problem,
  .industry-workflow,
  .industry-ownership,
  .industry-fit,
  .industry-proof,
  .industry-path,
  .audit-decisions,
  .audit-inputs,
  .audit-deliverable,
  .audit-boundaries,
  .audit-path,
  .sample-section,
  .sample-exclusions,
  .sample-next-step {
    padding: 76px 0;
  }

  .audit-scope-price,
  .audit-input-layout > div,
  .boundary-layout > div {
    padding: 28px 22px;
  }

  .audit-scope-card dl,
  .audit-scope-card small {
    padding-inline: 22px;
  }

  .audit-scope-card dl div,
  .deliverable-list li,
  .recommended-system > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .decision-grid,
  .gap-grid,
  .spec-groups {
    grid-template-columns: 1fr;
  }

  .decision-grid article,
  .decision-grid .decision-primary,
  .gap-grid article,
  .gap-grid article:nth-child(4),
  .gap-grid article:nth-child(5),
  .spec-groups article,
  .spec-groups article:nth-child(2),
  .spec-groups article:nth-child(3) {
    grid-column: auto;
    min-height: 0;
  }

  .sample-header-actions {
    gap: 12px;
  }

  .print-button {
    display: none;
  }

  .sample-cover-meta {
    padding-inline: 22px;
  }

  .recommended-system > div {
    padding-left: 38px;
  }

  .spec-groups ul {
    columns: 1;
  }

  .leakage-list {
    grid-template-columns: 1fr;
  }

  .leakage-list article,
  .leakage-list article:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 25px 22px;
  }

  .workflow-sequence li {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-left: 38px;
  }

  .ownership-column,
  .fit-comparison > div,
  .audit-preview {
    padding: 28px 22px;
  }

  .audit-preview dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .path-actions {
    width: 100%;
  }

  .footer-inner,
  .footer-inner div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  body.sample-audit-page {
    background: #ffffff;
    color: #1f2a33;
    font-size: 11pt;
  }

  .sample-audit-page .funnel-header,
  .sample-audit-page .sample-next-step,
  .sample-audit-page .funnel-footer,
  .sample-audit-page .skip-link {
    display: none;
  }

  .sample-audit-page .funnel-container {
    width: 100%;
    max-width: none;
  }

  .sample-audit-page .sample-cover,
  .sample-audit-page .sample-section,
  .sample-audit-page .sample-exclusions {
    padding: 14mm 0;
    background: #ffffff;
  }

  .sample-audit-page .sample-cover {
    min-height: 230mm;
    display: flex;
    align-items: center;
  }

  .sample-audit-page .sample-cover-layout {
    grid-template-columns: 1.08fr 0.72fr;
    gap: 14mm;
  }

  .sample-audit-page .sample-section-layout {
    grid-template-columns: 0.72fr 1.28fr;
    gap: 14mm;
  }

  .sample-audit-page .sample-section,
  .sample-audit-page .sample-cover,
  .sample-audit-page .sample-exclusions,
  .sample-audit-page .gap-grid article,
  .sample-audit-page .spec-groups article {
    break-inside: avoid;
  }

  .sample-audit-page .motion-section,
  .sample-audit-page .motion-section.motion-in {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
