/* =========================================================
   service.css — sections used on the four service pages
   included · how it works
   Pains, compliance and plan come from specialty.css.
   ========================================================= */

/* ---------- What's included ---------- */
.incl{padding:clamp(100px,12vw,150px) 0;background:var(--cream)}
.incl__head{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:end}
.incl__head .lede{margin:0}
.incl__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:60px}
.inc{display:flex;flex-direction:column;padding:28px 26px 30px;border-radius:var(--radius);background:var(--white);scroll-margin-top:110px}
.inc:target{box-shadow:0 0 0 2px var(--teal)}
.inc__k{font-size:.75rem;font-weight:600;letter-spacing:.1em;color:var(--teal)}
.inc h3{font-family:var(--f-display);font-weight:700;font-size:1.35rem;line-height:1.15;letter-spacing:-.01em;margin-top:12px}
.inc p{color:var(--muted);font-size:.94rem;margin-top:10px}
.inc ul{margin-top:18px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.inc li{position:relative;padding-left:22px;font-size:.88rem}
.inc li::before{content:"";position:absolute;left:0;top:.5em;width:10px;height:6px;border-left:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(-45deg)}
.incl .comply{background:var(--white);border-color:transparent}

/* ---------- How it works: a still four-step line ---------- */
.how{padding:clamp(90px,10vw,130px) 0;background:var(--ink);color:var(--white)}
.how__steps{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:28px;margin-top:56px;counter-reset:how}
.how__steps::before{content:"";position:absolute;left:8px;right:8px;top:8px;height:1px;background:rgba(255,255,255,.18)}
.how__step{position:relative;counter-increment:how}
.how__dot{position:relative;display:block;width:17px;height:17px;border-radius:50%;background:var(--ink);border:2px solid var(--mint)}
.how__step:last-child .how__dot{background:var(--mint)}
.how__step h3{font-family:var(--f-display);font-weight:700;font-size:1.2rem;margin-top:26px}
.how__step h3::before{content:counter(how,decimal-leading-zero) "  ";color:var(--mint);font-size:.8rem;letter-spacing:.08em;margin-right:8px}
.how__step p{margin-top:10px;font-size:.92rem;color:rgba(255,255,255,.72)}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .incl__grid{grid-template-columns:repeat(2,1fr)}
  .incl__head{grid-template-columns:1fr}
  .how__steps{grid-template-columns:repeat(2,1fr);row-gap:44px}
  .how__steps::before{display:none}
}
@media (max-width:560px){
  .incl__grid{grid-template-columns:1fr}
  .how__steps{grid-template-columns:1fr;row-gap:0}
  .how__step{padding:0 0 30px 36px}
  .how__step::before{content:"";position:absolute;left:8px;top:17px;bottom:0;width:1px;background:rgba(255,255,255,.18)}
  .how__step:last-child{padding-bottom:0}
  .how__step:last-child::before{display:none}
  .how__dot{position:absolute;left:0;top:0}
  .how__step h3{margin-top:-4px}
}

/* ---------- Legal pages ---------- */
.legal-head{padding:clamp(140px,16vw,190px) 0 clamp(40px,5vw,60px);background:var(--cream)}
.legal-head p{margin-top:16px;color:var(--muted)}
.legal{padding:clamp(50px,6vw,80px) 0 clamp(90px,10vw,130px)}
.legal__body{max-width:720px}
.legal__body h2{font-family:var(--f-display);font-weight:700;font-size:1.35rem;line-height:1.2;margin-top:44px}
.legal__body h2:first-child{margin-top:0}
.legal__body p{margin-top:14px;color:var(--ink-2,var(--ink));line-height:1.65}
.legal__body ul{margin-top:14px;display:flex;flex-direction:column;gap:8px;padding-left:4px}
.legal__body li{position:relative;padding-left:20px;line-height:1.55}
.legal__body li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--teal)}
.legal__body a{color:var(--teal);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}

/* All 8 specialties on service pages: 4 + 4 instead of the 7-up rail */
@media (min-width:1081px){.others--all .others__grid{grid-template-columns:repeat(4,1fr)}.others--all .other{aspect-ratio:16/10}}
