.wa-cost {
  --paper: #f7f7fc;
  --line: #e7e6f1;
  --ink: #17152d;
  --muted: #5a5772;
  background: var(--paper);
  color: var(--ink);
}
.wa-cost :is(h1, h2, h3, p, dl, dd) { margin: 0; }
.wa-cost .wa-cost-shell { width: min(1088px, 100% - 48px); margin-inline: auto; }
.wa-cost-hero {
  background: linear-gradient(160deg, #fff 18%, #f1eeff 100%);
  padding: 61px 0 62px;
  border-bottom: 1px solid var(--line);
}
.wa-cost-hero .wa-cost-shell {
  display: grid;
  grid-template-columns: 1.48fr 1fr;
  align-items: end;
  gap: 54px;
}
.wa-cost .wa-cost-market {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  background: #eeebff;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: .75rem;
  font-weight: 700;
}
.wa-cost-market::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.wa-cost h1 {
  margin-top: 15px;
  font-size: clamp(2.75rem, 5.25vw, 4.65rem);
  line-height: 1;
  letter-spacing: -.068em;
  text-wrap: balance;
}
.wa-cost h1 span { display: block; color: var(--primary); }
.wa-cost-intro {
  padding: 1px 0 2px 21px;
  border-inline-start: 2px solid #d4ccff;
}
.wa-cost-intro p { color: var(--muted); line-height: 1.6; font-size: 1rem; max-width: 33ch; }
.wa-cost-intro a, .wa-cost-reference a { color: var(--primary-dark); font-weight: 650; }
.wa-cost-intro a { display: inline-block; margin-top: 10px; font-size: .83rem; }
.wa-cost-intro a:hover, .wa-cost-reference a:hover { text-decoration: underline; }
.wa-cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  margin-block: 26px 0;
}
.wa-cost-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 8px 24px rgba(27, 17, 65, .045);
}
.wa-cost-form { padding: 24px; }
.wa-cost-form-head { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.wa-cost h2 { font-size: 1.46rem; line-height: 1.16; letter-spacing: -.035em; }
.wa-cost-form-head p, .wa-cost-field small, .wa-cost-service-note, .wa-cost-reference p {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.wa-cost-form-head p { margin-top: 5px; }
.wa-cost-reset {
  flex: none;
  padding: 2px 0 4px;
  border: 0;
  color: var(--primary-dark);
  background: transparent;
  cursor: pointer;
  font: 600 .76rem var(--font-body);
}
.wa-cost-reset:hover { text-decoration: underline; }
.wa-cost-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.wa-cost-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 11px 12px 10px;
  background: #fff;
}
.wa-cost-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.wa-cost-field label { font-size: .84rem; font-weight: 700; line-height: 1.3; }
.wa-cost-field small { font-size: .72rem; }
.wa-cost-field input {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 5px 8px;
  border: 1px solid #deddea;
  border-radius: 7px;
  background: #f9f9fd;
  color: var(--ink);
  font: 650 .96rem var(--font-body);
  font-variant-numeric: tabular-nums;
  margin-top: auto;
}
.wa-cost-field input:focus-visible, .wa-cost :is(button, a, summary):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.wa-cost-field input:focus-visible { outline-offset: 1px; }
.wa-cost .wa-cost-free {
  display: grid;
  grid-template-columns: 1fr minmax(72px, 105px);
  align-items: center;
  gap: 14px;
  margin-top: 11px;
  background: #f6f4ff;
  border-color: #e7e0fc;
}
.wa-cost-free small, .wa-cost-free label { display: block; }
.wa-cost-free small { margin-top: 3px; }
.wa-cost-free input { margin: 0; background: #fff; }
.wa-cost-service-note { margin-top: 10px !important; font-size: .73rem; }
.wa-cost-details { border-top: 1px solid var(--line); margin-top: 13px; }
.wa-cost-details summary {
  cursor: pointer;
  padding: 12px 0 0;
  color: var(--primary-dark);
  font-weight: 650;
  font-size: .8rem;
}
.wa-cost-details .wa-cost-fields { margin-top: 11px; }
.wa-cost-result { overflow: hidden; }
.wa-cost-result-head {
  background: radial-gradient(ellipse at 98% 0%, #3c30a7 0%, transparent 66%), #1c1648;
  color: #fff;
  padding: 23px 24px 19px;
}
.wa-cost-result-head h2 { color: #eeeaff; font: 600 .86rem var(--font-body); letter-spacing: 0; }
.wa-cost-total {
  display: block;
  margin-top: 5px;
  color: var(--accent);
  font: 700 clamp(2.15rem, 4.5vw, 3.5rem)/1.08 var(--font-display);
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.wa-cost-period { margin-top: 7px !important; font-size: .82rem; color: #dfd9fa; }
.wa-cost-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid #ffffff30;
  padding-top: 12px;
  margin-top: 15px !important;
}
.wa-cost-metrics dt { font-size: .72rem; color: #dfd9fa; line-height: 1.3; }
.wa-cost-metrics dd { color: #fff; font-size: .95rem; font-weight: 650; margin-top: 2px; overflow-wrap: anywhere; }
.wa-cost-result-body { padding: 17px 23px 19px; }
.wa-cost-result-body h3 { font-size: .94rem; letter-spacing: -.01em; }
.wa-cost-chart { display: flex; overflow: hidden; height: 6px; border-radius: 99px; margin-block: 10px 8px; background: #efedf6; }
.wa-cost-chart i { flex-basis: 0; transition: flex-basis .18s ease; background: var(--category); }
.wa-cost [data-category="marketing"] { --category: #4338ec; }
.wa-cost [data-category="utility"] { --category: #0b879e; }
.wa-cost [data-category="authentication"] { --category: #ad4d81; }
.wa-cost [data-category="service"] { --category: #8770e1; }
.wa-cost-breakdown > div, .wa-cost-surcharge {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-bottom: 1px solid #eeedf5;
  padding: 6px 0;
  font-size: .79rem;
}
.wa-cost-breakdown dt { font-weight: 600; }
.wa-cost-breakdown dt::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--category);
  margin-inline-end: 8px;
  vertical-align: 1px;
}
.wa-cost-breakdown dd { font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.wa-cost-surcharge { color: var(--primary-dark); }
.wa-cost-surcharge[hidden], .wa-cost-per-client[hidden] { display: none; }
.wa-cost-share { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.wa-cost-share button {
  min-height: 39px;
  padding: 6px 13px;
  background: var(--primary-light);
  border: 1px solid #e5e0fe;
  border-radius: 8px;
  color: var(--primary-dark);
  font: 650 .8rem var(--font-body);
  cursor: pointer;
}
.wa-cost-share button:hover { background: #e3ddff; }
.wa-cost-share [role="status"] { color: var(--muted); font-size: .72rem; }
.wa-cost-reference { margin-block: 28px 31px; }
.wa-cost-reference h2 { margin-bottom: 7px; font-size: 1.12rem; }
.wa-cost-reference p + p { margin-top: 7px; }
.wa-cost-partner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 25px;
  background: #eeebff;
  border: 1px solid #e9e3ff;
  border-radius: 18px;
  margin-bottom: 45px;
}
.wa-cost-partner p { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.wa-cost-partner .btn { flex-shrink: 0; }
@media (max-width: 790px) {
  .wa-cost-hero { padding: 38px 0 36px; }
  .wa-cost-hero .wa-cost-shell { gap: 20px; grid-template-columns: 1fr; }
  .wa-cost h1 { text-wrap: initial; }
  .wa-cost-intro p { max-width: 55ch; }
  .wa-cost-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .wa-cost .wa-cost-shell { width: calc(100% - 28px); }
  .wa-cost-form, .wa-cost-result-head, .wa-cost-result-body { padding-inline: 14px; }
  .wa-cost-field { padding-inline: 8px; }
  .wa-cost-grid { gap: 14px; margin-top: 15px; }
  .wa-cost-partner { flex-direction: column; align-items: flex-start; padding: 17px; }
  .wa-cost-reset { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-cost-chart i { transition: none; }
}
