.tutorial-hero{
  position:relative;
  overflow-x:clip;
  border-bottom:1px solid var(--color-ink-line);
}
.tutorial-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:radial-gradient(var(--color-grid-dot) 1px,transparent 1.5px);
  background-size:26px 26px;
  pointer-events:none;
}
.tutorial-grid-decor{
  position:absolute;
  top:-180px;
  right:-140px;
  width:520px;
  height:520px;
  border:1px dashed var(--color-ring);
  border-radius:var(--radius-pill);
  pointer-events:none;
}
.tutorial-grid-decor::before,
.tutorial-grid-decor::after{
  content:"";
  position:absolute;
  border:1px solid var(--color-ring);
  border-radius:var(--radius-pill);
}
.tutorial-grid-decor::before{
  inset:74px;
}
.tutorial-grid-decor::after{
  inset:154px;
  border-color:var(--color-accent);
  box-shadow:0 0 34px var(--color-glow);
}
.tutorial-hero-inner{
  position:relative;
  z-index:2;
  padding-top:clamp(72px,9vw,112px);
  padding-bottom:clamp(70px,9vw,108px);
}
.tutorial-hero .eyebrow{
  border-color:var(--color-ink-line);
  background:var(--color-ink-panel);
  color:var(--color-ink-muted);
}
.tutorial-hero h1{
  max-width:760px;
  color:var(--color-ink-text);
}
.tutorial-lead{
  max-width:720px;
  margin:22px 0 0;
  color:var(--color-ink-muted);
  font-size:18px;
}
.tutorial-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.tutorial-facts{
  display:flex;
  flex-wrap:wrap;
  gap:9px 24px;
  margin:26px 0 0;
  padding:0;
  color:var(--color-ink-muted);
  font-size:13px;
  list-style:none;
}
.tutorial-facts li{
  display:flex;
  align-items:center;
  gap:8px;
}
.tutorial-facts li::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 auto;
  border-radius:var(--radius-pill);
  background:var(--color-accent);
  box-shadow:0 0 10px var(--color-glow-strong);
}
.tutorial-body{
  background:var(--color-bg);
}
.tutorial-layout{
  position:relative;
}
.tutorial-intro{
  margin-bottom:48px;
  font-size:17px;
}
.tutorial-intro > p{
  color:var(--color-muted);
}
.tutorial-intro a,
.guide-step a:not(.btn){
  color:var(--color-accent-dark);
  text-decoration:underline;
  text-underline-offset:3px;
}
.tutorial-flow{
  counter-reset:guide-step;
}
.guide-step{
  position:relative;
  display:grid;
  grid-template-columns:52px minmax(0,1fr);
  gap:22px;
  padding-bottom:72px;
  counter-increment:guide-step;
}
.guide-step:last-child{
  padding-bottom:0;
}
.guide-step::before{
  content:"";
  position:absolute;
  top:48px;
  bottom:0;
  left:25px;
  width:1px;
  background:var(--color-border);
}
.guide-step:last-child::before{
  display:none;
}
.step-marker{
  position:relative;
  z-index:2;
  display:grid;
  width:52px;
  height:52px;
  place-items:center;
  border:1px solid var(--color-accent);
  border-radius:var(--radius-md);
  background:var(--color-panel);
  box-shadow:0 0 22px var(--color-glow);
  color:var(--color-accent-dark);
  font-family:var(--font-mono);
  font-weight:800;
}
.step-marker::before{
  content:counter(guide-step);
}
.step-content{
  min-width:0;
  padding:4px 0 0;
}
.step-content h2{
  margin-bottom:24px;
  font-size:clamp(30px,4vw,44px);
}
.step-content > p{
  margin-bottom:18px;
}
.step-kicker{
  margin:0 0 8px;
  color:var(--color-accent-dark);
  font-family:var(--font-mono);
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
}
.step-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.platform-setup-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:30px 0;
}
.platform-setup{
  min-width:0;
  padding:24px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-panel);
}
.platform-setup h3{
  margin-bottom:14px;
  font-size:22px;
}
.platform-setup p{
  color:var(--color-muted);
  font-size:15px;
}
.platform-setup p:last-child{
  margin-bottom:0;
}
.next-reading{
  margin-top:34px;
  padding:28px;
  border:1px solid var(--color-border);
  border-radius:var(--radius-md);
  background:var(--color-panel-soft);
}
.next-reading h3{
  margin-bottom:12px;
}
.next-reading p{
  color:var(--color-muted);
}
.next-reading .article-link{
  display:inline-flex;
  min-height:44px;
  align-items:center;
  font-weight:700;
}
@media(max-width:768px){
  .tutorial-grid-decor{
    top:-90px;
    right:-220px;
    width:400px;
    height:400px;
  }
  .tutorial-lead{
    font-size:16px;
  }
  .platform-setup-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .tutorial-actions{
    width:100%;
    flex-direction:column;
  }
  .tutorial-actions .btn{
    width:100%;
  }
  .tutorial-facts{
    display:grid;
    gap:8px;
  }
  .guide-step{
    grid-template-columns:38px minmax(0,1fr);
    gap:14px;
    padding-bottom:58px;
  }
  .guide-step::before{
    top:38px;
    left:18px;
  }
  .step-marker{
    width:38px;
    height:38px;
    border-radius:var(--radius-sm);
    font-size:13px;
  }
  .step-content{
    padding-top:0;
  }
  .step-content h2{
    margin-bottom:20px;
  }
  .platform-setup,
  .next-reading{
    padding:20px;
  }
}