/* Public tutorial page */
.tutorial-page{padding:28px 0 8px}
.tutorial-page-head{position:relative;overflow:hidden;padding:34px;border:1px solid var(--rz-theme-border);border-radius:26px;background:linear-gradient(135deg,var(--rz-theme-surface2),color-mix(in srgb,var(--rz-theme-primary) 18%,var(--rz-theme-surface)));color:var(--rz-theme-text)}
.tutorial-page-head::after{content:"▶";position:absolute;right:30px;top:50%;transform:translateY(-50%);font-size:110px;font-weight:950;color:color-mix(in srgb,var(--rz-theme-primary2) 16%,transparent);pointer-events:none}
.tutorial-page-head>div{position:relative;z-index:1;max-width:760px}
.tutorial-page-kicker{display:inline-flex;margin-bottom:12px;color:var(--rz-theme-link);font-size:12px;font-weight:950;letter-spacing:.08em}
.tutorial-page-head h1{margin:0;font-size:clamp(30px,5vw,48px);line-height:1.05;letter-spacing:-.04em;color:var(--rz-theme-text)}
.tutorial-page-head p{max-width:700px;margin:14px 0 0;color:var(--rz-theme-muted);font-size:16px;line-height:1.65}
.tutorial-duration{display:inline-flex;margin-top:16px;padding:7px 10px;border:1px solid var(--rz-theme-border);border-radius:999px;background:var(--rz-theme-soft);color:var(--rz-theme-link);font-size:12px;font-weight:900}
.tutorial-page-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:18px;margin-top:18px}
.tutorial-video-card,.tutorial-steps-card,.tutorial-help-card{border:1px solid var(--rz-theme-border);border-radius:22px;background:var(--rz-theme-surface);color:var(--rz-theme-text);overflow:hidden}
.tutorial-video-card{min-height:360px;display:grid;place-items:center;background:var(--rz-theme-soft)}
.tutorial-video-card video,.tutorial-youtube-shell,.tutorial-external-video{width:100%;height:100%;min-height:360px;aspect-ratio:16/9}
.tutorial-video-card video{display:block;background:#000;object-fit:contain}
.tutorial-youtube-shell{position:relative;display:grid;place-items:center;overflow:hidden;background:#020617}
.tutorial-youtube-shell img,.tutorial-external-video>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tutorial-youtube-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tutorial-youtube-play{position:relative;z-index:2;width:70px;height:70px;border:0;border-radius:999px;display:grid;place-items:center;background:linear-gradient(135deg,var(--rz-theme-primary),var(--rz-theme-primary2));color:var(--rz-theme-on-primary);font-size:25px;box-shadow:0 16px 36px rgba(0,0,0,.28);cursor:pointer}
.tutorial-external-video{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:#fff!important;overflow:hidden}
.tutorial-external-video::after{content:"";position:absolute;inset:0;background:rgba(2,6,23,.52)}
.tutorial-external-video strong,.tutorial-external-video small{position:relative;z-index:2}
.tutorial-external-video strong{font-size:20px}.tutorial-external-video small{color:rgba(255,255,255,.74)}
.tutorial-video-placeholder{padding:34px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--rz-theme-text)}
.tutorial-video-placeholder img{width:120px;height:120px;border-radius:26px;object-fit:contain;background:#fff}
.tutorial-video-placeholder>span{width:76px;height:76px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(135deg,var(--rz-theme-primary),var(--rz-theme-primary2));color:var(--rz-theme-on-primary);font-size:28px}
.tutorial-video-placeholder strong{font-size:19px}.tutorial-video-placeholder small{color:var(--rz-theme-muted)}
.tutorial-steps-card{padding:22px}
.tutorial-steps-head span{color:var(--rz-theme-link);font-size:11px;font-weight:950;letter-spacing:.08em}
.tutorial-steps-head h2{margin:5px 0 16px;font-size:26px;color:var(--rz-theme-text)}
.tutorial-steps-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.tutorial-steps-list li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;align-items:start;padding:11px;border:1px solid var(--rz-theme-border);border-radius:15px;background:var(--rz-theme-soft)}
.tutorial-steps-list li>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--rz-theme-primary),var(--rz-theme-primary2));color:var(--rz-theme-on-primary);font-size:14px;font-weight:950}
.tutorial-steps-list p{margin:5px 0 0;color:var(--rz-theme-text);font-size:14px;line-height:1.5}
.tutorial-help-card{margin-top:18px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.tutorial-help-card span{color:var(--rz-theme-link);font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
.tutorial-help-card h2{margin:5px 0;font-size:23px;color:var(--rz-theme-text)}
.tutorial-help-card p{margin:0;color:var(--rz-theme-muted);line-height:1.5}
.tutorial-help-card .btn{flex:0 0 auto;background:linear-gradient(135deg,var(--rz-theme-primary),var(--rz-theme-primary2));color:var(--rz-theme-on-primary)!important}
@media(max-width:900px){.tutorial-page-grid{grid-template-columns:1fr}.tutorial-video-card{min-height:0}.tutorial-video-card video,.tutorial-youtube-shell,.tutorial-external-video{min-height:0}}
@media(max-width:650px){
  .tutorial-page{padding-top:16px}
  .tutorial-page-head{padding:23px 19px;border-radius:20px}.tutorial-page-head::after{font-size:74px;right:6px;top:36px}.tutorial-page-head h1{font-size:31px}.tutorial-page-head p{font-size:14px;line-height:1.55}
  .tutorial-page-grid{gap:13px;margin-top:13px}.tutorial-video-card,.tutorial-steps-card,.tutorial-help-card{border-radius:18px}.tutorial-steps-card{padding:16px}.tutorial-steps-head h2{font-size:22px}.tutorial-steps-list li{grid-template-columns:36px minmax(0,1fr);gap:9px;padding:9px}.tutorial-steps-list li>span{width:34px;height:34px;border-radius:10px}.tutorial-steps-list p{margin-top:3px;font-size:13px}
  .tutorial-help-card{padding:17px;align-items:stretch;flex-direction:column}.tutorial-help-card h2{font-size:20px}.tutorial-help-card .btn{text-align:center}
}

