/* v6.4.11: interior service pages. Reuses homepage tokens, 2px card lift + glow, and reveal motion.
   No new visual language. Scroll fix stays in v6.4.8.css. */
:root{
  --v6-violet:#6558E8;
  --v6-ink:#20212a;
  --v6-body:#3A3A47;
  --v6-glow:0 8px 22px rgba(101,88,232,.16),0 0 0 1px rgba(101,88,232,.22);
  --v6-lift:translateY(-2px);
  --v6-ease:180ms ease;
}

/* Interior header: same word + back as before; theme toggle matches /book */
body.sp{
  margin:0;
  background:var(--bg,#fff);
  color:var(--ink,#20212a);
  font-family:"DM Sans",Arial,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
body.sp .wrap{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}
body.sp header.sp-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
  max-width:1100px;
  margin:0 auto;
}
body.sp .word{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:24px;
  letter-spacing:-1.2px;
  color:var(--ink,#20212a);
  text-decoration:none;
}
body.sp .word i{font-style:normal;color:var(--purple,#6558e8)}
body.sp .hr{display:flex;align-items:center;gap:14px}
body.sp header a.back{
  font-size:14px;
  color:var(--purple,#6558e8);
  text-decoration:none;
  font-weight:600;
}
body.sp header a.back,
body.sp header .word,
body.sp a.word{
  min-height:48px;
  min-width:48px;
  display:inline-flex;
  align-items:center;
}
body.sp .tt{
  width:44px;height:44px;border-radius:10px;
  border:1px solid var(--line,#e9e9ef);
  background:var(--card,#fff);
  color:var(--ink,#20212a);
  cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  position:relative;
}
body.sp .tt::after{
  content:"";position:absolute;left:50%;top:50%;
  width:48px;height:48px;min-width:48px;min-height:48px;
  transform:translate(-50%,-50%);
}
body.sp .tt svg{width:18px;height:18px}
body.sp .tt .moon{display:none}
html.dark body.sp .tt .moon{display:block}
html.dark body.sp .tt .sun{display:none}

/* Hero */
body.sp .sp-hero{
  position:relative;
  text-align:center;
  padding:48px 0 56px;
  isolation:isolate;
}
body.sp .sp-hero::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:10% 8% auto;
  height:70%;
  background:radial-gradient(ellipse at 50% 40%,#ded9ff99 0%,#f4f1ff66 45%,transparent 70%);
  pointer-events:none;
}
html.dark body.sp .sp-hero::before{
  background:radial-gradient(ellipse at 50% 40%,#6558e844 0%,#17182500 70%);
}
body.sp .eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--purple,#6558e8);
  margin:0 0 16px;
}
body.sp .sp-hero h1{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:clamp(36px,6.4vw,68px);
  letter-spacing:-2.8px;
  line-height:1.05;
  margin:0 0 18px;
  text-wrap:balance;
  color:var(--ink,#20212a);
}
body.sp .sp-hero h1 span{color:var(--purple,#6558e8)}
body.sp .lede{
  font-size:clamp(17px,2.1vw,20px);
  line-height:1.7;
  color:var(--muted,#55505f);
  max-width:640px;
  margin:0 auto 28px;
}
body.sp .hero-buttons{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}

/* Buttons: homepage primary + .button.secondary */
body.sp .button{
  background:var(--purple,#6558e8);
  border:1px solid var(--purple,#6558e8);
  color:#fff;
  border-radius:8px;
  padding:16px 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  min-height:49px;
  transition:background .18s,transform .18s,box-shadow .18s,border-color .18s,color .18s;
}
body.sp .button:hover{
  background:#5547d7;
  box-shadow:0 5px 16px #6558e829;
}
body.sp .button.secondary{
  background:#fff;
  color:#3e3e4b;
  border-color:#dfdfe8;
  box-shadow:0 2px 3px #24213605;
}
body.sp .button.secondary:hover{
  background:#f6f5ff;
  border-color:#b9b1f7;
}
html.dark body.sp .button{color:#0f1016}
html.dark body.sp .button.secondary{
  background:#171825;
  color:#f2f1f7;
  border-color:#2a2a3a;
}
html.dark body.sp .button.secondary:hover{
  background:#221f45;
  border-color:#8f85ff;
}

@media (prefers-reduced-motion:no-preference){
  body.sp .button:hover{transform:translateY(-1px)}
}
@media (prefers-reduced-motion:reduce){
  body.sp .button:hover{transform:none}
}

/* Section chrome */
body.sp .sp-sec{padding:56px 0 20px}
body.sp .section-top{margin:0 0 28px;text-align:center}
body.sp .section-top h2{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:clamp(26px,4vw,40px);
  letter-spacing:-1.6px;
  line-height:1.1;
  margin:0 0 10px;
}
body.sp .section-top h2 span{color:var(--purple,#6558e8)}
body.sp .section-top p{margin:0 auto;max-width:560px;color:var(--muted,#55505f)}

/* Door cards: same shape, lift and glow as the homepage */
body.sp .door-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.sp .door-grid:has(> article:nth-child(3):last-child){
  grid-template-columns:repeat(3,minmax(0,1fr));
}

body.sp article.door{
  border:1px solid #ebe6f2;
  background:var(--card,#fff);
  border-radius:16px;
  padding:24px 22px 26px;
  display:flex;
  flex-direction:column;
  gap:10px;
  box-shadow:0 10px 30px #3e278d0a;
  min-width:0;
}
body.sp article.door h3,
body.sp article.door b.door-h{
  font-family:Manrope,Arial,sans-serif;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.5px;
  margin:0;
  color:var(--ink,#20212a);
  font-weight:700;
  display:block;
}
body.sp article.door p,
body.sp article.door span.door-p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:#5e5a6b;
  font-weight:400;
}
html.dark body.sp article.door{
  background:#171825;
  border-color:#2a2a3a;
}
html.dark body.sp article.door p,
html.dark body.sp article.door span.door-p{color:#c9c6d6}
html.dark body.sp article.door h3,
html.dark body.sp article.door b.door-h{color:#f2f1f7}

body.sp article.door,
body.sp .how-steps article{
  transition:border-color var(--v6-ease),box-shadow var(--v6-ease),background-color var(--v6-ease),color var(--v6-ease);
}
@media (prefers-reduced-motion:no-preference){
  body.sp article.door,
  body.sp .how-steps article{
    transition:transform var(--v6-ease),border-color var(--v6-ease),box-shadow var(--v6-ease),background-color var(--v6-ease),color var(--v6-ease);
  }
  body.sp article.door:hover, body.sp article.door:focus-within,
  body.sp .how-steps article:hover, body.sp .how-steps article:focus-within{
    transform:var(--v6-lift);
  }
}
@media (prefers-reduced-motion:reduce){
  body.sp article.door:hover, body.sp article.door:focus-within,
  body.sp .how-steps article:hover, body.sp .how-steps article:focus-within{
    transform:none;
  }
}
body.sp article.door:hover, body.sp article.door:focus-within,
body.sp .how-steps article:hover, body.sp .how-steps article:focus-within{
  border-color:var(--v6-violet);
  box-shadow:var(--v6-glow);
  outline:none;
}
html.dark body.sp article.door:hover,
html.dark body.sp article.door:focus-within,
html.dark body.sp .how-steps article:hover,
html.dark body.sp .how-steps article:focus-within{border-color:#8f85ff}

/* How it works — homepage step cards */
body.sp .how-steps{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body.sp .how-steps article{
  border:1.5px solid #e8e6ef;
  border-radius:16px;
  padding:24px 22px 26px;
  background:var(--card,#fff);
  min-width:0;
}
html.dark body.sp .how-steps article{background:#171825;border-color:#2a2a3a}
body.sp .how-steps .step-n{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;min-width:36px;
  border-radius:50%;
  background:var(--v6-violet);
  color:#fff;
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:14px;
  margin-bottom:14px;
}
html.dark body.sp .how-steps .step-n{color:#0f1016}
body.sp .how-steps h3{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:18px;
  letter-spacing:-.4px;
  margin:0 0 8px;
}
body.sp .how-steps p{margin:0;font-size:15px;color:var(--muted,#55505f)}

/* Mid-page CTA */
body.sp .mid-cta{
  margin:48px auto;
  padding:32px 28px;
  border:1px solid var(--line,#e9e9ef);
  border-radius:24px;
  background:var(--tint,#f4f2ff);
  text-align:center;
}
html.dark body.sp .mid-cta{background:#171825;border-color:#2a2a3a}
body.sp .mid-cta h2{
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:clamp(22px,3vw,30px);
  letter-spacing:-1px;
  margin:0 0 10px;
}
body.sp .mid-cta p{margin:0 auto 22px;max-width:520px;color:var(--muted,#55505f)}
body.sp .mid-cta .hero-buttons{margin:0}

/* End CTA band — homepage pattern, static wash (motion only if allowed) */
body.sp .cta-band{
  position:relative;
  overflow:hidden;
  background:#20212a;
  color:#fff;
  padding:88px 0 82px;
  text-align:center;
  isolation:isolate;
  margin:48px 0 0;
  border-radius:0;
}
body.sp .cta-band .cta-in{position:relative;z-index:1;max-width:820px}
body.sp .cta-band .eyebrow{color:#a79dff}
body.sp .cta-band h2{
  color:#fff;
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:clamp(32px,5.4vw,56px);
  letter-spacing:-2.2px;
  line-height:1.08;
  margin:0 0 16px;
}
body.sp .cta-band h2 span{color:#a79dff}
body.sp .cta-copy{
  font-size:17px;
  line-height:1.75;
  color:#c9c7d6;
  max-width:560px;
  margin:0 auto 28px;
}
body.sp .cta-band .button.secondary{
  background:transparent;
  color:#fff;
  border-color:#8f85ff;
}
body.sp .cta-band .button.secondary:hover{
  background:#2a2550;
  border-color:#a79dff;
  color:#fff;
}
html.dark body.sp .cta-band .button{color:#0f1016}
html.dark body.sp .cta-band .button.secondary{color:#fff}

body.sp .cta-aurora{position:absolute;inset:0;z-index:0;pointer-events:none;filter:blur(90px)}
body.sp .cta-aurora i{position:absolute;border-radius:50%;opacity:.22;mix-blend-mode:screen}
body.sp .cta-aurora i:nth-child(1){width:520px;height:520px;left:-120px;top:-180px;background:#4f42d6}
body.sp .cta-aurora i:nth-child(2){width:460px;height:460px;right:-140px;top:-60px;background:#6558e8}
body.sp .cta-aurora i:nth-child(3){width:420px;height:420px;left:35%;bottom:-240px;background:#8f85ff;opacity:.15}
@media (prefers-reduced-motion:no-preference){
  body.sp .cta-aurora i:nth-child(1){animation:spAur1 14s ease-in-out infinite}
  body.sp .cta-aurora i:nth-child(2){animation:spAur2 17s ease-in-out infinite}
  body.sp .cta-aurora i:nth-child(3){animation:spAur3 20s ease-in-out infinite}
}
@keyframes spAur1{50%{transform:translate(120px,80px) scale(1.15)}}
@keyframes spAur2{50%{transform:translate(-100px,120px) scale(.9)}}
@keyframes spAur3{50%{transform:translate(-160px,-60px) scale(1.2)}}
@media (prefers-reduced-motion:reduce){
  body.sp .cta-aurora i{animation:none}
}

/* FAQ — homepage details pattern */
body.sp .faq-list{max-width:760px;margin:0 auto}
body.sp .faq-list details{
  border-top:1px solid var(--line,#e9e9ef);
  padding:0;
}
body.sp .faq-list details:last-child{border-bottom:1px solid var(--line,#e9e9ef)}
body.sp .faq-list summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  cursor:pointer;
  list-style:none;
  font-family:Manrope,Arial,sans-serif;
  font-weight:800;
  font-size:17px;
  letter-spacing:-.3px;
  padding:18px 0;
  min-height:48px;
}
body.sp .faq-list summary::-webkit-details-marker{display:none}
body.sp .faq-list summary span{
  color:var(--purple,#6558e8);
  font-size:22px;
  line-height:1;
  font-weight:500;
}
body.sp .faq-list details[open] summary span{transform:rotate(0deg)}
body.sp .faq-list details p{
  margin:0 0 18px;
  color:var(--muted,#55505f);
  padding-right:32px;
}
html.dark body.sp .faq-list summary>span{color:#C4BEFF}

/* Reveal: visible by default. Hidden only after JS has advertised itself.
   JS-off, blocked scripts, print, and #anchor / full-page shots stay visible. */
body.sp .reveal{
  opacity:1;
  transform:none;
}
html.js body.sp .reveal:not(.in){
  opacity:0;
  transform:translateY(16px);
}
html.js body.sp .reveal.in{
  opacity:1;
  transform:none;
}
@media (prefers-reduced-motion:no-preference){
  html.js body.sp .reveal{
    transition:opacity .6s cubic-bezier(.16,.84,.3,1),transform .6s cubic-bezier(.16,.84,.3,1);
  }
}
@media (prefers-reduced-motion:reduce){
  body.sp .reveal,
  body.sp .reveal.in{
    opacity:1;
    transform:none;
    transition:none;
  }
}
@media (scripting: none){
  body.sp .reveal{opacity:1;transform:none}
}
@media print{
  html.js body.sp .reveal,
  html.js body.sp .reveal:not(.in),
  body.sp .reveal,
  body.sp .reveal.in,
  body.sp .reveal:not(.in){
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }
}

@media (max-width:820px){
  body.sp .how-steps{grid-template-columns:1fr}
  body.sp .door-grid:has(> article:nth-child(3):last-child){grid-template-columns:1fr}
  body.sp .sp-hero{padding:28px 0 40px}
  body.sp .sp-sec{padding:40px 0 8px}
}
@media (max-width:640px){
  body.sp .wrap,
  body.sp header.sp-head{padding-left:16px;padding-right:16px}
  body.sp .door-grid{grid-template-columns:1fr;gap:12px}
  body.sp .hero-buttons .button{width:100%}
  body.sp .mid-cta{padding:24px 18px}
  body.sp .cta-band{padding:64px 0 60px}
}

/* v6.4.12 (Andres): the bottom CTA is a rounded inset bubble on the page background, with the same
   radius, padding, max-width and margins as the homepage CTA bubble (v6.4.css section.cta-band),
   and clear space above the footer. /book is not affected (no body.sp there). */
body.sp section.cta-band{
  box-sizing:border-box;
  width:calc(100% - 80px);
  max-width:1260px;
  margin:40px auto 72px;
  padding:96px 0 90px;
  border-radius:24px;
  overflow:hidden;
}
body.sp section.cta-band .cta-in{padding-left:50px;padding-right:50px}
html.dark body.sp section.cta-band{box-shadow:inset 0 0 0 1px rgba(143,133,255,.16)}
@media (max-width:600px){
  body.sp section.cta-band{
    width:auto;
    max-width:none;
    margin:16px 16px 48px;
    padding:48px 0;
    border-radius:20px;
  }
  body.sp section.cta-band .cta-in{padding-left:20px;padding-right:20px}
}

/* v6.4.12 (Ivy): 48px tap targets for the header wordmark and back link, like /book. */
body.sp header.sp-head a.word,
body.sp header.sp-head a.back{min-height:48px!important;min-width:48px}
