.company-offer-page {
  --company-ink: #0b3430;
  --company-paper: #f8f3e9;
  --company-accent: #93602f;
  --company-line: rgba(18, 59, 54, 0.18);
}

.company-offer-page .site-page-hero {
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  color: #f9f5eb;
  background:
    radial-gradient(circle at 78% 30%, rgba(181, 123, 66, 0.2), transparent 26rem),
    linear-gradient(145deg, #052e2b, #0a423b);
}

.company-offer-page .site-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.company-offer-page .site-page-hero h1 {
  max-width: 12ch;
  margin: 0.65rem 0 1.35rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.7rem, 7vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.company-offer-page .site-page-hero__lead {
  max-width: 46rem;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.company-offer-page .site-page-hero p:not(.micro-label) {
  color: rgba(249, 245, 235, 0.78);
}

.company-offer-page .site-page-hero__actions,
.company-offer-page .site-cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.company-offer-page .site-page-hero .button--ghost {
  color: #f9f5eb;
  border-color: rgba(249, 245, 235, 0.48);
}

.company-offer-page .site-page-hero__aside {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border: 1px solid rgba(229, 181, 120, 0.35);
  border-radius: 1.15rem;
  background: rgba(2, 34, 31, 0.55);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.14);
}

.company-offer-page .check-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.company-offer-page .check-list li {
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.6;
}

.company-offer-page .check-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid var(--company-accent);
  transform: rotate(45deg);
}

.company-offer-page .check-list li + li {
  margin-top: 0.8rem;
}

.company-offer-page main > .site-block:not(.site-page-hero) {
  padding: clamp(3.75rem, 7vw, 7rem) 0;
}

.company-offer-page main > .site-block:nth-of-type(odd):not(.site-page-hero) {
  background: var(--company-paper);
}

.company-offer-page .section-heading {
  max-width: 53rem;
  margin-bottom: 2rem;
}

.company-offer-page .section-heading h2,
.company-offer-page .notice-card h2,
.company-offer-page .site-cta-strip h2,
.company-offer-page .split-layout h2 {
  margin: 0.55rem 0 1rem;
  color: var(--company-ink);
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.45rem, 4.5vw, 4.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.company-offer-page .service-grid,
.company-offer-page .comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.company-offer-page .service-grid article,
.company-offer-page .comparison-grid article {
  min-width: 0;
  padding: clamp(1.25rem, 2.7vw, 2rem);
  border: 1px solid var(--company-line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.68);
}

.company-offer-page .service-grid article > span:first-child {
  color: var(--company-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.company-offer-page .service-grid h3,
.company-offer-page .comparison-grid h3,
.company-offer-page .process-list h3 {
  margin: 1rem 0 0.65rem;
  color: var(--company-ink);
  font-size: 1.08rem;
}

.company-offer-page .service-grid p,
.company-offer-page .comparison-grid p,
.company-offer-page .process-list p {
  color: #5c6865;
  line-height: 1.65;
}

.company-offer-page .split-layout,
.company-offer-page .notice-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.company-offer-page .comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.company-offer-page .comparison-grid .check-list {
  color: #5c6865;
}

.company-offer-page .notice-card {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--company-line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 1.25rem 3.5rem rgba(15, 51, 47, 0.07);
}

.company-offer-page .notice-card p {
  color: #5c6865;
  line-height: 1.75;
}

.company-offer-page .process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.company-offer-page .process-list li {
  padding-top: 1rem;
  border-top: 1px solid var(--company-accent);
}

.company-offer-page .process-list > li > span {
  color: var(--company-accent);
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
}

.company-offer-page .site-cta-strip {
  color: #f9f5eb;
  background: #0a3834 !important;
}

.company-offer-page .site-cta-strip > .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.company-offer-page .site-cta-strip h2,
.company-offer-page .site-cta-strip p {
  color: inherit;
}

.company-offer-page .site-cta-strip__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.company-offer-page .site-cta-strip .text-link {
  color: #e5b578;
}

.diagnostic-page {
  --diagnostic-ink: #102a27;
  --diagnostic-muted: #5d6966;
  --diagnostic-paper: #fbf8f1;
  --diagnostic-line: rgba(18, 59, 54, 0.18);
  --diagnostic-accent: #aa7540;
  --diagnostic-soft: #edf3f0;
  --diagnostic-danger: #9b3129;
}

.diagnostic-page main {
  overflow: clip;
}

.diagnostic-page [hidden] {
  display: none !important;
}

.diagnostic-hero {
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem);
  color: #f8f3e9;
  background:
    radial-gradient(circle at 78% 24%, rgba(171, 119, 64, 0.2), transparent 28rem),
    linear-gradient(140deg, #052d2a 0%, #0b413b 100%);
}

.diagnostic-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.diagnostic-hero h1 {
  max-width: 13ch;
  margin: 0.5rem 0 1.5rem;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.4rem, 7.2vw, 7.2rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.045em;
}

.diagnostic-hero__lead {
  max-width: 45rem;
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.55;
}

.diagnostic-hero p:not(.micro-label) {
  color: rgba(248, 243, 233, 0.78);
}

.diagnostic-hero .text-link {
  margin-top: 1.5rem;
  color: #e3b477;
}

.diagnostic-privacy {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(227, 180, 119, 0.38);
  border-radius: 1.25rem;
  background: rgba(3, 34, 31, 0.62);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

.diagnostic-privacy > svg {
  width: 2.25rem;
  height: 2.25rem;
  color: #e3b477;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.diagnostic-privacy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.diagnostic-privacy p {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.diagnostic-privacy code {
  color: #f4d6a6;
}

.diagnostic-workspace {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
  background: var(--diagnostic-paper);
}

.diagnostic-workspace__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
  max-width: 78rem;
}

.diagnostic-form,
.diagnostic-results {
  min-width: 0;
  border: 1px solid var(--diagnostic-line);
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1.5rem 4.5rem rgba(15, 51, 47, 0.08);
}

.diagnostic-form {
  padding: clamp(1.25rem, 3.5vw, 3.25rem);
}

.diagnostic-form[data-wizard-ready="true"] .diagnostic-section {
  min-height: 19rem;
}

.diagnostic-form .intake-wizard__progress {
  margin-bottom: 1rem;
}

.diagnostic-form__intro {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.diagnostic-form__intro h2,
.diagnostic-results h2,
.diagnostic-method h2,
.diagnostic-legal h2 {
  margin: 0.45rem 0 1rem;
  color: var(--diagnostic-ink);
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.diagnostic-section {
  min-width: 0;
  margin: 0;
  padding: 2rem 0;
  border: 0;
  border-top: 1px solid var(--diagnostic-line);
}

.diagnostic-section > legend {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  margin-bottom: 1.35rem;
  color: var(--diagnostic-ink);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 700;
}

.diagnostic-section > legend span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: var(--diagnostic-ink);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.diagnostic-section__help,
.field-hint {
  color: var(--diagnostic-muted);
}

.diagnostic-section__help {
  margin: -0.55rem 0 1.5rem;
  line-height: 1.6;
}

.diagnostic-grid {
  display: grid;
  gap: 1.25rem;
}

.diagnostic-grid--profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.diagnostic-field {
  min-width: 0;
}

.diagnostic-field > label,
.diagnostic-jurisdictions > legend {
  display: block;
  margin: 0 0 0.5rem;
  color: var(--diagnostic-ink);
  font-size: 0.91rem;
  font-weight: 700;
}

.diagnostic-field label small {
  font-weight: 500;
  color: var(--diagnostic-muted);
}

.diagnostic-field input:not([type="checkbox"]),
.diagnostic-field select {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(16, 42, 39, 0.25);
  border-radius: 0.65rem;
  color: var(--diagnostic-ink);
  background: #fff;
  font: inherit;
}

.diagnostic-field input:focus-visible,
.diagnostic-field select:focus-visible,
.diagnostic-actions button:focus-visible,
.diagnostic-results a:focus-visible {
  outline: 3px solid rgba(170, 117, 64, 0.42);
  outline-offset: 2px;
  border-color: var(--diagnostic-accent);
}

.diagnostic-field [aria-invalid="true"] {
  border-color: var(--diagnostic-danger);
  box-shadow: 0 0 0 2px rgba(155, 49, 41, 0.11);
}

.field-hint,
.field-error {
  display: block;
  min-height: 1.1rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.4;
}

.field-error {
  color: var(--diagnostic-danger);
  font-weight: 600;
}

.diagnostic-jurisdictions {
  margin: 0;
  padding: 0;
  border: 0;
}

/* Premium intake surfaces v4: align the company diagnostic with the calculator family. */
.diagnostic-page .diagnostic-form {
  border-color: rgba(157, 108, 57, 0.28);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(250, 247, 239, 0.96));
  box-shadow:
    0 2.1rem 5.5rem rgba(15, 51, 47, 0.1),
    0 0.35rem 1.1rem rgba(15, 51, 47, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.diagnostic-page .diagnostic-section {
  margin-top: 0.75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(157, 108, 57, 0.2);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.diagnostic-page .diagnostic-field input:not([type="checkbox"]),
.diagnostic-page .diagnostic-field select {
  min-height: 3.65rem;
  padding: 0.9rem 1rem;
  border-color: rgba(16, 42, 39, 0.22);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, #fff, #faf8f2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 0.55rem 1.4rem rgba(15, 51, 47, 0.045);
  transition-property: border-color, box-shadow, background-color, transform;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.diagnostic-page .diagnostic-field select {
  appearance: none;
  padding-right: 2.8rem;
  background-image:
    linear-gradient(45deg, transparent 50%, #9d6c39 50%),
    linear-gradient(135deg, #9d6c39 50%, transparent 50%),
    linear-gradient(180deg, #fff, #faf8f2);
  background-position: calc(100% - 1.35rem) 52%, calc(100% - 1rem) 52%, 0 0;
  background-repeat: no-repeat;
  background-size: 0.34rem 0.34rem, 0.34rem 0.34rem, 100% 100%;
}

.diagnostic-page .diagnostic-field input:not([type="checkbox"]):hover,
.diagnostic-page .diagnostic-field select:hover {
  border-color: rgba(157, 108, 57, 0.5);
  box-shadow: 0 0.8rem 1.9rem rgba(15, 51, 47, 0.07);
}

.diagnostic-page .diagnostic-field input:focus-visible,
.diagnostic-page .diagnostic-field select:focus-visible {
  border-color: var(--diagnostic-accent);
  outline: 0;
  box-shadow:
    0 0 0 0.25rem rgba(170, 117, 64, 0.14),
    0 1rem 2.2rem rgba(15, 51, 47, 0.09);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .diagnostic-page .diagnostic-form { border-radius: 1.4rem; }
  .diagnostic-page .diagnostic-section {
    padding: 1.25rem;
    border-radius: 1.1rem;
  }
}

.diagnostic-jurisdictions label {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin: 0.6rem 0;
  font-weight: 500;
}

.diagnostic-jurisdictions input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--diagnostic-accent);
}

.diagnostic-conflicts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.diagnostic-conflict {
  min-width: 0;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--diagnostic-line);
  border-radius: 0.8rem;
  background: #fbfcfb;
}

.diagnostic-conflict > legend {
  padding: 0 0.35rem;
  color: var(--diagnostic-ink);
  font-weight: 700;
}

.diagnostic-conflict__fields {
  display: grid;
  grid-template-columns: minmax(5.25rem, 0.55fr) minmax(9rem, 1fr);
  gap: 0.75rem;
}

.diagnostic-review {
  padding: 1rem;
  border-radius: 0.8rem;
  background: var(--diagnostic-soft);
}

.diagnostic-form__notice,
.diagnostic-disclaimer {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--diagnostic-accent);
  color: var(--diagnostic-muted);
  background: #f7f1e8;
  font-size: 0.9rem;
  line-height: 1.6;
}

.diagnostic-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--diagnostic-danger);
  font-weight: 700;
}

.diagnostic-status:empty {
  display: none;
}

.diagnostic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.diagnostic-form .intake-wizard__actions {
  margin-top: 1rem;
}

.diagnostic-form .diagnostic-submit,
.diagnostic-form .intake-wizard__next {
  min-width: 12rem;
  justify-content: center;
}

.diagnostic-form .button--ghost,
.diagnostic-results .button--ghost {
  color: var(--diagnostic-ink);
  border-color: rgba(16, 42, 39, 0.42);
}

.diagnostic-form .button--ghost:hover,
.diagnostic-results .button--ghost:hover {
  color: #fff;
  border-color: var(--diagnostic-ink);
  background: var(--diagnostic-ink);
}

.diagnostic-results {
  padding: clamp(1.25rem, 3.5vw, 3.25rem);
  scroll-margin-top: 7rem;
}

.diagnostic-results__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--diagnostic-line);
}

.diagnostic-score {
  display: flex;
  align-items: baseline;
  color: var(--diagnostic-ink);
}

.diagnostic-score span {
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.5rem, 7vw, 6.25rem);
  line-height: 0.8;
}

.diagnostic-score small {
  color: var(--diagnostic-muted);
}

.diagnostic-level {
  display: inline-flex;
  justify-content: center;
  min-width: 8rem;
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

.diagnostic-level--controlled { background: #276348; }
.diagnostic-level--medium { color: #2d2416; background: #e6bc62; }
.diagnostic-level--high { background: #bd6a32; }
.diagnostic-level--urgent { background: #9b3129; }

.diagnostic-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.diagnostic-categories article {
  padding: 1.15rem;
  border-radius: 0.8rem;
  text-align: center;
  background: var(--diagnostic-soft);
}

.diagnostic-categories span {
  color: var(--diagnostic-ink);
  font-family: "Instrument Serif", serif;
  font-size: 2.6rem;
  line-height: 1;
}

.diagnostic-categories p {
  margin: 0.35rem 0 0;
  color: var(--diagnostic-muted);
  font-size: 0.8rem;
}

.diagnostic-results__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.diagnostic-results__grid article,
.diagnostic-next {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--diagnostic-line);
  border-radius: 0.8rem;
}

.diagnostic-results h3 {
  margin: 0 0 0.75rem;
  color: var(--diagnostic-ink);
  font-size: 1rem;
}

.diagnostic-results ul,
.diagnostic-results ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--diagnostic-muted);
}

.diagnostic-results li + li {
  margin-top: 0.5rem;
}

.diagnostic-next {
  margin: 0.9rem 0;
  background: #f8f2e9;
}

.diagnostic-next .text-link {
  margin-top: 1rem;
}

.diagnostic-method {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  color: #f8f3e9;
  background: #082f2b;
}

.diagnostic-method h2,
.diagnostic-method .section-heading p {
  color: inherit;
}

.company-offer-page .diagnostic-method .section-heading h2 {
  color: inherit;
}

.diagnostic-method__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.diagnostic-method__grid article {
  padding: 1.35rem;
  border: 1px solid rgba(227, 180, 119, 0.32);
  border-radius: 0.8rem;
}

.diagnostic-method__grid span {
  color: #e3b477;
  font-family: "Instrument Serif", serif;
  font-size: 2rem;
}

.diagnostic-method__grid h3 {
  margin: 0.65rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.09em;
}

.diagnostic-method__grid p,
.diagnostic-method__detail {
  color: rgba(248, 243, 233, 0.72);
  font-size: 0.9rem;
  line-height: 1.65;
}

.diagnostic-method__detail {
  margin-top: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(227, 180, 119, 0.32);
  border-bottom: 1px solid rgba(227, 180, 119, 0.32);
}

.diagnostic-method__detail summary {
  cursor: pointer;
  color: #f8f3e9;
  font-weight: 700;
}

.diagnostic-legal {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: #ede4d4;
}

.diagnostic-legal .container {
  max-width: 62rem;
}

.diagnostic-legal p {
  color: var(--diagnostic-muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .company-offer-page .site-page-hero__grid,
  .company-offer-page .split-layout,
  .company-offer-page .notice-card,
  .company-offer-page .site-cta-strip > .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-offer-page .service-grid,
  .company-offer-page .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-offer-page .site-cta-strip__actions {
    justify-content: flex-start;
  }

  .diagnostic-hero__grid,
  .diagnostic-grid--reviews,
  .diagnostic-method__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .diagnostic-privacy {
    align-self: stretch;
  }
}

@media (max-width: 680px) {
  .company-offer-page .service-grid,
  .company-offer-page .comparison-grid,
  .company-offer-page .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-offer-page .site-page-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .company-offer-page .site-page-hero .micro-label,
  .diagnostic-hero .micro-label {
    max-width: 100%;
    white-space: normal;
    font-size: 0.68rem;
    line-height: 1.5;
  }

  .company-offer-page .site-page-hero__actions .button,
  .company-offer-page .site-cta-strip__actions .button {
    width: 100%;
    justify-content: center;
  }

  .diagnostic-hero__grid,
  .diagnostic-grid--profile,
  .diagnostic-grid--reviews,
  .diagnostic-conflicts,
  .diagnostic-results__grid,
  .diagnostic-method__grid,
  .diagnostic-results__header {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagnostic-hero h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: clamp(2.75rem, 13vw, 4.25rem);
  }

  .diagnostic-privacy {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .diagnostic-privacy > svg {
    width: 1.75rem;
    height: 1.75rem;
  }

  .diagnostic-form,
  .diagnostic-results {
    border-radius: 1rem;
  }

  .diagnostic-form[data-wizard-ready="true"] .diagnostic-section {
    min-height: 0;
  }

  .diagnostic-section > legend {
    align-items: flex-start;
  }

  .diagnostic-conflict__fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagnostic-categories {
    grid-template-columns: minmax(0, 1fr);
  }

  .diagnostic-categories article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .diagnostic-actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  .diagnostic-page .site-header,
  .diagnostic-page .breadcrumbs,
  .diagnostic-page .diagnostic-hero,
  .diagnostic-page .diagnostic-form,
  .diagnostic-page .diagnostic-method,
  .diagnostic-page .site-block--faq,
  .diagnostic-page .diagnostic-legal,
  .diagnostic-page .site-footer,
  .diagnostic-page .floating-tool,
  .diagnostic-page .cookie-banner,
  .diagnostic-page .diagnostic-actions {
    display: none !important;
  }

  .diagnostic-page .diagnostic-workspace {
    padding: 0;
    background: #fff;
  }

  .diagnostic-page .diagnostic-results {
    display: block !important;
    border: 0;
    box-shadow: none;
  }

  .diagnostic-page .diagnostic-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .diagnostic-page *,
  .diagnostic-page *::before,
  .diagnostic-page *::after {
    scroll-behavior: auto !important;
  }
}
