/* SafePickup brand stylesheet
   Spec: docs/superpowers/specs/2026-04-16-website-rebrand-design.md
   Ticket: SAF-209 */

/* ============================================================
   Fonts — self-hosted, Google Fonts variable WOFF2 subsets
   latin covers EN + ES, latin-ext covers broader Latin Extended
   ============================================================ */

/* Outfit — primary (headings) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/outfit/Outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('../fonts/outfit/Outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Nunito Sans — secondary (body) */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/nunito-sans/NunitoSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/nunito-sans/NunitoSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   Design tokens
   ============================================================ */

:root {
  /* Neutrals */
  --sp-ink:        #67686A;   /* rgb(103,104,106) — body text */
  --sp-ink-soft:   #9A9B9D;   /* muted text */
  --sp-surface:    #FFFFFF;   /* page background */
  --sp-surface-2:  #F7F7F8;   /* alt section background */
  --sp-border:     #E6E7E9;   /* hairlines */

  /* Brand accents */
  --sp-coral:      #DD4D5A;   /* rgb(221,77,90) */
  --sp-coral-dark: #C9424D;
  --sp-orange:     #F0B058;   /* rgb(240,176,88) */
  --sp-mint:       #68B999;   /* rgb(104,185,153) */
  --sp-periwinkle: #7779AF;   /* rgb(119,121,175) */
  --sp-sky:        #5FB0E0;   /* rgb(95,176,224) */

  /* Typography */
  --sp-font-heading: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --sp-font-body:    'Nunito Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --sp-text-xs:   0.75rem;   /* 12 */
  --sp-text-sm:   0.875rem;  /* 14 */
  --sp-text-base: 1rem;      /* 16 */
  --sp-text-lg:   1.25rem;   /* 20 */
  --sp-text-xl:   1.563rem;  /* 25 */
  --sp-text-2xl:  1.953rem;  /* 31 */
  --sp-text-3xl:  2.441rem;  /* 39 */
  --sp-text-4xl:  3.052rem;  /* 49 */

  /* Spacing */
  --sp-space-1:  0.25rem;
  --sp-space-2:  0.5rem;
  --sp-space-3:  0.75rem;
  --sp-space-4:  1rem;
  --sp-space-6:  1.5rem;
  --sp-space-8:  2rem;
  --sp-space-12: 3rem;
  --sp-space-16: 4rem;
  --sp-space-24: 6rem;

  --sp-radius-sm:   6px;
  --sp-radius-md:   12px;
  --sp-radius-lg:   20px;
  --sp-radius-pill: 999px;

  --sp-shadow-sm: 0 1px 2px  rgba(103, 104, 106, 0.08);
  --sp-shadow-md: 0 4px 16px rgba(103, 104, 106, 0.10);
  --sp-shadow-lg: 0 12px 40px rgba(103, 104, 106, 0.12);

  --sp-container: 1140px;
}

/* ============================================================
   Base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sp-font-body);
  font-size: var(--sp-text-base);
  line-height: 1.6;
  color: var(--sp-ink);
  background: var(--sp-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sp-ink);
  margin: 0 0 var(--sp-space-4);
}
h1 { font-size: var(--sp-text-4xl); }
h2 { font-size: var(--sp-text-3xl); }
h3 { font-size: var(--sp-text-xl); }

p { margin: 0 0 var(--sp-space-4); }

a {
  color: var(--sp-sky);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--sp-periwinkle); }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--sp-sky);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Layout helpers
   ============================================================ */

.sp-container {
  max-width: var(--sp-container);
  margin: 0 auto;
  padding: 0 var(--sp-space-6);
}
.sp-section { padding: var(--sp-space-24) 0; }
.sp-section--alt { background: var(--sp-surface-2); }
.sp-section__title {
  text-align: center;
  margin-bottom: var(--sp-space-12);
}
.sp-section__lede {
  text-align: center;
  color: var(--sp-ink-soft);
  max-width: 560px;
  margin: calc(var(--sp-space-12) * -1) auto var(--sp-space-12);
}

/* ============================================================
   Buttons
   ============================================================ */

.sp-btn {
  display: inline-block;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: var(--sp-text-base);
  padding: var(--sp-space-3) var(--sp-space-6);
  border-radius: var(--sp-radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sp-btn--primary {
  background: var(--sp-coral);
  color: #fff;
}
.sp-btn--primary:hover,
.sp-btn--primary:focus-visible {
  background: var(--sp-coral-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sp-shadow-md);
}
.sp-btn--ghost {
  background: transparent;
  color: var(--sp-ink);
  border-color: var(--sp-border);
}
.sp-btn--ghost:hover,
.sp-btn--ghost:focus-visible {
  border-color: var(--sp-ink);
  color: var(--sp-ink);
}

/* ============================================================
   Skip link
   ============================================================ */

.sp-skip {
  position: absolute;
  left: -9999px;
  background: var(--sp-coral);
  color: #fff;
  padding: var(--sp-space-3) var(--sp-space-4);
  border-radius: var(--sp-radius-sm);
  font-weight: 600;
}
.sp-skip:focus {
  left: var(--sp-space-4);
  top: var(--sp-space-4);
  z-index: 1000;
}

/* ============================================================
   Navigation
   ============================================================ */

.sp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sp-nav.is-scrolled {
  border-bottom-color: var(--sp-border);
  box-shadow: var(--sp-shadow-sm);
}
.sp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-space-4);
  padding: var(--sp-space-4) 0;
}
@media (min-width: 1024px) {
  .sp-nav__inner { gap: var(--sp-space-6); }
}
.sp-nav__logo img {
  height: 40px;
  width: auto;
}
.sp-nav__links {
  display: none;
  gap: var(--sp-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-nav__links a {
  color: var(--sp-ink);
  font-weight: 600;
  font-family: var(--sp-font-heading);
}
.sp-nav__links a:hover { color: var(--sp-coral); }
.sp-nav__cta {
  display: none;           /* hidden on mobile — surfaced in mobile menu */
}
.sp-nav__toggle {
  background: none;
  border: 0;
  padding: var(--sp-space-2);
  cursor: pointer;
  color: var(--sp-ink);
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .sp-nav__links { display: flex; }
  .sp-nav__toggle { display: none; }
  .sp-nav__cta { display: inline-block; }
}

/* Mobile menu panel */
.sp-nav__mobile {
  display: none;
  padding: var(--sp-space-4) 0 var(--sp-space-6);
  border-top: 1px solid var(--sp-border);
  background: #fff;
}
.sp-nav__mobile.is-open { display: block; }
.sp-nav__mobile ul { list-style: none; padding: 0; margin: 0; }
.sp-nav__mobile li { padding: var(--sp-space-3) 0; }
.sp-nav__mobile a {
  color: var(--sp-ink);
  font-family: var(--sp-font-heading);
  font-weight: 600;
}
.sp-nav__mobile .sp-btn {
  display: inline-block;
  margin-top: var(--sp-space-4);
}

/* Language pill toggle (ES / EN) */
.sp-lang {
  display: none;                          /* hidden on mobile — surfaced in mobile menu */
  align-items: center;
  gap: 0;
  padding: 2px;
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  background: #fff;
  line-height: 1;
}
.sp-lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--sp-font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--sp-ink);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sp-lang__btn:hover {
  color: var(--sp-coral);
}
.sp-lang__btn.is-active {
  background: var(--sp-coral);
  color: #fff;
}
.sp-lang__btn.is-active:hover {
  color: #fff;
}
@media (min-width: 1024px) {
  .sp-lang { display: inline-flex; }
}

.sp-lang--mobile {
  display: inline-flex;
  margin-top: var(--sp-space-4);
}

/* ============================================================
   Hero
   ============================================================ */

.sp-hero {
  position: relative;
  padding: var(--sp-space-16) 0 var(--sp-space-24);
  background:
    radial-gradient(ellipse at top right, rgba(104, 185, 153, 0.12), transparent 60%),
    radial-gradient(ellipse at bottom left,  rgba(95, 176, 224, 0.10), transparent 60%),
    var(--sp-surface);
  overflow: hidden;
}
.sp-hero__grid {
  display: grid;
  gap: var(--sp-space-12);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .sp-hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-space-16);
  }
}
.sp-hero__eyebrow {
  display: inline-block;
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: var(--sp-text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sp-coral);
  margin-bottom: var(--sp-space-4);
}
.sp-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.052rem);
}
.sp-hero__sub {
  font-size: var(--sp-text-lg);
  color: var(--sp-ink-soft);
  margin-bottom: var(--sp-space-8);
  max-width: 50ch;
}
.sp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-space-4);
}
.sp-hero__art {
  position: relative;
  filter: drop-shadow(var(--sp-shadow-lg));
}
.sp-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  border-radius: var(--sp-radius-lg);
  margin: 0 auto;
}

/* ============================================================
   Social proof
   ============================================================ */

.sp-proof {
  padding: var(--sp-space-12) 0;
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}
.sp-proof__label {
  text-align: center;
  font-size: var(--sp-text-base);
  color: var(--sp-ink-soft);
  margin: 0;
}

/* ============================================================
   Audience split (For Schools / For Parents)
   ============================================================ */

.sp-audience__grid {
  display: grid;
  gap: var(--sp-space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-audience__grid { grid-template-columns: 1fr 1fr; }
}
.sp-audience__card {
  padding: var(--sp-space-12) var(--sp-space-8);
  border-radius: var(--sp-radius-lg);
  background: var(--sp-surface);
  box-shadow: var(--sp-shadow-md);
  border-top: 4px solid;
}
.sp-audience__card--schools { border-color: var(--sp-periwinkle); }
.sp-audience__card--parents { border-color: var(--sp-sky); }
.sp-audience__card h3 {
  font-size: var(--sp-text-2xl);
  margin-bottom: var(--sp-space-6);
}
.sp-audience__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-space-8);
}
.sp-audience__list li {
  padding-left: var(--sp-space-8);
  position: relative;
  margin-bottom: var(--sp-space-3);
}
.sp-audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--sp-mint);
}

/* ============================================================
   How it works (steps)
   ============================================================ */

.sp-steps {
  display: grid;
  gap: var(--sp-space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-steps { grid-template-columns: repeat(4, 1fr); }
}
.sp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sp-coral);
  color: #fff;
  border-radius: 50%;
  font-family: var(--sp-font-heading);
  font-weight: 700;
  font-size: var(--sp-text-lg);
  margin-bottom: var(--sp-space-4);
}
.sp-step h3 {
  font-size: var(--sp-text-lg);
  margin-bottom: var(--sp-space-2);
}
.sp-step p {
  color: var(--sp-ink-soft);
  margin: 0;
}

/* ============================================================
   Features grid
   ============================================================ */

.sp-features {
  display: grid;
  gap: var(--sp-space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-features { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .sp-features { grid-template-columns: repeat(3, 1fr); }
}
.sp-feature {
  padding: var(--sp-space-8);
  border-radius: var(--sp-radius-md);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--sp-shadow-md);
}
.sp-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--sp-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: var(--sp-space-4);
}
.sp-feature__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.sp-feature--sky        .sp-feature__icon { background: var(--sp-sky); }
.sp-feature--periwinkle .sp-feature__icon { background: var(--sp-periwinkle); }
.sp-feature--coral      .sp-feature__icon { background: var(--sp-coral); }
.sp-feature--orange     .sp-feature__icon { background: var(--sp-orange); }
.sp-feature--mint       .sp-feature__icon { background: var(--sp-mint); }
.sp-feature--ink        .sp-feature__icon { background: var(--sp-ink); }
.sp-feature h3 {
  font-size: var(--sp-text-lg);
  margin-bottom: var(--sp-space-2);
}
.sp-feature p {
  color: var(--sp-ink-soft);
  margin: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sp-feature:hover { transform: none; }
}

/* ============================================================
   Testimonial
   ============================================================ */

/* Testimonial carousel */
.sp-carousel {
  max-width: 760px;
  margin: var(--sp-space-8) auto 0;
  position: relative;
}
.sp-carousel__track {
  position: relative;
}
.sp-carousel__slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-space-6);
  animation: sp-fadeIn 0.5s ease;
}
.sp-carousel__slide.is-active {
  display: flex;
}
@keyframes sp-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.sp-carousel__mark {
  font-family: var(--sp-font-heading);
  font-size: 4rem;
  line-height: 1;
  color: var(--sp-orange);
}
.sp-carousel__quote {
  font-size: var(--sp-text-lg, 1.125rem);
  font-style: italic;
  margin: var(--sp-space-4) 0;
  color: var(--sp-ink);
  line-height: 1.7;
  max-width: 640px;
}
.sp-carousel__footer {
  margin-top: var(--sp-space-4);
}
.sp-carousel__author {
  font-family: var(--sp-font-heading);
  font-weight: 700;
  color: var(--sp-ink);
}
.sp-carousel__role {
  color: var(--sp-ink-soft);
  font-size: var(--sp-text-sm, 0.875rem);
}
.sp-carousel__school {
  color: var(--sp-coral);
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: var(--sp-text-sm, 0.875rem);
  margin-top: 2px;
}

/* Carousel controls */
.sp-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-space-4);
  margin-top: var(--sp-space-6);
}
.sp-carousel__btn {
  background: #fff;
  border: 1px solid var(--sp-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sp-ink);
  transition: border-color 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}
.sp-carousel__btn:hover {
  border-color: var(--sp-coral);
  color: var(--sp-coral);
}
.sp-carousel__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sp-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--sp-border);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.sp-carousel__dot:hover {
  background: var(--sp-ink-soft);
}
.sp-carousel__dot.is-active {
  background: var(--sp-coral);
  transform: scale(1.3);
}

/* ============================================================
   FAQ (accordion via <details>)
   ============================================================ */

.sp-faq { max-width: 760px; margin: 0 auto; }
.sp-faq details {
  border-bottom: 1px solid var(--sp-border);
  padding: var(--sp-space-6) 0;
}
.sp-faq summary {
  font-family: var(--sp-font-heading);
  font-weight: 600;
  font-size: var(--sp-text-lg);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--sp-ink);
  gap: var(--sp-space-4);
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after {
  content: "+";
  font-size: var(--sp-text-2xl);
  line-height: 1;
  color: var(--sp-sky);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: inline-block;
}
.sp-faq details[open] summary::after { transform: rotate(45deg); }
.sp-faq details p {
  margin-top: var(--sp-space-4);
  color: var(--sp-ink-soft);
}

/* ============================================================
   Final CTA band
   ============================================================ */

.sp-cta-band {
  padding: var(--sp-space-24) 0;
  background: linear-gradient(135deg, var(--sp-coral), var(--sp-coral-dark));
  color: #fff;
  text-align: center;
}
.sp-cta-band h2 {
  color: #fff;
  font-size: var(--sp-text-3xl);
}
.sp-cta-band p {
  opacity: 0.9;
  margin-bottom: var(--sp-space-8);
  font-size: var(--sp-text-lg);
}
.sp-cta-band .sp-btn--primary {
  background: #fff;
  color: var(--sp-coral);
}
.sp-cta-band .sp-btn--primary:hover,
.sp-cta-band .sp-btn--primary:focus-visible {
  background: #f5f5f5;
  color: var(--sp-coral);
}
.sp-cta-band .sp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.sp-cta-band .sp-btn--ghost:hover,
.sp-cta-band .sp-btn--ghost:focus-visible {
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   Footer
   ============================================================ */

.sp-footer {
  background: var(--sp-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--sp-space-16) 0 var(--sp-space-8);
}
.sp-footer__grid {
  display: grid;
  gap: var(--sp-space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .sp-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.sp-footer h4 {
  color: #fff;
  font-size: var(--sp-text-base);
  margin-bottom: var(--sp-space-4);
}
.sp-footer ul { list-style: none; padding: 0; margin: 0; }
.sp-footer li { margin-bottom: var(--sp-space-2); }
.sp-footer a { color: rgba(255, 255, 255, 0.75); }
.sp-footer a:hover { color: #fff; }
.sp-footer__brand img {
  max-width: 160px;
  margin-bottom: var(--sp-space-4);
  filter: brightness(0) invert(1);
}
.sp-footer__social {
  display: flex;
  gap: var(--sp-space-3);
}
.sp-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s ease;
}
.sp-footer__social a:hover { background: rgba(255, 255, 255, 0.2); }
.sp-footer__bottom {
  margin-top: var(--sp-space-12);
  padding-top: var(--sp-space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--sp-text-sm);
  text-align: center;
}

/* ============================================================
   Contact form
   ============================================================ */

.sp-form { max-width: 560px; margin: 0 auto; }
.sp-form__row { margin-bottom: var(--sp-space-4); }
.sp-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-space-2);
  font-family: var(--sp-font-heading);
  color: var(--sp-ink);
}
.sp-form input,
.sp-form textarea {
  width: 100%;
  padding: var(--sp-space-3) var(--sp-space-4);
  font-family: var(--sp-font-body);
  font-size: var(--sp-text-base);
  border: 1px solid var(--sp-border);
  border-radius: var(--sp-radius-md);
  background: #fff;
  color: var(--sp-ink);
  transition: border-color 0.15s ease;
}
.sp-form input:focus,
.sp-form textarea:focus {
  outline: none;
  border-color: var(--sp-sky);
  box-shadow: 0 0 0 3px rgba(95, 176, 224, 0.15);
}
.sp-form textarea {
  resize: vertical;
  min-height: 140px;
}
.sp-form__error {
  color: var(--sp-coral);
  font-size: var(--sp-text-sm);
  margin-top: var(--sp-space-1);
}

/* ============================================================
   Scroll reveal animations
   ============================================================ */

.sp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children (steps, features, audience cards) */
.sp-reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sp-reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.sp-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.sp-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.sp-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.sp-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.sp-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.sp-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.3s; }

/* ============================================================
   Enhanced hover states
   ============================================================ */

/* Audience cards — lift + shadow on hover */
.sp-audience__card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-audience__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-lg);
}

/* Step numbers — scale pop on hover */
.sp-step {
  transition: transform 0.2s ease;
}
.sp-step:hover {
  transform: translateY(-2px);
}
.sp-step:hover .sp-step__num {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* FAQ summary — color shift on hover */
.sp-faq summary:hover {
  color: var(--sp-coral);
}
.sp-faq summary:hover::after {
  color: var(--sp-coral);
}

/* Footer links — underline slide */
.sp-footer a {
  position: relative;
}
.sp-footer a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.25s ease;
}
.sp-footer a:hover::after {
  width: 100%;
}

/* ============================================================
   Sticky mobile CTA
   ============================================================ */

.sp-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--sp-border);
  padding: var(--sp-space-3) var(--sp-space-4);
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sp-sticky-cta.is-visible {
  transform: translateY(0);
}
.sp-sticky-cta .sp-btn {
  width: 100%;
  max-width: 360px;
  padding: var(--sp-space-3) var(--sp-space-6);
}
/* Only show on mobile */
@media (max-width: 1023px) {
  .sp-sticky-cta {
    display: block;
  }
}
/* Add bottom padding to footer so sticky CTA doesn't overlap */
@media (max-width: 1023px) {
  .sp-footer__bottom {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-reveal,
  .sp-reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .sp-audience__card,
  .sp-step,
  .sp-sticky-cta {
    transition: none;
  }
}

/* ============================================================
   Prose (CMS pages: About, Privacy, Terms)
   ============================================================ */

.sp-prose { max-width: 760px; margin: 0 auto; }
.sp-prose h1 { margin-bottom: var(--sp-space-8); }
.sp-prose h2 {
  margin-top: var(--sp-space-12);
  font-size: var(--sp-text-2xl);
}
.sp-prose h3 { margin-top: var(--sp-space-8); }
.sp-prose p,
.sp-prose li {
  font-size: var(--sp-text-base);
  line-height: 1.7;
  color: var(--sp-ink);
}
.sp-prose ul,
.sp-prose ol {
  padding-left: var(--sp-space-6);
  margin-bottom: var(--sp-space-4);
}
.sp-prose a {
  color: var(--sp-sky);
  text-decoration: underline;
}
.sp-prose a:hover { color: var(--sp-periwinkle); }
