.pricing {
  --accent: #6a40c4;
  --tint: #f2ecff;
  padding: clamp(42px, 5vw, 76px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 20px;
}
.briefing .pricing {
  scroll-margin-top: 125px;
}
.pricing:has(+ .execution-note) {
  padding-bottom: clamp(22px, 2.5vw, 36px);
}
.dark .pricing {
  --accent: #c5a6ff;
  --tint: #332944;
}
.pricing [hidden] {
  display: none !important;
}
.price-title,
.plan-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-title {
  margin-bottom: 26px;
}
.price-title h2,
.calculator-page h1 {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.062em;
  line-height: 1.04;
  font-weight: 555;
}
.price-title p,
.directory-body p {
  color: var(--muted);
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
}
.cost-period {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 11px;
}
.cost-period button {
  font: inherit;
  font-weight: 550;
  font-size: 13px;
  border: 0;
  color: var(--muted);
  background: transparent;
  padding: 8px 12px;
  border-radius: 7px;
  white-space: nowrap;
}
.cost-period [aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.annual-offer {
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e6d4ff;
  color: #40255f;
  font-size: 11px;
}
.annual-saving {
  flex-basis: 100%;
  margin-top: 6px;
  color: var(--link);
  font-size: 12px;
  line-height: 1.4;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.plan {
  --panel: var(--surface);
  --text: var(--ink);
  --secondary: var(--muted);
  --line: var(--rule);
  --control: var(--paper);
  --link: var(--accent);
  min-width: 0;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(16px, 1.45vw, 26px);
  display: flex;
  flex-direction: column;
}
.plan-pro {
  --panel: #302342;
  --text: #fff;
  --secondary: #dfd4ec;
  --line: #5e4a77;
  --control: #251a35;
  --link: #e4ccff;
  box-shadow: inset 0 3px #ab82f2;
}
.plan-enterprise {
  background: linear-gradient(115deg, var(--surface) 36%, var(--tint));
}
.plan-heading {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.plan h3,
.directory-body h2 {
  font-size: clamp(23px, 2vw, 30px);
  letter-spacing: -0.055em;
  font-weight: 580;
  line-height: 1.14;
}
.recommended {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.015em;
  background: #e6d4ff;
  color: #40255f;
  padding: 4px 7px;
  border-radius: 20px;
}
.plan-scope,
.usage-note,
.hosting,
.plan h4,
.plan li,
.plan-action,
.volume {
  font-size: 13px;
  line-height: 1.45;
}
.plan-scope {
  color: var(--secondary);
  margin-top: 8px;
  min-height: 3em;
}
.rate {
  margin: 24px 0 17px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 4px;
  line-height: 1.15;
}
.rate strong,
.estimate-total strong {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 550;
  letter-spacing: -0.065em;
  font-variant-numeric: tabular-nums;
}
.rate span,
.estimate-total span {
  font-size: 12px;
  color: var(--secondary);
}
.rate .rate-prefix {
  flex-basis: 100%;
  margin-bottom: 4px;
}
.volume {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  background: var(--control);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 500;
  min-height: 66px;
  align-content: center;
}
.volume > span,
.volume small {
  color: var(--secondary);
  font-size: 11px;
}
.plan-storage {
  margin-top: 12px;
}
.usage-unit {
  display: block;
  text-align: center;
  color: var(--muted);
}
.volume select,
.volume strong {
  min-width: 0;
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.035em;
  color: var(--text);
  line-height: 1.4;
}
.volume select {
  background: var(--control);
  border: 0;
  cursor: pointer;
  margin: 0;
  padding: 0;
}
.pricing select:focus-visible {
  outline: 3px solid #a68ae6;
  outline-offset: 3px;
  border-radius: 2px;
}
.plan-pro select {
  color-scheme: dark;
}
.usage-note {
  color: var(--secondary);
  font-size: 11px;
  margin: 6px 0 13px;
  min-height: 1.5em;
}
.plan-action {
  padding-top: 20px;
  margin-top: auto;
  min-height: 40px;
  display: flex;
}
.quote-button,
.plan-action .tool-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--line);
  padding: 8px 4px;
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}
.plan-business .quote-button {
  background: var(--tint);
  border-color: color-mix(in srgb, var(--accent) 36%, var(--line));
  color: var(--accent);
}
.plan-action > :hover {
  border-color: var(--link);
}
.hosting {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 14px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  color: var(--secondary);
}
.hosting svg {
  width: 17px;
  height: 17px;
}
.plan h4 {
  font-weight: 570;
  margin: 0 0 10px;
}
.plan ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.plan li {
  position: relative;
  padding-left: 17px;
  margin: 7px 0;
  color: var(--secondary);
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--link);
  font-weight: 650;
}
.plan li .tool-link {
  border: 0;
  border-bottom: 1px dotted currentColor;
  color: var(--link);
  padding: 0;
  font: inherit;
  text-align: left;
}
.plan li .tool-link:hover {
  border-bottom-style: solid;
}
.plan li .tool-link span {
  font-size: 11px;
}
.directory-dialog {
  border: 1px solid var(--rule);
  width: min(590px, calc(100% - 32px));
  max-height: 85dvh;
  border-radius: 16px;
  color: var(--ink);
  background: var(--surface);
}
.directory-body {
  position: relative;
  padding: 28px;
}
.directory-body h2 {
  padding-right: 20px;
}
.directory-body p {
  font-size: 14px;
}
.directory-group {
  margin-top: 20px;
}
.directory-group + .directory-group {
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.directory-group h3 {
  font-size: 17px;
  font-weight: 580;
  letter-spacing: -0.035em;
}
.directory-grid,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.directory-grid {
  margin-top: 9px;
}
.directory-grid a,
.choice-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  color: var(--ink);
  font-size: 13px;
  border-radius: 7px;
  border: 1px solid var(--rule);
}
.directory-grid a:hover,
.choice-grid label:has(input:checked) {
  background: var(--tint);
  border-color: var(--accent);
}
.tool-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.tool-icon img,
.tool-icon svg {
  max-width: 100%;
  max-height: 100%;
}
:is(.lib-icon, .tool-icon):is(.tone-teamcenter, .tone-catia, .tone-epicor) {
  width: 42px;
}
.calculator-page {
  width: min(calc(100% - 48px), 1180px);
  border: 0;
  padding-top: clamp(32px, 5vw, 72px);
}
.calculator-page h1 {
  margin-bottom: 26px;
}
.return-link {
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}
.return-link:hover {
  color: var(--ink);
}
.seat-panel {
  background: linear-gradient(155deg, var(--surface) 30%, var(--tint) 150%);
  border: 1px solid var(--rule);
  border-radius: 17px;
  padding: clamp(20px, 3.4vw, 50px);
}
.seat-panel > label,
#execution-count {
  display: block;
  text-align: center;
}
.seat-panel > label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
}
#execution-count {
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 570;
  line-height: 1.15;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
}
.execution-range {
  margin-top: 23px;
}
#executions {
  display: block;
  appearance: none;
  width: 100%;
  margin: 0;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#executions::-webkit-slider-runnable-track {
  height: 7px;
  border-radius: 8px;
  background: linear-gradient(
    to right,
    var(--accent) var(--fill, 0%),
    var(--rule) var(--fill, 0%)
  );
}
#executions::-moz-range-track {
  height: 7px;
  border-radius: 8px;
  background: var(--rule);
}
#executions::-moz-range-progress {
  height: 7px;
  border-radius: 8px;
  background: var(--accent);
}
#executions::-webkit-slider-thumb {
  appearance: none;
  width: 25px;
  height: 25px;
  margin-top: -9px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
#executions::-moz-range-thumb {
  box-sizing: border-box;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid var(--surface);
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.volume-ticks {
  position: relative;
  margin-inline: 12.5px;
  height: 24px;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.volume-ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}
.volume-ticks span::before {
  content: "";
  width: 1px;
  height: 8px;
  display: block;
  background: currentColor;
  margin: 0 auto 3px;
}
#volume-help {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.seat-estimate {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.seat-estimate p,
.seat-picker label {
  color: var(--muted);
  font-size: 13px;
}
.estimate-total {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.estimate-total strong {
  font-size: clamp(38px, 5vw, 64px);
}
.estimate-total span {
  color: var(--muted);
  font-size: 15px;
}
.seat-picker {
  display: grid;
  gap: 6px;
  justify-items: start;
  max-width: 39ch;
}
.seat-picker select {
  min-width: 9em;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.integration-selection {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  margin-top: 20px;
}
.tool-choices {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  margin: 0;
  padding: clamp(16px, 2.1vw, 30px);
}
.specialist-hours {
  margin-top: 24px;
  padding: 6px 0 6px 20px;
  border-inline-start: 3px solid var(--accent, #6a40c4);
}
.specialist-hours :is(h2, h3) {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 570;
  letter-spacing: -0.035em;
}
.specialist-hours p {
  max-width: 76ch;
  margin-top: 6px;
  line-height: 1.55;
  color: var(--muted);
}
.tool-choices legend {
  float: left;
  width: 100%;
  padding: 0;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.045em;
  font-weight: 570;
}
.chooser-note {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 8px;
  padding-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.chosen-tools {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
[data-counter] {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.choice-grid {
  margin-top: 16px;
}
[data-choices="custom"] .choice-grid {
  grid-template-columns: 1fr;
}
.choice-grid label {
  cursor: pointer;
  line-height: 1.35;
  min-height: 42px;
}
.choice-grid input {
  margin: 0;
  accent-color: var(--accent);
  flex: none;
}
.choice-grid label:has(input:disabled) {
  opacity: 0.55;
  cursor: default;
}
@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-scope {
    min-height: 2.9em;
  }
}
@media (max-width: 760px) {
  .integration-selection {
    grid-template-columns: 1fr;
  }
  .calculator-page {
    width: calc(100% - 32px);
  }
  .price-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .rate {
    margin-top: 18px;
  }
  .plan-heading {
    min-height: 27px;
  }
  .price-overview {
    scroll-margin: 20px;
  }
}
@media (max-width: 550px) {
  .volume-ticks span:nth-child(even) {
    font-size: 0;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan {
    padding: 21px;
  }
  .plan-scope {
    min-height: 0;
  }
  .choice-grid,
  .directory-grid {
    grid-template-columns: 1fr;
  }
  .directory-body {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pricing * {
    scroll-behavior: auto;
  }
}
