/* Shared package-aware request form for Pricing and the four package detail routes. */

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer * {
  box-sizing: border-box;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer {
  padding: clamp(42px, 7vw, 84px) 0;
  background: var(--stitch-cream);
  color: var(--stitch-ink);
  font-family: Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__wrap {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 22px clamp(34px, 5vw, 68px);
  align-items: start;
  width: min(100% - 96px, 1080px);
  margin: 0 auto;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__header {
  grid-column: 1;
  margin: 0;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__eyebrow {
  margin: 0 0 14px;
  color: rgba(15, 23, 42, .58);
  font: 700 11px/1.2 Geist, Manrope, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__header h2 {
  margin: 0;
  color: var(--stitch-ink);
  font: 800 clamp(30px, 3.4vw, 44px)/1.04 Manrope, sans-serif;
  letter-spacing: -.045em;
  text-wrap: balance;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__header > p:last-child {
  margin: 18px 0 0;
  color: rgba(15, 23, 42, .68);
  font: 500 15px/1.65 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection {
  grid-column: 1;
  display: grid;
  gap: 7px;
  padding: 22px;
  border-radius: 20px;
  background: var(--stitch-ink);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .12);
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection span {
  color: rgba(255, 255, 255, .62);
  font: 700 10px/1.2 Geist, Manrope, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection strong {
  color: #fff;
  font: 800 19px/1.22 Manrope, sans-serif;
  letter-spacing: -.02em;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection b {
  color: #ffb170;
  font: 700 13px/1.3 Geist, Manrope, sans-serif;
  letter-spacing: .035em;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer .ay-notice {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(168, 63, 3, .24);
  border-radius: 14px;
  background: #fff0e3;
  color: #6f2b08;
  font: 700 14px/1.45 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--stitch-line);
  border-radius: 28px;
  background: var(--stitch-paper);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .075);
  scroll-margin-top: 112px;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__fields,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional-fields {
  display: grid;
  gap: 20px;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form label:not(.ay-inline-offer__consent) {
  display: grid;
  gap: 7px;
  margin: 0;
  color: var(--stitch-ink);
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form label > span {
  font: 700 11px/1.25 Geist, Manrope, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form label em {
  margin-left: 5px;
  color: rgba(15, 23, 42, .56);
  font-style: normal;
  font-weight: 600;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form small {
  color: rgba(15, 23, 42, .58);
  font: 500 12px/1.45 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form input:not([type="checkbox"]),
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, .23);
  border-radius: 0;
  background: transparent;
  color: var(--stitch-ink);
  font: 500 16px/1.4 Manrope, sans-serif;
  box-shadow: none;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form textarea {
  min-height: 96px;
  resize: vertical;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form input:not([type="checkbox"]):focus,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form textarea:focus {
  outline: 0;
  border-color: #b94705;
  box-shadow: 0 1px 0 #b94705;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional {
  overflow: hidden;
  border: 1px solid var(--stitch-line);
  border-radius: 16px;
  background: rgba(244, 241, 233, .48);
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional summary {
  padding: 15px 18px;
  color: var(--stitch-ink);
  font: 700 14px/1.35 Manrope, sans-serif;
  cursor: pointer;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional summary span {
  color: rgba(15, 23, 42, .56);
  font-weight: 500;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional-fields {
  padding: 4px 18px 20px;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  margin: 0;
  color: rgba(15, 23, 42, .72);
  font: 500 13px/1.5 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #b94705;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__consent span {
  text-transform: none;
  letter-spacing: 0;
  font: inherit;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__consent a {
  color: #8d3605;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button {
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--stitch-ink);
  border-radius: 999px;
  background: var(--stitch-ink);
  color: #fff;
  font: 700 12px/1.2 Geist, Manrope, sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button:hover,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button:focus-visible {
  border-color: var(--stitch-ink);
  background: var(--stitch-ink);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
  transform: translateY(-1px);
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button:focus-visible,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__optional summary:focus-visible,
body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-pricing-offer-primary:focus-visible {
  outline: 3px solid rgba(185, 71, 5, .28);
  outline-offset: 3px;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button:disabled {
  border-color: rgba(15, 23, 42, .18);
  background: rgba(15, 23, 42, .18);
  color: rgba(15, 23, 42, .58);
  cursor: not-allowed;
  transform: none;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__note {
  margin: -4px 0 0;
  color: rgba(15, 23, 42, .58);
  font: 500 12px/1.5 Manrope, sans-serif;
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-receipt-row.is-selected {
  border-color: rgba(185, 71, 5, .42);
  box-shadow: 0 0 0 3px rgba(185, 71, 5, .10), 0 10px 32px rgba(15, 23, 42, .07);
}

body.ay-stitch-home-v3.ay-stitch-pricing-v1 #ay-inline-offer-data {
  display: none;
}

@media (max-width: 860px) {
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__wrap {
    grid-template-columns: 1fr;
    width: min(100% - 48px, 720px);
  }

  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__header,
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection,
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer .ay-notice,
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer {
    padding: 40px 0 52px;
  }

  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__wrap {
    width: min(100% - 32px, 720px);
    gap: 18px;
  }

  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form {
    gap: 20px;
    padding: 24px 20px;
    border-radius: 22px;
  }

  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__selection {
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ay-stitch-home-v3.ay-stitch-pricing-v1 .ay-inline-offer__form > button {
    transition: none;
  }
}
