.tutorial-hero{
  position:relative;
  padding-top:clamp(72px,9vw,124px);
  padding-bottom:clamp(72px,9vw,118px);
  background:
    radial-gradient(circle at 82% 18%,var(--cyan-glow),transparent 34%),
    radial-gradient(circle at 16% 86%,var(--white-glow),transparent 32%),
    linear-gradient(145deg,var(--deep-top),var(--deep-bottom));
  color:var(--hero-text);
  overflow:clip;
}
.tutorial-hero::before{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(var(--hero-line) 1px,transparent 1px),
    linear-gradient(90deg,var(--hero-line) 1px,transparent 1px);
  background-size:54px 54px;
  content:"";
  opacity:.18;
  pointer-events:none;
}
.tutorial-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(330px,.72fr);
  gap:clamp(48px,7vw,94px);
  align-items:center;
}
.tutorial-intro{
  min-width:0;
}
.tutorial-intro .section-kicker{
  color:var(--accent);
}
.tutorial-intro h1{
  max-width:820px;
  margin-bottom:24px;
  color:var(--hero-text);
  font-size:clamp(34px,4.2vw,48px);
  font-weight:880;
  letter-spacing:-.035em;
}
.tutorial-lead{
  max-width:720px;
  margin-bottom:28px;
  color:var(--hero-text-soft);
  font-size:18px;
}
.tutorial-hero .btn-secondary{
  border-color:var(--hero-chip-border);
  background:var(--hero-chip);
  color:var(--hero-text);
}
.tutorial-hero .btn-secondary:hover{
  background:var(--glass);
  color:var(--hero-text);
}
.tutorial-facts{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:28px;
}
.tutorial-facts .chip{
  border:1px solid var(--hero-chip-border);
  background:var(--hero-chip);
  color:var(--hero-text-soft);
}
.route-board{
  position:relative;
  min-width:0;
  padding:26px;
  border:1px solid var(--glass-border);
  border-radius:var(--radius-xl);
  background:var(--glass);
  box-shadow:0 30px 72px var(--deep-shadow);
  backdrop-filter:blur(14px);
}
.route-board::after{
  position:absolute;
  z-index:-1;
  inset:18px -18px -18px 18px;
  border:1px solid var(--hero-chip-border);
  border-radius:var(--radius-xl);
  content:"";
}
.route-board-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-bottom:18px;
  border-bottom:1px solid var(--hero-chip-border);
}
.route-board-head span{
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
}
.route-board-head strong{
  color:var(--hero-text);
}
.route-list{
  position:relative;
  display:grid;
  gap:10px;
  margin:22px 0;
  padding:0;
  list-style:none;
}
.route-list::before{
  position:absolute;
  top:28px;
  bottom:28px;
  left:21px;
  width:2px;
  background:linear-gradient(var(--accent),var(--hero-line));
  content:"";
}
.route-list li{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  align-items:center;
  gap:15px;
  padding:12px;
  border:1px solid var(--hero-chip-border);
  border-radius:var(--radius-md);
  background:var(--hero-chip);
}
.route-number{
  display:grid;
  width:44px;
  height:44px;
  flex-shrink:0;
  place-items:center;
  border:1px solid var(--glass-border);
  border-radius:var(--radius-pill);
  background:var(--deep);
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:12px;
  font-weight:700;
}
.route-list strong{
  display:block;
  color:var(--hero-text);
}
.route-list small{
  display:block;
  margin-top:2px;
  color:var(--hero-text-faint);
  font-family:var(--font-mono);
}
.route-status{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--hero-text-soft);
  font-size:13px;
}
.route-status .status-dot{
  width:8px;
  height:8px;
  border-radius:var(--radius-pill);
  background:var(--success);
  box-shadow:0 0 0 6px var(--panel-halo);
}
.platform-prompt{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin-top:30px;
  padding:22px 24px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--bg);
}
.platform-prompt p{
  flex:0 1 280px;
  margin:0;
  color:var(--text-muted);
}
.platform-prompt .platform-pills{
  justify-content:flex-end;
}
.tutorial-step-section{
  scroll-margin-top:20px;
}
.step-layout{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:clamp(34px,6vw,84px);
  align-items:start;
}
.step-marker{
  position:sticky;
  top:32px;
  display:flex;
  min-height:180px;
  flex-direction:column;
  justify-content:center;
  padding:22px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--bg);
  box-shadow:0 18px 44px var(--soft-shadow);
}
.step-marker span,
.step-marker small{
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.12em;
}
.step-marker strong{
  color:var(--accent-dark);
  font-family:var(--font-display);
  font-size:48px;
  line-height:1.1;
}
.step-content{
  min-width:0;
}
.step-content > h2{
  max-width:840px;
  margin-bottom:28px;
}
.step-content > p{
  max-width:860px;
  font-size:17px;
}
.step-check{
  max-width:860px;
  margin:34px 0;
  padding:26px 28px;
  border-left:5px solid var(--accent);
  border-radius:var(--radius-md);
  background:var(--bg-panel-strong);
}
.step-check h3{
  margin-bottom:12px;
  font-size:21px;
}
.step-check ul{
  margin-bottom:0;
  padding-left:22px;
}
.step-content .callout{
  max-width:860px;
}
.mode-compare{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  max-width:100%;
  margin:38px 0;
}
.mode-compare article{
  min-width:0;
  padding:24px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--bg);
}
.mode-compare h3{
  margin-top:16px;
  font-size:21px;
}
.mode-compare p{
  margin-bottom:0;
  color:var(--text-muted);
}
.verify-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  max-width:100%;
  margin:38px 0;
}
.verify-grid .card{
  padding:24px;
}
.verify-grid .card h3{
  font-size:21px;
}
.verify-grid .card p:last-child{
  margin-bottom:0;
}
.diagnostic-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  background:var(--border);
  overflow:clip;
}
.diagnostic-flow article{
  min-width:0;
  padding:28px 24px;
  background:var(--bg);
}
.diagnostic-flow span{
  display:inline-flex;
  margin-bottom:28px;
  color:var(--accent-dark);
  font-family:var(--font-mono);
  font-size:13px;
  font-weight:700;
}
.diagnostic-flow h3{
  font-size:21px;
}
.diagnostic-flow p{
  margin:0;
  color:var(--text-muted);
}
.tutorial-faq{
  max-width:940px;
  margin-top:48px;
}
.next-reading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:32px;
  align-items:center;
  margin-top:64px;
  padding:clamp(26px,5vw,48px);
  border-radius:var(--radius-lg);
  background:var(--bg-panel-strong);
}
.next-reading p:not(.section-kicker){
  max-width:700px;
  margin-bottom:0;
  color:var(--text-muted);
}
@media (max-width:980px){
  .tutorial-hero-grid{
    grid-template-columns:1fr;
  }
  .route-board{
    max-width:660px;
  }
  .platform-prompt{
    align-items:flex-start;
    flex-direction:column;
  }
  .platform-prompt .platform-pills{
    justify-content:flex-start;
  }
  .diagnostic-flow{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:820px){
  .step-layout{
    grid-template-columns:1fr;
  }
  .step-marker{
    position:static;
    min-height:0;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
  }
  .step-marker strong{
    font-size:32px;
  }
  .mode-compare,
  .verify-grid{
    grid-template-columns:1fr;
  }
  .next-reading{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .tutorial-hero{
    padding-top:42px;
    padding-bottom:68px;
  }
  .tutorial-intro h1{
    font-size:clamp(24px,7.5vw,30px);
    letter-spacing:-.01em;
  }
  .tutorial-lead{
    font-size:16px;
  }
  .route-board{
    padding:18px;
  }
  .route-board::after{
    inset:10px -8px -8px 10px;
  }
  .platform-prompt{
    padding:20px;
  }
  .platform-prompt .platform-pill{
    width:100%;
    justify-content:center;
  }
  .step-content > p{
    font-size:15px;
  }
  .step-check{
    padding:22px;
  }
  .diagnostic-flow{
    grid-template-columns:1fr;
  }
  .next-reading{
    padding:22px;
  }
}