.price-head,
.offer-scope {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: end;
  gap: clamp(22px, 6vw, 100px);
  padding-block: clamp(38px, 5vw, 82px);
}
.price-head h1 {
  margin: 21px 0 0;
}
.price-intro p,
.offer-scope p {
  max-width: 50ch;
  color: var(--muted);
}
.price-intro p {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.6;
}
.controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding-block: 18px;
}
.seat-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}
.seat-control > label,
.billing legend {
  font-size: 0.87rem;
  font-weight: 750;
}
.seat-control small {
  color: var(--muted);
}
.seat-input,
.billing div {
  display: inline-flex;
  border: 1px solid var(--muted);
  background: #fbfaf6;
}
.seat-input input,
.seat-input button {
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: center;
  font: inherit;
  min-height: 42px;
}
.seat-input input {
  width: 5.3em;
  appearance: textfield;
  -moz-appearance: textfield;
}
.seat-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.seat-input button {
  width: 42px;
  font-size: 1.15rem;
}
.seat-input button:disabled {
  color: #aaa4a9;
}
.billing {
  display: flex;
  align-items: center;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.billing legend {
  float: left;
  margin-right: 15px;
  padding: 10px 0;
}
.billing label {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  padding: 5px 13px;
  font-size: 0.87rem;
  cursor: pointer;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.billing input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.billing label:has(input:checked) {
  background: var(--accent);
  color: white;
}
.billing label:focus-within {
  outline: 3px solid #c46e00;
  outline-offset: 3px;
  z-index: 1;
}
.input-error {
  color: #832f30;
  margin: 12px 0;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 24px);
  margin-top: clamp(24px, 3vw, 42px);
}
.plan {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(19px, 2.1vw, 34px);
  border-top: 3px solid var(--line);
  background: #ece9e1;
}
.plan.business {
  border-color: #a79abf;
  background: var(--pale);
}
.plan.scale {
  border-color: var(--accent);
  background: #e1daee;
}
.plan h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.7rem);
  margin: 0;
}
.brief {
  min-height: 3.1em;
  margin: 6px 0 18px;
  font-size: 0.96rem;
}
.quote {
  border-block: 1px solid #0002;
  padding: 14px 0;
}
.figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  line-height: 1.2;
}
.figure strong {
  font-size: clamp(1.85rem, 3.3vw, 3.9rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  overflow-wrap: anywhere;
}
.figure .unit {
  font-size: 0.9rem;
}
.period,
.unit-cost,
.net {
  font-size: 0.85rem;
  line-height: 1.48;
}
.period {
  margin-top: 6px;
}
.unit-cost {
  margin: 13px 0 18px;
  color: var(--muted);
}
.scope {
  margin: 0 0 20px;
}
.offer {
  margin-top: auto;
  align-self: start;
  font-weight: 750;
  text-decoration-thickness: 1px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}
.net {
  margin: 14px 0 0;
  max-width: none;
  color: var(--muted);
}
.net span {
  display: inline-block;
  max-width: 100%;
}
.edition-compare {
  margin-top: 24px;
  border: 1px solid var(--line);
  background: #fbfaf6;
}
.edition-compare summary {
  list-style: none;
  cursor: pointer;
}
.edition-compare summary::-webkit-details-marker {
  display: none;
}
.edition-compare > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 17px clamp(14px, 2.5vw, 36px);
  background: var(--pale);
  font-size: clamp(1.04rem, 1.7vw, 1.45rem);
  line-height: 1.3;
  font-weight: 750;
}
.edition-compare > summary::after,
.module-row summary::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 0.48em;
  height: 0.48em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-0.12em) rotate(45deg);
}
.edition-compare[open] > summary::after,
.module-row details[open] summary::before {
  transform: translateY(0.12em) rotate(225deg);
}
.compare-content {
  padding: 0 clamp(12px, 2.6vw, 38px) 20px;
  scroll-margin-top: 4.1rem;
}
.compare-nav,
.matrix-key {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.compare-nav {
  gap: 0 22px;
  padding-block: 9px;
  border-bottom: 1px solid var(--line);
}
.compare-nav a {
  padding-block: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}
.matrix-key {
  max-width: none;
  gap: 4px 21px;
  padding: 12px 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.matrix-key b {
  margin-right: 3px;
  color: var(--ink);
}
.edition-matrix {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.94rem;
  line-height: 1.4;
}
.edition-matrix .feature-col {
  width: 52%;
}
.edition-matrix tbody[id],
.module-row details,
.module-functions {
  scroll-margin-top: 4rem;
}
.edition-matrix th,
.edition-matrix td {
  padding: 9px clamp(7px, 1.2vw, 18px);
  border-bottom: 1px solid #dedad0;
}
.edition-matrix th {
  text-align: left;
  font-weight: 680;
}
.edition-matrix td,
.edition-matrix thead th:not(:first-child) {
  text-align: center;
}
.edition-matrix thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 44px;
  background: var(--ink);
  color: white;
  font-size: 0.96rem;
}
.edition-matrix thead th:nth-child(3) {
  background: #453756;
}
.edition-matrix thead th:nth-child(4) {
  background: var(--accent);
}
.edition-matrix thead th + th,
.edition-matrix tr > td + td {
  border-left: 1px solid #746e7a33;
}
.matrix-overview {
  background: var(--paper);
}
.matrix-overview td {
  font-weight: 720;
}
.edition-matrix .matrix-group th {
  padding-block: 10px;
  color: var(--ink);
  background: var(--pale);
  border-bottom-color: var(--line);
  font-size: 0.91rem;
  font-weight: 780;
}
.edition-matrix th small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.835rem;
  font-weight: 475;
  line-height: 1.42;
}
.edition-matrix .state-yes {
  color: var(--ink);
  font-size: 1.1em;
  font-weight: 760;
}
.edition-matrix .state-no {
  color: var(--muted);
}
.edition-matrix .state-choice {
  color: var(--accent);
  font-weight: 750;
}
.edition-matrix .state-ask {
  font-size: 0.86em;
  color: var(--muted);
}
.module-row th {
  padding-block: 0;
}
.module-row summary {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 44px;
  padding: 7px 1px;
  color: var(--accent);
  font-weight: 730;
}
.module-row summary::before {
  width: 0.42em;
  height: 0.42em;
}
.module-row:has(details[open]),
.module-row:hover {
  background: #f5f1f8;
}
.edition-matrix[data-row-click] .module-row td {
  cursor: pointer;
}
.module-row:has(details:not([open])) + .module-functions {
  display: none;
}
.module-functions td {
  padding: 0;
  text-align: left;
}
.function-panel {
  padding: 13px clamp(12px, 2vw, 32px) 16px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-size: 0.91rem;
}
.function-panel strong {
  font-size: 0.82rem;
}
.function-panel ul {
  margin: 5px 0;
  padding-left: 1.2em;
}
.function-panel li {
  padding: 2px 0;
}
.function-panel p {
  margin-block: 7px;
  color: var(--muted);
}
.function-panel a,
.matrix-note a {
  color: var(--accent);
  font-weight: 730;
}
.function-panel a {
  display: inline-block;
  padding-block: 5px;
}
.matrix-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: none;
}
@media (max-width: 620px) {
  .compare-content {
    padding-inline: 8px;
  }
  .compare-nav {
    gap: 0 15px;
  }
  .compare-nav a {
    font-size: 0.8rem;
  }
  .matrix-key {
    gap: 3px 12px;
    font-size: 0.75rem;
  }
  .edition-matrix {
    font-size: 0.84rem;
  }
  .edition-matrix .feature-col {
    width: 45%;
  }
  .edition-matrix th,
  .edition-matrix td {
    padding: 7px 5px;
  }
  .edition-matrix thead th {
    padding-inline: 2px;
    font-size: 0.8rem;
  }
  .edition-matrix th[scope="row"] {
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .edition-matrix th small {
    font-size: 0.76rem;
  }
  .module-row summary {
    gap: 7px;
    padding-block: 5px;
  }
  .edition-matrix .module-row th {
    padding-block: 0;
    hyphens: manual;
  }
  .edition-matrix .module-functions td {
    padding: 0;
  }
  .matrix-group th {
    line-height: 1.3;
  }
  .matrix-overview td {
    font-size: 0.92em;
  }
}
@media (max-width: 360px) {
  .compare-content {
    padding-inline: 4px;
  }
  .edition-matrix .feature-col {
    width: 43%;
  }
  .edition-matrix col:nth-child(3) {
    width: 22%;
  }
  .edition-matrix td {
    padding-inline: 2px;
  }
}
.onprem {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  border-block: 1px solid var(--line);
  padding: 26px 0;
  margin-top: 32px;
}
.onprem h2 {
  font-size: clamp(1.6rem, 2.7vw, 2.8rem);
}
.onprem p {
  max-width: 65ch;
  margin-top: 0.6rem;
}
.onprem .offer {
  align-self: center;
  margin: 0;
}
.offer-scope {
  align-items: start;
}
.offer-scope h2 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
}
.offer-scope p {
  margin-bottom: 1rem;
}
.offer-scope a {
  font-weight: 720;
}
@media (max-width: 800px) {
  .price-head,
  .offer-scope {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .price-head h1 {
    margin-top: 11px;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .brief {
    min-height: 0;
  }
  .figure strong {
    font-size: 2.6rem;
  }
  .plan {
    padding: 20px;
  }
  .controls {
    align-items: start;
  }
  .seat-control {
    gap: 8px;
  }
  .billing {
    align-self: start;
  }
  .plan h2 {
    font-size: 1.9rem;
  }
}
@media (max-width: 400px) {
  .seat-control {
    gap: 6px 10px;
  }
}
