/* States We Serve page */

/* Hero */
.sp-hero { background: var(--cream); padding: 73px 0 112px; overflow: hidden; }
.sp-hero__inner { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); align-items: start; }
.sp-hero__eyebrow { font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sp-hero__title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 4.1vw, 64px); line-height: 1.1875; color: var(--ink); }
.sp-hero__title em { font-style: normal; color: var(--wine); }
.sp-hero__lead { font-size: 21px; line-height: 34px; margin-top: 24px; color: var(--ink); }
.sp-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 153px)); gap: 18px 13px; margin-top: 24px; }
.sp-pills li { background: var(--sage); border-radius: 4px; min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 0 6px; font-weight: 500; font-size: 18px; color: var(--ink); white-space: nowrap; }
.sp-hero__cta { display: inline-flex; flex-direction: column; align-items: center; gap: 11px; margin-top: 40px; }
.sp-btn-hero { min-width: 316px; min-height: 57px; border-radius: 12px; font-size: 17.8px; }
.sp-hero__cta p { font-size: 13.2px; line-height: 20px; color: #1a1a1a; }
.sp-hero__trust { margin-top: 13px; max-width: 624px; border-top-color: #ebe3d7; }
.sp-hero__trust .badge-legit { border-color: #c2d5cf; }
.sp-hero__map { margin: 85px -20px 0 -4px; }
.sp-hero__map img { width: 100%; mix-blend-mode: multiply; }

/* States grid (reuses homepage .states styles) */
.sp-states .states__copy .h2 { font-size: clamp(32px, 2.9vw, 45px); line-height: 1.222; color: #000; margin-bottom: 29px; }
.sp-states .states__copy p { color: #000; line-height: normal; }

/* All 50 states by 2027 */
.sp-expand { background: var(--cream); padding: 61px 0 79px; }
.sp-expand__inner { display: grid; grid-template-columns: minmax(0, 677px) minmax(0, 1fr); gap: 62px; align-items: start; }
.sp-expand__map { margin-top: 35px; }
.sp-expand__map img { width: 100%; mix-blend-mode: multiply; }
.sp-expand__copy { max-width: 637px; color: #000; }
.sp-expand__kicker { font-family: Poppins, var(--sans); font-weight: 500; font-size: 16.3px; letter-spacing: .16px; }
.sp-expand__title { font-family: "Varela Round", var(--sans); font-weight: 400; font-size: clamp(32px, 2.8vw, 43.5px); line-height: 1.125; margin-top: 14px; max-width: 608px; }
.sp-expand__sub { font-family: Poppins, var(--sans); font-weight: 500; font-size: 20.65px; line-height: 1.5; margin-top: 16px; }
.sp-expand__lead { font-family: Poppins, var(--sans); font-size: 20.65px; line-height: 1.5; margin-top: 22px; }
.sp-timeline { position: relative; display: flex; justify-content: space-between; width: min(533px, 100%); margin: 26px 0 0; padding: 0; list-style: none; }
.sp-timeline::before { content: ""; position: absolute; top: 10px; left: 10px; right: 0; height: 1px; background: #d0d0d0; }
.sp-timeline li { position: relative; width: 0; display: flex; flex-direction: column; align-items: center; white-space: nowrap; font-family: Poppins, var(--sans); font-weight: 600; font-size: 18.5px; line-height: 28px; letter-spacing: .55px; color: #4f4f4f; }
.sp-timeline li:first-child { align-items: flex-start; }
.sp-timeline li:last-child { align-items: flex-end; text-align: right; }
.sp-timeline strong { font-weight: 600; }
.sp-timeline__dot { width: 21px; height: 21px; border-radius: 50%; background: #fff; border: 2px solid #d0d0d0; margin-bottom: 12px; position: relative; z-index: 1; }
.sp-timeline .is-goal .sp-timeline__dot { background: var(--wine); }
.sp-expand__btn { margin-top: 41px; }

/* How it works */
.sp-steps { background: var(--cream); padding: 45px 0 68px; }
.sp-steps .eyebrow { margin-bottom: 22px; }
.sp-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 31px; margin: 69px 0 0; padding: 0; list-style: none; }
.sp-step { background: #fff; border-radius: 31px; box-shadow: 0 2.2px 4.4px rgba(28, 42, 53, .06); min-height: 641px; padding: 32px 30px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sp-step__num { font-size: 19.85px; line-height: 26px; color: var(--green); }
.sp-step__media { height: 334px; margin-top: 27px; display: flex; flex-direction: column; align-items: center; }
.sp-step__phone { width: 155px; height: 334px; object-fit: contain; }
.sp-step__phone--wide { width: 162px; }
.sp-step__tube { width: 51px; height: 197px; object-fit: contain; margin-top: 15px; }
.sp-step__logos { display: flex; align-items: center; gap: 15px; margin-top: auto; margin-bottom: 28px; }
.sp-step__logos img:first-child { width: 92px; height: 52px; object-fit: contain; }
.sp-step__logos img:last-child { width: 79px; height: 52px; object-fit: contain; }
.sp-step__box { width: 244px; height: 137px; object-fit: contain; margin-top: 135px; }
.sp-step h3 { font-weight: 400; font-size: 20px; line-height: 26px; letter-spacing: -.24px; color: var(--ink); margin-top: 22px; }
.sp-step p:not(.sp-step__num) { font-size: 16.66px; line-height: 26.65px; color: var(--ink-2); margin-top: 8px; }
.sp-step__btn { min-width: 218px; min-height: 57px; border-radius: 12px; margin-top: 42px; }

/* FAQ */
.sp-faq { padding: 40px 0 60px; }
.sp-faq .eyebrow { margin-bottom: 17px; }
.sp-faq__title { font-weight: 500; font-size: clamp(32px, 3.3vw, 51px); line-height: 1.06; letter-spacing: -.51px; }
.sp-faq__list { max-width: 1000px; margin: 50px auto 0; display: grid; gap: 16px; }
.sp-faq__item { border: 1px solid #ebe3d7; border-radius: 20px; background: #fff; }
.sp-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 91px; padding: 18px 33px 18px 31px; font-family: "Cormorant Garamond", var(--brand); font-weight: 500; font-size: 25.5px; line-height: 1.2; color: var(--ink); }
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary::after { content: "+"; font-family: var(--sans); font-weight: 500; font-size: 29px; line-height: 1; color: #2a6157; flex-shrink: 0; transition: transform .2s; }
.sp-faq__item[open] summary::after { content: "\2212"; }
.sp-faq__item summary:focus-visible { outline: 2px solid var(--wine); outline-offset: -2px; border-radius: 20px; }
.sp-faq__item p { padding: 3px 40px 33px 31px; font-size: 17.77px; line-height: 30.2px; color: var(--ink-2); }
.sp-faq__item strong { font-weight: 700; }

/* Responsive */
@media (max-width: 1280px) {
  .sp-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .sp-pills { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sp-hero__map { margin-right: 0; }
  .sp-states .states__copy { order: -1; }
  .sp-expand__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .sp-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .sp-hero { padding: 40px 0 56px; }
  .sp-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
  .sp-hero__copy { display: contents; }
  .sp-hero__eyebrow { order: 1; }
  .sp-hero__title { order: 2; }
  .sp-hero__lead { order: 3; max-width: 640px; }
  .sp-hero__map { order: 4; margin: 24px 0 0; width: 100%; max-width: 740px; }
  .sp-pills { order: 5; width: 100%; max-width: 640px; }
  .sp-hero__cta { order: 6; }
  .sp-hero__trust { order: 7; justify-content: center; width: 100%; }
  .sp-expand__inner { grid-template-columns: minmax(0, 1fr); }
  .sp-expand__map { margin: 0 auto; max-width: 677px; }
  .sp-expand__copy { margin: 0 auto; text-align: center; }
  .sp-expand__title { margin-left: auto; margin-right: auto; }
  .sp-timeline { margin-left: auto; margin-right: auto; }
}
/* Mobile-only helpers (hidden above phone width) */
.sp-br, .sp-step__btn--m { display: none; }

/* Phones — matches Figma "States We Serve (Mobile)" 533:26 */
@media (max-width: 640px) {
  main .container { padding: 0 20px; }

  .sp-btn-hero, .sp-states .states__copy .btn, .sp-expand__btn, .stories .center .btn, .cta-strip .btn { width: 100%; min-width: 0; min-height: 59.5px; border-radius: 7.44px; font-weight: 500; font-size: 14.6px; letter-spacing: 1.68px; }

  /* Hero */
  .sp-hero { padding: 36px 0 44px; }
  .sp-hero__inner { gap: 24px; }
  .sp-hero__eyebrow { font-size: 13px; line-height: 19px; letter-spacing: 1px; font-weight: 600; color: var(--ink); margin: 0 0 -16px; }
  .sp-hero__title { font-size: 34px; line-height: 41px; }
  .sp-hero__lead { font-size: 16px; line-height: 25px; margin-top: 0; }
  .sp-hero__map { margin: 0; width: 350px; max-width: 100%; }
  .sp-hero__map img { width: 100%; height: 200px; object-fit: contain; }
  .sp-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 0; }
  .sp-pills li { width: calc(50% - 6px); min-height: 0; padding: 7px 8px; font-size: 15px; line-height: normal; }
  .sp-hero__cta { display: flex; width: 100%; margin-top: 0; gap: 12px; }
  .sp-hero__cta p { font-size: 14px; line-height: normal; }
  .sp-hero__trust { flex-direction: column; gap: 24px; margin-top: 0; padding-top: 0; border-top: 0; }
  .sp-hero__trust .badge-legit { height: 35.3px; padding: 0 14px 0 13px; font-size: 16.1px; text-transform: capitalize; }
  .sp-hero__trust .hero__rating { gap: 10px; font-size: 15px; color: #1a1a1a; }
  .sp-hero__trust .hero__rating img { width: 36px; height: 24px; }
  .sp-hero__trust .hero__rating .stars { font-size: 22px; letter-spacing: 3px; margin-right: 10px; }

  /* Value props */
  .features { padding: 30px 0 41px; border-top: 1px solid rgba(0, 0, 0, .05); border-bottom: 0; }
  .features__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .features__grid img { margin-bottom: 11px; }
  .features__grid h3 { display: block; min-height: 0; max-width: 215px; font-size: 20.7px; line-height: 23px; text-transform: capitalize; }
  .sp-br { display: initial; }
  .features__grid p { font-size: 15.2px; line-height: 23px; margin-top: 10px; }

  /* States we serve */
  .sp-states { padding: 50px 0 56px; }
  .sp-states .container { padding: 0 10px; }
  .sp-states .states__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .sp-states .states__copy { display: contents; text-align: center; }
  .sp-states .states__copy .eyebrow { order: 1; text-align: center; color: var(--gold); font-size: 14.6px; line-height: 20.41px; letter-spacing: 1.68px; margin: 0 0 9px; }
  .sp-states .states__copy .h2 { order: 2; font-size: 33px; line-height: 43.73px; letter-spacing: -.34px; color: var(--ink); margin: 0 auto 22px; max-width: 344px; }
  .sp-states .states__copy p:not(.eyebrow) { order: 3; font-size: 16px; line-height: 25px; letter-spacing: -.47px; margin: 0 auto 28px; max-width: 342px; }
  .sp-states .states__grid { order: 4; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sp-states .state { border: 1px solid #e1e1e1; border-radius: 8.38px; }
  .sp-states .state img { aspect-ratio: auto; height: 211px; }
  .sp-states .state figcaption { height: 47px; display: flex; align-items: center; justify-content: center; padding: 0 12px; border-top: 1.5px solid #e1e1e1; font-size: 18.2px; letter-spacing: .5px; color: #000; }
  .sp-states .states__copy .btn { order: 5; margin-top: 49px; }

  /* All 50 states by 2027 */
  .sp-expand { padding: 56px 0; }
  .sp-expand__inner { gap: 22px; }
  .sp-expand__map { width: 350px; max-width: 100%; }
  .sp-expand__map img { height: 207px; object-fit: contain; }
  .sp-expand__copy { max-width: none; width: 100%; color: var(--ink); }
  .sp-expand__kicker { font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 19px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
  .sp-expand__title { font-family: var(--serif); font-weight: 600; font-size: 33px; line-height: 42px; margin-top: 8px; }
  .sp-expand__sub { font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 25px; margin-top: 12px; }
  .sp-expand__lead { font-family: var(--sans); font-size: 16px; line-height: 25px; margin-top: 22px; }
  .sp-timeline { width: 100%; margin-top: 22px; padding-top: 8px; }
  .sp-timeline::before { display: none; }
  .sp-timeline li, .sp-timeline li:first-child, .sp-timeline li:last-child { width: auto; align-items: center; font-family: var(--sans); font-weight: 400; font-size: 13px; line-height: normal; letter-spacing: 0; color: #5a5a5a; }
  .sp-timeline li:last-child { text-align: center; }
  .sp-timeline strong { font-size: 14px; color: var(--ink); margin-bottom: 6px; }
  .sp-timeline__dot { width: 14px; height: 14px; border: 1.5px solid var(--wine); background: transparent; margin-bottom: 6px; }
  .sp-expand__btn { margin-top: 22px; }

  /* Reviews */
  .stories { padding: 56px 0; }
  .stories .h2 { font-size: 33px; line-height: 43.73px; letter-spacing: -.34px; }
  .stories .greviews { margin: 40px 0; padding: 0; }
  .stories .greviews__track { gap: 16px; padding-bottom: 4px; }
  .stories .gcard { border-radius: 14px; padding: 24px 22px 22px; box-shadow: 0 2px 5px rgba(0, 0, 0, .04); min-height: 398px; }
  .stories .gcard__meta img { width: 128px; }
  .stories .gcard__meta time { font-size: 12.5px; font-weight: 600; }
  .stories .gcard h3 { font-weight: 700; font-size: 17px; line-height: 22.95px; margin: 14px 0 12px; }
  .stories .gcard p { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; font-size: 14px; line-height: 22.3px; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
  .stories .gcard footer { gap: 10px; margin-top: 22px; font-weight: 600; color: #1e1e1e; }
  .stories .gcard .initial { width: 36px; height: 36px; font-size: 14px; font-weight: 600; }
  .stories .gcard footer img { width: 18px; }
  .stories .greviews__controls { display: flex; align-items: center; gap: 12px; margin-top: 32px; padding: 0 12px; }
  .stories .dots { flex: 1; min-width: 0; overflow: hidden; justify-self: auto; }
  .stories .dots button { width: 22px; flex-shrink: 0; background: #f4e4e9; }
  .stories .dots button[aria-current="true"] { width: 30px; background: var(--wine); }
  .stories .greviews__count { font-size: 14px; color: #6b6b6b; font-weight: 300; }
  .stories .greviews__arrows { gap: 10px; }
  .stories .round-btn { width: 42px; height: 42px; }
  .stories .round-btn:disabled { background: #f4e4e9; color: var(--wine); opacity: .45; }

  /* How it works */
  .sp-steps { padding: 50px 0 60px; }
  .sp-steps .eyebrow { font-size: 14.6px; line-height: 20.41px; letter-spacing: 1.68px; margin-bottom: 10px; }
  .sp-steps .h2 { font-size: 33px; line-height: 43.73px; letter-spacing: -.34px; max-width: 300px; margin: 0 auto; }
  .sp-steps__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 50px; }
  .sp-step { min-height: 0; border-radius: 31px; padding: 30px 10px 70px; box-shadow: 0 0 5px rgba(28, 42, 53, .06); }
  .sp-step__num { font-size: 23.9px; line-height: 33.43px; color: #575859; }
  .sp-step__media { margin-top: 40px; }
  .sp-step__phone { width: 156px; }
  .sp-step__phone--wide { width: 162px; }
  .sp-step:last-child .sp-step__media { height: 185px; }
  .sp-step__box { width: 244px; margin-top: 24px; }
  .sp-step h3 { font-size: 24.1px; line-height: 31.16px; letter-spacing: -.29px; margin-top: 30px; }
  .sp-step p:not(.sp-step__num) { font-size: 20px; line-height: 32.06px; color: #575859; margin-top: 10px; }
  .sp-step__btn { min-width: 0; width: 221px; min-height: 64.2px; border-radius: 14.44px; font-weight: 500; font-size: 18.5px; margin-top: 60px; }
  .sp-step:has(.sp-step__btn) { padding-bottom: 30px; }
  .sp-step__btn--m { display: inline-flex; }

  /* FAQ */
  .sp-faq { padding: 30px 0 45px; }
  .sp-faq .container { padding: 0 20px; }
  .sp-faq .eyebrow { font-size: 14.6px; line-height: 20.41px; letter-spacing: 1.68px; margin-bottom: 19px; }
  .sp-faq__title { font-weight: 600; font-size: 33px; line-height: 43.73px; letter-spacing: 0; text-transform: capitalize; }
  .sp-faq__list { margin-top: 50px; gap: 16px; }
  .sp-faq__item { border-radius: 19.88px; }
  .sp-faq__item summary { min-height: 114.7px; padding: 15px 30px; font-family: var(--serif); font-weight: 500; font-size: 25.3px; line-height: 30.35px; text-transform: capitalize; }
  .sp-faq__item summary::after { font-size: 20px; color: var(--ink); }
  .sp-faq__item p { padding: 0 35px 45px 30px; font-size: 16px; line-height: 29.9px; }

  /* CTA band */
  .cta-strip { background: #eaeaea; padding: 40px 0; }
  .cta-strip__inner { gap: 20px; }
  .cta-strip__inner img { width: 350px; max-width: 100%; }
  .cta-strip p { font-size: 16px; line-height: 21px; color: var(--ink-2); max-width: 336px; }
  .cta-strip .btn { font-size: 17.5px; letter-spacing: 0; margin-top: 16px; }
}

/* State cards link to each state's page; the whole card is clickable */
.states__grid .state { position: relative; }
.state__link { color: inherit; text-decoration: none; }
.state__link::after { content: ""; position: absolute; inset: 0; }
.state__link:hover, .state__link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
