[hidden] {
  display: none !important;
}

.consult-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.consult-header__inner {
  display: flex;
  min-height: 72px;
  align-items: center;
}

.consult-column {
  width: min(calc(100% - 40px), 1040px);
}

.consult-hero {
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.support-hero {
  padding: 88px 0 82px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.support-hero__inner {
  max-width: 980px;
}

.consult-hero h1,
.support-hero h1,
.payment-state h1,
.payment-success h1 {
  max-width: 940px;
  font-size: clamp(42px, 6vw, 68px);
}

.consult-intro {
  max-width: 900px;
  margin: 24px 0 0;
  color: #3f3f3f;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}

.consult-credit {
  max-width: 900px;
  margin: 20px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.consult-purchase {
  margin-top: 34px;
}

.consult-purchase__button {
  text-align: center;
}

.consult-purchase p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.consult-promise {
  max-width: 900px;
  margin-top: 36px;
  padding: 24px 26px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.consult-promise h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.consult-promise p {
  margin: 0;
  color: #3f3f3f;
  line-height: 1.65;
}

.consult-promise p + p {
  margin-top: 12px;
}

.consult-starts-work {
  max-width: 900px;
  margin-top: 54px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.consult-starts-work h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.consult-starts-work p {
  margin: 18px 0 0;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.65;
}

.consult-sample {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.consult-sample a {
  display: inline-block;
  color: var(--red-dark);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-underline-offset: 6px;
}

.consult-sample a:hover,
.consult-sample a:focus-visible {
  color: var(--ink);
}

.consult-prices {
  background: var(--white);
}

.consult-prices__intro {
  max-width: 900px;
  margin-bottom: 30px;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.6;
}

.consult-price-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.consult-price-table {
  min-width: 760px;
}

.consult-price-table th,
.consult-price-table td {
  padding: 19px 20px;
  line-height: 1.5;
}

.consult-price-table thead th:first-child {
  width: 28%;
}

.consult-price-table thead th:nth-child(2) {
  width: 19%;
}

.consult-price-table tbody th {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.consult-price-table tbody td:nth-child(2) {
  color: var(--red-dark);
  white-space: nowrap;
}

.consult-price-table tbody tr:last-child th,
.consult-price-table tbody tr:last-child td {
  border-bottom: 0;
}

.consult-price-notes {
  margin-top: 26px;
}

.consult-price-notes p {
  margin-bottom: 14px;
  color: #3f3f3f;
  line-height: 1.65;
}

.consult-price-notes .consult-credit-boundary {
  margin-top: 22px;
  padding: 15px 18px;
  border-left: 4px solid var(--red);
  background: var(--warm);
  font-size: 14px;
}

.consult-directory-link {
  margin: 24px 0 0;
  font-weight: 800;
}

.consult-directory-link a:hover,
.consult-directory-link a:focus-visible,
.consult-footer a:hover,
.consult-footer a:focus-visible {
  color: var(--red);
}

.consult-trust {
  color: var(--white);
  background: var(--ink);
}

.consult-trust p {
  max-width: 920px;
  margin: 0;
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.55;
}

.consult-footer {
  padding: 24px 0;
  color: #d6d6d6;
  background: #171717;
  font-size: 13px;
}

.consult-footer__inner {
  line-height: 1.6;
}

.consult-footer a {
  color: var(--white);
}

.support-hero__inner .lead {
  max-width: 820px;
}

.support-scenarios {
  padding-top: 28px;
}

.support-scenario {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 30px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.support-scenario__number {
  padding-top: 5px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .1em;
}

.support-scenario__body {
  max-width: 850px;
}

.support-scenario__body h2 {
  font-size: clamp(29px, 3vw, 39px);
}

.support-scenario__body ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.support-scenario__body li {
  margin: 10px 0;
  padding-left: 5px;
  color: #414141;
}

.support-boundary {
  margin: 28px 0 0;
  padding: 17px 20px;
  border-left: 4px solid var(--red);
  color: #333;
  background: var(--warm);
}

.support-cta {
  padding-top: 0;
}

.support-cta .band p {
  max-width: 700px;
  margin: 12px 0 0;
  color: #d5d5d5;
}

.paid-main {
  min-height: 65vh;
  padding: 74px 0;
  background: var(--soft);
}

.paid-container {
  max-width: 760px;
}

.payment-state,
.payment-success__heading {
  margin-bottom: 36px;
}

.payment-state--failed {
  max-width: 760px;
  padding: 42px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  background: var(--white);
}

.payment-state--failed .btn {
  margin-top: 10px;
}

.payment-complete-note {
  max-width: 800px;
  margin-top: 25px;
  padding: 17px 20px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.consult-form {
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.consult-form__progress {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 800;
}

.consult-form__step h2 {
  margin-bottom: 26px;
  font-size: clamp(27px, 4vw, 34px);
}

.consult-form__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.consult-form .field {
  min-width: 0;
}

.consult-form__full,
.social-fieldset {
  grid-column: 1 / -1;
}

.social-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.social-fieldset legend {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 800;
}

.social-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.consent-field {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.consent-field input {
  width: auto;
  flex: 0 0 auto;
}

.consult-form__actions {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.consult-form__actions .btn {
  width: 100%;
}

.consult-form__submit {
  width: 100%;
}

@media (max-width: 960px) {
  .support-hero {
    padding: 64px 0 60px;
  }
}

@media (max-width: 680px) {
  .support-hero,
  .paid-main {
    padding: 48px 0;
  }

  .consult-page {
    padding-bottom: 96px;
  }

  .consult-column {
    width: min(calc(100% - 32px), 1040px);
  }

  .consult-header__inner {
    min-height: 62px;
  }

  .consult-hero {
    padding: 54px 0 48px;
  }

  .consult-hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .consult-purchase {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    margin: 0;
    padding: 11px 16px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, .12);
  }

  .consult-purchase__button {
    width: 100%;
  }

  .consult-purchase p {
    max-width: none;
    margin-top: 5px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
  }

  .consult-promise {
    margin-top: 32px;
    padding: 21px 19px;
  }

  .consult-starts-work {
    margin-top: 42px;
    padding-top: 34px;
  }

  .consult-sample {
    padding: 31px 0;
  }

  .consult-price-table-wrap {
    overflow: visible;
    border: 0;
  }

  .consult-price-table {
    display: block;
    min-width: 0;
    background: transparent;
  }

  .consult-price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .consult-price-table tbody,
  .consult-price-table tr,
  .consult-price-table th,
  .consult-price-table td {
    display: block;
    width: 100%;
  }

  .consult-price-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .consult-price-table th,
  .consult-price-table td {
    padding: 13px 15px;
  }

  .consult-price-table tbody th,
  .consult-price-table tbody td:nth-child(2) {
    border-bottom: 0;
  }

  .consult-price-table tbody td:nth-child(2) {
    padding-top: 0;
    font-size: 18px;
  }

  .support-scenario {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 40px 0;
  }

  .support-scenario__number {
    padding-top: 0;
  }

  .consult-form {
    padding: 24px 18px;
  }

  .payment-state--failed {
    padding: 28px 22px;
  }
}
