/* Teacher Tutors — Service hub pages (statewide landing pages)
 * Self-contained and scoped under .sp so it never touches the global
 * header/footer (those keep the site's native custom.css styling).
 * Mirrors the brand palette from design-tokens.css. Hand-edited, then
 * mix.copy'd to public/css/public/service-page.css via webpack.mix.js. */

.sp {
  --sp-primary:   #3c6ae0;
  --sp-primary-2: #2a55e0;
  --sp-ink:       #262626;
  --sp-text:      #595f6f;
  --sp-meta:      #5e6476;
  --sp-tint:      #f2f4fa;
  --sp-teal:      #d7f7fa;
  --sp-white:     #ffffff;
  --sp-radius:    16px;
  --sp-shadow:    0 10px 30px rgba(38, 38, 38, 0.08);
  --sp-ease:      cubic-bezier(0.16, 1, 0.3, 1);

  color: var(--sp-text);
  font-size: 16px;
  line-height: 1.6;
}

.sp .container { max-width: 1180px; }

/* ---------- Shared type ---------- */
.sp-eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-primary);
  margin: 0 0 14px;
}
.sp-h1 {
  font-weight: 700;
  color: var(--sp-ink);
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
.sp-h2 {
  font-weight: 700;
  color: var(--sp-ink);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  line-height: 1.22;
  margin: 0 0 28px;
}
.sp-lede {
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  line-height: 1.65;
  color: var(--sp-text);
  max-width: 44rem;
  margin: 18px 0 0;
}

/* ---------- Buttons ---------- */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 26px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.3s var(--sp-ease);
}
.sp-btn--primary {
  background: linear-gradient(90deg, var(--sp-primary) 0%, var(--sp-primary-2) 100%);
  color: #fff;
  border-color: var(--sp-primary);
}
.sp-btn--primary:hover { background: var(--sp-ink); border-color: var(--sp-ink); color: #fff; }
.sp-btn--ghost {
  background: #fff;
  color: var(--sp-primary);
  border-color: var(--sp-primary);
}
.sp-btn--ghost:hover { background: var(--sp-primary); color: #fff; }
.sp-btn--light {
  background: #fff;
  color: var(--sp-primary);
  border-color: #fff;
}
.sp-btn--light:hover { background: var(--sp-ink); color: #fff; border-color: var(--sp-ink); }

/* ---------- Hero ---------- */
.sp-hero {
  background: linear-gradient(180deg, var(--sp-teal) 0%, #eef6fb 60%, #fff 100%);
  padding: 56px 0 52px;
}
@media (min-width: 992px) { .sp-hero { padding: 84px 0 72px; } }
.sp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.sp-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 0;
  margin: 30px 0 0;
}
.sp-trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  color: var(--sp-ink);
}
.sp-trust i { color: var(--sp-primary); }

/* ---------- Sections ---------- */
.sp-section { padding: 56px 0; }
@media (min-width: 992px) { .sp-section { padding: 80px 0; } }
.sp-section--tint { background: var(--sp-tint); }

/* ---------- Value cards ---------- */
.sp-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .sp-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sp-cards { grid-template-columns: repeat(4, 1fr); } }
.sp-card {
  background: #fff;
  border: 1px solid rgba(60, 106, 224, 0.10);
  border-radius: var(--sp-radius);
  padding: 26px 24px;
  box-shadow: var(--sp-shadow);
}
.sp-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(60, 106, 224, 0.10);
  color: var(--sp-primary);
  font-size: 20px;
  margin-bottom: 16px;
}
.sp-card__title {
  font-weight: 700;
  font-size: 17px;
  color: var(--sp-ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.sp-card__body { font-size: 14.5px; line-height: 1.6; color: var(--sp-text); margin: 0; }

/* ---------- Subjects ---------- */
.sp-subjects {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
}
.sp-subjects li {
  background: #fff;
  border: 1px solid rgba(38, 38, 38, 0.10);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--sp-ink);
}
.sp-section--tint .sp-subjects li { box-shadow: 0 2px 10px rgba(38, 38, 38, 0.05); }

/* ---------- How it works ---------- */
.sp-steps {
  list-style: none;
  counter-reset: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .sp-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sp-steps { grid-template-columns: repeat(4, 1fr); } }
.sp-step { display: flex; gap: 16px; align-items: flex-start; }
.sp-step__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-2));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.sp-step__title { font-weight: 700; font-size: 16px; color: var(--sp-ink); margin: 4px 0 8px; }
.sp-step__body { font-size: 14.5px; line-height: 1.55; color: var(--sp-text); margin: 0; }

/* ---------- Conversion band ---------- */
.sp-band {
  background: linear-gradient(90deg, var(--sp-primary) 0%, var(--sp-primary-2) 100%);
  color: #fff;
  padding: 44px 0;
}
.sp-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sp-band__title { font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 8px; color: #fff; }
.sp-band__sub { margin: 0; max-width: 34rem; opacity: 0.95; font-size: 15.5px; line-height: 1.55; }
.sp-band__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sp-band__call { color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: underline; }
.sp-band__call:hover { color: #fff; opacity: 0.85; }

/* ---------- Testimonials ---------- */
.sp-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 768px) { .sp-quotes { grid-template-columns: repeat(3, 1fr); } }
.sp-quote {
  background: #fff;
  border: 1px solid rgba(38, 38, 38, 0.08);
  border-radius: var(--sp-radius);
  padding: 24px;
  margin: 0;
  box-shadow: var(--sp-shadow);
}
.sp-quote blockquote { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--sp-ink); }
.sp-quote figcaption { font-size: 14px; font-weight: 700; color: var(--sp-primary); }

/* ---------- FAQ (native details) ---------- */
.sp-faq__wrap { max-width: 820px; }
.sp-faq { display: grid; gap: 12px; }
.sp-faq__item {
  background: #fff;
  border: 1px solid rgba(38, 38, 38, 0.10);
  border-radius: 12px;
  padding: 4px 20px;
}
.sp-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 28px 16px 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--sp-ink);
  position: relative;
}
.sp-faq__item summary::-webkit-details-marker { display: none; }
.sp-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--sp-primary);
  transition: transform 0.2s var(--sp-ease);
}
.sp-faq__item[open] summary::after { content: "\2013"; }
.sp-faq__a { padding: 0 0 18px; }
.sp-faq__a p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--sp-text); }

/* ---------- Related ---------- */
.sp-related__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) { .sp-related__list { grid-template-columns: repeat(3, 1fr); } }
.sp-related__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(60, 106, 224, 0.18);
  border-radius: 12px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--sp-primary);
  transition: all 0.2s var(--sp-ease);
}
.sp-related__list a:hover {
  background: var(--sp-primary);
  color: #fff;
  border-color: var(--sp-primary);
}

@media (prefers-reduced-motion: reduce) {
  .sp *, .sp *::before, .sp *::after { transition: none !important; }
}
