/* Video Tutorial page: the dark brand band holds the title, the player and its chapter list; below it, on the
   light site page, three next-step cards. Colours: brand dark #0B181A and the gold action gradient. */
.tut{font-size:15px;line-height:1.6;--tut-ink:var(--gsein-dark,#0B181A);--tut-ink-2:#13272A;--tut-gold:#F3D27A;
  --tut-action:linear-gradient(135deg,#F6DA85 0%,#E2B04A 52%,#C9952F 100%);
  --tut-card:#fff;--tut-line:#E6E3DA;--tut-fg:#14211F;--tut-muted:#5E6B68;--tut-soft:#9FB3AE;
  background:var(--gsein-light,#FBFAF6);color:var(--tut-fg);padding-bottom:64px}
.tut .cov-num{font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.tut :focus-visible{outline:2px solid var(--tut-gold);outline-offset:2px}
.tut-band{background:radial-gradient(1200px 400px at 85% -10%,#1C3A3D 0,transparent 60%),var(--tut-ink);color:#E9F1EF;padding-bottom:56px}
.tut-hero{display:grid;gap:14px;padding:56px 0 28px}
.tut-hero h1{margin:0;color:#fff}
html[dir="rtl"] .tut-hero h1{letter-spacing:0;line-height:1.3}

/* Player and chapters side by side; the frame keeps 16:9 from the first paint, so nothing moves when the video loads. */
.tut-stage{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.tut-player{margin:0;min-width:0}
.tut-frame{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:#071211;
  border:1px solid rgba(243,210,122,.22);box-shadow:0 30px 80px -34px rgba(0,0,0,.75),0 0 0 6px rgba(255,255,255,.025)}
.tut-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#071211}
.tut-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:14px;color:var(--tut-soft);font-size:13px;line-height:1.5}
.tut-tag{display:inline-flex;align-items:center;padding:2px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;color:#E9F1EF;font-size:12.5px}
.tut-note{flex:1 1 220px}

.tut-chapters{background:var(--tut-ink-2);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:16px}
.tut-chapters h2{margin:4px 6px 12px;color:#fff}
.tut-chapters ol{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.tut-chapters button{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;width:100%;margin:0;padding:12px;
  border:1px solid transparent;border-radius:12px;background:transparent;color:#E9F1EF;text-align:start;cursor:pointer;overflow:hidden;
  transition:background-color .2s ease,border-color .2s ease}
.tut-chapters button:hover{background:rgba(255,255,255,.05)}
.tut-chapters button[aria-current="true"]{background:rgba(243,210,122,.08);border-color:rgba(243,210,122,.3)}
.tut-time{min-width:2.9em;padding-top:1px;color:var(--tut-soft);font-size:13px;transition:color .2s ease}
.tut-chapters button[aria-current="true"] .tut-time{color:var(--tut-gold)}
.tut-copy{display:grid;gap:2px;min-width:0}
.tut-copy strong{color:#fff;font-size:15px;font-weight:600;line-height:1.4}
.tut-copy small{color:var(--tut-soft);font-size:13px;line-height:1.5}
/* How far the current chapter has played (--p from 0 to 1, set by tutorial.js). */
.tut-bar{position:absolute;inset-inline-start:0;bottom:0;height:2px;width:calc(var(--p,0) * 100%);background:var(--tut-action);opacity:0;transition:opacity .2s ease}
.tut-chapters button[aria-current="true"] .tut-bar{opacity:1}

/* Next steps */
.tut-next{padding-top:40px;display:grid;gap:16px}
.tut-next h2{margin:0;font-size:20px;font-weight:700;letter-spacing:-.01em}
html[dir="rtl"] .tut-next h2{letter-spacing:0}
.tut-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tut-card{display:grid;gap:6px;align-content:start;padding:20px;background:var(--tut-card);border:1px solid var(--tut-line);border-radius:18px;color:var(--tut-fg);text-decoration:none;
  box-shadow:0 1px 2px rgba(11,24,26,.04),0 8px 24px -16px rgba(11,24,26,.18);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.tut-card:hover{transform:translateY(-2px);border-color:rgba(201,149,47,.5);box-shadow:0 2px 4px rgba(11,24,26,.05),0 16px 32px -18px rgba(11,24,26,.28)}
.tut-card-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:6px;border-radius:10px;background:var(--tut-action);color:var(--tut-ink)}
.tut-card-icon svg{width:20px;height:20px}
.tut-card strong{font-size:16px;font-weight:700;line-height:1.35}
.tut-card small{color:var(--tut-muted);font-size:13.5px;line-height:1.55}

/* The player, the chapters and the cards come in softly after the page appears. */
.tut-stage>*,.tut-next{animation:tut-in .42s cubic-bezier(.2,.7,.2,1) both}
.tut-stage>*+*{animation-delay:.06s}
.tut-next{animation-delay:.12s}
@keyframes tut-in{from{opacity:0;transform:translateY(10px)}}

@media(max-width:1040px){.tut-stage{grid-template-columns:minmax(0,1fr)}.tut-chapters ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tut-hero{padding:40px 0 22px}.tut-band{padding-bottom:40px}.tut-frame{border-radius:14px}.tut-chapters{padding:12px}.tut-chapters ol{grid-template-columns:minmax(0,1fr)}.tut-cards{grid-template-columns:minmax(0,1fr)}.tut-next{padding-top:32px}}
@media(prefers-reduced-motion:reduce){.tut-stage>*,.tut-next{animation:none}.tut-card,.tut-card:hover{transition:none;transform:none}.tut-bar{transition:none}}
