/* Local visual refinement. Keep the portrait/funnel choreography and section bridge intact. */

:root {
  /* Primitive -> semantic -> component tokens for repeatable page styling. */
  --vs-unit: 8px;
  --vs-space-section: calc(var(--vs-unit) * 13);
  --vs-space-header: calc(var(--vs-unit) * 7);
  --vs-radius-control: 16px;
  --vs-radius-card: 24px;
  --vs-navy: #101a2a;
  --vs-text-on-dark: #f4f7fb;
  --vs-muted-on-dark: #c0cada;
  --vs-text-secondary: #aebbd0;
  --vs-card-border: rgba(173, 205, 255, .16);
  --vs-card-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  --vs-action-gradient: linear-gradient(120deg, #416dff 0%, #4c9fff 55%, #62eadb 115%);
}

:root[data-theme="light"] {
  --vs-text-secondary: #52647a;
  --vs-card-border: rgba(38, 66, 105, .14);
  --vs-card-shadow: 0 24px 70px rgba(37, 65, 102, .13);
}

/* A consistent editorial rhythm, without shrinking or removing any section. */
.section {
  padding-block: var(--vs-space-section);
}

.section-header {
  grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
  align-items: start;
  margin-bottom: var(--vs-space-header);
  gap: clamp(32px, 4.5vw, 76px);
}

.section-header > div {
  min-width: 0;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.5;
}

.section h2 {
  max-width: 850px;
  font-size: clamp(32px, 3.45vw, 48px);
  letter-spacing: -.04em;
  line-height: 1.12;
}

.section-intro {
  max-width: 660px;
  margin-top: 20px;
  color: var(--vs-text-secondary);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

.owner-card h3,
.proof-card h3,
.capability-card h3 {
  line-height: 1.28;
}

.owner-card p,
.proof-card p,
.capability-card p {
  color: var(--vs-text-secondary);
  line-height: 1.6;
}

.product-window,
.proof-card,
.capability-card,
.report-showcase,
.price-card,
.audit-panel,
.audit-form-wrap {
  border-radius: var(--vs-radius-card);
}

.product-window,
.report-showcase,
.price-card,
.audit-panel {
  box-shadow: var(--vs-card-shadow);
}

.proof-card,
.capability-card {
  border-color: var(--vs-card-border);
}

.proof-icon,
.capability-icon {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(98, 232, 255, .18);
  border-radius: 12px;
  background: rgba(77, 128, 255, .1);
  color: var(--cyan);
  place-items: center;
}

.proof-icon svg,
.capability-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary,
.hero-actions .button-primary {
  background: var(--vs-action-gradient);
}

/* Let the diagnostic numbers and the main loss win once the animation settles. */
.hero-funnel[data-mode="settled"] .funnel-conversion {
  opacity: .16;
}

.hero-funnel[data-mode="settled"] .conversion-one {
  opacity: .38;
}

.hero-demo-link {
  color: rgba(215, 226, 241, .82);
}

/* Crop the real product screens to the decision area. The full image remains a link. */
.report-showcase {
  border-color: var(--vs-card-border);
}

.report-stage {
  border-radius: var(--vs-radius-control);
}

.report-image-link img {
  position: absolute;
  top: -23%;
  right: 0;
  width: 125%;
  max-width: none;
  height: auto;
  object-fit: initial;
}

.report-image-link > span {
  opacity: 1;
  transform: none;
  background: rgba(7, 11, 18, .86);
  font-size: 12px;
}

.report-tab small {
  font-size: 12px;
}

.report-caption span {
  color: var(--vs-text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.report-stage-bar strong {
  font-size: 12px;
}

/* Pricing and application use the same navy surface and readable support text. */
.price-card,
.audit-panel {
  --text: var(--vs-text-on-dark);
  --muted: var(--vs-muted-on-dark);
  --muted-strong: var(--vs-muted-on-dark);
  --cyan: #62e8ff;
  --mint: #65f3bd;
  color: var(--vs-text-on-dark);
  background:
    radial-gradient(circle at 92% 6%, rgba(98, 232, 255, .1), transparent 23rem),
    linear-gradient(145deg, var(--vs-navy), #090f19 78%);
}

.price-card > p,
.price-total,
.price-features li,
.audit-copy > p,
.audit-points span {
  color: var(--vs-muted-on-dark);
}

.price-control-label,
.price-card > p,
.price-total,
.price-features li {
  font-size: 14px;
}

.audit-form-wrap {
  border-color: var(--vs-card-border);
  background: rgba(6, 13, 24, .76);
}

.field label,
.privacy-consent,
.form-disclaimer {
  color: var(--vs-muted-on-dark);
  font-size: 13px;
  line-height: 1.55;
}

.field input {
  border-radius: var(--vs-radius-control);
}

.field input::placeholder {
  color: #a0afc2;
}

.privacy-consent a {
  color: #8ce8ff;
  text-decoration-color: rgba(140, 232, 255, .55);
}

:root[data-theme] .audit-panel .privacy-consent {
  color: var(--vs-muted-on-dark);
}

@media (max-width: 900px) {
  :root {
    --vs-space-section: calc(var(--vs-unit) * 11);
    --vs-space-header: calc(var(--vs-unit) * 5);
  }

  .section-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 620px) {
  :root {
    --vs-space-section: calc(var(--vs-unit) * 9);
    --vs-space-header: calc(var(--vs-unit) * 4);
  }

  .section h2 {
    font-size: clamp(30px, 8.4vw, 34px);
    line-height: 1.15;
  }

  .section-intro {
    margin-top: 16px;
  }

  .report-image-link img {
    top: -65%;
    right: auto;
    left: -56%;
    width: 280%;
  }

  .report-caption span {
    font-size: 13px;
  }

  .audit-panel {
    padding: 28px 18px;
  }

  .audit-copy h2 {
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.15;
  }

  .privacy-consent,
  .form-disclaimer {
    font-size: 12px;
  }
}
