/* Lucent process page ("Nasıl çalışır?"). Tokens, type scale, buttons and the lime closing band come from home-v4.css
   (.lx-page); rules: /DESIGN.md. Calm homepage scale: forest hero with a bleeding photo, a white overview strip with the
   three phases and their steps, then each phase (title, summary, photo) beside its steps on a route line, a deep band
   with what to check, and the lime consultant door. Headings 700, no display sizes. */
.sp-page{--tint:#eef4e4;--hair-dark:rgba(201,216,209,.22);--route:#c9d6cf}
.sp-hero :focus-visible,.sp-check :focus-visible{outline-color:var(--lime)}

/* Hero */
.sp-hero{position:relative;overflow:hidden;background:var(--forest);color:#fff}
.sp-hero-inner{display:flex;align-items:center;min-height:clamp(360px,46vh,420px);padding-block:clamp(2.5rem,4.5vw,3.5rem)}
.sp-hero-copy{width:calc(58vw - (100vw - 100%) / 2 - clamp(2rem,4vw,4rem))}
.sp-hero h1{max-width:21ch;font-size:var(--t-display);font-weight:700;line-height:1.08;letter-spacing:-.03em}
.sp-page .sp-lead{margin-top:1rem;max-width:46ch;font-size:var(--t-lead);line-height:1.6;color:var(--mist)}
.sp-doors{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:1.5rem}
.sp-doors .lx-btn{min-height:48px;font-size:.9375rem}
.sp-doors .lx-link-light{display:inline-flex;align-items:center;min-height:44px;font-size:.9375rem}
.sp-page .sp-hero-photo{position:absolute;top:0;right:0;bottom:0;width:42vw;margin:0;background:var(--deep)}
.sp-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 45%}

/* Overview strip: every step, grouped by phase */
.sp-overview{background:#fff;border-bottom:1px solid var(--line)}
.sp-phase-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none}
.sp-phase-list>li{min-width:0;padding:1.75rem 2rem 1.5rem}
.sp-phase-list>li:first-child{padding-left:0}
.sp-phase-list>li:last-child{padding-right:0}
.sp-phase-list>li+li{border-left:1px solid var(--line)}
.sp-page .sp-phase-label{padding-bottom:.9rem;margin-bottom:.35rem;border-bottom:1px solid var(--line)}
/* Phase badge: small forest tag with lime text, shared by the overview and the phase columns */
.sp-badge{display:inline-flex;align-items:center;min-height:22px;padding:0 .5rem;border-radius:6px;background:var(--forest);color:var(--lime);font-size:.6875rem;font-weight:700;line-height:1;letter-spacing:.02em;white-space:nowrap}
.sp-phase-label strong{display:block;margin-top:.55rem;font-size:1rem;font-weight:700;line-height:1.35;letter-spacing:-.01em;color:var(--forest)}
.sp-route{margin:0;padding:0;list-style:none}
.sp-page .sp-route a{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:.75rem;min-height:44px;padding:.6rem 0;color:var(--ink)}
.sp-route-n{display:grid;place-items:center;width:22px;height:22px;margin-top:.05rem;border:1px solid var(--route);border-radius:50%;color:var(--forest);font-size:.6875rem;font-weight:700;font-variant-numeric:tabular-nums}
.sp-route-t strong{display:block;font-size:.875rem;font-weight:600;line-height:1.4}
.sp-route-t small{display:block;margin-top:.15rem;font-size:.75rem;line-height:1.4;color:var(--muted)}
.sp-route a:hover strong{text-decoration:underline;text-decoration-color:var(--leaf);text-underline-offset:4px}
.sp-route a:hover .sp-route-n{border-color:var(--forest);background:var(--forest);color:var(--lime)}

/* Phases and steps */
.sp-body{padding:var(--section) 0}
.sp-phase{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(2rem,5vw,4.5rem);align-items:start;scroll-margin-top:100px}
.sp-phase+.sp-phase{margin-top:clamp(2.75rem,5vw,4rem);padding-top:clamp(2.75rem,5vw,4rem);border-top:1px solid var(--line)}
.sp-page .sp-phase-kicker{display:flex}
.sp-page .sp-phase-aside h2{margin-top:.65rem}
.sp-page .sp-phase-summary{margin-top:.75rem;max-width:42ch;font-size:var(--t-small);line-height:1.65;color:var(--muted)}
.sp-phase-aside img{display:block;width:100%;aspect-ratio:3/2;margin-top:1.25rem;object-fit:cover;border-radius:var(--r-card);background:var(--line)}

.sp-steps{--disc:32px;margin:0;padding:0;list-style:none}
.sp-step{position:relative;padding:0 0 2.25rem calc(var(--disc) + 1rem);scroll-margin-top:100px}
.sp-step:last-child{padding-bottom:0}
.sp-step::before{content:'';position:absolute;left:calc(var(--disc) / 2 - 1px);top:calc(var(--disc) + .4rem);bottom:.4rem;width:2px;border-radius:2px;background:var(--route)}
.sp-step:last-child::before{display:none}
.sp-step-n{position:absolute;left:0;top:0;display:grid;place-items:center;width:var(--disc);height:var(--disc);border-radius:50%;background:var(--forest);color:var(--lime);font-size:.875rem;font-weight:700;font-variant-numeric:tabular-nums}
.sp-step-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem 1rem;min-height:var(--disc)}
.sp-page .sp-step h3{font-size:var(--t-h3);font-weight:700;letter-spacing:-.015em;line-height:1.35}
.sp-page .sp-who{margin-top:.2rem;font-size:.8125rem;color:var(--muted)}
.sp-who strong{font-weight:700;color:var(--ink)}
.sp-page .sp-text{margin-top:.75rem;max-width:64ch;font-size:var(--t-small);line-height:1.7}
.sp-page .sp-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem;background:#fff;border:1px solid var(--line);border-radius:12px}
.sp-roles>div{padding:.9rem 1rem}
.sp-roles>div+div{border-left:1px solid var(--line)}
.sp-roles dt{font-size:.75rem;font-weight:700;color:var(--leaf)}
.sp-roles .sp-you dt{color:var(--forest)}
.sp-page .sp-roles dd{margin:.3rem 0 0;font-size:.875rem;line-height:1.6}
.sp-page .sp-roles a{display:flex;align-items:center;gap:.4rem;width:fit-content;min-height:40px;margin-top:.1rem;color:var(--forest);font-weight:700;text-decoration:underline;text-decoration-color:var(--leaf);text-underline-offset:4px}
.sp-roles a svg{width:15px;height:15px}
.sp-page .sp-track{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;font-weight:600;color:var(--muted)}
.sp-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 .6rem;border-radius:999px;background:var(--tint);color:var(--forest);font-size:.75rem;font-weight:700;line-height:1;white-space:nowrap}
.sp-page .sp-note{display:flex;gap:.55rem;margin-top:.85rem;max-width:64ch;font-size:.8125rem;line-height:1.6;color:var(--muted)}
.sp-note svg{width:17px;height:17px;margin-top:.1rem;color:var(--leaf)}
.sp-before{margin-top:.85rem;max-width:64ch;padding:.85rem 1rem;border:1px dashed #c9d3ca;border-radius:12px}
.sp-page .sp-before-title{font-size:.8125rem;font-weight:700;color:var(--forest)}
.sp-before ul{list-style:none;margin:.45rem 0 0;padding:0}
.sp-before li{display:flex;gap:.5rem;padding:.2rem 0;font-size:.875rem;line-height:1.55}
.sp-before svg{width:16px;height:16px;flex:none;margin-top:.15rem;color:var(--leaf)}

/* Before deciding: what to check, and what Lucent states openly */
.sp-check{background:var(--deep);color:#fff;padding:var(--section) 0}
.sp-check-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.sp-page .sp-check-lead{margin-top:.75rem;max-width:52ch;font-size:var(--t-small);line-height:1.65;color:var(--mist)}
.sp-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:2rem;margin-top:1.75rem}
.sp-checklist>div{padding:1rem 0;border-top:1px solid var(--hair-dark)}
.sp-checklist dt{font-size:.9375rem;font-weight:700}
.sp-page .sp-checklist dd{margin-top:.3rem;font-size:.875rem;line-height:1.6;color:var(--mist)}
.sp-open{padding:1.5rem;border-radius:var(--r-card);background:var(--forest)}
.sp-open h3{font-size:var(--t-h3);font-weight:700}
.sp-open ul{display:grid;gap:1rem;margin:1rem 0 .75rem;padding:0;list-style:none}
.sp-open li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:.75rem}
.sp-open li svg{width:18px;height:18px;margin-top:.15rem;color:var(--lime)}
.sp-open strong{display:block;font-size:.9375rem;font-weight:700}
.sp-page .sp-open p{margin-top:.25rem;font-size:.875rem;line-height:1.6;color:var(--mist)}
.sp-open .lx-link-light{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem}

/* Closing doors */
.sp-close-doors{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem}
.sp-close-doors .lx-btn{min-height:48px;font-size:.9375rem}
.sp-page .sp-close-doors .lx-faq-all{margin-top:0;text-decoration:underline;text-underline-offset:5px}

@media (min-width:981px) and (min-height:760px){
  .sp-phase-aside{position:sticky;top:110px}
}
@media (max-width:980px){
  .sp-hero-inner{min-height:0;padding-bottom:2rem}
  .sp-hero-copy{width:100%}
  .sp-page .sp-hero-photo{position:relative;width:100%;aspect-ratio:2.4/1}
  .sp-phase-list{grid-template-columns:minmax(0,1fr)}
  .sp-phase-list>li,.sp-phase-list>li:first-child,.sp-phase-list>li:last-child{padding:1.1rem 0}
  .sp-phase-list>li+li{border-left:0;border-top:1px solid var(--line)}
  .sp-route{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
  .sp-phase,.sp-check-grid{grid-template-columns:minmax(0,1fr)}
  .sp-phase-aside img{aspect-ratio:2.4/1}
}
@media (max-width:620px){
  .sp-hero h1{font-size:clamp(1.85rem,7.8vw,2.25rem)}
  .sp-page .sp-lead{font-size:.9375rem}
  .sp-doors .lx-btn{width:100%}
  .sp-route{grid-template-columns:minmax(0,1fr)}
  .sp-steps{--disc:28px}
  .sp-step{padding-left:calc(var(--disc) + .8rem)}
  .sp-page .sp-roles{grid-template-columns:minmax(0,1fr)}
  .sp-roles>div+div{border-left:0;border-top:1px solid var(--line)}
  .sp-checklist{grid-template-columns:minmax(0,1fr)}
  .sp-open{padding:1.25rem}
}
