:root {
  --ink: #111014;
  --paper: #faf7f2;
  --white: #ffffff;
  --burgundy-dark: #64182b;
  --burgundy: #931f3f;
  --burgundy-glint: #b84a63;
  --burgundy-light: #c86a80;
  --muted: #655d62;
  --muted-light: #c1b7bc;
  --surface-dark: #1b181c;
  --line: #ded5d8;
  --line-dark: rgba(250, 247, 242, 0.16);
  --shadow: 0 28px 70px rgba(65, 20, 38, 0.14);
  --max: 1280px;
  --radius: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 5.6vw, 5.9rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4.4vw, 4.3rem);
  font-weight: 730;
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 11px;
  font-size: 1.28rem;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

em {
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 16, 20, 0.08);
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-avatar {
  width: 34px;
  height: 34px;
  display: block;
  border: 2px solid var(--burgundy);
  border-radius: 10px;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
}

.nav-link {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--burgundy-dark);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--burgundy);
  border-radius: 13px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--burgundy-glint) 0%, var(--burgundy) 48%, var(--burgundy-dark) 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2), 0 8px 22px rgba(100, 24, 43, 0.14);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--burgundy-dark);
  color: var(--paper);
  background: var(--burgundy-dark);
  transform: translateY(-2px);
}

.button.small {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
}

.hero {
  overflow: hidden;
  padding: clamp(42px, 5vw, 70px) 0 clamp(68px, 7vw, 96px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--burgundy-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 3px;
  background: var(--burgundy);
}

.lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.hero-actions {
  max-width: 610px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.text-link {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--burgundy-dark);
  color: var(--burgundy-dark);
  background: var(--white);
  transform: translateY(-2px);
}

.text-link span {
  margin-left: 4px;
  color: var(--burgundy);
}

.benefit-list {
  max-width: 610px;
  margin: 38px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.benefit-list li {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
  font-weight: 720;
  text-align: center;
}

.workflow-card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(17, 16, 20, 0.08);
  border-radius: 34px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.workflow-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  border: 26px solid var(--burgundy-dark);
  border-radius: 28px;
  content: "";
  transform: rotate(18deg);
  opacity: 0.6;
}

.workflow-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.workflow-intro {
  max-width: 360px;
  margin: 28px 0 25px;
  font-size: 1.35rem;
  font-weight: 690;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.workflow-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 17px 0;
  border-top: 1px solid var(--line-dark);
}

.workflow-number {
  color: var(--burgundy-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.workflow-list strong,
.workflow-list small {
  display: block;
}

.workflow-list strong {
  margin-bottom: 3px;
  font-size: 1rem;
}

.workflow-list small {
  color: var(--muted-light);
  font-size: 0.82rem;
  line-height: 1.42;
}

.workflow-result {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid var(--burgundy);
  border-radius: 12px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--burgundy-glint) 0%, var(--burgundy) 52%, var(--burgundy-dark) 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
  font-size: 0.88rem;
  font-weight: 820;
}

.workflow-result span {
  margin-right: 7px;
}

.section {
  padding: clamp(68px, 7vw, 96px) 0;
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-card {
  min-height: 238px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  text-align: center;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.process-card > span {
  display: block;
  margin-bottom: 28px;
  color: var(--burgundy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.process-card:hover {
  border-color: var(--burgundy);
  box-shadow: 0 18px 38px rgba(65, 20, 38, 0.12);
  transform: translateY(-8px);
}

.process-card.accent-card {
  border-color: var(--burgundy-dark);
  color: var(--paper);
  background: linear-gradient(145deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
}

.process-card.accent-card:hover {
  border-color: var(--burgundy);
  box-shadow: 0 18px 38px rgba(65, 20, 38, 0.2);
}

.process-card.accent-card > span,
.process-card.accent-card p {
  color: var(--paper);
}

.diagnostic-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.diagnostic-section .container {
  position: relative;
  z-index: 1;
}

.diagnostic-heading {
  margin-bottom: 32px;
}

.diagnostic-heading > p:last-child {
  color: var(--muted-light);
}

.diagnostic-heading em,
.product-card em {
  color: var(--burgundy-light);
}

.diagnostic-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.diagnostic-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(184, 74, 99, 0.28);
  border-radius: 26px;
  background: #151217;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 28px 60px rgba(0, 0, 0, 0.2);
  isolation: isolate;
}

.diagnostic-visual::before,
.diagnostic-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66%;
  height: 34%;
  border: 1px solid rgba(184, 74, 99, 0.3);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotate(-8deg);
  pointer-events: none;
}

.diagnostic-visual::after {
  width: 49%;
  height: 48%;
  border-color: rgba(250, 247, 242, 0.13);
  transform: translate(-50%, -50%) rotate(32deg);
}

#diagnostic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 300ms ease;
}

.diagnostic-section.has-webgl #diagnostic-canvas {
  opacity: 1;
}

.diagnostic-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 112px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 1px solid rgba(184, 74, 99, 0.72);
  border-radius: 50%;
  color: var(--paper);
  background: linear-gradient(145deg, #21171d 0%, #111014 55%, #2d121b 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 0 0 13px rgba(147, 31, 63, 0.08), 0 0 54px rgba(147, 31, 63, 0.32);
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.diagnostic-core span,
.diagnostic-core strong {
  display: block;
  line-height: 1;
}

.diagnostic-core span {
  margin-bottom: 5px;
  color: var(--muted-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.diagnostic-core strong {
  color: var(--burgundy-glint);
  font-size: 1.62rem;
  letter-spacing: -0.05em;
}

.diagnostic-controls {
  display: contents;
}

.diagnostic-node {
  position: absolute;
  z-index: 3;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(250, 247, 242, 0.22);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(27, 24, 28, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 760;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.diagnostic-node:hover,
.diagnostic-node:focus-visible,
.diagnostic-node.is-active {
  border-color: var(--burgundy-glint);
  color: var(--paper);
  background: linear-gradient(135deg, var(--burgundy-glint) 0%, var(--burgundy) 52%, var(--burgundy-dark) 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22), 0 12px 28px rgba(100, 24, 43, 0.28);
  transform: scale(1.04);
}

.node-one {
  top: 14%;
  left: 9%;
}

.node-two {
  top: 14%;
  right: 8%;
}

.node-three {
  bottom: 15%;
  left: 8%;
}

.node-four {
  right: 7%;
  bottom: 15%;
}

.diagnostic-hint {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  margin: 0;
  color: var(--muted-light);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.diagnostic-panel {
  display: block;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(184, 74, 99, 0.22);
  border-radius: 26px;
  background: var(--surface-dark);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 28px 60px rgba(0, 0, 0, 0.18);
}

.diagnostic-panel.is-updating > * {
  animation: diagnostic-content-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.diagnostic-panel-measure {
  position: fixed !important;
  top: 0 !important;
  left: -200vw !important;
  z-index: -1 !important;
  height: auto !important;
  min-height: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@keyframes diagnostic-content-in {
  from {
    opacity: 0.45;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diagnostic-panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-light);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.diagnostic-kicker {
  margin: 28px 0 5px;
  color: var(--burgundy-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.diagnostic-panel h3 {
  margin-bottom: 24px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.diagnostic-details {
  margin: 0;
}

.diagnostic-details div {
  padding: 17px 0;
  border-top: 1px solid var(--line-dark);
}

.diagnostic-details dt {
  margin-bottom: 5px;
  color: var(--muted-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.diagnostic-details dd {
  margin: 0;
  color: var(--paper);
  line-height: 1.48;
}

.repair-command {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(184, 74, 99, 0.48);
  border-radius: 18px;
  background: rgba(147, 31, 63, 0.1);
}

.repair-command span {
  display: block;
  margin-bottom: 8px;
  color: var(--burgundy-light);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.repair-command p {
  margin: 0;
  color: var(--paper);
  font-size: 0.94rem;
  line-height: 1.5;
}

.diagnostic-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
  margin-top: 20px;
}

.diagnostic-copy {
  width: 100%;
}

.diagnostic-copy-status {
  min-height: 1.45em;
  margin: 0;
  color: var(--muted-light);
  font-size: 0.82rem;
}

.diagnostic-product-link {
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 780;
  text-decoration-color: var(--burgundy-light);
  text-underline-offset: 4px;
}

.diagnostic-product-link:hover,
.diagnostic-product-link:focus-visible {
  color: var(--burgundy-light);
}

.diagnostic-product-link[hidden] {
  display: none;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 34px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.eyebrow.light {
  color: var(--muted-light);
}

.product-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted-light);
  font-size: 1.08rem;
}

.product-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-points li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-top: 1px solid var(--line-dark);
}

.product-points li::before {
  position: absolute;
  left: 0;
  color: var(--burgundy);
  content: "✓";
  font-weight: 900;
}

.product-action {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: var(--surface-dark);
}

.product-label {
  display: block;
  margin-bottom: 19px;
  color: var(--muted-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.light-button {
  width: 100%;
}

.product-action small {
  display: block;
  margin-top: 15px;
  color: var(--muted-light);
  line-height: 1.45;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  display: block;
}

.faq-list {
  width: min(100%, 980px);
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 24px 46px 24px 18px;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 760;
  list-style-position: outside;
  transition: color 160ms ease, background-color 160ms ease;
}

summary:hover,
summary:focus-visible {
  color: var(--burgundy-dark);
  background: rgba(147, 31, 63, 0.07);
}

details p {
  max-width: 660px;
  padding: 0 34px 24px 18px;
  margin: 0 auto 0 0;
  color: var(--muted);
}

.faq-final-cta {
  width: min(100%, 780px);
  margin: clamp(48px, 7vw, 76px) auto 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.faq-final-cta .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.faq-final-cta h3 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 4vw, 2.7rem);
}

.faq-final-cta > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.footer-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  justify-items: end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: var(--burgundy-dark);
  color: var(--paper);
  background: var(--burgundy-dark);
  transform: translateY(-3px);
}

.social-links svg {
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}

.social-links rect,
.social-links circle:not(.social-dot) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-links .social-dot {
  fill: currentColor;
}

.social-links .social-play {
  fill: var(--paper);
}

.footer-email {
  font-size: 0.82rem;
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .product-card,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .diagnostic-shell {
    grid-template-columns: 1fr;
  }

  .diagnostic-panel {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .workflow-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }

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

}

@media (min-width: 541px) and (max-width: 1100px) {
  .hero-copy {
    width: min(100%, 900px);
    margin-inline: auto;
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
  }

  .hero-copy h1 {
    max-width: 13ch;
    margin-inline: auto;
  }

  .hero-copy .lead,
  .hero-actions,
  .benefit-list {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    min-height: 70px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

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

  .process-card {
    min-height: auto;
  }

  .diagnostic-visual {
    min-height: 420px;
  }

  .process-card > span {
    margin-bottom: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-links {
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }
}

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

  .nav-shell {
    gap: 10px;
  }

  .brand {
    gap: 8px;
    font-size: 0.82rem;
  }

  .brand-avatar {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .site-nav .button {
    min-height: 40px;
    padding: 9px 8px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: clamp(3rem, 14.6vw, 4.55rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11.5vw, 3.35rem);
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .benefit-list {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .workflow-card,
  .product-card {
    border-radius: 24px;
  }

  .workflow-card::after {
    right: -56px;
    bottom: -56px;
  }

  .product-card {
    padding: 26px;
  }

  .product-action {
    padding: 20px;
  }

  .diagnostic-section {
    background: var(--ink);
  }

  .diagnostic-visual {
    min-height: 360px;
    border-radius: 24px;
  }

  .diagnostic-core {
    top: 36%;
    width: 96px;
  }

  .diagnostic-controls {
    position: absolute;
    right: 14px;
    bottom: 38px;
    left: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .diagnostic-node {
    position: static;
    min-width: 0;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  .diagnostic-node:hover,
  .diagnostic-node:focus-visible,
  .diagnostic-node.is-active {
    transform: none;
  }

  .diagnostic-hint {
    bottom: 14px;
    font-size: 0.61rem;
  }

  .diagnostic-panel {
    padding: 25px 21px;
    border-radius: 24px;
  }

  .faq-final-cta {
    padding: 26px 20px;
    border-radius: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
