/* ============================================
   SPEE ALIGNER — elevation layer
   Global polish, a11y, scroll UX, FAQ (GEO). Brand-consistent.
   ============================================ */

/* --- Accessibility: skip link + focus rings --- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font: 500 14px var(--font); transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }

/* --- Scroll progress bar --- */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--red), #ff5a46);
  z-index: 1200; transition: width .1s linear;
  box-shadow: 0 0 8px rgba(221,31,44,.5);
}

/* --- Nav CTA button (elevation over the faithful nav) --- */
.nav__cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; letter-spacing: -.005em;
  padding: 9px 18px; margin-left: 8px;
  color: #fff; background: var(--ink); border: 1px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 16px -4px rgba(0,0,0,.12);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.nav__cta svg { width: 13px; height: 13px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.nav__cta:hover {
  background: var(--red); border-color: var(--red); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(221,31,44,.18), 0 12px 28px -6px rgba(221,31,44,.4);
}
.nav__cta:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .nav__cta { display: none; } }

/* --- Cursor-follow glow on interactive cards (subtle, brand red) --- */
.spf-card, .sptp-pillar, .spsc-step, .spcl-feat {
  --mx: 50%; --my: 50%;
}
.spf-card::after, .spsc-step::after, .spcl-feat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx) var(--my), rgba(221,31,44,.06), transparent 60%);
  opacity: 0; transition: opacity .35s ease; pointer-events: none; z-index: 0;
}
.spf-card:hover::after, .spsc-step:hover::after, .spcl-feat:hover::after { opacity: 1; }
.spsc-step, .spcl-feat { position: relative; }

/* --- Smooth anchor offset under fixed nav --- */
[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ============================================
   #spq — FAQ section (GEO), blueprint-styled
   ============================================ */
#spq { position: relative; width: 100%; padding: clamp(80px,11vh,132px) 6%; overflow: hidden; }
#spq-inner { max-width: 900px; margin: 0 auto; }
#spq-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; opacity: 0; transform: translateY(-6px); transition: opacity .6s, transform .6s; }
#spq-head.si { opacity: 1; transform: translateY(0); }
#spq-head::before { content: ""; display: block; width: 28px; height: 1px; background: var(--red); flex-shrink: 0; }
#spq-head span { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #5a5a5a; }
#spq-h2 { font-weight: 600; font-size: clamp(30px,3.4vw,48px); line-height: 1.08; letter-spacing: -.04em; color: var(--ink); margin-bottom: clamp(36px,5vh,56px); }
#spq-h2 em { font-style: normal; color: var(--red); }
#spq-h2.si-fade { opacity: 1; }

.spq-item { border-top: 1px solid rgba(10,10,11,.1); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s cubic-bezier(.22,1,.36,1); }
.spq-item:last-child { border-bottom: 1px solid rgba(10,10,11,.1); }
.spq-item.si { opacity: 1; transform: translateY(0); }
.spq-item:nth-child(2) { transition-delay: .05s; }
.spq-item:nth-child(3) { transition-delay: .1s; }
.spq-item:nth-child(4) { transition-delay: .15s; }
.spq-item:nth-child(5) { transition-delay: .2s; }
.spq-item:nth-child(6) { transition-delay: .25s; }

.spq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left; padding: 26px 0; cursor: pointer;
  font-family: var(--font); font-size: clamp(16px,1.5vw,19px); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); transition: color .25s ease;
}
.spq-q:hover { color: var(--red); }
.spq-ic { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.spq-ic::before, .spq-ic::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--red); border-radius: 2px; }
.spq-ic::before { width: 13px; height: 2px; }
.spq-ic::after { width: 2px; height: 13px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.spq-item.open .spq-ic::after { transform: translate(-50%,-50%) scaleY(0); }

.spq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.spq-a-in {
  padding: 0 40px 28px 0;
  font-size: clamp(14.5px,1.3vw,16px); font-weight: 300; line-height: 1.72; color: #4a4a52; max-width: 720px;
}
.spq-a-in a { color: var(--red); border-bottom: 1px solid rgba(221,31,44,.35); padding-bottom: 1px; }
.spq-a-in b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  #scroll-progress { display: none; }
  #spq-head, .spq-item { opacity: 1 !important; transform: none !important; }
  .spf-card::after, .spsc-step::after, .spcl-feat::after { display: none; }
}
