/* Tételív commercial v3. All selectors are scoped to the replacement sections. */

.v3-commercial {
  --v3-forest: #103b2f;
  --v3-forest-deep: #08231b;
  --v3-forest-soft: #1c5543;
  --v3-lime: #d9f36e;
  --v3-lime-soft: #edf6be;
  --v3-offwhite: #f3f0e7;
  --v3-sand: #e7e3d6;
  --v3-ink: #122d27;
  --v3-muted: #688078;
  --v3-line: rgba(18, 45, 39, 0.18);
  --v3-dark-line: rgba(243, 240, 231, 0.22);
  box-sizing: border-box;
  color: var(--v3-ink);
  font-family: inherit;
}

.v3-commercial *,
.v3-commercial *::before,
.v3-commercial *::after {
  box-sizing: inherit;
}

.v3-commercial[hidden],
.v3-commercial [hidden] {
  display: none !important;
}

.v3-commercial h2,
.v3-commercial h3,
.v3-commercial p,
.v3-commercial ul,
.v3-commercial ol {
  margin-top: 0;
}

.v3-commercial button,
.v3-commercial input,
.v3-commercial select {
  font: inherit;
}

.v3-eyebrow {
  margin-bottom: 18px;
  color: var(--v3-forest-soft);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.v3-lead {
  max-width: 36rem;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.v3-roi {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 12%, rgba(217, 243, 110, 0.16), transparent 26rem),
    linear-gradient(135deg, var(--v3-forest) 0%, var(--v3-forest-deep) 100%);
  color: var(--v3-offwhite);
}

.v3-roi::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(217, 243, 110, 0.35);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.v3-roi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding: clamp(30px, 6vw, 86px);
}

.v3-roi-copy h2,
.v3-assessment-heading h2,
.v3-pricing-heading h2 {
  margin-bottom: 25px;
  font-size: clamp(2.1rem, 4.3vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.v3-roi-copy h2 span,
.v3-assessment-heading h2 span,
.v3-pricing-heading h2 span {
  color: var(--v3-lime);
}

.v3-roi-copy .v3-eyebrow,
.v3-pricing .v3-eyebrow {
  color: var(--v3-lime);
}

.v3-roi-guardrail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  max-width: 34rem;
  margin: 34px 0 22px;
  padding: 18px 0;
  border-top: 1px solid var(--v3-dark-line);
  border-bottom: 1px solid var(--v3-dark-line);
}

.v3-guardrail-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--v3-lime);
  color: var(--v3-forest-deep);
  font-weight: 900;
}

.v3-roi-guardrail p {
  margin: 0;
  color: rgba(243, 240, 231, 0.8);
  font-size: 0.92rem;
  line-height: 1.55;
}

.v3-roi-guardrail strong {
  display: block;
  margin-bottom: 4px;
  color: var(--v3-offwhite);
}

.v3-details {
  max-width: 38rem;
  border-top: 1px solid var(--v3-line);
}

.v3-roi .v3-details,
.v3-pricing .v3-details {
  border-color: var(--v3-dark-line);
}

.v3-details summary {
  cursor: pointer;
  padding: 16px 0;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  list-style-position: outside;
}

.v3-details summary::marker {
  color: var(--v3-lime);
}

.v3-details-body {
  padding: 0 0 13px 18px;
  color: var(--v3-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.v3-roi .v3-details-body,
.v3-pricing .v3-details-body {
  color: rgba(243, 240, 231, 0.72);
}

.v3-details-body p:last-child {
  margin-bottom: 0;
}

.v3-roi-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 240, 231, 0.35);
  border-radius: 22px;
  background: var(--v3-offwhite);
  color: var(--v3-ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.v3-panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 23px;
  border-bottom: 1px solid var(--v3-line);
  color: var(--v3-muted);
  font-size: 0.75rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.v3-panel-status {
  color: var(--v3-forest-soft);
}

.v3-panel-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--v3-forest-soft);
  vertical-align: 1px;
}

.v3-roi-form {
  padding: clamp(20px, 3vw, 34px);
}

.v3-preset-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.v3-preset-label {
  margin-right: 3px;
  color: var(--v3-muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.v3-preset,
.v3-text-button,
.v3-button {
  border: 0;
  cursor: pointer;
}

.v3-preset {
  padding: 8px 12px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: transparent;
  color: var(--v3-forest);
  font-size: 0.77rem;
  font-weight: 750;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.v3-preset:hover,
.v3-preset:focus-visible,
.v3-preset.is-active {
  border-color: var(--v3-forest);
  background: var(--v3-forest);
  color: var(--v3-offwhite);
}

.v3-roi-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.v3-field {
  min-width: 0;
  padding: 17px 0 15px;
  border-top: 1px solid var(--v3-line);
}

.v3-field-wide {
  grid-column: 1 / -1;
}

.v3-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.v3-field-head label {
  color: var(--v3-ink);
  font-size: 0.88rem;
  font-weight: 780;
}

.v3-field-head output {
  flex: 0 0 auto;
  color: var(--v3-forest-soft);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.v3-number-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v3-number-control input {
  width: min(100%, 11rem);
  min-height: 43px;
  padding: 7px 11px;
  border: 1px solid var(--v3-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--v3-ink);
  font-size: 1rem;
  font-weight: 760;
}

.v3-number-control input:focus,
.v3-field select:focus,
.v3-assessment-form input:focus,
.v3-assessment-form select:focus {
  outline: 3px solid rgba(28, 85, 67, 0.28);
  outline-offset: 2px;
}

.v3-number-control input:invalid,
.v3-assessment-form input:invalid,
.v3-assessment-form select:invalid {
  border-color: #a94936;
}

.v3-number-control span {
  color: var(--v3-muted);
  font-size: 0.77rem;
  font-weight: 700;
}

.v3-range {
  display: block;
  width: 100%;
  margin-top: 12px;
  accent-color: var(--v3-forest-soft);
  cursor: pointer;
}

.v3-field-help {
  margin: 8px 0 0;
  color: var(--v3-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.v3-input-error {
  margin: 17px 0 0;
  padding: 11px 13px;
  border-left: 3px solid #a94936;
  background: rgba(169, 73, 54, 0.1);
  color: #7d2e24;
  font-size: 0.83rem;
  line-height: 1.45;
}

.v3-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding-top: 19px;
  color: var(--v3-muted);
  font-size: 0.74rem;
}

.v3-text-button {
  padding: 3px 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--v3-forest-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.v3-text-button:hover,
.v3-text-button:focus-visible {
  color: var(--v3-forest-deep);
}

.v3-roi-result {
  padding: clamp(22px, 3.4vw, 35px);
  border-top: 7px solid var(--v3-lime);
  background: var(--v3-forest-deep);
  color: var(--v3-offwhite);
}

.v3-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.v3-result-item {
  min-width: 0;
  padding-right: 14px;
  border-right: 1px solid var(--v3-dark-line);
}

.v3-result-item:last-child {
  border-right: 0;
}

.v3-result-item span {
  display: block;
  min-height: 2.5em;
  color: rgba(243, 240, 231, 0.7);
  font-size: 0.76rem;
  line-height: 1.35;
}

.v3-result-item strong {
  display: block;
  margin-top: 8px;
  color: var(--v3-lime);
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.v3-result-primary strong {
  font-size: clamp(1.4rem, 3.3vw, 2.45rem);
}

.v3-result-cost {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--v3-dark-line);
  color: rgba(243, 240, 231, 0.68);
  font-size: 0.78rem;
  line-height: 1.4;
}

.v3-result-cost strong {
  color: var(--v3-offwhite);
  font-size: 1rem;
}

.v3-result-status {
  margin: 25px 0 7px;
  color: var(--v3-offwhite);
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.5;
}

.v3-result-status.is-negative {
  color: #ffbf9b;
}

.v3-result-status.is-neutral {
  color: var(--v3-lime-soft);
}

.v3-result-note {
  margin: 0;
  color: rgba(243, 240, 231, 0.64);
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Assessment */

.v3-assessment {
  padding-top: clamp(30px, 6vw, 76px);
  padding-bottom: clamp(30px, 6vw, 76px);
}

.v3-assessment-heading,
.v3-pricing-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.65fr);
  gap: clamp(25px, 6vw, 90px);
  align-items: end;
  margin-bottom: 37px;
}

.v3-assessment-heading h2,
.v3-pricing-heading h2 {
  margin-bottom: 0;
}

.v3-assessment-heading > p,
.v3-pricing-heading > p {
  max-width: 29rem;
  margin-bottom: 6px;
  color: var(--v3-muted);
  line-height: 1.65;
}

.v3-assessment-shell {
  display: grid;
  grid-template-columns: minmax(11rem, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 26px;
  background: var(--v3-forest);
  color: var(--v3-offwhite);
}

.v3-stepper {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 31px 22px;
  list-style: none;
}

.v3-stepper li {
  position: relative;
  display: grid;
  grid-template-columns: 35px 1fr;
  grid-template-areas: "number name" "number hint";
  column-gap: 12px;
  padding: 15px 0 25px;
  color: rgba(243, 240, 231, 0.45);
}

.v3-stepper li:not(:last-child)::after {
  position: absolute;
  top: 57px;
  bottom: 0;
  left: 15px;
  width: 1px;
  background: var(--v3-dark-line);
  content: "";
}

.v3-stepper li.is-active,
.v3-stepper li.is-complete {
  color: var(--v3-offwhite);
}

.v3-stepper li.is-complete {
  color: var(--v3-lime-soft);
}

.v3-stepper li > span {
  display: grid;
  grid-area: number;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.73rem;
  font-weight: 850;
}

.v3-stepper li.is-active > span {
  border-color: var(--v3-lime);
  background: var(--v3-lime);
  color: var(--v3-forest-deep);
}

.v3-stepper strong {
  grid-area: name;
  align-self: end;
  font-size: 0.9rem;
}

.v3-stepper small {
  grid-area: hint;
  margin-top: 3px;
  font-size: 0.73rem;
  line-height: 1.35;
}

.v3-assessment-form {
  min-width: 0;
  padding: clamp(26px, 5vw, 58px);
  background: var(--v3-offwhite);
  color: var(--v3-ink);
}

.v3-assessment-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.v3-assessment-form legend {
  width: 100%;
  margin-bottom: 13px;
  padding: 0;
  color: var(--v3-forest);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.v3-assessment-form legend span {
  margin-right: 9px;
  color: var(--v3-forest-soft);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  vertical-align: 0.18em;
}

.v3-step-intro {
  max-width: 36rem;
  margin-bottom: 27px;
  color: var(--v3-muted);
  line-height: 1.55;
}

.v3-assessment-form label {
  display: grid;
  gap: 8px;
  max-width: 30rem;
  color: var(--v3-ink);
  font-size: 0.9rem;
  font-weight: 780;
}

.v3-assessment-form input,
.v3-assessment-form select {
  width: min(100%, 27rem);
  min-height: 48px;
  padding: 9px 13px;
  border: 1px solid var(--v3-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--v3-ink);
}

.v3-inline-input {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--v3-muted);
  font-size: 0.8rem;
}

.v3-inline-input input {
  width: 9rem;
}

.v3-step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 21px;
  margin-top: 34px;
}

.v3-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--v3-forest);
  color: var(--v3-offwhite);
  font-size: 0.87rem;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.v3-button:hover,
.v3-button:focus-visible {
  background: var(--v3-forest-deep);
  transform: translateY(-1px);
}

.v3-assessment-form .v3-text-button {
  color: var(--v3-forest-soft);
}

.v3-assessment-result {
  max-width: 34rem;
  margin: 28px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--v3-lime);
  background: rgba(217, 243, 110, 0.23);
  color: var(--v3-forest-deep);
  font-size: 0.9rem;
  line-height: 1.55;
}

.v3-assessment-details {
  max-width: none;
  margin-top: 20px;
}

/* Pricing */

.v3-pricing {
  overflow: hidden;
  padding: clamp(30px, 6vw, 76px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 243, 110, 0.16), transparent 25rem),
    var(--v3-forest-deep);
  color: var(--v3-offwhite);
}

.v3-pricing-heading {
  margin-bottom: 46px;
}

.v3-pricing-heading > p {
  color: rgba(243, 240, 231, 0.72);
}

.v3-pricing-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--v3-dark-line);
  border-radius: 20px;
  background: var(--v3-dark-line);
}

.v3-price-phase {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(16, 59, 47, 0.72);
}

.v3-price-phase-middle {
  background: rgba(28, 85, 67, 0.6);
}

.v3-price-phase-production {
  background: rgba(217, 243, 110, 0.1);
}

.v3-phase-number {
  margin-bottom: 53px;
  color: var(--v3-lime);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.v3-phase-kicker {
  margin-bottom: 11px;
  color: rgba(243, 240, 231, 0.62);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.v3-price-phase h3 {
  margin-bottom: 10px;
  color: var(--v3-offwhite);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.035em;
}

.v3-phase-copy {
  min-height: 4.6em;
  margin-bottom: 22px;
  color: rgba(243, 240, 231, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.v3-price-figure {
  color: var(--v3-lime);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.v3-price-figure span,
.v3-monthly-plan strong span {
  font-size: 0.47em;
  font-weight: 720;
  letter-spacing: 0;
}

.v3-price-meta {
  margin: 9px 0 22px;
  color: rgba(243, 240, 231, 0.58);
  font-size: 0.73rem;
}

.v3-price-phase ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 21px 0 0 18px;
  border-top: 1px solid var(--v3-dark-line);
  color: rgba(243, 240, 231, 0.78);
  font-size: 0.78rem;
  line-height: 1.45;
}

.v3-price-equation {
  margin: 24px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--v3-dark-line);
  color: rgba(243, 240, 231, 0.75);
  font-size: 0.82rem;
  line-height: 1.55;
}

.v3-price-equation strong {
  color: var(--v3-lime-soft);
}

.v3-price-credit {
  color: rgba(243, 240, 231, 0.78);
  font-weight: 700;
}

.v3-monthly-plans {
  display: grid;
  gap: 11px;
  margin-top: 3px;
}

.v3-monthly-plan {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border-left: 3px solid rgba(243, 240, 231, 0.35);
  background: rgba(8, 35, 27, 0.34);
}

.v3-monthly-plan.is-featured {
  border-left-color: var(--v3-lime);
}

.v3-monthly-plan strong {
  color: var(--v3-lime);
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

.v3-monthly-plan > span {
  color: rgba(243, 240, 231, 0.73);
  font-size: 0.75rem;
  line-height: 1.4;
}

.v3-pricing-note {
  margin-top: 22px;
  padding: 20px 0 0;
  border-top: 1px solid var(--v3-dark-line);
}

.v3-pricing-note strong {
  display: block;
  max-width: 55rem;
  color: var(--v3-lime);
  font-size: 1rem;
  line-height: 1.5;
}

.v3-pricing-note p {
  max-width: 58rem;
  margin: 9px 0 0;
  color: rgba(243, 240, 231, 0.63);
  font-size: 0.78rem;
  line-height: 1.55;
}

.v3-pricing > .v3-details {
  margin-top: 20px;
}

@media (max-width: 920px) {
  .v3-roi-grid,
  .v3-assessment-heading,
  .v3-pricing-heading {
    grid-template-columns: 1fr;
  }

  .v3-roi-grid {
    gap: 36px;
  }

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

  .v3-stepper {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 25px;
  }

  .v3-stepper li {
    grid-template-columns: 31px 1fr;
    padding: 0;
  }

  .v3-stepper li:not(:last-child)::after {
    top: 15px;
    right: -16px;
    bottom: auto;
    left: auto;
    width: 22px;
    height: 1px;
  }

  .v3-phase-number {
    margin-bottom: 35px;
  }
}

@media (max-width: 680px) {
  .v3-roi-grid,
  .v3-pricing {
    padding: 24px 18px;
  }

  .v3-roi,
  .v3-pricing {
    border-radius: 20px;
  }

  .v3-roi-fields,
  .v3-result-grid,
  .v3-pricing-timeline {
    grid-template-columns: 1fr;
  }

  .v3-field-wide {
    grid-column: auto;
  }

  .v3-result-item {
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--v3-dark-line);
  }

  .v3-result-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .v3-result-item span {
    min-height: 0;
  }

  .v3-stepper {
    padding: 20px 18px;
  }

  .v3-stepper li {
    grid-template-columns: 1fr;
    grid-template-areas: "number" "name";
    row-gap: 7px;
  }

  .v3-stepper li:not(:last-child)::after {
    top: 15px;
    right: -9px;
    width: 14px;
  }

  .v3-stepper small {
    display: none;
  }

  .v3-assessment-form {
    padding: 27px 20px;
  }

  .v3-price-phase {
    padding: 23px 19px;
  }

  .v3-phase-number {
    margin-bottom: 28px;
  }

  .v3-phase-copy {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-commercial *,
  .v3-commercial *::before,
  .v3-commercial *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
