/* Pricing */

.pricing__intro {
  max-width: 1120px;
  padding-top: 48px;
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.pricing__title { font-size: clamp(44px, 6vw, 76px); line-height: 1; margin: 0; }
.pricing__lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text-body); max-width: 560px; }

.pricing__plans {
  max-width: 1000px;
  padding-top: 12px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}
.pricing__plan { display: flex; flex-direction: column; gap: 18px; position: relative; }
.pricing__plan--pro { box-shadow: 0 30px 60px -30px rgba(28, 35, 33, .6); }
.pricing__trial { position: absolute; top: -13px; right: 28px; }

.pricing__plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pricing__plan-name { font-size: 34px; margin: 0; line-height: 1.1; }
.pricing__plan-for { font-size: 13px; color: var(--text-muted); }
.pricing__plan--pro .pricing__plan-for { color: var(--text-on-dark-muted); }

.pricing__price-block { display: flex; flex-direction: column; gap: 4px; }
.pricing__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.pricing__amount { font-size: 56px; line-height: 1; }
.pricing__per { font-size: 15px; color: var(--text-muted); }
.pricing__note { font-size: 13px; color: var(--text-on-dark-muted); }
.pricing__plan--pro .pricing__amount { color: var(--peach); }
.pricing__plan--pro .pricing__per { color: var(--text-on-dark-muted); }

.pricing__cta { padding: 14px; font-weight: 600; }
.pricing__plan .btn--outline { border-width: 1.5px; }
.pricing__plan--pro .pricing__cta { font-weight: 700; }

.pricing__features { border-top: 1px solid var(--line); padding-top: 18px; }
.pricing__features--pro { border-top-color: var(--ink-line); display: flex; flex-direction: column; gap: 10px; }
.pricing__plus { font-size: 13px; font-weight: 600; color: var(--text-on-dark-muted); }

.pricing__heading { font-size: 40px; margin: 0; }

.pricing__compare {
  max-width: 1000px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pricing__table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.pricing__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.pricing__table th, .pricing__table td { padding: 13px 20px; text-align: left; font-weight: 400; vertical-align: middle; }
.pricing__table th:first-child { width: 50%; }
.pricing__table thead th {
  background: var(--sand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-body);
  padding-top: 14px;
  padding-bottom: 14px;
}
.pricing__table tbody tr { border-top: 1px solid var(--line-soft); }
.pricing__table .is-missing { color: var(--text-faint); }
.pricing__table .pricing__pro-cell { font-weight: 600; color: var(--green); }

.pricing__faq { padding-bottom: 80px; display: flex; flex-direction: column; gap: 12px; }
.pricing__faq .pricing__heading { margin-bottom: 6px; }
.pricing__question { border-top: 1px solid var(--line-strong); }
.pricing__question summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
}
.pricing__question summary::-webkit-details-marker { display: none; }
.pricing__question summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--clay); line-height: 1; }
.pricing__question[open] summary::after { content: "−"; }
.pricing__question summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.pricing__question p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; color: var(--text-body); }

@media (max-width: 600px) {
  .pricing__plan { padding: 24px; }
  .pricing__table { font-size: 14px; }
  .pricing__table th, .pricing__table td { padding: 12px 10px; }
  .pricing__table th:first-child { width: 44%; padding-left: 14px; }
  .pricing__table thead th { font-size: 11px; letter-spacing: .5px; }
  .pricing__heading { font-size: 34px; }
}
