/* Support page. Prefix sp- so homepage / treatment / about stay untouched. */

.sp-main {
  width: 100%;
  padding: 128px 0 120px;
}

.sp-container {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 48px;
}

.landing p.sp-kicker,
.sp-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 20px;
  font-feature-settings: "calt" 0, "salt", "ss01", "ss05", "ss06", "ss07", "ss08";
}

.sp-title,
.landing h1.sp-title {
  margin: 0;
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
  overflow-wrap: break-word;
  font-feature-settings: "calt" 0, "salt", "ss01", "ss05", "ss06", "ss07", "ss08";
}

.sp-lede,
.landing .sp-lede {
  margin: 28px 0 0;
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.45;
  font-feature-settings: "calt" 0, "salt", "ss01", "ss05", "ss06", "ss07", "ss08";
}

.sp-intro {
  margin-bottom: 72px;
}

.sp-write {
  margin-bottom: 96px;
}

.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 64px;
  align-items: start;
}

.sp-form-wrap,
.sp-aside,
.sp-form,
.sp-field {
  min-width: 0;
}

.sp-section__title,
.landing h2.sp-section__title {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.15;
  font-feature-settings: "calt" 0, "salt", "ss01", "ss05", "ss06", "ss07", "ss08";
}

.sp-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 520px;
}

.sp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.sp-field input,
.sp-field select,
.sp-field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1.5 var(--font);
  letter-spacing: -0.02em;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s cubic-bezier(0.44, 0, 0.56, 1);
}

.sp-field select {
  padding-right: 28px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1.5 1.5 6 6 10.5 1.5' stroke='%233a3d38' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}

.sp-field textarea {
  min-height: 168px;
  resize: vertical;
}

.sp-field input:focus,
.sp-field select:focus,
.sp-field textarea:focus {
  border-bottom-color: var(--dark);
}

.sp-form .landing-cta {
  margin-top: 4px;
}

.landing p.sp-form__note,
.sp-form__note {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.sp-form.is-sent .sp-field,
.sp-form.is-sent .landing-cta {
  display: none;
}

.sp-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 12px;
}

.sp-aside__title,
.landing h2.sp-aside__title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.sp-aside__link,
.sp-aside__copy,
.landing .sp-aside__copy {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.sp-aside__link {
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.44, 0, 0.56, 1);
}

.sp-aside__link:hover,
.sp-aside__link:focus-visible {
  color: var(--muted);
}

.sp-hours {
  margin: 0;
}

.sp-hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.sp-hours__row dt,
.sp-hours__row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.sp-hours__row dt {
  color: var(--ink);
}

.sp-hours__row dd {
  color: var(--muted);
  text-align: right;
}

.sp-page .tx-section.tx-faq {
  padding-top: 0;
}

.sp-page [data-inview] {
  transition-delay: var(--d, 0s);
}

@media (max-width: 1199.98px) {
  .sp-main {
    padding-top: 120px;
  }

  .sp-title,
  .landing h1.sp-title {
    font-size: clamp(40px, 5.4vw, 64px);
  }
}

@media (max-width: 991.98px) {
  .sp-main {
    padding-top: 112px;
  }

  .sp-container {
    padding-inline: 24px;
  }

  .sp-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sp-form {
    max-width: none;
  }

  .sp-aside {
    padding-top: 0;
  }

  .sp-write {
    margin-bottom: 72px;
  }

  .sp-intro {
    margin-bottom: 56px;
  }

  .sp-title,
  .landing h1.sp-title {
    max-width: none;
    font-size: clamp(40px, 6.4vw, 56px);
  }

  .sp-lede,
  .landing .sp-lede {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .sp-main {
    padding: 104px 0 80px;
  }

  .landing.sp-page [data-inview] {
    transform: translateY(16px);
  }

  .landing.sp-page [data-inview].is-inview {
    transform: none;
  }

  .sp-title,
  .landing h1.sp-title {
    max-width: none;
    font-size: 32px;
    line-height: 1.1;
  }

  .sp-lede,
  .landing .sp-lede {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.45;
  }

  .sp-section__title,
  .landing h2.sp-section__title {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .sp-intro {
    margin-bottom: 48px;
  }

  .sp-write {
    margin-bottom: 56px;
  }

  .sp-grid {
    gap: 40px;
  }

  .sp-form {
    gap: 16px;
  }
}

.sp-form-wrap .wpcf7 form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 520px;
}

.sp-form-wrap .wpcf7 form > div:not(.wpcf7-response-output) {
  width: 100%;
  margin: 0 !important;
  display: block !important;
}

.sp-form-wrap .wpcf7 form > div > div {
  width: 100% !important;
}

.sp-form-wrap .wpcf7 input[type="text"],
.sp-form-wrap .wpcf7 input[type="email"],
.sp-form-wrap .wpcf7 input[type="tel"],
.sp-form-wrap .wpcf7 select,
.sp-form-wrap .wpcf7 textarea {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1.5 var(--font);
  letter-spacing: -0.02em;
  outline: none;
  box-shadow: none;
}

.sp-form-wrap .wpcf7 textarea {
  min-height: 168px;
  resize: vertical;
}

.sp-form-wrap .wpcf7 input:focus,
.sp-form-wrap .wpcf7 select:focus,
.sp-form-wrap .wpcf7 textarea:focus {
  border-bottom-color: var(--dark);
}

.sp-form-wrap .wpcf7-submit {
  height: 44px;
  min-height: 44px;
  margin-top: 4px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--sage);
  color: var(--ink);
  font: 500 16px/24px var(--font);
  letter-spacing: -0.02em;
  cursor: pointer;
}

.sp-form-wrap .wpcf7 form .wpcf7-response-output {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.sp-form-wrap form.sent .wpcf7-response-output,
.sp-form-wrap form.failed .wpcf7-response-output,
.sp-form-wrap form.invalid .wpcf7-response-output,
.sp-form-wrap form.spam .wpcf7-response-output,
.sp-form-wrap form.aborted .wpcf7-response-output {
  display: block !important;
}

.sp-form-wrap .wpcf7-not-valid-tip {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

@media (prefers-reduced-motion: reduce) {
  .sp-field input,
  .sp-field select,
  .sp-field textarea,
  .sp-aside__link {
    transition: none;
  }
}
