/* ==========================================================================
   TUTORIALS-PALETTE.CSS (2026-08-21)
   --------------------------------------------------------------------------
   Full redesign layer for /tutorials. Loads last, so it re-skins the existing
   tutorials.css components without touching their markup contracts.

   Structure it adds:
     .site-header            homepage navbar, copied 1:1 from index
     .tut-hero-tracks        five entry points in the dark hero
     .tut-layout             sticky sidebar (TOC + track filter) | content
     light content sections  long-form reading on cream, like the homepage

   Palette — all six, each with a job:
     Exotic Orange  #F54F1B  actions, active state, numbers
     Sidecar Yellow #F3E8BC  eyebrows, kickers, dark-surface accents
     Midnight Blue  #1E223D  headings, dark hero base, deep panels
     Masterpiece Red #5A2132 hero glow, hover shadows, track accent
     Authentic Teal #035352  "live"/verified chips, secondary track accent
     Dirty White    #EFE9E9  page surface + dark-surface type
   ========================================================================== */

body.tutorials-page{
  --t-orange:#F54F1B;   --t-orange-rgb:245,79,27;
  --t-yellow:#F3E8BC;   --t-yellow-rgb:243,232,188;
  --t-blue:#1E223D;     --t-blue-rgb:30,34,61;
  --t-red:#5A2132;      --t-red-rgb:90,33,50;
  --t-teal:#035352;     --t-teal-rgb:3,83,82;
  --t-white:#EFE9E9;    --t-white-rgb:239,233,233;

  --t-ink:#141726;
  --t-body:#4a4f60;
  --t-mute:#6b7184;
  --t-line:rgba(30,34,61,.12);
  --t-surface:#ffffff;
  --t-header:66px;

  background:var(--t-white);
  color:var(--t-ink);
}

/* ==========================================================================
   1. NAVBAR — identical to the homepage header
   ========================================================================== */
body.tutorials-page .site-header{
  position:fixed;
  inset:0 0 auto;
  z-index:1000;
  height:var(--t-header);
  border-bottom:1px solid rgba(var(--t-yellow-rgb),.12);
  background:
    radial-gradient(680px 160px at 72% 0%,rgba(var(--t-red-rgb),.2),transparent 64%),
    linear-gradient(180deg,rgba(9,8,12,.92),rgba(9,8,12,.76));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  transition:border-color .25s,background .25s;
}
body.tutorials-page .site-header::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-1px;
  width:min(1120px,88vw);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(var(--t-orange-rgb),.45),transparent);
  pointer-events:none;
}
body.tutorials-page .site-header.is-scrolled{background:rgba(9,8,12,.95)}
body.tutorials-page .nav-shell{
  width:min(100%,1480px);
  height:100%;
  margin:auto;
  padding-inline:clamp(18px,4vw,56px);
  display:flex;
  align-items:center;
  gap:30px;
}
body.tutorials-page .brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--t-white);
  text-decoration:none;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.04em;
}
body.tutorials-page .brand img{display:block;width:44px;height:44px}
body.tutorials-page .brand span span{color:var(--t-orange)}
body.tutorials-page .desktop-nav{
  display:flex;
  align-items:center;
  gap:30px;
  margin-left:auto;
}
body.tutorials-page .desktop-nav a{
  color:#b7afa2;
  text-decoration:none;
  font-size:13px;
  font-weight:650;
  transition:color .2s;
}
body.tutorials-page .desktop-nav a:hover{color:var(--t-yellow)}
body.tutorials-page .desktop-nav a[aria-current="page"]{color:var(--t-orange)}
body.tutorials-page .desktop-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 18px;
  border:1px solid rgba(var(--t-yellow-rgb),.22);
  border-radius:999px;
  color:var(--t-white);
  text-decoration:none;
  font-size:13px;
  font-weight:750;
  transition:transform .2s,border-color .2s,background .2s;
}
body.tutorials-page .desktop-cta:hover{
  transform:translateY(-2px);
  border-color:rgba(var(--t-orange-rgb),.55);
  background:rgba(var(--t-orange-rgb),.1);
}
body.tutorials-page .tx-burger{display:none}
body.tutorials-page .site-header a:focus-visible{
  outline:2px solid var(--t-orange);
  outline-offset:4px;
}
@media(max-width:760px){
  body.tutorials-page{--t-header:66px}
  body.tutorials-page .desktop-nav,
  body.tutorials-page .desktop-cta{display:none}
  body.tutorials-page .tx-burger{
    display:grid;
    position:relative;
    width:42px;
    height:42px;
    margin-left:auto;
    border:1px solid rgba(var(--t-yellow-rgb),.18);
    border-radius:14px;
    background:rgba(255,255,255,.04);
    cursor:pointer;
  }
  body.tutorials-page .tx-burger span{
    position:absolute;
    top:50%;
    left:50%;
    width:6px;
    height:6px;
    border-radius:2px;
    background:var(--t-yellow);
  }
  body.tutorials-page .brand img{width:38px;height:38px}
  body.tutorials-page .brand{font-size:18px}
}

/* ==========================================================================
   2. HERO — dark, warm, like the homepage's opening
   ========================================================================== */
body.tutorials-page .tutorials-expanded-view{background:transparent;padding:0}
body.tutorials-page .tutorials-expanded-shell{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}
body.tutorials-page .tutorials-hero{
  position:relative;
  isolation:isolate;
  display:block;
  margin:0;
  padding:calc(var(--t-header) + clamp(46px,7vh,86px)) clamp(20px,5vw,64px) clamp(46px,6vh,78px);
  border:0;
  border-radius:0;
  overflow:hidden;
  background:
    radial-gradient(900px 460px at 76% 8%,rgba(var(--t-orange-rgb),.16),transparent 62%),
    radial-gradient(760px 520px at 12% 100%,rgba(var(--t-red-rgb),.5),transparent 68%),
    radial-gradient(1200px 700px at 40% 0%,rgba(var(--t-blue-rgb),.85),transparent 70%),
    #0a0a0d;
  color:var(--t-white);
}
body.tutorials-page .tutorials-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(var(--t-orange-rgb),.5),transparent);
}
body.tutorials-page .tutorials-hero-text{
  position:relative;
  z-index:2;
  width:min(1180px,100%);
  margin-inline:auto;
  padding:0;
  background:none;
  border:0;
}
body.tutorials-page .tutorials-pill{
  display:inline-flex;
  align-self:flex-start;
  width:fit-content;
  align-items:center;
  gap:8px;
  padding:7px 14px;
  border:1px solid rgba(var(--t-orange-rgb),.3);
  border-radius:999px;
  background:rgba(var(--t-orange-rgb),.08);
  color:var(--t-yellow);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
body.tutorials-page .tutorials-pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--t-orange);
  box-shadow:0 0 14px rgba(var(--t-orange-rgb),.8);
}
body.tutorials-page .tutorials-title{
  margin:18px 0 12px;
  max-width:18ch;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(38px,5vw,68px);
  font-weight:800;
  line-height:1.02;
  letter-spacing:-.045em;
  color:var(--t-white);
}
body.tutorials-page .tutorials-hero-text > p{
  max-width:62ch;
  color:rgba(var(--t-white-rgb),.66);
  font-size:15.5px;
  line-height:1.7;
}
body.tutorials-page .tutorials-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
body.tutorials-page .tutorials-primary-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 24px;
  border:0;
  border-radius:999px;
  background:linear-gradient(120deg,var(--t-orange),#ff8a5c);
  color:#170604;
  font-size:13.5px;
  font-weight:800;
  box-shadow:0 12px 30px rgba(var(--t-orange-rgb),.28);
  transition:transform .2s,box-shadow .2s;
}
body.tutorials-page .tutorials-primary-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(var(--t-orange-rgb),.4);
}
body.tutorials-page .tutorials-secondary-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:13px 22px;
  border:1px solid rgba(var(--t-yellow-rgb),.22);
  border-radius:999px;
  background:rgba(255,255,255,.03);
  color:var(--t-white);
  font-size:13.5px;
  font-weight:700;
  transition:border-color .2s,background .2s,transform .2s;
}
body.tutorials-page .tutorials-secondary-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(var(--t-yellow-rgb),.5);
  background:rgba(var(--t-yellow-rgb),.07);
}

/* ---- learning tracks: five doors into the library ---- */
body.tutorials-page .tut-hero-tracks{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-top:30px;
}
body.tutorials-page .tut-hero-track{
  --k:var(--t-orange-rgb);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:15px 16px 16px;
  border:1px solid rgba(var(--t-white-rgb),.09);
  border-radius:16px;
  background:linear-gradient(180deg,rgba(var(--t-white-rgb),.05),rgba(var(--t-white-rgb),.015));
  color:var(--t-white);
  text-decoration:none;
  overflow:hidden;
  transition:transform .24s cubic-bezier(.16,1,.3,1),border-color .24s,background .24s,box-shadow .24s;
}
body.tutorials-page .tut-hero-track::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,transparent,rgb(var(--k)),transparent);
  opacity:.5;
  transition:opacity .24s;
}
body.tutorials-page .tut-hero-track:hover{
  transform:translateY(-4px);
  border-color:rgba(var(--k),.45);
  background:linear-gradient(180deg,rgba(var(--k),.14),rgba(var(--t-white-rgb),.02));
  box-shadow:0 18px 40px rgba(0,0,0,.36);
}
body.tutorials-page .tut-hero-track:hover::before{opacity:1}
body.tutorials-page .tut-hero-track__k{
  color:rgb(var(--k));
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
body.tutorials-page .tut-hero-track strong{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:18px;
  font-weight:750;
  letter-spacing:-.02em;
}
body.tutorials-page .tut-hero-track small{
  color:rgba(var(--t-white-rgb),.55);
  font-size:11.5px;
  line-height:1.45;
}
body.tutorials-page .tut-hero-track--basics{--k:var(--t-yellow-rgb)}
body.tutorials-page .tut-hero-track--image{--k:var(--t-teal-rgb)}
body.tutorials-page .tut-hero-track--model{--k:var(--t-orange-rgb)}
body.tutorials-page .tut-hero-track--animate{--k:var(--t-red-rgb)}
body.tutorials-page .tut-hero-track--print{--k:var(--t-yellow-rgb)}
body.tutorials-page .tut-hero-track--animate .tut-hero-track__k{color:#e39aae}
body.tutorials-page .tut-hero-track--image .tut-hero-track__k{color:#7fd6cf}

body.tutorials-page .tutorials-hero-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:26px 0 0;
  padding:20px 0 0;
  border-top:1px solid rgba(var(--t-white-rgb),.08);
  list-style:none;
}
body.tutorials-page .tutorials-hero-stats li{
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:0;
  border:0;
  background:none;
}
body.tutorials-page .tutorials-hero-stats span{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
  color:var(--t-yellow);
}
body.tutorials-page .tutorials-hero-stats small{
  color:rgba(var(--t-white-rgb),.45);
  font-size:11px;
  line-height:1.4;
}
body.tutorials-page .tutorials-watermark{
  position:absolute;
  right:clamp(-10px,-1vw,0px);
  bottom:-6%;
  z-index:0;
  color:rgba(var(--t-white-rgb),.03);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(140px,20vw,300px);
  font-weight:800;
  letter-spacing:-.06em;
  pointer-events:none;
}

/* ==========================================================================
   3. LAYOUT — sticky sidebar + light reading column
   ========================================================================== */
body.tutorials-page .tut-layout{
  display:grid;
  grid-template-columns:264px minmax(0,1fr);
  gap:clamp(28px,4vw,64px);
  width:min(1480px,100%);
  margin-inline:auto;
  padding:clamp(34px,5vh,64px) clamp(20px,5vw,64px) clamp(60px,9vh,110px);
  background:
    radial-gradient(circle at 10% 0%,rgba(var(--t-yellow-rgb),.5),transparent 32%),
    radial-gradient(circle at 92% 8%,rgba(var(--t-teal-rgb),.1),transparent 30%),
    var(--t-white);
}
body.tutorials-page .tut-sidebar{position:relative}
body.tutorials-page .tut-sidebar__inner{
  position:sticky;
  top:calc(var(--t-header) + 22px);
  display:flex;
  flex-direction:column;
  gap:14px;
  max-height:calc(100vh - var(--t-header) - 44px);
  padding:18px 16px;
  border:1px solid var(--t-line);
  border-radius:20px;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  box-shadow:0 18px 44px rgba(30,34,61,.07);
  overflow:auto;
  scrollbar-width:thin;
}
body.tutorials-page .tut-sidebar__eyebrow{
  margin:0;
  color:var(--t-mute);
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
body.tutorials-page .tut-tracks{display:flex;flex-wrap:wrap;gap:6px}
body.tutorials-page .tut-track{
  padding:6px 11px;
  border:1px solid var(--t-line);
  border-radius:999px;
  background:#fff;
  color:var(--t-body);
  font:700 11px/1 Inter,system-ui,sans-serif;
  cursor:pointer;
  transition:all .18s ease;
}
body.tutorials-page .tut-track:hover{
  border-color:rgba(var(--t-orange-rgb),.45);
  color:var(--t-ink);
}
body.tutorials-page .tut-track.is-active{
  border-color:transparent;
  background:var(--t-blue);
  color:var(--t-yellow);
}
body.tutorials-page .tut-toc{
  display:flex;
  flex-direction:column;
  gap:1px;
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:none;
}
body.tutorials-page .tut-toc__link{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:7px 10px;
  border-radius:10px;
  color:var(--t-body);
  text-decoration:none;
  font-size:12.5px;
  font-weight:600;
  line-height:1.3;
  transition:background .18s,color .18s;
}
body.tutorials-page .tut-toc__link::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:2px;
  height:0;
  border-radius:2px;
  background:var(--t-orange);
  transform:translateY(-50%);
  transition:height .24s cubic-bezier(.16,1,.3,1);
}
body.tutorials-page .tut-toc__num{
  flex:none;
  color:var(--t-mute);
  font:800 9.5px/1 ui-monospace,monospace;
  letter-spacing:.06em;
  transition:color .18s;
}
body.tutorials-page .tut-toc__link:hover{
  background:rgba(var(--t-yellow-rgb),.35);
  color:var(--t-ink);
}
body.tutorials-page .tut-toc__link.is-current{
  background:rgba(var(--t-orange-rgb),.09);
  color:var(--t-ink);
  font-weight:750;
}
body.tutorials-page .tut-toc__link.is-current::before{height:64%}
body.tutorials-page .tut-toc__link.is-current .tut-toc__num{color:var(--t-orange)}
body.tutorials-page .tut-toc__link.is-dimmed{opacity:.3}
body.tutorials-page .tut-sidebar__cta{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin-top:2px;
  padding:11px 14px;
  border-radius:12px;
  background:var(--t-orange);
  color:#fff;
  text-decoration:none;
  font-size:12.5px;
  font-weight:800;
  transition:transform .2s,box-shadow .2s;
}
body.tutorials-page .tut-sidebar__cta:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(var(--t-orange-rgb),.3);
}
body.tutorials-page .tut-content{min-width:0;display:flex;flex-direction:column;gap:clamp(30px,4vh,52px)}

/* ==========================================================================
   4. SECTIONS + CARDS on light
   ========================================================================== */
body.tutorials-page .tutorials-section{
  scroll-margin-top:calc(var(--t-header) + 22px);
  margin:0;
  padding:0;
  border:0;
  background:none;
  box-shadow:none;
}
body.tutorials-page .tutorials-section.is-hidden{display:none}
body.tutorials-page .tutorials-section-header{
  margin-bottom:18px;
  padding:0 0 14px;
  border-bottom:1px solid var(--t-line);
  background:none;
}
body.tutorials-page .tutorials-section-content h2{
  margin:0 0 8px;
  color:var(--t-ink);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(24px,2.5vw,34px);
  font-weight:750;
  letter-spacing:-.03em;
}
body.tutorials-page .tutorials-section-content > p{
  max-width:74ch;
  color:var(--t-body);
  font-size:14.5px;
  line-height:1.7;
}
body.tutorials-page .tutorials-highlight{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  padding:9px 14px;
  border:1px solid rgba(var(--t-teal-rgb),.22);
  border-left:3px solid var(--t-teal);
  border-radius:0 12px 12px 0;
  background:rgba(var(--t-teal-rgb),.06);
  color:#0b4d4c;
  font-size:13px;
  font-weight:650;
}
body.tutorials-page .tutorials-guides-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(268px,1fr));
  gap:16px;
}
body.tutorials-page .tutorials-card{
  --k:var(--t-orange-rgb);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:20px;
  border:1px solid var(--t-line);
  border-radius:18px;
  background:var(--t-surface);
  box-shadow:0 12px 30px rgba(30,34,61,.05);
  overflow:hidden;
  transition:transform .26s cubic-bezier(.16,1,.3,1),box-shadow .26s,border-color .26s;
}
body.tutorials-page .tutorials-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,rgb(var(--k)),transparent);
  opacity:0;
  transition:opacity .26s;
}
body.tutorials-page .tutorials-card:hover{
  transform:translateY(-5px);
  border-color:rgba(var(--k),.35);
  box-shadow:0 22px 48px rgba(var(--t-red-rgb),.14);
}
body.tutorials-page .tutorials-card:hover::before{opacity:1}
body.tutorials-page .tutorials-guides-grid > .tutorials-card:nth-child(3n+2){--k:var(--t-teal-rgb)}
body.tutorials-page .tutorials-guides-grid > .tutorials-card:nth-child(3n+3){--k:var(--t-red-rgb)}
body.tutorials-page .tutorials-card h3,
body.tutorials-page .tutorials-card__title{
  color:var(--t-ink);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:16.5px;
  font-weight:750;
  letter-spacing:-.02em;
}
body.tutorials-page .tutorials-card p{
  color:var(--t-body);
  font-size:13.5px;
  line-height:1.62;
}
body.tutorials-page .tutorials-card__list{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:2px 0 0;
  padding:0;
  list-style:none;
}
body.tutorials-page .tutorials-card__list li{
  position:relative;
  padding-left:18px;
  color:var(--t-body);
  font-size:13px;
  line-height:1.55;
}
body.tutorials-page .tutorials-card__list li::before{
  content:"";
  position:absolute;
  left:2px;
  top:.55em;
  width:6px;
  height:6px;
  border-radius:2px;
  background:rgb(var(--k));
  opacity:.75;
}
body.tutorials-page .tutorials-card__tag,
body.tutorials-page .tutorials-card__badge{
  align-self:flex-start;
  padding:4px 10px;
  border:1px solid rgba(var(--k),.3);
  border-radius:999px;
  background:rgba(var(--k),.08);
  color:rgb(var(--k));
  font-size:9.5px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* ---- numbered steps ---- */
body.tutorials-page .tutorials-steps-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:14px;
  counter-reset:tutstep;
}
body.tutorials-page .tutorials-step{
  position:relative;
  padding:20px 18px 18px 20px;
  border:1px solid var(--t-line);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,rgba(var(--t-yellow-rgb),.16));
  counter-increment:tutstep;
  transition:transform .24s,box-shadow .24s;
}
body.tutorials-page .tutorials-step::before{
  content:counter(tutstep,decimal-leading-zero);
  display:block;
  margin-bottom:8px;
  color:var(--t-orange);
  font:800 11px/1 ui-monospace,monospace;
  letter-spacing:.1em;
}
body.tutorials-page .tutorials-step:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(30,34,61,.09);
}
body.tutorials-page .tutorials-step h3{
  margin-bottom:5px;
  color:var(--t-ink);
  font-size:15px;
  font-weight:750;
}
body.tutorials-page .tutorials-step p{color:var(--t-body);font-size:13px;line-height:1.6}

/* ---- model showcase sections keep a dark stage ---- */
body.tutorials-page .tutorials-section--with-model .tutorials-model-frame,
body.tutorials-page .tutorials-model-viewer,
body.tutorials-page .tutorials-section model-viewer{
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 30%,rgba(var(--t-orange-rgb),.1),transparent 55%),
    linear-gradient(180deg,#12121a,#0b0b10);
  border:1px solid rgba(var(--t-blue-rgb),.5);
}

/* ---- FAQ ---- */
body.tutorials-page details,
body.tutorials-page .tutorials-faq-item{
  border:1px solid var(--t-line);
  border-radius:14px;
  background:var(--t-surface);
  transition:border-color .2s,box-shadow .2s;
}
body.tutorials-page details:hover,
body.tutorials-page .tutorials-faq-item:hover{
  border-color:rgba(var(--t-orange-rgb),.32);
  box-shadow:0 12px 26px rgba(30,34,61,.06);
}
body.tutorials-page summary{
  color:var(--t-ink);
  font-size:14.5px;
  font-weight:750;
  cursor:pointer;
}
body.tutorials-page summary::marker{color:var(--t-orange)}
body.tutorials-page details[open]{border-color:rgba(var(--t-orange-rgb),.3)}
body.tutorials-page details p{color:var(--t-body)}

/* ---- video section: dark inset panel ---- */
body.tutorials-page #tutorialsVideos{
  padding:clamp(24px,3vw,38px);
  border-radius:24px;
  background:
    radial-gradient(700px 320px at 80% 0%,rgba(var(--t-orange-rgb),.14),transparent 62%),
    linear-gradient(180deg,var(--t-blue),#0c0d16);
  color:var(--t-white);
}
body.tutorials-page #tutorialsVideos .tutorials-section-header{border-bottom-color:rgba(var(--t-white-rgb),.1)}
body.tutorials-page #tutorialsVideos h2{color:var(--t-white)}
body.tutorials-page #tutorialsVideos p{color:rgba(var(--t-white-rgb),.6)}
body.tutorials-page #tutorialsVideos .tutorials-highlight{
  border-color:rgba(var(--t-yellow-rgb),.28);
  border-left-color:var(--t-yellow);
  background:rgba(var(--t-yellow-rgb),.08);
  color:var(--t-yellow);
}
body.tutorials-page #tutorialsVideos .tutorials-card{
  background:rgba(255,255,255,.04);
  border-color:rgba(var(--t-white-rgb),.1);
  box-shadow:none;
}
body.tutorials-page #tutorialsVideos .tutorials-card h3,
body.tutorials-page #tutorialsVideos .tutorials-card__title{color:var(--t-white)}
body.tutorials-page #tutorialsVideos .tutorials-card p,
body.tutorials-page #tutorialsVideos .tutorials-card__list li{color:rgba(var(--t-white-rgb),.6)}

/* ==========================================================================
   5. RESPONSIVE
   ========================================================================== */
@media(max-width:1100px){
  body.tutorials-page .tut-layout{grid-template-columns:1fr;gap:22px}
  body.tutorials-page .tut-sidebar__inner{
    position:static;
    max-height:none;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
  }
  body.tutorials-page .tut-sidebar__eyebrow{width:100%}
  body.tutorials-page .tut-toc{
    flex-direction:row;
    flex-wrap:wrap;
    gap:6px;
    width:100%;
  }
  body.tutorials-page .tut-toc__link{
    padding:6px 11px;
    border:1px solid var(--t-line);
    border-radius:999px;
    font-size:11.5px;
  }
  body.tutorials-page .tut-toc__link::before{display:none}
  body.tutorials-page .tut-sidebar__cta{margin-left:auto;width:auto}
  body.tutorials-page .tut-hero-tracks{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  body.tutorials-page .tut-hero-tracks{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.tutorials-page .tutorials-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.tutorials-page .tutorials-watermark{display:none}
  body.tutorials-page .tut-layout{padding-inline:16px}
}
@media(prefers-reduced-motion:reduce){
  body.tutorials-page .tutorials-card,
  body.tutorials-page .tutorials-step,
  body.tutorials-page .tut-hero-track,
  body.tutorials-page .tut-toc__link::before{transition:none}
  body.tutorials-page .tutorials-card:hover,
  body.tutorials-page .tutorials-step:hover,
  body.tutorials-page .tut-hero-track:hover{transform:none}
}

/* ==========================================================================
   6. FIXES (2026-08-21b)
   --------------------------------------------------------------------------
   a) tutorials.css caps the page at 1400px and paints it #0a0a0a, and the
      shell carries a 16px radius + border — that produced the dark gutters
      and the rounded corners under the header on wide screens.
   b) Three sections were still on their old dark-on-dark colours because they
      use their own card classes: .tutorials-practice-card, .tutorials-faq-card
      and .tutorials-tip-list.
   c) Width now scales with the viewport instead of stopping at 1480px.
   ========================================================================== */

/* ---- a) kill the legacy frame + dark page ---- */
body.tutorials-page{background:var(--t-white)!important}
body.tutorials-page main{background:var(--t-white)}
body.tutorials-page .tutorials-expanded-view{
  max-width:none;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
}
body.tutorials-page .tutorials-expanded-shell{
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}

/* ---- c) breathe on large displays ---- */
body.tutorials-page .tut-layout{width:min(1480px,100%)}
body.tutorials-page .tutorials-hero-text{width:min(1180px,100%)}
@media (min-width:1600px){
  body.tutorials-page .tut-layout{
    width:min(1680px,94vw);
    grid-template-columns:288px minmax(0,1fr);
    gap:clamp(40px,3.6vw,72px);
  }
  body.tutorials-page .tutorials-hero-text{width:min(1400px,94vw)}
  body.tutorials-page .tutorials-hero{padding-inline:clamp(40px,4vw,80px)}
  body.tutorials-page .tutorials-guides-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
}
@media (min-width:2000px){
  body.tutorials-page .tut-layout{
    width:min(1960px,92vw);
    grid-template-columns:320px minmax(0,1fr);
  }
  body.tutorials-page .tutorials-hero-text{width:min(1640px,92vw)}
  body.tutorials-page .tutorials-title{font-size:clamp(56px,3.6vw,78px)}
  body.tutorials-page .tutorials-guides-grid{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}
  body.tutorials-page .tut-hero-tracks{gap:16px}
}

/* ---- b1) Pro Tips: practice cards ---- */
body.tutorials-page .tutorials-best-practices-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:16px;
}
body.tutorials-page .tutorials-practice-card{
  --k:var(--t-orange-rgb);
  position:relative;
  display:flex;
  flex-direction:column;
  gap:9px;
  padding:22px 20px 20px;
  border:1px solid var(--t-line);
  border-radius:18px;
  background:var(--t-surface);
  box-shadow:0 12px 30px rgba(30,34,61,.05);
  overflow:hidden;
  transition:transform .26s cubic-bezier(.16,1,.3,1),box-shadow .26s,border-color .26s;
}
body.tutorials-page .tutorials-practice-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,rgb(var(--k)),transparent);
  opacity:0;
  transition:opacity .26s;
}
body.tutorials-page .tutorials-practice-card:hover{
  transform:translateY(-5px);
  border-color:rgba(var(--k),.35);
  box-shadow:0 22px 48px rgba(var(--t-red-rgb),.14);
}
body.tutorials-page .tutorials-practice-card:hover::before{opacity:1}
body.tutorials-page .tutorials-best-practices-grid > .tutorials-practice-card:nth-child(3n+2){--k:var(--t-teal-rgb)}
body.tutorials-page .tutorials-best-practices-grid > .tutorials-practice-card:nth-child(3n+3){--k:var(--t-red-rgb)}
body.tutorials-page .practice-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid rgba(var(--k),.24);
  border-radius:13px;
  background:rgba(var(--k),.1);
  font-size:19px;
  line-height:1;
}
body.tutorials-page .tutorials-practice-card h3{
  margin:0;
  color:var(--t-ink);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:16.5px;
  font-weight:750;
  letter-spacing:-.02em;
}
body.tutorials-page .tutorials-practice-card p{
  margin:0;
  color:var(--t-body);
  font-size:13.5px;
  line-height:1.62;
}
body.tutorials-page .practice-tips{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:2px 0 0;
  padding:0;
  list-style:none;
}
body.tutorials-page .practice-tips li{
  position:relative;
  padding-left:18px;
  color:var(--t-body);
  font-size:13px;
  line-height:1.55;
}
body.tutorials-page .practice-tips li::before{
  content:"";
  position:absolute;
  left:2px;
  top:.55em;
  width:6px;
  height:6px;
  border-radius:2px;
  background:rgb(var(--k));
  opacity:.75;
}

/* ---- b2) FAQ cards ---- */
body.tutorials-page .tutorials-faq-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:14px;
}
body.tutorials-page .tutorials-faq-card{
  position:relative;
  padding:20px 20px 20px 22px;
  border:1px solid var(--t-line);
  border-left:3px solid rgba(var(--t-orange-rgb),.55);
  border-radius:6px 16px 16px 6px;
  background:var(--t-surface);
  box-shadow:0 10px 26px rgba(30,34,61,.05);
  transition:transform .24s,box-shadow .24s,border-left-color .24s;
}
body.tutorials-page .tutorials-faq-card:nth-child(2n){border-left-color:rgba(var(--t-teal-rgb),.6)}
body.tutorials-page .tutorials-faq-card:nth-child(3n){border-left-color:rgba(var(--t-red-rgb),.6)}
body.tutorials-page .tutorials-faq-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 38px rgba(30,34,61,.09);
}
body.tutorials-page .tutorials-faq-card h3{
  margin:0 0 7px;
  color:var(--t-ink);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:15.5px;
  font-weight:750;
  letter-spacing:-.015em;
}
body.tutorials-page .tutorials-faq-card p{
  margin:0;
  color:var(--t-body);
  font-size:13.5px;
  line-height:1.66;
}

/* ---- b3) Tips & resources ---- */
body.tutorials-page .tutorials-tip-list,
body.tutorials-page .tutorials-resource-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(290px,1fr));
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
}
body.tutorials-page .tutorials-resource-grid{
  padding-top:22px;
}
body.tutorials-page .tutorials-tip-list li{
  position:relative;
  padding:16px 18px 16px 20px;
  border:1px solid var(--t-line);
  border-left:3px solid rgba(var(--t-yellow-rgb),.9);
  border-radius:6px 14px 14px 6px;
  background:var(--t-surface);
  color:var(--t-body);
  font-size:13.5px;
  line-height:1.62;
  box-shadow:0 10px 24px rgba(30,34,61,.04);
  transition:transform .24s,box-shadow .24s,border-left-color .24s;
}
body.tutorials-page .tutorials-tip-list li:nth-child(3n+2){border-left-color:rgba(var(--t-teal-rgb),.65)}
body.tutorials-page .tutorials-tip-list li:nth-child(3n+3){border-left-color:rgba(var(--t-orange-rgb),.6)}
body.tutorials-page .tutorials-tip-list li:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(30,34,61,.08);
}
body.tutorials-page .tutorials-tip-list li::marker{content:""}

/* safety net: nothing inside the light column may inherit pale dark-theme text */
body.tutorials-page .tut-content h3,
body.tutorials-page .tut-content h4{color:var(--t-ink)}
body.tutorials-page .tut-content li,
body.tutorials-page .tut-content p{color:var(--t-body)}
body.tutorials-page #tutorialsVideos h3,
body.tutorials-page #tutorialsVideos h4{color:var(--t-white)}
body.tutorials-page #tutorialsVideos li,
body.tutorials-page #tutorialsVideos p{color:rgba(var(--t-white-rgb),.62)}

/* tutorials.css pins .practice-icon absolute (left:20px/top:24px) for its old
   80px-left-padding card. The new card is a flex column, so the icon must
   return to normal flow or it lands on top of the heading. */
body.tutorials-page .practice-icon{
  position:static;
  left:auto;
  top:auto;
  width:42px;
  height:42px;
  flex:none;
}

/* ==========================================================================
   7. ONE FLAT SURFACE (2026-08-21c)
   The page had four stacked gradient layers (body wash, layout radials, hero
   triple-radial, video panel). Everything is now a single flat colour:
     page   = Dirty White  #EFE9E9
     hero   = Midnight Blue #1E223D   (one solid, no gradient)
   Identical treatment on docs.html so both pages read as one surface.
   ========================================================================== */
body.tutorials-page{background:#EFE9E9!important}
body.tutorials-page main{background:#EFE9E9}
body.tutorials-page .tut-layout{background:#EFE9E9}
body.tutorials-page .tutorials-hero{background:#1E223D}
body.tutorials-page .tutorials-hero::after{background:rgba(var(--t-orange-rgb),.4)}
body.tutorials-page #tutorialsVideos{background:#1E223D}

/* ==========================================================================
   8. POLISH (2026-08-21d) — eyebrow chips + breathing room
   The section eyebrow ("Workflow Essentials", "Pro Level", "FAQ"…) was drawn
   with an asymmetric 3px left bar and a squared-off left edge, which read as
   a rendering bug rather than a badge. It is now a clean pill.
   ========================================================================== */
body.tutorials-page .tutorials-highlight{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:0;
  padding:7px 15px;
  border:1px solid rgba(var(--t-teal-rgb),.3);
  border-left:1px solid rgba(var(--t-teal-rgb),.3);
  border-radius:999px;
  background:rgba(var(--t-teal-rgb),.08);
  color:#0b4d4c;
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  white-space:nowrap;
}
body.tutorials-page .tutorials-highlight::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:var(--t-teal);
  flex:none;
}
body.tutorials-page #tutorialsVideos .tutorials-highlight{
  border-color:rgba(var(--t-yellow-rgb),.32);
  background:rgba(var(--t-yellow-rgb),.1);
  color:var(--t-yellow);
}
body.tutorials-page #tutorialsVideos .tutorials-highlight::before{background:var(--t-yellow)}

/* header row: title left, eyebrow right, aligned on one baseline */
body.tutorials-page .tutorials-section-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
  padding-bottom:18px;
}
body.tutorials-page .tutorials-section-content{min-width:0}

/* ---- breathing room ---- */
body.tutorials-page .tut-content{gap:clamp(44px,5.5vh,76px)}
body.tutorials-page .tut-layout{
  padding-block:clamp(38px,5vh,70px) clamp(80px,11vh,150px);
}
body.tutorials-page .tutorials-guides-grid,
body.tutorials-page .tutorials-best-practices-grid{gap:18px}
body.tutorials-page .tutorials-card,
body.tutorials-page .tutorials-practice-card{padding:24px 22px 22px}
body.tutorials-page .tutorials-faq-card{padding:22px 22px 22px 24px}
body.tutorials-page .tutorials-tip-list li{padding:18px 20px 18px 22px}
body.tutorials-page .tutorials-step{padding:22px 20px 20px 22px}
body.tutorials-page #tutorialsVideos{padding:clamp(28px,3.4vw,44px)}
body.tutorials-page .tut-sidebar__inner{padding:20px 16px}
@media(max-width:760px){
  body.tutorials-page .tutorials-section-header{flex-direction:column;gap:12px}
  body.tutorials-page .tut-layout{padding-block:26px 70px}
}

/* Final audit containment for remesh labels and decorative watermark. */
body.tutorials-page .tutorials-hero{overflow:hidden}
body.tutorials-page .tutorials-watermark{
  max-width:100%;
  right:clamp(12px,3vw,42px);
  overflow:hidden;
}
body.tutorials-page .remesh-comparison{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  min-width:0;
  overflow:hidden;
}
body.tutorials-page .remesh-comparison__item{
  display:grid;
  gap:3px;
  min-width:0;
  overflow:hidden;
  overflow-wrap:anywhere;
  white-space:normal;
}
body.tutorials-page .remesh-comparison__item strong,
body.tutorials-page .remesh-comparison__item span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:760px){
  body.tutorials-page .tutorials-faq-grid{grid-template-columns:1fr}
}
