/* ===== Inner pages (tutorial, affiliate, terms, privacy) on the new look, 2026-10-25 =====
   Loaded after next.css. Same chrome as the front door: the sliced logo, the glass nav pill, the nav
   that fades in on scroll with no hard line, no footer rule, the violet shine. The pages' own rules
   were written against styles.css tokens, so those names are aliased here to the new ones instead of
   rewriting every rule. */
:root {
  --srf: rgba(22, 22, 25, .8);
  --tx: var(--ink);
  --muted: var(--mid);
  --accent: var(--mint-hi);
  --brand-2: var(--mint-hi);
  --font-disp: var(--disp);
  --r: 22px;
  --e-out: cubic-bezier(.2, .8, .2, 1);
}

/* nav: no bar edge, a fade that only shows once the page moves */
.nav.solid { background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav::before { content: ''; position: absolute; inset: 0 0 -36px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: linear-gradient(180deg, rgba(6,5,9,.9) 0%, rgba(6,5,9,.7) 55%, rgba(6,5,9,0) 100%);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.nav.solid::before { opacity: 1; }
.lk .wd { color: #f4f1ff; }
.lk { --k: .92; font-size: 27px; }
@media (max-width: 520px) { .lk { font-size: 24px; } }
.brand { text-decoration: none; }
.foot { border-top: 0; position: relative; z-index: 1; }

/* glass instead of flat bordered boxes */
.glass { background: var(--glass); box-shadow: var(--glass-sh); border: 0; }

/* ---- tutorial ---- */
.tut .head { margin: 0 auto 34px; }
.tut .yt { border: 0; border-radius: 24px; box-shadow: var(--glass-sh), 0 0 0 1px rgba(255,255,255,.08); }
.tut .yt-under a { text-decoration: none; }

/* ---- affiliate ---- */
.aff .head { margin: 0 auto 36px; }
.aff .head p { margin: 0; color: var(--mid); font-size: 17px; max-width: 52ch; }
.aff .term, .aff .detail, .aff form { background: var(--glass); box-shadow: var(--glass-sh); border: 0; border-radius: 22px; }
.aff .term.hi { box-shadow: var(--glass-sh), inset 0 0 0 1px rgba(132,100,255,.45); }
.aff .term.hi .n { color: var(--lav); }
.aff .term .n { font-weight: 800; }
.aff input, .aff textarea { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.08); }
.aff input:focus, .aff textarea:focus { border-color: rgba(132,100,255,.6); box-shadow: 0 0 0 3px rgba(132,100,255,.15); }
.aff .grp { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.06); }
.aff .wrap { max-width: 860px; }

/* page titles in the display face, like every heading on the front door */
.tut h1, .aff h1, .legal h1 { font-family: var(--disp); font-weight: 700; color: var(--ink); letter-spacing: -.035em; text-wrap: balance; }
.legal h2 { font-family: var(--disp); font-weight: 700; }
.legal-in { margin: 0 auto; }
