/* Neo Automations — Pricing
   Alignment follows a single measure, centered bands, and
   equal-height columns. Tokens only. */

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

/* Label: word, then a hairline under it — not a dash before it. */
.price-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto var(--space-8);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
}
.price-label::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: var(--space-3);
  background: currentColor;
  opacity: 0.4;
}
.price-label.is-left {
  margin-left: 0;
  margin-right: 0;
  align-items: flex-start;
  text-align: left;
}

/* ── Hero ───────────────────────────────────────────────────── */
.price-hero {
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--space-24)) var(--col-pad) var(--space-20);
  background: var(--bg);
}
.price-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.4vw, 4.75rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text-primary);
  margin: 0 auto;
  max-width: 18ch;
}
.price-hero-line { display: block; }
.price-hero-sub {
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 32rem;
  margin: var(--space-8) auto 0;
}
.price-stats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 44rem;
  margin: var(--space-14) auto 0;
}
.price-stat {
  flex: 1;
  padding: 0 var(--space-6);
  text-align: center;
  min-width: 0;
}
.price-stat-val {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-heading);
  color: var(--text-primary);
  line-height: 1.1;
}
.price-stat-lbl {
  font-size: var(--text-2xs);
  color: var(--text-muted);
  margin-top: var(--space-2);
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.price-stat-sep {
  width: 1px;
  align-self: center;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── ROI ────────────────────────────────────────────────────── */
.price-roi {
  padding: var(--section-pad) var(--col-pad);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--nav-h);
}
.price-roi-inner {
  max-width: 800px;
  margin: 0 auto;
}
.price-h2,
.price-roi-h2,
.price-how-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3.15rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 18ch;
  margin: 0;
  color: var(--text-primary);
}
.price-roi-h2 {
  text-align: center;
  margin-inline: auto;
}
.price-lead,
.price-roi-lead,
.price-how-sub {
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 32rem;
  margin-top: var(--space-5);
}
.price-roi-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.calc-box {
  margin-top: var(--space-16);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 48px);
  background: var(--bg-card);
}
.calc-block + .calc-block {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.calc-lbl {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
}
.roi-chip {
  appearance: none;
  background: none;
  border: none;
  padding: 0 0 var(--space-1);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
}
.roi-chip:hover { color: var(--text-primary); }
.roi-chip.is-on {
  color: var(--text-primary);
  box-shadow: inset 0 -1px 0 var(--accent);
}
.roi-chip:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.roi-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.roi-q {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  text-align: left;
}
.roi-disp {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.roi-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.roi-slider::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--border-strong) var(--fill, 0%));
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  border: 2px solid var(--bg-card);
  margin-top: -6px;
  cursor: grab;
}
.roi-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid var(--bg-card);
  border-radius: var(--radius-full);
  background: var(--text-primary);
  cursor: grab;
}
.roi-slider:focus-visible { box-shadow: var(--focus-ring); }
.roi-slider::-moz-range-track {
  height: 2px;
  border: none;
  border-radius: var(--radius-full);
  background: linear-gradient(to right, var(--accent) var(--fill, 0%), var(--border-strong) var(--fill, 0%));
}
.roi-markers {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
}

.calc-result {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
  text-align: center;
}
.calc-result-kicker {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.calc-result-num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin: 0 0 var(--space-3);
}
.calc-result-hint {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--space-10);
}
.calc-kpis {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}
.calc-kpi {
  flex: 1;
  padding: 0 var(--space-5);
  text-align: center;
  min-width: 0;
}
.calc-kpi dt {
  font-size: var(--text-2xs);
  color: var(--text-muted);
  margin: 0 0 var(--space-1);
}
.calc-kpi dd {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-title);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.calc-kpi-sep {
  width: 1px;
  align-self: center;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}
.calc-note {
  margin: var(--space-8) auto 0;
  font-size: var(--text-2xs);
  color: var(--text-muted);
  line-height: var(--leading-body);
  text-align: center;
  max-width: 40rem;
}
.calc-note summary {
  cursor: pointer;
  list-style: none;
  color: var(--text-secondary);
}
.calc-note summary::-webkit-details-marker { display: none; }
.calc-note p { margin: var(--space-2) 0 0; }
.calc-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}

/* ── How we price ───────────────────────────────────────────── */
.price-how {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  align-items: stretch;
}
.factor-item {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-10) var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-3) var(--ease-out);
}
.factor-item:hover { border-color: var(--border-light); }
.factor-num {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-regular);
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-bottom: var(--space-6);
  display: block;
}
.factor-item h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin: 0 0 var(--space-3);
  letter-spacing: var(--tracking-title);
  line-height: var(--leading-title);
}
.factor-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.factor-scale {
  display: block;
  margin-top: auto;
  padding-top: var(--space-8);
}
.factor-scale-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.factor-dots { display: flex; gap: 5px; }
.factor-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
}
.factor-dot.is-on { background: var(--text-primary); }

.price-band {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.price-band.is-recessed {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-14);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-8);
  transition: border-color var(--dur-3) var(--ease-out);
}
.price-card:hover { border-color: var(--border-light); }
.price-card.featured { border-color: var(--accent-border); }
.price-tier {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-muted);
  display: block;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  margin-bottom: var(--space-5);
}
.price-card.featured .price-tier { color: var(--accent); }
.price-name {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-title);
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}
.price-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 var(--space-8);
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0 0 var(--space-10);
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-ui);
}
.price-list svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

/* ── Process ────────────────────────────────────────────────── */
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: var(--space-14);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
}
.process-step { padding: 0 var(--space-4); text-align: left; }
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}
.step-circle span {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  color: var(--text-muted);
  letter-spacing: var(--tracking-label);
}
.process-step h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin: 0 0 var(--space-2);
}
.process-step p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── Who ────────────────────────────────────────────────────── */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-12);
}
.who-item {
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.who-icon { display: none; }
.who-text h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
}
.who-text p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ── FAQ / CTA ──────────────────────────────────────────────── */
.faq-list { margin-top: var(--space-12); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  user-select: none;
  -webkit-user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q:hover { color: var(--accent); }
.faq-q:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.faq-chevron {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--dur-3) var(--ease-out);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-q { color: var(--text-primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-4) var(--ease-out); }
.faq-a-inner {
  padding: 0 0 var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-body);
  max-width: var(--measure-body);
}
.final-cta {
  text-align: center;
  padding: var(--section-pad-lg) var(--col-pad);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.final-cta-inner { max-width: 36rem; margin: 0 auto; }
.final-cta .price-h2 {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}
.final-cta .price-lead {
  margin: var(--space-5) auto 0;
  text-align: center;
}
.final-cta-btns {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

@media (max-width: 1024px) {
  .factors-grid,
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .process-track { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .process-track::before { display: none; }
}
@media (max-width: 768px) {
  .price-stats {
    flex-direction: row;
    max-width: 100%;
  }
  .price-stat { padding: 0 var(--space-3); }
  .price-stat-val { font-size: var(--text-xl); }
  .calc-kpis { flex-direction: column; align-items: center; gap: var(--space-6); }
  .calc-kpi-sep { width: 40px; height: 1px; }
  .calc-kpi { padding: 0; }
  .who-grid,
  .process-track { grid-template-columns: 1fr; }
  .calc-box { padding: var(--space-8) var(--space-5); }
}
