/* upskillcourse — bundled (scoped per page) */

:root {
  --bg: #f7f9fa;
  --text: #1c1d1f;
  --muted: #6a6f73;
  --border: #d1d7dc;
  --purple: #5624d0;
  --cta: #a435f0;
  --cta-hover: #8710d8;
  --max: 1180px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a.logo,
a.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}
a.logo img,
a.brand img {
  height: 2rem;
  width: auto;
  max-width: min(100%, 280px);
  display: block;
  object-fit: contain;
}

html.page-stub *, html.page-stub *::before, html.page-stub *::after {
  box-sizing: border-box;
}

html.page-stub body { 
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

html.page-stub a { 
  color: var(--purple);
  text-decoration: none;
}

html.page-stub a:hover { 
  text-decoration: underline;
}

html.page-stub .top {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

html.page-stub .top .in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

html.page-stub .logo {
  text-decoration: none;
}

html.page-stub .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
}

html.page-stub .btn:hover {
  text-decoration: none;
  border-color: #c7cdd3;
}

html.page-stub .btn--purple {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

html.page-stub .btn--purple:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
}

html.page-stub .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

html.page-stub .hero {
  background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
  border: 1px solid #ddd6fe;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 36px rgba(86, 36, 208, 0.12);
}

html.page-stub h1 { 
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

html.page-stub p { 
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

html.page-stub .grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  html.page-stub .grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

html.page-stub .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
}

html.page-stub .list {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text);
}

html.page-stub .list li {
  margin: 0.35rem 0;
}

:root {
      --bg: #eef0f7;
      --text: #0f172a;
      --muted: #475569;
      --border: #cbd5e1;
      --purple: #4c1d95;
      --purple-bright: #7c3aed;
      --cta: #a435f0;
      --cta-hover: #7e22ce;
      --ink: #0f172a;
      --slate: #0b1220;
      --slate-2: #111b31;
      --warm: #fff7ed;
      --brand-subtle: #ede9fe;
      --mint: #0d9488;
      --coral: #ea580c;
      --radius: 10px;
      --max: 1180px;
      --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    html.page-home *, html.page-home *::before, html.page-home *::after { box-sizing: border-box; }
    html.page-home { 
      scroll-behavior: smooth;
      scroll-padding-top: 5.5rem;
    }
    html.page-home body { 
      margin: 0;
      font-family: var(--font);
      font-size: 1.0625rem;
      color: var(--text);
      background:
        radial-gradient(ellipse 1400px 600px at 0% -10%, rgba(124, 58, 237, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 1200px 500px at 100% 5%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 900px 400px at 50% 100%, rgba(14, 165, 233, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #e8ecf8 0%, #eef0f7 35%, #f4f6fb 100%);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    html.page-home .container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
    html.page-home .container--wide { max-width: 1320px; }
    html.page-home .band { padding: 2.25rem 0; }
    html.page-home .band--white {
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border-top: 1px solid rgba(148, 163, 184, 0.35);
      border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    }
    html.page-home .band--warm {
      background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 55%, #fff7ed 100%);
      border-top: 1px solid rgba(251, 146, 60, 0.25);
      border-bottom: 1px solid rgba(251, 146, 60, 0.25);
    }
    html.page-home .band--brand {
      background: linear-gradient(165deg, #ede9fe 0%, #ddd6fe 45%, #e9d5ff 100%);
      border-top: 1px solid rgba(139, 92, 246, 0.35);
      border-bottom: 1px solid rgba(139, 92, 246, 0.35);
    }
    html.page-home .band--dark {
      background:
        radial-gradient(900px 380px at 10% 0%, rgba(164, 53, 240, 0.22) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(820px 380px at 92% 10%, rgba(86, 36, 208, 0.22) 0%, rgba(86, 36, 208, 0) 55%),
        linear-gradient(180deg, var(--slate) 0%, var(--slate-2) 100%);
      color: #fff;
      border-top: 1px solid rgba(255,255,255,0.08);
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    html.page-home .band--dark .section-head p,
    html.page-home .band--dark p { color: rgba(255,255,255,0.78); }
    html.page-home .band--dark a { color: #c0c4fc; }
    html.page-home a {  color: var(--purple-bright); text-decoration: none; }
    html.page-home a:hover {  text-decoration: underline; }

    html.page-home .skip {
      position: absolute;
      left: -9999px;
      z-index: 9999;
      padding: 0.75rem 1rem;
      background: var(--purple-bright);
      color: #fff;
      font-weight: 800;
      font-size: 0.9rem;
      border-radius: var(--radius);
    }
    html.page-home .skip:focus {
      left: 1rem;
      top: 1rem;
      outline: 2px solid #fff;
      outline-offset: 2px;
      text-decoration: none;
    }

    html.page-home .topbar {
      background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%);
      backdrop-filter: blur(14px);
      border-bottom: 1px solid rgba(124, 58, 237, 0.18);
      box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 8px 32px rgba(15, 23, 42, 0.07);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    html.page-home .topbar-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0.6rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
    }
    html.page-home .logo {
      text-decoration: none;
    }
    html.page-home .logo img {
      height: 2.4rem;
      max-width: min(62vw, 300px);
    }
    html.page-home .topbar-nav {
      display: flex;
      align-items: center;
      gap: 0.5rem 1.35rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    html.page-home .topbar-nav > a:not(.btn) {
      color: var(--text);
      font-weight: 800;
      font-size: 1.02rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-decoration: none;
      padding: 0.5rem 0.25rem;
    }
    html.page-home .topbar-nav > a:not(.btn):hover { color: var(--purple-bright); text-decoration: none; }
    html.page-home .topbar-nav .btn { padding: 0.55rem 1.15rem; font-size: 0.95rem; }
    html.page-home .topbar-nav .social-links { display: inline-flex; gap: 0.55rem; margin-left: 0.25rem; align-items: center; }
    html.page-home .topbar-nav .social-link { width: 34px; height: 34px; }
    html.page-home .menu-toggle {
      display: none;
      padding: 0.45rem 0.75rem;
      border: 1px solid var(--border);
      background: #fff;
      border-radius: 999px;
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: 900;
      font-family: inherit;
      color: var(--text);
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    }
    html.page-home .menu-toggle:hover { border-color: rgba(124, 58, 237, 0.4); color: var(--purple-bright); }
    html.page-home .menu-toggle:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 2px; }
    @media (max-width: 880px) {
      html.page-home .menu-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
      html.page-home .topbar { position: relative; }
      html.page-home .topbar-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        flex-basis: 100%;
        order: 3;
        padding: 0.85rem 0 0.25rem;
        margin-top: 0.35rem;
        border-top: 1px solid rgba(148, 163, 184, 0.35);
        gap: 0.15rem;
      }
      html.page-home .topbar-nav.open { display: flex; }
      html.page-home .topbar-nav > a:not(.btn) {
        padding: 0.65rem 0.25rem;
        border-radius: 8px;
      }
      html.page-home .topbar-nav > a:not(.btn):hover { background: rgba(124, 58, 237, 0.06); }
      html.page-home .topbar-nav .btn { width: 100%; justify-content: center; margin-top: 0.35rem; }
    }

    html.page-home .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.65rem 1.15rem;
      border-radius: 999px;
      font-weight: 900;
      font-size: 0.98rem;
      border: 1px solid var(--border);
      background: #fff;
      color: var(--text);
      text-decoration: none;
      cursor: pointer;
      transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
    }
    html.page-home .btn:hover { text-decoration: none; transform: translateY(-1px); border-color: #c7cdd3; }
    html.page-home .btn:focus-visible { outline: 2px solid var(--purple-bright); outline-offset: 2px; }
    html.page-home .btn--purple {
      background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c026d3 100%);
      border-color: transparent;
      color: #fff;
      box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45);
    }
    html.page-home .btn--purple:hover {
      background: linear-gradient(135deg, #6d28d9 0%, #9333ea 55%, #a21caf 100%);
      border-color: transparent;
      box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
    }

    html.page-home .hero {
      position: relative;
      overflow: hidden;
      background:
        radial-gradient(ellipse 900px 480px at 85% 20%, rgba(192, 38, 211, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 800px 420px at 0% 80%, rgba(14, 165, 233, 0.14) 0%, transparent 50%),
        linear-gradient(145deg, #1e1b4b 0%, #312e81 38%, #4c1d95 72%, #5b21b6 100%);
      border-bottom: none;
      color: #fff;
    }
    html.page-home .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.9;
      pointer-events: none;
    }
    html.page-home .hero-inner {
      position: relative;
      z-index: 1;
      max-width: var(--max);
      margin: 0 auto;
      padding: 2.5rem 1.25rem 2.25rem;
      display: grid;
      gap: 1.25rem;
      grid-template-columns: 1fr;
      align-items: start;
    }
    @media (min-width: 980px) {
      html.page-home .hero-inner { grid-template-columns: 1.25fr 0.75fr; }
    }
    html.page-home .kicker {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #042f2e;
      background: linear-gradient(135deg, #5eead4 0%, #2dd4bf 100%);
      padding: 0.3rem 0.65rem;
      border-radius: 999px;
      box-shadow: 0 2px 12px rgba(45, 212, 191, 0.35);
    }
    html.page-home .hero h1 {
      margin: 0.75rem 0 0.5rem;
      font-size: clamp(2rem, 3.8vw, 3.05rem);
      line-height: 1.12;
      font-weight: 900;
      color: #fff;
      text-shadow: 0 2px 24px rgba(0,0,0,0.2);
    }
    html.page-home .hero p {
      margin: 0;
      color: rgba(255,255,255,0.88);
      font-size: 1.15rem;
      max-width: 62ch;
      line-height: 1.55;
    }
    html.page-home .hero-actions {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin-top: 1.15rem;
    }
    @media (max-width: 520px) {
      html.page-home .hero-actions { gap: 0.6rem; }
      html.page-home .hero-actions .btn { width: 100%; justify-content: center; }
      html.page-home .hero p { font-size: 1.05rem; }
      html.page-home .band { padding: 1.6rem 0; }
    }
    html.page-home .hero-note {
      margin-top: 0.65rem;
      color: rgba(255,255,255,0.72);
      font-size: 1rem;
      line-height: 1.5;
    }
    html.page-home .hero .btn:not(.btn--purple) {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.35);
      color: #fff;
    }
    html.page-home .hero .btn:not(.btn--purple):hover {
      background: rgba(255,255,255,0.2);
      border-color: rgba(255,255,255,0.5);
    }

    html.page-home .stats {
      border: 1px solid rgba(139, 92, 246, 0.35);
      background:
        radial-gradient(760px 260px at 15% 0%, rgba(167, 139, 250, 0.35) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(720px 260px at 95% 10%, rgba(192, 132, 252, 0.28) 0%, rgba(86, 36, 208, 0) 55%),
        linear-gradient(165deg, #ffffff 0%, #f5f3ff 55%, #ede9fe 100%);
      border-radius: 16px;
      padding: 1.25rem;
      box-shadow: 0 12px 40px rgba(91, 33, 182, 0.14);
    }
    html.page-home .stats h2 { margin: 0 0 0.35rem; font-size: 1.05rem; letter-spacing: -0.01em; }
    html.page-home .stats .sub { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
    html.page-home .stat-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.75rem;
    }
    html.page-home .stat {
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(86, 36, 208, 0.14);
      border-radius: 14px;
      padding: 0.85rem 0.9rem;
      display: grid;
      grid-template-columns: 42px 1fr;
      align-items: start;
      gap: 0.75rem;
      box-shadow: 0 10px 28px rgba(86, 36, 208, 0.07);
    }
    html.page-home .stat .ico {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(192, 132, 252, 0.2));
      border: 1px solid rgba(167, 139, 250, 0.5);
      color: var(--purple);
      font-weight: 950;
      font-size: 1.1rem;
      line-height: 1;
    }
    html.page-home .stat .num { font-weight: 950; font-size: 1.15rem; color: var(--ink); line-height: 1.15; }
    html.page-home .stat .lbl { font-size: 0.95rem; color: var(--muted); line-height: 1.4; }

    html.page-home .wrap { max-width: var(--max); margin: 0 auto; padding: 0; }
    html.page-home .section-head {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      flex-wrap: wrap;
      margin-bottom: 1rem;
    }
    html.page-home .section-head h2 {
      margin: 0;
      font-size: clamp(1.4rem, 2.5vw, 1.75rem);
      font-weight: 900;
      color: var(--ink);
      letter-spacing: -0.02em;
    }
    html.page-home .section-head p { margin: 0; color: var(--muted); font-weight: 500; font-size: 1.05rem; line-height: 1.55; }

    html.page-home .course-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 760px) {
      html.page-home .course-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 1100px) {
      html.page-home .course-grid { grid-template-columns: repeat(3, 1fr); }
    }
    html.page-home .course-card {
      background: #fff;
      border: 1px solid rgba(124, 58, 237, 0.18);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255,255,255,0.8) inset;
      display: grid;
      grid-template-rows: 140px 1fr;
    }
    html.page-home .course-card:hover {
      box-shadow: 0 16px 40px rgba(76, 29, 149, 0.14);
      transform: translateY(-2px);
      border-color: rgba(124, 58, 237, 0.35);
    }
    html.page-home .course-card { transition: box-shadow 0.18s ease, transform 0.18s ease; }
    html.page-home .course-media {
      background:
        radial-gradient(700px 220px at 20% 0%, rgba(164, 53, 240, 0.26) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(620px 220px at 90% 10%, rgba(86, 36, 208, 0.26) 0%, rgba(86, 36, 208, 0) 55%),
        #0f172a;
      position: relative;
    }
    html.page-home .media-img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      opacity: 0.72;
      filter: saturate(1.05) contrast(1.05);
    }
    html.page-home .course-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15,23,42,0.2), rgba(15,23,42,0.82));
    }
    html.page-home .badge-row {
      position: absolute;
      top: 0.85rem;
      left: 0.85rem;
      z-index: 1;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    html.page-home .badge {
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 0.22rem 0.5rem;
      border-radius: 999px;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(255,255,255,0.65);
      color: #111827;
    }
    html.page-home .badge--purple { background: rgba(164,53,240,0.22); border-color: rgba(164,53,240,0.38); color: #f5f3ff; }
    html.page-home .badge--teal { background: rgba(172,210,204,0.22); border-color: rgba(172,210,204,0.38); color: #d1fae5; }
    html.page-home .course-body {
      padding: 1rem 1rem 1.05rem;
      display: grid;
      gap: 0.7rem;
      align-content: start;
    }
    html.page-home .course-body h3 {
      margin: 0;
      font-size: 1.12rem;
      line-height: 1.25;
    }
    html.page-home .course-body p {
      margin: 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.5;
    }
    html.page-home .course-actions {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin-top: 0.25rem;
    }
    html.page-home .course-actions .btn { flex: 1; min-width: 160px; }
    html.page-home .btn--outline { background: #fff; }
    html.page-home .btn--outline:hover { background: #f8fafc; }

    /* Content blocks */
    html.page-home .block {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }
    html.page-home .block h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
    html.page-home .block p { margin: 0; color: var(--muted); }

    html.page-home .pill-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.85rem;
    }
    @media (min-width: 760px) {
      html.page-home .pill-grid { grid-template-columns: repeat(3, 1fr); }
    }
    html.page-home .pill {
      border: 1px solid rgba(167, 139, 250, 0.45);
      background: linear-gradient(165deg, #ffffff 0%, #f5f3ff 70%, #ede9fe 100%);
      border-radius: 16px;
      padding: 1rem 1rem 0.95rem;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 28px rgba(91, 33, 182, 0.1);
    }
    html.page-home .pill::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(420px 140px at 15% 0%, rgba(164, 53, 240, 0.14), rgba(164, 53, 240, 0));
      pointer-events: none;
    }
    html.page-home .pill > * { position: relative; }
    html.page-home .pill .tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #0f172a;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(209,215,220,0.75);
      padding: 0.22rem 0.5rem;
      border-radius: 999px;
      margin-bottom: 0.55rem;
    }
    html.page-home .pill h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
    html.page-home .pill p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }

    /* Full-bleed band inside main.wrap */
    main.wrap .how-band {
      width: 100vw;
      max-width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      box-sizing: border-box;
      padding-top: 2.75rem;
      padding-bottom: 2.85rem;
    }
    html.page-home .how-band-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }
    html.page-home .how-flow {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.65rem;
      align-items: stretch;
      margin-top: 1.25rem;
    }
    @media (min-width: 900px) {
      html.page-home .how-flow {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0.35rem 0.5rem;
        align-items: center;
      }
    }
    html.page-home .how-arrow {
      display: none;
      color: rgba(255,255,255,0.45);
      font-size: 1.75rem;
      font-weight: 300;
      line-height: 1;
      padding: 0 0.15rem;
      user-select: none;
    }
    @media (min-width: 900px) {
      html.page-home .how-arrow { display: flex; align-items: center; justify-content: center; }
    }
    html.page-home .how-arrow--mobile {
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255,255,255,0.4);
      font-size: 1.25rem;
      padding: 0.15rem 0;
    }
    @media (min-width: 900px) {
      html.page-home .how-arrow--mobile { display: none; }
    }
    html.page-home .step {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 16px;
      padding: 1.15rem 1.15rem 1.05rem;
      box-shadow: 0 8px 32px rgba(0,0,0,0.2);
      height: 100%;
    }
    html.page-home .band--dark .step h3 { color: #fff; }
    html.page-home .band--dark .step p { color: rgba(255,255,255,0.78); }
    html.page-home .step .n {
      width: 36px;
      height: 36px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 950;
      font-size: 0.95rem;
      color: #fff;
      background: linear-gradient(135deg, #7c3aed, #c026d3);
      margin-bottom: 0.65rem;
      box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
    }
    html.page-home .step h3 { margin: 0 0 0.4rem; font-size: 1.12rem; line-height: 1.25; }
    html.page-home .step p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; }
    html.page-home .step-kicker {
      display: block;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: rgba(167, 139, 250, 0.95);
      margin-bottom: 0.35rem;
    }

    main.wrap .prefooter-band {
      width: 100vw;
      max-width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-right: calc(50% - 50vw);
      box-sizing: border-box;
      padding-top: 2.65rem;
      padding-bottom: 2.85rem;
    }
    html.page-home .prefooter-inner {
      max-width: 1320px;
      margin: 0 auto;
      padding: 0 1.25rem;
    }
    html.page-home .prefooter-band .newsletter {
      width: 100%;
      max-width: none;
      border-radius: 20px;
      padding: 1.5rem 1.35rem;
    }

    html.page-home .faq {
      background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
      border: 1px solid rgba(124, 58, 237, 0.14);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    }
    html.page-home .faq details { border-top: 1px solid rgba(209,215,220,0.75); padding: 0.85rem 1rem; }
    html.page-home .faq details:first-child { border-top: none; }
    html.page-home .faq summary { cursor: pointer; font-weight: 900; list-style: none; font-size: 1.05rem; }
    html.page-home .faq summary::-webkit-details-marker { display: none; }
    html.page-home .faq p { margin: 0.65rem 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }

    /* Blog-friendly lists + callouts (use instead of <pre> for regular content) */
    html.page-home .nice-box {
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border: 1px solid rgba(124, 58, 237, 0.14);
      border-radius: 16px;
      padding: 1rem 1rem;
      box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
    }
    html.page-home .nice-box + .nice-box { margin-top: 0.9rem; }
    html.page-home .nice-box p { margin: 0.55rem 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
    html.page-home .nice-list {
      margin: 0;
      padding-left: 1.2rem;
      color: var(--text);
      font-size: 1.02rem;
      line-height: 1.55;
    }
    html.page-home .nice-list li { margin: 0.35rem 0; }
    html.page-home .nice-list li strong { color: var(--text); font-weight: 900; }
    html.page-home .nice-steps { list-style: none; padding-left: 0; margin: 0; display: grid; gap: 0.6rem; }
    html.page-home .nice-steps li {
      display: grid;
      grid-template-columns: 28px 1fr;
      gap: 0.7rem;
      align-items: start;
    }
    html.page-home .nice-steps .dot {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 950;
      font-size: 0.9rem;
      color: #fff;
      background: linear-gradient(135deg, #7c3aed, #c026d3);
      box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
      margin-top: 0.05rem;
    }
    html.page-home .nice-steps .txt { color: var(--text); font-size: 1.02rem; line-height: 1.55; }
    html.page-home .nice-steps .txt .t { font-weight: 950; letter-spacing: -0.01em; }

    /* Inline blog images (not thumbnails) */
    html.page-home figure.blog-figure { margin: 1.15rem 0 0; }
    html.page-home figure.blog-figure img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 18px;
      border: 1px solid rgba(124, 58, 237, 0.14);
      box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
      background: #fff;
      max-height: 380px;
      object-fit: cover;
      object-position: center;
    }
    @media (max-width: 520px) {
      html.page-home figure.blog-figure img { max-height: 260px; }
    }
    html.page-home figure.blog-figure figcaption {
      margin-top: 0.6rem;
      color: var(--muted);
      font-size: 0.95rem;
      line-height: 1.5;
    }

    html.page-home .newsletter {
      background:
        radial-gradient(900px 240px at 10% 0%, rgba(164, 53, 240, 0.20) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(800px 240px at 95% 20%, rgba(86, 36, 208, 0.20) 0%, rgba(86, 36, 208, 0) 55%),
        linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
      border: 1px solid rgba(221,214,254,0.95);
      border-radius: 18px;
      padding: 1.25rem;
      box-shadow: 0 10px 36px rgba(86, 36, 208, 0.12);
      display: grid;
      gap: 0.85rem;
      align-items: center;
    }
    @media (min-width: 900px) {
      html.page-home .newsletter { grid-template-columns: 1.25fr 0.75fr; }
    }
    html.page-home .newsletter h2 { margin: 0; font-size: 1.4rem; }
    html.page-home .newsletter p { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.55; }
    html.page-home .nl-form { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: flex-end; }
    html.page-home .nl-form input {
      flex: 1;
      min-width: 220px;
      padding: 0.65rem 0.85rem;
      border: 1px solid rgba(209,215,220,0.9);
      border-radius: 999px;
      font: inherit;
      background: #fff;
    }
    html.page-home .nl-form input:focus { outline: 2px solid rgba(86, 36, 208, 0.25); border-color: var(--purple); }

    /* Section dividers + stronger accents */
    html.page-home .accent-rule {
      height: 5px;
      width: 104px;
      border-radius: 999px;
      background: linear-gradient(90deg, #7c3aed 0%, #c026d3 55%, #ea580c 100%);
      box-shadow: 0 2px 12px rgba(124, 58, 237, 0.35);
      margin: 0.85rem 0 0;
    }

    /* Course spotlights (less grid-y, more featured) */
    html.page-home .spot-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    html.page-home .spotlight {
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(124, 58, 237, 0.22);
      box-shadow: 0 20px 56px rgba(49, 46, 129, 0.14);
      background: #fff;
    }
    html.page-home .spotlight-inner {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
    }
    @media (min-width: 980px) {
      html.page-home .spotlight-inner { grid-template-columns: 0.9fr 1.1fr; }
    }
    html.page-home .spot-media {
      min-height: 220px;
      background:
        radial-gradient(760px 260px at 20% 0%, rgba(164, 53, 240, 0.34) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(680px 260px at 90% 10%, rgba(86, 36, 208, 0.34) 0%, rgba(86, 36, 208, 0) 55%),
        linear-gradient(180deg, #0b1220 0%, #111b31 100%);
      position: relative;
    }
    html.page-home .spot-media .media-img { opacity: 0.68; }
    html.page-home .spot-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15,23,42,0.18) 0%, rgba(15,23,42,0.82) 100%);
    }
    html.page-home .spot-badges {
      position: absolute;
      inset: auto 0 0 0;
      padding: 0.95rem 1rem;
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      z-index: 1;
    }
    html.page-home .spot-badges .badge {
      background: rgba(255,255,255,0.14);
      border: 1px solid rgba(255,255,255,0.22);
      color: rgba(255,255,255,0.92);
    }
    html.page-home .spot-body {
      padding: 1.25rem 1.25rem 1.15rem;
      background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
    }
    html.page-home .spot-title {
      margin: 0;
      font-size: clamp(1.35rem, 2.5vw, 1.85rem);
      line-height: 1.15;
      letter-spacing: -0.01em;
    }
    html.page-home .spot-desc {
      margin: 0.55rem 0 0;
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 70ch;
      line-height: 1.55;
    }
    html.page-home .spot-list {
      margin: 0.85rem 0 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 0.45rem;
      color: var(--text);
      font-size: 1rem;
    }
    html.page-home .spot-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
    html.page-home .spot-list li::before { content: "✓"; font-weight: 950; color: var(--purple-bright); margin-top: 0.02rem; }
    html.page-home .spot-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
    html.page-home .spot-actions .btn { min-width: 180px; }

    /* Blog */
    html.page-home .blog-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 760px) {
      html.page-home .blog-grid { grid-template-columns: repeat(3, 1fr); }
    }
    html.page-home .blog-card {
      background: #fff;
      border: 1px solid rgba(124, 58, 237, 0.16);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }
    html.page-home .blog-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 18px 44px rgba(76, 29, 149, 0.12);
      border-color: rgba(124, 58, 237, 0.28);
    }
    html.page-home .blog-thumb {
      display: block;
      height: 150px;
      background:
        radial-gradient(520px 190px at 20% 0%, rgba(164, 53, 240, 0.26) 0%, rgba(164, 53, 240, 0) 60%),
        radial-gradient(520px 190px at 90% 10%, rgba(86, 36, 208, 0.26) 0%, rgba(86, 36, 208, 0) 55%),
        #0f172a;
      position: relative;
    }
    html.page-home .blog-thumb .media-img { opacity: 0.74; }
    html.page-home .blog-thumb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,23,42,0.18), rgba(15,23,42,0.82)); }
    html.page-home .blog-body { padding: 1rem 1rem 1.1rem; }
    html.page-home .blog-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.5rem; }
    html.page-home .blog-body h3 { margin: 0 0 0.55rem; font-size: 1.08rem; line-height: 1.3; }
    html.page-home .blog-body p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

    html.page-home .site-footer {
      background: #1c1d1f;
      color: #d1d7dc;
      font-size: 0.95rem;
    }
    html.page-home .site-footer a {
      color: #c0c4fc;
      text-decoration: none;
    }
    html.page-home .site-footer a:hover { color: #fff; text-decoration: underline; }
    html.page-home .footer-main {
      max-width: var(--max);
      margin: 0 auto;
      padding: 2.5rem 1.25rem 2rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    @media (min-width: 640px) {
      html.page-home .footer-main { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 900px) {
      html.page-home .footer-main { grid-template-columns: 1.1fr repeat(3, 1fr); gap: 2.5rem; }
    }
    html.page-home .footer-brand {
      font-weight: 800;
      font-size: 1.05rem;
      color: #fff;
      margin: 0 0 0.75rem;
    }
    html.page-home .footer-brand span { color: #c0c4fc; }
    html.page-home .footer-desc {
      margin: 0;
      font-size: 0.92rem;
      line-height: 1.6;
      color: #9da3a8;
      max-width: 32ch;
    }
    html.page-home .footer-col h4 {
      margin: 0 0 0.85rem;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #fff;
    }
    html.page-home .footer-links { list-style: none; margin: 0; padding: 0; }
    html.page-home .footer-links li { margin-bottom: 0.55rem; }
    html.page-home .footer-links a { font-size: 0.92rem; color: #d1d7dc; }
    html.page-home .footer-links a:hover { color: #fff; }
    html.page-home .footer-contact {
      font-size: 0.85rem;
      line-height: 1.6;
      color: #9da3a8;
    }
    html.page-home .footer-contact a { color: #c0c4fc; }
    html.page-home .social-links { display: inline-flex; gap: 0.6rem; align-items: center; }
    html.page-home .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(148, 163, 184, 0.25);
      background: rgba(255, 255, 255, 0.04);
      color: #d1d7dc;
      transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }
    html.page-home .social-link:hover {
      transform: translateY(-1px);
      border-color: rgba(192, 196, 252, 0.55);
      background: rgba(192, 196, 252, 0.08);
      color: #fff;
      text-decoration: none;
    }
    html.page-home .social-link svg { width: 18px; height: 18px; fill: currentColor; }

    /* Brand-colored social buttons in topbar (white icon on brand bg) */
    html.page-home .topbar-nav .social-link {
      color: #fff;
      border-color: rgba(255,255,255,0.22);
      background: rgba(255,255,255,0.10);
      box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    }
    html.page-home .topbar-nav .social-link:hover {
      transform: translateY(-1px);
      border-color: rgba(255,255,255,0.34);
      box-shadow: 0 14px 34px rgba(15, 23, 42, 0.22);
      text-decoration: none;
    }
    html.page-home .topbar-nav .social-link[href*="facebook.com"] {
      background: #1877F2;
      border-color: rgba(24, 119, 242, 0.55);
    }
    html.page-home .topbar-nav .social-link[href*="facebook.com"]:hover {
      background: #166FE5;
      border-color: rgba(22, 111, 229, 0.7);
    }
    html.page-home .topbar-nav .social-link[href*="instagram.com"] {
      background: #E1306C;
      border-color: rgba(225, 48, 108, 0.55);
    }
    html.page-home .topbar-nav .social-link[href*="instagram.com"]:hover {
      background: #C13584;
      border-color: rgba(193, 53, 132, 0.7);
    }
    html.page-home .footer-bottom {
      border-top: 1px solid #3e4143;
      padding: 1.25rem 1.25rem;
    }
    html.page-home .footer-bottom-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-size: 0.78rem;
      color: #9da3a8;
    }
    html.page-home .footer-legal-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.25rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    html.page-home .footer-legal-inline a { color: #9da3a8; }
    html.page-home .footer-legal-inline a:hover { color: #fff; }

:root {
      --ud-bg: #ffffff;
      --ud-bg-subtle: #f7f9fa;
      --ud-text: #1c1d1f;
      --ud-muted: #6a6f73;
      --ud-border: #d1d7dc;
      --ud-purple: #5624d0;
      --ud-cta: #a435f0;
      --ud-cta-hover: #8710d8;
      --ud-link: #5624d0;
      --ud-radius: 6px;
      --ud-max: 1180px;
      --font: "DM Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
    }

    body.page-application *, body.page-application *::before, body.page-application *::after { box-sizing: border-box; }
    body.page-application {
      margin: 0;
      font-family: var(--font);
      color: var(--ud-text);
      background: radial-gradient(1200px 600px at 10% 0%, #f5f3ff 0%, rgba(245, 243, 255, 0) 55%),
                  radial-gradient(900px 500px at 90% 10%, #faf5ff 0%, rgba(250, 245, 255, 0) 60%),
                  var(--ud-bg-subtle);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    body.page-application a {
      color: var(--ud-link);
      text-decoration: none;
    }
    body.page-application a:hover {
      text-decoration: underline;
    }

    body.page-application .topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(209, 215, 220, 0.8);
    }
    body.page-application .topbar-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0.55rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    body.page-application .brand {
      text-decoration: none;
    }
    body.page-application .brand img {
      height: 2.15rem;
      max-width: min(68vw, 280px);
    }

    body.page-application .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.55rem 0.95rem;
      min-height: 40px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.9rem;
      border: 1px solid var(--ud-border);
      background: #fff;
      cursor: pointer;
      font-family: inherit;
      color: var(--ud-text);
      text-decoration: none;
    }
    body.page-application .btn:hover { text-decoration: none; border-color: #c7cdd3; }
    body.page-application .btn:focus-visible { outline: 2px solid var(--ud-purple); outline-offset: 2px; }
    body.page-application .btn--primary {
      background: var(--ud-text);
      border-color: var(--ud-text);
      color: #fff;
    }
    body.page-application .btn--primary:hover { background: #000; border-color: #000; }
    body.page-application .btn--purple {
      background: var(--ud-cta);
      border-color: var(--ud-cta);
      color: #fff;
    }
    body.page-application .btn--purple:hover { background: var(--ud-cta-hover); border-color: var(--ud-cta-hover); }

    body.page-application .page {
      min-height: calc(100vh - 64px);
      display: grid;
      place-items: center;
      padding: 1.25rem;
    }
    body.page-application .panel {
      width: min(860px, 100%);
      background: #fff;
      border: 1px solid rgba(226, 232, 240, 0.9);
      border-radius: 16px;
      box-shadow:
        0 24px 80px rgba(15, 23, 42, 0.25),
        0 2px 10px rgba(15, 23, 42, 0.08);
      overflow: hidden;
    }
    body.page-application .panel-head {
      padding: 1.25rem 1.25rem 1rem;
      border-bottom: 1px solid #e2e8f0;
      background: linear-gradient(180deg, #faf8ff 0%, #ffffff 100%);
    }
    body.page-application .kicker {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #1e6055;
      background: #acd2cc;
      padding: 0.25rem 0.5rem;
      border-radius: 999px;
      margin-bottom: 0.65rem;
    }
    body.page-application .title {
      margin: 0 0 0.35rem;
      font-size: clamp(1.25rem, 2.2vw, 1.6rem);
      line-height: 1.2;
      font-weight: 900;
    }
    body.page-application .subtitle {
      margin: 0;
      color: var(--ud-muted);
      font-size: 0.95rem;
      max-width: 62ch;
    }

    body.page-application .panel-body { padding: 1.25rem; background: #fff; }
    body.page-application .card {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }

    body.page-application .progress {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.85rem;
      margin: 0 0 1rem;
      font-size: 0.85rem;
      color: var(--ud-muted);
    }
    body.page-application .bar {
      flex: 1;
      height: 10px;
      border-radius: 999px;
      background: #e2e8f0;
      overflow: hidden;
      border: 1px solid #e2e8f0;
    }
    body.page-application .bar > div {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--ud-purple), var(--ud-cta));
      transition: width 0.2s ease;
    }

    body.page-application .step-title { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 900; }
    body.page-application .step-hint { margin: 0 0 1rem; color: var(--ud-muted); font-size: 0.92rem; }

    body.page-application .field { margin-bottom: 1rem; }
    body.page-application .field label {
      display: block;
      font-size: 0.75rem;
      font-weight: 900;
      margin-bottom: 0.35rem;
      color: var(--ud-text);
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }
    body.page-application input[type="text"], body.page-application input[type="email"], body.page-application select, body.page-application textarea {
      width: 100%;
      padding: 0.75rem 0.85rem;
      border: 1px solid var(--ud-border);
      border-radius: 10px;
      font: inherit;
      background: #fff;
      color: var(--ud-text);
    }
    body.page-application textarea { min-height: 96px; resize: vertical; }
    body.page-application input:focus, body.page-application select:focus, body.page-application textarea:focus {
      outline: none;
      border-color: var(--ud-purple);
      box-shadow: 0 0 0 2px rgba(86, 36, 208, 0.15);
    }
    body.page-application .chk-grid {
      display: grid;
      gap: 0.5rem 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 640px) {
      body.page-application .chk-grid { grid-template-columns: 1fr 1fr; }
    }
    body.page-application .chk-item {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      padding: 0.6rem 0.65rem;
      border: 1px solid #e2e8f0;
      border-radius: 10px;
      background: #fff;
      font-size: 0.9rem;
      line-height: 1.35;
    }
    body.page-application .chk-item input { margin-top: 0.2rem; }

    body.page-application .consent {
      display: flex;
      gap: 0.5rem;
      align-items: flex-start;
      font-size: 0.9rem;
      color: var(--ud-text);
      margin: 0.75rem 0 0;
    }
    body.page-application .consent input { margin-top: 0.25rem; }

    body.page-application .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1rem;
      align-items: center;
    }
    body.page-application .actions #sv-back { margin-right: auto; }

    body.page-application .error {
      display: none;
      margin-top: 0.75rem;
      padding: 0.75rem 0.85rem;
      border: 1px solid #fecaca;
      background: #fff1f2;
      color: #9f1239;
      border-radius: 10px;
      font-size: 0.9rem;
    }

    body.page-application .dash {
      display: grid;
      gap: 0.85rem;
      margin-top: 0.75rem;
    }
    @media (min-width: 860px) {
      body.page-application .dash { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
    }
    body.page-application .dash-card {
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: #fff;
      border-radius: 16px;
      padding: 1rem 1rem 0.95rem;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }
    body.page-application .dash-card h3 { margin: 0 0 0.55rem; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ud-muted); }
    body.page-application .dash-title { margin: 0 0 0.35rem; font-size: 1.2rem; font-weight: 950; color: var(--ud-text); }
    body.page-application .dash-meta { margin: 0; color: var(--ud-muted); line-height: 1.5; }
    body.page-application .status-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.3rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(165, 180, 252, 0.8);
      background: rgba(224, 231, 255, 0.75);
      color: #1e3a8a;
      font-weight: 800;
      font-size: 0.85rem;
      margin: 0.35rem 0 0.75rem;
      width: fit-content;
    }
    body.page-application .status-dot { width: 9px; height: 9px; border-radius: 999px; background: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18); }
    body.page-application .kv {
      display: grid;
      gap: 0.5rem;
      margin-top: 0.75rem;
      font-size: 0.92rem;
    }
    body.page-application .kv .row { display: grid; grid-template-columns: 130px 1fr; gap: 0.75rem; align-items: baseline; }
    body.page-application .kv .k { color: var(--ud-muted); font-weight: 700; }
    body.page-application .kv .v { color: var(--ud-text); font-weight: 650; word-break: break-word; }
    body.page-application .kv .v code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.9em; }

    body.page-application .dash-card--wide { grid-column: 1 / -1; }
    @media (max-width: 859px) {
      body.page-application .dash-card--wide { grid-column: auto; }
    }
    body.page-application .session-apps { margin: 0; padding-left: 1.15rem; color: var(--ud-text); }
    body.page-application .session-apps li { margin: 0.35rem 0; }
    body.page-application .session-note { margin: 0 0 0.75rem; font-size: 0.85rem; color: var(--ud-muted); line-height: 1.45; }

    body.page-application .ebook-title { margin: 0 0 0.35rem; font-size: 1.1rem; font-weight: 950; }
    body.page-application .ebook-meta { margin: 0 0 1rem; color: var(--ud-muted); }
    body.page-application .fineprint { margin: 0.85rem 0 0; font-size: 0.85rem; color: var(--ud-muted); line-height: 1.5; }

    @media (max-width: 560px) {
      body.page-application .topbar-inner { padding: 0.55rem 0.85rem; gap: 0.65rem; }
      body.page-application .page { padding: 0.85rem; }
      body.page-application .panel { border-radius: 14px; }
      body.page-application .panel-head { padding: 1rem 0.95rem 0.85rem; }
      body.page-application .panel-body { padding: 0.95rem; }
      body.page-application .actions { gap: 0.6rem; }
      body.page-application .actions .btn { flex: 1; width: 100%; justify-content: center; }
      body.page-application .actions #sv-back { margin-right: 0; }
      body.page-application .kv .row { grid-template-columns: 1fr; gap: 0.15rem; }
      body.page-application .kv .k { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
    }

    /* Account dashboard (course platform style) */
    body.page-account *, body.page-account *::before, body.page-account *::after { box-sizing: border-box; }
    body.page-account {
      margin: 0;
      font-family: var(--font);
      color: var(--ud-text);
      background:
        radial-gradient(1200px 600px at 10% 0%, #f5f3ff 0%, rgba(245, 243, 255, 0) 55%),
        radial-gradient(900px 500px at 90% 10%, #ecfeff 0%, rgba(236, 254, 255, 0) 60%),
        var(--ud-bg-subtle);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }
    body.page-account a { color: var(--ud-link); text-decoration: none; }
    body.page-account a:hover { text-decoration: underline; }

    body.page-account .topbar {
      position: sticky;
      top: 0;
      z-index: 10;
      background: rgba(255,255,255,0.88);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(209, 215, 220, 0.8);
    }
    body.page-account .topbar-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0.55rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    body.page-account .brand img {
      height: 2.15rem;
      max-width: min(68vw, 280px);
    }

    body.page-account .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.55rem 0.95rem;
      min-height: 40px;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.9rem;
      border: 1px solid var(--ud-border);
      background: #fff;
      cursor: pointer;
      font-family: inherit;
      color: var(--ud-text);
      text-decoration: none;
      white-space: nowrap;
    }
    body.page-account .btn:hover { text-decoration: none; border-color: #c7cdd3; }
    body.page-account .btn:focus-visible { outline: 2px solid var(--ud-purple); outline-offset: 2px; }
    body.page-account .btn--primary {
      background: var(--ud-text);
      border-color: var(--ud-text);
      color: #fff;
    }
    body.page-account .btn--primary:hover { background: #000; border-color: #000; }
    body.page-account .btn--purple {
      background: var(--ud-cta);
      border-color: var(--ud-cta);
      color: #fff;
    }
    body.page-account .btn--purple:hover { background: var(--ud-cta-hover); border-color: var(--ud-cta-hover); }

    body.page-account .account-page { padding: 1.25rem; }
    body.page-account .account-shell {
      max-width: var(--ud-max);
      margin: 0 auto;
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
      align-items: start;
    }
    @media (min-width: 980px) {
      body.page-account .account-shell { grid-template-columns: 280px 1fr; }
    }

    body.page-account .account-nav {
      position: sticky;
      top: 76px;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: rgba(255,255,255,0.92);
      backdrop-filter: blur(10px);
      border-radius: 16px;
      padding: 1rem;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }
    @media (max-width: 979px) {
      body.page-account .account-nav { position: relative; top: auto; }
    }
    body.page-account .account-user {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding-bottom: 0.85rem;
      margin-bottom: 0.85rem;
      border-bottom: 1px solid #e2e8f0;
    }
    body.page-account .avatar {
      width: 44px;
      height: 44px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      font-weight: 950;
      color: #fff;
      background: linear-gradient(135deg, var(--ud-purple), var(--ud-cta));
      box-shadow: 0 10px 24px rgba(86, 36, 208, 0.22);
    }
    body.page-account .who .name { font-weight: 950; color: var(--ud-text); line-height: 1.1; }
    body.page-account .who .email { color: var(--ud-muted); font-size: 0.9rem; }

    body.page-account .navlist { display: grid; gap: 0.25rem; margin-bottom: 0.85rem; }
    body.page-account .navitem {
      padding: 0.6rem 0.65rem;
      border-radius: 12px;
      color: var(--ud-text);
      font-weight: 800;
      text-decoration: none;
      border: 1px solid transparent;
    }
    body.page-account .navitem:hover { text-decoration: none; background: rgba(86, 36, 208, 0.06); }
    body.page-account .navitem.active {
      background: rgba(86, 36, 208, 0.1);
      border-color: rgba(86, 36, 208, 0.14);
    }

    body.page-account .account-mini {
      border-top: 1px solid #e2e8f0;
      padding-top: 0.85rem;
      display: grid;
      gap: 0.65rem;
      font-size: 0.92rem;
    }
    body.page-account .mini-row { display: grid; gap: 0.15rem; }
    body.page-account .mini-k { color: var(--ud-muted); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
    body.page-account .mini-v { color: var(--ud-text); font-weight: 800; }

    body.page-account .pill {
      display: inline-flex;
      align-items: center;
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      font-weight: 900;
      font-size: 0.8rem;
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: #fff;
      color: var(--ud-text);
      width: fit-content;
    }
    body.page-account .pill--soft { background: #f1f5f9; border-color: #e2e8f0; color: #0f172a; }
    body.page-account .pill--mint { background: rgba(20, 184, 166, 0.12); border-color: rgba(20, 184, 166, 0.25); color: #065f46; }
    body.page-account .pill--gold { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.28); color: #92400e; }
    body.page-account .pill--status { white-space: nowrap; }

    body.page-account .account-hero {
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
      border-radius: 16px;
      padding: 1rem 1rem 1.05rem;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
      display: grid;
      gap: 0.85rem;
      align-items: start;
    }
    @media (min-width: 860px) {
      body.page-account .account-hero { grid-template-columns: 1.25fr 0.75fr; }
    }
    body.page-account .kicker {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #1e3a8a;
      background: rgba(224, 231, 255, 0.85);
      padding: 0.25rem 0.5rem;
      border-radius: 999px;
      margin-bottom: 0.65rem;
      width: fit-content;
    }
    body.page-account .title {
      margin: 0 0 0.35rem;
      font-size: clamp(1.35rem, 2.4vw, 1.7rem);
      line-height: 1.15;
      font-weight: 950;
    }
    body.page-account .subtitle { margin: 0; color: var(--ud-muted); font-size: 0.95rem; max-width: 70ch; }

    body.page-account .hero-right {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
    }
    body.page-account .stat {
      border: 1px solid #e2e8f0;
      background:
        radial-gradient(120px 60px at 10% 0%, rgba(86, 36, 208, 0.12) 0%, rgba(86, 36, 208, 0) 65%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
      border-radius: 14px;
      padding: 0.8rem 0.85rem 0.75rem;
      box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    }
    body.page-account .stat--link { color: inherit; text-decoration: none; display: block; }
    body.page-account .stat--link:hover { text-decoration: none; border-color: rgba(86, 36, 208, 0.22); box-shadow: 0 12px 34px rgba(15, 23, 42, 0.10); }
    body.page-account .stat--link:focus-visible { outline: 2px solid var(--ud-purple); outline-offset: 3px; }

    body.page-account .stat-top { display: flex; align-items: center; gap: 0.5rem; }
    body.page-account .stat-ico {
      width: 28px;
      height: 28px;
      border-radius: 10px;
      display: grid;
      place-items: center;
      font-weight: 950;
      font-size: 0.9rem;
      color: #1e3a8a;
      background: rgba(224, 231, 255, 0.9);
      border: 1px solid rgba(165, 180, 252, 0.65);
    }
    body.page-account .stat-ico--mint {
      color: #065f46;
      background: rgba(20, 184, 166, 0.12);
      border-color: rgba(20, 184, 166, 0.25);
    }
    body.page-account .stat-ico--gold {
      color: #92400e;
      background: rgba(245, 158, 11, 0.14);
      border-color: rgba(245, 158, 11, 0.28);
    }
    body.page-account .stat-ico--slate {
      color: #0f172a;
      background: rgba(148, 163, 184, 0.18);
      border-color: rgba(148, 163, 184, 0.35);
    }
    body.page-account .stat-k { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ud-muted); font-weight: 950; }
    body.page-account .stat-v { font-size: 1.45rem; font-weight: 950; color: var(--ud-text); margin-top: 0.3rem; line-height: 1.05; }
    body.page-account .stat-sub { margin-top: 0.25rem; color: var(--ud-muted); font-size: 0.85rem; font-weight: 750; }

    body.page-account .account-grid {
      display: grid;
      gap: 0.85rem;
      margin-top: 0.85rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 900px) {
      body.page-account .account-grid { grid-template-columns: 1fr 1fr; align-items: start; }
    }
    body.page-account .account-card--wide { grid-column: 1 / -1; }
    body.page-account .account-card {
      border: 1px solid rgba(226, 232, 240, 0.95);
      background: #fff;
      border-radius: 16px;
      padding: 1rem 1rem 0.95rem;
      box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    }
    body.page-account .card-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }
    body.page-account .card-head h2 { margin: 0; font-size: 1.05rem; font-weight: 950; }
    body.page-account .card-head .link { color: var(--ud-link); font-weight: 900; font-size: 0.9rem; }
    body.page-account .card-head .link:hover { text-decoration: underline; }

    body.page-account .continue { display: grid; gap: 0.65rem; }
    body.page-account .course-chip {
      display: grid;
      gap: 0.35rem;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      padding: 0.8rem 0.85rem 0.75rem;
      background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }
    body.page-account .course-top {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }
    body.page-account .course-title { font-weight: 950; color: var(--ud-text); }
    body.page-account .course-meta { color: var(--ud-muted); font-size: 0.9rem; font-weight: 700; }
    body.page-account .progress {
      height: 10px;
      border-radius: 999px;
      background: #e2e8f0;
      overflow: hidden;
      border: 1px solid #e2e8f0;
    }
    body.page-account .progress > div {
      height: 100%;
      width: 0%;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--ud-purple), var(--ud-cta));
      transition: width 0.35s ease;
    }
    body.page-account .course-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }

    body.page-account .course-list { display: grid; gap: 0.5rem; }
    body.page-account .course-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      padding: 0.75rem 0.85rem;
      background: #fff;
    }
    body.page-account .course-row .left { display: grid; gap: 0.15rem; }
    body.page-account .course-row .left .t { font-weight: 950; color: var(--ud-text); }
    body.page-account .course-row .left .m { color: var(--ud-muted); font-size: 0.9rem; font-weight: 700; }
    body.page-account .course-row .right { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }

    body.page-account .empty {
      border: 1px dashed rgba(148, 163, 184, 0.8);
      border-radius: 16px;
      padding: 1rem;
      background: rgba(248, 250, 252, 0.8);
      display: grid;
      gap: 0.5rem;
      color: var(--ud-muted);
    }
    body.page-account .empty strong { color: var(--ud-text); }
    body.page-account .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

    body.page-account .upcoming { display: grid; gap: 0.6rem; }
    body.page-account .up-row { border: 1px solid #e2e8f0; border-radius: 14px; padding: 0.75rem 0.85rem; background: #fff; }
    body.page-account .up-title { font-weight: 950; color: var(--ud-text); }
    body.page-account .up-meta { color: var(--ud-muted); font-size: 0.9rem; font-weight: 700; margin-top: 0.15rem; }

    body.page-account .cert-title { font-weight: 950; color: var(--ud-text); }
    body.page-account .cert-meta { color: var(--ud-muted); font-size: 0.9rem; font-weight: 700; margin-top: 0.2rem; }
    body.page-account code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 0.92em; }

    /* Billing styles removed (billing tab removed). */

    body.page-account .settings { display: grid; gap: 0.75rem; }
    body.page-account .field label {
      display: block;
      font-size: 0.75rem;
      font-weight: 900;
      margin-bottom: 0.35rem;
      color: var(--ud-text);
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }
    body.page-account input[type="text"],
    body.page-account input[type="email"],
    body.page-account input[type="password"],
    body.page-account input[type="tel"],
    body.page-account select {
      width: 100%;
      padding: 0.75rem 0.85rem;
      border: 1px solid var(--ud-border);
      border-radius: 12px;
      font: inherit;
      background: #fff;
      color: var(--ud-text);
    }
    body.page-account input:focus, body.page-account select:focus {
      outline: none;
      border-color: var(--ud-purple);
      box-shadow: 0 0 0 2px rgba(86, 36, 208, 0.15);
    }
    body.page-account .fineprint { margin: 0.85rem 0 0; font-size: 0.85rem; color: var(--ud-muted); line-height: 1.5; }

    /* Mobile polish */
    @media (max-width: 560px) {
      body.page-account .topbar-inner { padding: 0.55rem 0.85rem; gap: 0.65rem; }
      body.page-account .account-page { padding: 0.85rem; }
      body.page-account .account-shell { gap: 0.75rem; }
      body.page-account .account-nav { padding: 0.85rem; border-radius: 14px; }
      body.page-account .account-hero { padding: 0.9rem; border-radius: 14px; }
      body.page-account .title { font-size: 1.35rem; }
      body.page-account .subtitle { font-size: 0.95rem; }
      body.page-account .hero-right { grid-template-columns: 1fr; }
      body.page-account .stat { padding: 0.75rem; border-radius: 14px; }
      body.page-account .stat-top { gap: 0.55rem; }
      body.page-account .stat-v { font-size: 1.35rem; }
      body.page-account .account-card { padding: 0.9rem; border-radius: 14px; }
      body.page-account .course-row { flex-direction: column; align-items: flex-start; }
      body.page-account .course-row .right { width: 100%; justify-content: space-between; }
      body.page-account .actions .btn,
      body.page-account .course-actions .btn { flex: 1; }
    }

    @media (max-width: 380px) {
      body.page-account .actions .btn,
      body.page-account .course-actions .btn { width: 100%; justify-content: center; }
    }

:root {
      --ud-bg: #ffffff;
      --ud-bg-subtle: #f7f9fa;
      --ud-text: #1c1d1f;
      --ud-muted: #6a6f73;
      --ud-border: #d1d7dc;
      --ud-purple: #5624d0;
      --ud-purple-hover: #401b9c;
      --ud-cta: #a435f0;
      --ud-cta-hover: #8710d8;
      --ud-star: #e59819;
      --ud-link: #5624d0;
      --ud-radius: 4px;
      --ud-max: 1180px;
      --font: "DM Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
      --surface-muted: #f1f5f9;
      --surface-brand: #f5f3ff;
      --surface-warm: #faf8f5;
      --surface-slate: #f8fafc;
    }

    html.page-ud-ai *, html.page-ud-ai *::before, html.page-ud-ai *::after { box-sizing: border-box; }
    html.page-ud-ai { 
      scroll-behavior: smooth;
      scroll-padding-top: 7.5rem;
    }
    html.page-ud-ai body { 
      margin: 0;
      font-family: var(--font);
      font-size: 1.0625rem;
      line-height: 1.55;
      color: var(--ud-text);
      background: var(--ud-bg-subtle);
      -webkit-font-smoothing: antialiased;
    }

    html.page-ud-ai a {  color: var(--ud-link); text-decoration: none; }
    html.page-ud-ai a:hover {  text-decoration: underline; }

    html.page-ud-ai .skip {
      position: absolute;
      left: -9999px;
      z-index: 9999;
      padding: 0.75rem 1rem;
      background: var(--ud-purple);
      color: #fff;
      font-weight: 600;
    }
    html.page-ud-ai .skip:focus { left: 1rem; top: 1rem; }

    /* Site header: primary bar + in-page course subnav */
    html.page-ud-ai .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--ud-bg);
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    }
    html.page-ud-ai .topbar {
      border-bottom: 1px solid var(--ud-border);
      padding: 0.45rem 1.25rem;
    }
    html.page-ud-ai .topbar-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    html.page-ud-ai .logo {
      text-decoration: none;
    }
    html.page-ud-ai .logo img {
      height: 2.1rem;
      max-width: min(65vw, 260px);
    }
    html.page-ud-ai .topbar-nav {
      display: flex;
      align-items: center;
      gap: 1.15rem;
    }
    html.page-ud-ai .topbar-nav a {
      color: var(--ud-text);
      font-size: 1.02rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-decoration: none;
      padding: 0.45rem 0.2rem;
    }
    html.page-ud-ai .topbar-nav .social-links { display: inline-flex; gap: 0.55rem; margin-left: 0.25rem; align-items: center; }
    html.page-ud-ai .topbar-nav .social-link { width: 34px; height: 34px; }
    html.page-ud-ai .topbar-nav a:hover { color: var(--ud-purple); text-decoration: none; }
    html.page-ud-ai .course-subnav {
      border-top: 1px solid rgba(167, 139, 250, 0.35);
      background: linear-gradient(165deg, #312e81 0%, #1e1b4b 45%, #0f172a 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 6px 20px rgba(49, 46, 129, 0.35);
    }
    html.page-ud-ai .course-subnav-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0.55rem 1.25rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem 1.35rem;
    }
    @media (max-width: 900px) {
      html.page-ud-ai .course-subnav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 1.1rem;
        padding-bottom: 0.6rem;
        scrollbar-width: thin;
      }
    }
    html.page-ud-ai .course-subnav a {
      color: #e9d5ff;
      font-size: 0.92rem;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      padding: 0.35rem 0;
      text-transform: none;
      letter-spacing: 0;
      opacity: 0.92;
    }
    html.page-ud-ai .course-subnav a:hover {
      color: #fff;
      opacity: 1;
      text-decoration: none;
      text-shadow: 0 0 20px rgba(196, 181, 253, 0.45);
    }
    html.page-ud-ai .btn-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.05rem;
      min-height: 42px;
      border-radius: var(--ud-radius);
      font-weight: 700;
      font-size: 0.92rem;
      border: none;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.15s;
    }
    html.page-ud-ai .btn-cta:focus-visible {
      outline: 2px solid var(--ud-purple);
      outline-offset: 2px;
    }
    html.page-ud-ai .btn-cta--primary {
      background: var(--ud-text);
      color: #fff;
    }
    html.page-ud-ai .btn-cta--primary:hover { background: #000; text-decoration: none; color: #fff; }
    html.page-ud-ai .btn-cta--purple {
      background: var(--ud-cta);
      color: #fff;
    }
    html.page-ud-ai .btn-cta--purple:hover { background: var(--ud-cta-hover); text-decoration: none; color: #fff; }
    html.page-ud-ai .btn-cta--outline {
      background: transparent;
      color: var(--ud-text);
      border: 1px solid var(--ud-text);
    }
    html.page-ud-ai .menu-toggle {
      display: none;
      padding: 0.45rem 0.75rem;
      border: 1px solid var(--ud-border);
      background: #fff;
      border-radius: var(--ud-radius);
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 700;
    }
    @media (max-width: 880px) {
      html.page-ud-ai .menu-toggle { display: block; margin-left: auto; }
      html.page-ud-ai .topbar-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid var(--ud-border);
        padding: 0.85rem 1.25rem 1rem;
        z-index: 50;
        gap: 0.15rem;
      }
      html.page-ud-ai .topbar-nav.open { display: flex; }
      html.page-ud-ai .topbar { position: relative; }
      html.page-ud-ai .topbar-inner { flex-wrap: wrap; }
      html.page-ud-ai .topbar-nav a { padding: 0.65rem 0.25rem; border-radius: 6px; }
      html.page-ud-ai .topbar-nav a:hover { background: rgba(86, 36, 208, 0.06); }
    }

    /* Hero course header — stock image + dark overlay (Unsplash) */
    html.page-ud-ai .course-hero {
      position: relative;
      background-color: #1c1d1f;
      color: #fff;
      padding: 1.5rem 1.25rem 2rem;
      overflow: hidden;
    }
    @media (max-width: 520px) {
      html.page-ud-ai .course-hero { padding: 1.15rem 0.85rem 1.35rem; }
      html.page-ud-ai .page-wrap { padding: 0 0.85rem 2.25rem; }
    }
    html.page-ud-ai .course-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80");
      background-size: cover;
      background-position: center;
      z-index: 0;
    }
    html.page-ud-ai .course-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        165deg,
        rgba(28, 29, 31, 0.88) 0%,
        rgba(15, 23, 42, 0.9) 45%,
        rgba(28, 29, 31, 0.93) 100%
      );
      z-index: 1;
    }
    html.page-ud-ai .course-hero-inner {
      position: relative;
      z-index: 2;
      max-width: var(--ud-max);
      margin: 0 auto;
    }
    html.page-ud-ai .course-title {
      font-size: clamp(1.65rem, 3.8vw, 2.5rem);
      font-weight: 700;
      line-height: 1.2;
      margin: 0 0 0.65rem;
      max-width: 46rem;
    }
    html.page-ud-ai .course-subtitle {
      font-size: 1.2rem;
      color: #fff;
      opacity: 0.92;
      margin: 0 0 1rem;
      max-width: 42rem;
      font-weight: 400;
      line-height: 1.55;
    }
    html.page-ud-ai .course-meta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem 1rem;
      font-size: 0.88rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-ai .badge-ud {
      display: inline-block;
      padding: 0.2rem 0.45rem;
      border-radius: 2px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    html.page-ud-ai .badge-ud--gold { background: #eceb98; color: #3d3c0a; }
    html.page-ud-ai .badge-ud--teal { background: #acd2cc; color: #1e6055; }
    html.page-ud-ai .stars {
      color: var(--ud-star);
      letter-spacing: 0.05em;
    }
    html.page-ud-ai .course-meta-row a { color: #c0c4fc; }
    html.page-ud-ai .created-by { font-size: 0.88rem; color: #d1d7dc; }
    html.page-ud-ai .created-by a { color: #c0c4fc; font-weight: 700; }

    /* Layout */
    html.page-ud-ai .page-wrap {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0 1.25rem 3rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      align-items: start;
    }
    @media (min-width: 1080px) {
      html.page-ud-ai .page-wrap {
        grid-template-columns: minmax(0, 1fr) 340px;
        padding-top: 0;
      }
    }

    html.page-ud-ai .main-col { min-width: 0; margin-top: -3rem; position: relative; z-index: 2; }
    @media (min-width: 1080px) {
      html.page-ud-ai .main-col { margin-top: 0; padding-top: 1.5rem; }
    }

    /* Preview video */
    html.page-ud-ai .preview-box {
      background: #000;
      aspect-ratio: 16 / 9;
      border-radius: 0;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--ud-border);
      margin-bottom: 0;
    }
    @media (min-width: 768px) {
      html.page-ud-ai .preview-box { border-radius: 0; }
    }
    html.page-ud-ai .preview-box img,
    html.page-ud-ai .preview-placeholder {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    html.page-ud-ai .preview-placeholder {
      background: linear-gradient(135deg, #2d2f31 0%, #1c1d1f 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.5rem;
      color: #d1d7dc;
      font-size: 0.9rem;
    }
    html.page-ud-ai .play-btn {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: #fff;
      color: var(--ud-text);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      padding-left: 6px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
      cursor: pointer;
      border: none;
    }
    html.page-ud-ai .play-btn:hover { transform: scale(1.05); }

    /* Content blocks — base + variants for contrast */
    html.page-ud-ai .ud-section {
      background: var(--ud-bg);
      border: 1px solid var(--ud-border);
      padding: 1.5rem 1.25rem;
      margin-bottom: 1rem;
      border-radius: 6px;
    }
    html.page-ud-ai .ud-section--muted {
      background: var(--surface-muted);
      border-color: #e2e8f0;
    }
    html.page-ud-ai .ud-section--brand {
      background: var(--surface-brand);
      border-color: #ddd6fe;
    }
    html.page-ud-ai .ud-section--emphasis {
      background: #fff;
      border: 1px solid var(--ud-border);
      border-left: 4px solid var(--ud-purple);
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }
    html.page-ud-ai .ud-section--instructor {
      background: linear-gradient(165deg, #faf8ff 0%, #ffffff 50%, #f8fafc 100%);
      border: 1px solid #e9e4f7;
      box-shadow: 0 8px 32px rgba(86, 36, 208, 0.08);
    }
    html.page-ud-ai .ud-section--reviews {
      background: var(--surface-slate);
      border-color: #e2e8f0;
    }
    html.page-ud-ai .ud-section--blog {
      background: #fff;
      border: 1px solid var(--ud-border);
      border-radius: 6px;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
      position: relative;
      overflow: hidden;
    }
    html.page-ud-ai .ud-section--blog::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--ud-purple), var(--ud-cta));
    }
    html.page-ud-ai .ud-section--apply {
      background: linear-gradient(180deg, var(--surface-brand) 0%, #fff 45%);
      border: 1px solid #ddd6fe;
      box-shadow: 0 -4px 24px rgba(86, 36, 208, 0.06);
    }
    html.page-ud-ai .ud-section--content {
      background: #fff;
      border: 1px solid #e2e8f0;
      box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    }
    html.page-ud-ai .ud-section--brand .learn-item {
      background: rgba(255, 255, 255, 0.92);
      padding: 0.65rem 0.85rem;
      border-radius: 8px;
      border: 1px solid rgba(86, 36, 208, 0.12);
      box-shadow: 0 1px 2px rgba(86, 36, 208, 0.04);
    }
    html.page-ud-ai .ud-section--brand .learn-item::before {
      color: var(--ud-purple);
    }
    html.page-ud-ai .ud-section--reviews .review-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }
    html.page-ud-ai .ud-section h2 {
      font-size: 1.55rem;
      font-weight: 700;
      margin: 0 0 1rem;
      color: var(--ud-text);
    }
    html.page-ud-ai .learn-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.5rem 1.5rem;
    }
    @media (min-width: 700px) {
      html.page-ud-ai .learn-grid { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-ai .learn-item {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
      font-size: 1rem;
      color: var(--ud-text);
    }
    html.page-ud-ai .learn-item::before {
      content: "✓";
      flex-shrink: 0;
      color: var(--ud-text);
      font-weight: 700;
      font-size: 0.85rem;
    }

    /* Curriculum accordion */
    html.page-ud-ai .curriculum-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-ai .curriculum-head .stats { font-size: 0.85rem; color: var(--ud-muted); font-weight: 400; }
    html.page-ud-ai .acc-item {
      border: 1px solid var(--ud-border);
      margin-bottom: 0.5rem;
      background: #fff;
    }
    html.page-ud-ai .acc-item summary {
      padding: 0.9rem 1rem;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.95rem;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
    }
    html.page-ud-ai .acc-item summary::-webkit-details-marker { display: none; }
    html.page-ud-ai .acc-item summary:hover { background: var(--ud-bg-subtle); }
    html.page-ud-ai .acc-meta { font-size: 0.8rem; color: var(--ud-muted); font-weight: 400; }
    html.page-ud-ai .acc-body { padding: 0 1rem 1rem; border-top: 1px solid var(--ud-border); }
    html.page-ud-ai .lecture {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0;
      font-size: 0.85rem;
      color: var(--ud-text);
      border-bottom: 1px solid #eee;
    }
    html.page-ud-ai .lecture:last-child { border-bottom: none; }
    html.page-ud-ai .lecture .preview-tag {
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--ud-purple);
      text-transform: uppercase;
    }
    html.page-ud-ai .lecture time { color: var(--ud-muted); font-size: 0.8rem; }

    html.page-ud-ai .prose p { margin: 0 0 1rem; color: var(--ud-text); font-size: 1.02rem; line-height: 1.6; }
    html.page-ud-ai .prose ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--ud-text); font-size: 1.02rem; line-height: 1.55; }
    html.page-ud-ai .prose li { margin-bottom: 0.35rem; }

    /* Instructor */
    html.page-ud-ai .instructor-card {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    html.page-ud-ai .instructor-avatar {
      width: 112px;
      height: 112px;
      border-radius: 50%;
      background: linear-gradient(145deg, #5624d0, #a435f0);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 700;
      flex-shrink: 0;
    }
    html.page-ud-ai .instructor-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
    html.page-ud-ai .instructor-card .sub { font-size: 0.88rem; color: var(--ud-muted); margin: 0 0 0.5rem; }
    html.page-ud-ai .instructor-card p { margin: 0; font-size: 1rem; color: var(--ud-text); line-height: 1.55; }

    /* Reviews */
    html.page-ud-ai .review-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      align-items: center;
      margin-bottom: 1.25rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--ud-border);
    }
    html.page-ud-ai .review-big {
      text-align: center;
      min-width: 120px;
    }
    html.page-ud-ai .review-big .num { font-size: 3.25rem; font-weight: 700; color: var(--ud-star); line-height: 1; }
    html.page-ud-ai .review-bars { flex: 1; min-width: 200px; font-size: 0.75rem; }
    html.page-ud-ai .bar-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
    html.page-ud-ai .bar { flex: 1; height: 8px; background: #d1d7dc; border-radius: 2px; overflow: hidden; }
    html.page-ud-ai .bar-fill { height: 100%; background: #6a6f73; border-radius: 2px; }

    html.page-ud-ai .review-card {
      border: 1px solid var(--ud-border);
      padding: 1rem;
      margin-bottom: 0.65rem;
    }
    html.page-ud-ai .review-card .who { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.25rem; }
    html.page-ud-ai .review-card .stars-sm { color: var(--ud-star); font-size: 0.88rem; margin-bottom: 0.5rem; }
    html.page-ud-ai .review-card p { margin: 0; font-size: 0.95rem; color: var(--ud-text); line-height: 1.5; }

    /* Blog */
    html.page-ud-ai .blog-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 640px) {
      html.page-ud-ai .blog-grid { grid-template-columns: repeat(3, 1fr); }
    }
    html.page-ud-ai .blog-card {
      border: 1px solid var(--ud-border);
      overflow: hidden;
      background: #fff;
      transition: box-shadow 0.2s;
    }
    html.page-ud-ai .blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    html.page-ud-ai .blog-thumb {
      display: block;
      height: 140px;
      overflow: hidden;
      position: relative;
      background: #e2e8f0;
    }
    html.page-ud-ai .blog-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.35s ease;
    }
    html.page-ud-ai .blog-card:hover .blog-thumb img {
      transform: scale(1.04);
    }
    html.page-ud-ai .blog-card-body { padding: 1rem; }
    html.page-ud-ai .blog-card h3 {
      margin: 0 0 0.5rem;
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.35;
    }
    html.page-ud-ai .blog-card h3 a { color: var(--ud-text); text-decoration: none; }
    html.page-ud-ai .blog-card h3 a:hover { color: var(--ud-purple); }
    html.page-ud-ai .blog-meta { font-size: 0.82rem; color: var(--ud-muted); margin-bottom: 0.5rem; }
    html.page-ud-ai .blog-card p { margin: 0; font-size: 0.95rem; color: var(--ud-muted); line-height: 1.5; }

    /* Sidebar sticky */
    html.page-ud-ai .sidebar {
      position: relative;
    }
    @media (min-width: 1080px) {
      html.page-ud-ai .sidebar {
        position: sticky;
        top: 6.5rem;
        margin-top: -200px;
        z-index: 5;
      }
    }
    html.page-ud-ai .sidebar-card {
      background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
      border: 1px solid #ddd6fe;
      box-shadow:
        0 2px 4px rgba(86, 36, 208, 0.06),
        0 12px 40px rgba(15, 23, 42, 0.08);
      padding: 1.25rem;
      border-radius: 8px;
    }
    html.page-ud-ai .sidebar-card .price-row {
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-ai .price-free {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--ud-text);
    }
    html.page-ud-ai .price-note { font-size: 0.85rem; color: var(--ud-muted); }
    html.page-ud-ai .sidebar-card .btn-cta { width: 100%; margin-bottom: 0.5rem; }
    html.page-ud-ai .sidebar-list {
      list-style: none;
      margin: 1rem 0 0;
      padding: 0;
      font-size: 0.8rem;
      color: var(--ud-text);
    }
    html.page-ud-ai .sidebar-list li {
      padding: 0.4rem 0;
      padding-left: 1.35rem;
      position: relative;
      border-bottom: 1px solid #eee;
    }
    html.page-ud-ai .sidebar-list li:last-child { border-bottom: none; }
    html.page-ud-ai .sidebar-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      font-weight: 700;
      color: var(--ud-text);
    }
    html.page-ud-ai .countdown-mini {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.35rem;
      text-align: center;
      margin-top: 0.75rem;
      font-size: 0.7rem;
    }
    html.page-ud-ai .countdown-mini span.num {
      display: block;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--ud-purple);
    }

    html.page-ud-ai .site-footer {
      background: #1c1d1f;
      color: #d1d7dc;
      font-size: 0.875rem;
    }
    html.page-ud-ai .site-footer a {
      color: #c0c4fc;
      text-decoration: none;
    }
    html.page-ud-ai .site-footer a:hover { color: #fff; text-decoration: underline; }
    html.page-ud-ai .footer-main {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 2.5rem 1.25rem 2rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    @media (min-width: 640px) {
      html.page-ud-ai .footer-main { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 900px) {
      html.page-ud-ai .footer-main { grid-template-columns: 1.1fr repeat(3, 1fr); gap: 2.5rem; }
    }
    html.page-ud-ai .footer-brand {
      font-weight: 700;
      font-size: 1.05rem;
      color: #fff;
      margin: 0 0 0.75rem;
    }
    html.page-ud-ai .footer-brand span { color: #c0c4fc; }
    html.page-ud-ai .footer-desc {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1.55;
      color: #9da3a8;
      max-width: 28ch;
    }
    html.page-ud-ai .footer-col h4 {
      margin: 0 0 0.85rem;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #fff;
    }
    html.page-ud-ai .footer-links { list-style: none; margin: 0; padding: 0; }
    html.page-ud-ai .footer-links li { margin-bottom: 0.55rem; }
    html.page-ud-ai .footer-links a { font-size: 0.85rem; color: #d1d7dc; }
    html.page-ud-ai .footer-links a:hover { color: #fff; }
    html.page-ud-ai .footer-contact {
      font-size: 0.85rem;
      line-height: 1.6;
      color: #9da3a8;
    }
    html.page-ud-ai .footer-contact a { color: #c0c4fc; }
    html.page-ud-ai .social-links { display: inline-flex; gap: 0.6rem; align-items: center; }
    html.page-ud-ai .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(148, 163, 184, 0.25);
      background: rgba(255, 255, 255, 0.04);
      color: #d1d7dc;
      transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }
    html.page-ud-ai .social-link:hover {
      transform: translateY(-1px);
      border-color: rgba(192, 196, 252, 0.55);
      background: rgba(192, 196, 252, 0.08);
      color: #fff;
      text-decoration: none;
    }
    html.page-ud-ai .social-link svg { width: 18px; height: 18px; fill: currentColor; }
    html.page-ud-ai .footer-bottom {
      border-top: 1px solid #3e4143;
      padding: 1.25rem 1.25rem;
    }
    html.page-ud-ai .footer-bottom-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-size: 0.78rem;
      color: #9da3a8;
    }
    html.page-ud-ai .footer-legal-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.25rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    html.page-ud-ai .footer-legal-inline a { color: #9da3a8; }
    html.page-ud-ai .footer-legal-inline a:hover { color: #fff; }
    html.page-ud-ai .footer-photo-credit {
      font-size: 0.72rem;
      color: #6a6f73;
      margin: 0;
    }
    html.page-ud-ai .footer-photo-credit a { color: #9da3a8; }

    /* Application form */
    html.page-ud-ai .app-form-wrap {
      max-width: 720px;
    }
    html.page-ud-ai .app-form-wrap > .hint {
      font-size: 0.9rem;
      color: var(--ud-muted);
      margin: 0 0 1.25rem;
      line-height: 1.5;
    }
    html.page-ud-ai .field {
      margin-bottom: 1rem;
    }
    html.page-ud-ai .field label,
    html.page-ud-ai .field legend {
      display: block;
      font-size: 0.75rem;
      font-weight: 700;
      margin-bottom: 0.35rem;
      color: var(--ud-text);
    }
    html.page-ud-ai .field .optional { font-weight: 400; color: var(--ud-muted); }
    html.page-ud-ai .field input[type="text"],
    html.page-ud-ai .field input[type="email"],
    html.page-ud-ai .field input[type="tel"],
    html.page-ud-ai .field input[type="url"],
    html.page-ud-ai .field select,
    html.page-ud-ai .field textarea {
      width: 100%;
      padding: 0.65rem 0.75rem;
      border: 1px solid var(--ud-border);
      border-radius: var(--ud-radius);
      font: inherit;
      color: var(--ud-text);
      background: #fff;
    }
    html.page-ud-ai .field textarea { min-height: 88px; resize: vertical; }
    html.page-ud-ai .field input:focus,
    html.page-ud-ai .field select:focus,
    html.page-ud-ai .field textarea:focus {
      outline: none;
      border-color: var(--ud-purple);
      box-shadow: 0 0 0 1px var(--ud-purple);
    }
    html.page-ud-ai .field-row {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 560px) {
      html.page-ud-ai .field-row--2 { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-ai .chk-grid {
      display: grid;
      gap: 0.45rem 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 480px) {
      html.page-ud-ai .chk-grid { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-ai .chk-item {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.85rem;
      line-height: 1.4;
    }
    html.page-ud-ai .chk-item input {
      margin-top: 0.2rem;
      flex-shrink: 0;
    }
    fieldset.app-fieldset {
      border: 1px solid var(--ud-border);
      padding: 1rem;
      margin: 0 0 1rem;
      border-radius: var(--ud-radius);
    }
    fieldset.app-fieldset legend {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0 0.35rem;
    }
    html.page-ud-ai .consent {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.85rem;
      margin-bottom: 1rem;
    }
    html.page-ud-ai .consent input { margin-top: 0.2rem; }

    /* Bottom apply CTA */
    html.page-ud-ai .apply-cta {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      background: radial-gradient(900px 240px at 10% 0%, rgba(164, 53, 240, 0.18) 0%, rgba(164, 53, 240, 0) 60%),
                  radial-gradient(800px 240px at 95% 20%, rgba(86, 36, 208, 0.18) 0%, rgba(86, 36, 208, 0) 55%),
                  linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
      border: 1px solid #ddd6fe;
      box-shadow:
        0 10px 36px rgba(86, 36, 208, 0.14),
        0 2px 10px rgba(15, 23, 42, 0.06);
    }
    html.page-ud-ai .apply-cta::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(90deg, rgba(86,36,208,0.18), rgba(164,53,240,0.12));
      opacity: 0.35;
      mix-blend-mode: multiply;
    }
    html.page-ud-ai .apply-cta-inner {
      position: relative;
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 1.75rem 1.25rem;
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
      align-items: center;
    }
    @media (min-width: 900px) {
      html.page-ud-ai .apply-cta-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1.25rem;
      }
    }
    html.page-ud-ai .apply-cta h2 {
      margin: 0 0 0.35rem;
      font-size: clamp(1.25rem, 2.2vw, 1.55rem);
      line-height: 1.2;
    }
    html.page-ud-ai .apply-cta p {
      margin: 0;
      color: var(--ud-muted);
      font-size: 0.95rem;
      max-width: 62ch;
    }
    html.page-ud-ai .apply-cta-points {
      list-style: none;
      padding: 0;
      margin: 0.85rem 0 0;
      display: grid;
      gap: 0.45rem;
      color: var(--ud-text);
      font-size: 0.9rem;
    }
    html.page-ud-ai .apply-cta-points li {
      display: flex;
      gap: 0.6rem;
      align-items: flex-start;
    }
    html.page-ud-ai .apply-cta-points li::before {
      content: "✓";
      font-weight: 900;
      color: var(--ud-purple);
      margin-top: 0.05rem;
      flex-shrink: 0;
    }
    html.page-ud-ai .apply-cta-actions {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: stretch;
      justify-self: stretch;
    }
    html.page-ud-ai .apply-cta-actions .btn-cta { width: 100%; }
    html.page-ud-ai .apply-cta-mini {
      margin: 0.5rem 0 0;
      font-size: 0.8rem;
      color: var(--ud-muted);
      line-height: 1.45;
    }

:root {
      --ud-bg: #ffffff;
      --ud-bg-subtle: #f7f9fa;
      --ud-text: #1c1d1f;
      --ud-muted: #6a6f73;
      --ud-border: #d1d7dc;
      --ud-purple: #5624d0;
      --ud-purple-hover: #401b9c;
      --ud-cta: #a435f0;
      --ud-cta-hover: #8710d8;
      --ud-star: #e59819;
      --ud-link: #5624d0;
      --ud-radius: 4px;
      --ud-max: 1180px;
      --font: "DM Sans", "SF Pro Text", -apple-system, BlinkMacSystemFont, sans-serif;
      --surface-muted: #f1f5f9;
      --surface-brand: #f5f3ff;
      --surface-warm: #faf8f5;
      --surface-slate: #f8fafc;
    }

    html.page-ud-yt *, html.page-ud-yt *::before, html.page-ud-yt *::after { box-sizing: border-box; }
    html.page-ud-yt { 
      scroll-behavior: smooth;
      scroll-padding-top: 7.5rem;
    }
    html.page-ud-yt body { 
      margin: 0;
      font-family: var(--font);
      font-size: 1.0625rem;
      line-height: 1.55;
      color: var(--ud-text);
      background: var(--ud-bg-subtle);
      -webkit-font-smoothing: antialiased;
    }

    html.page-ud-yt a {  color: var(--ud-link); text-decoration: none; }
    html.page-ud-yt a:hover {  text-decoration: underline; }

    html.page-ud-yt .skip {
      position: absolute;
      left: -9999px;
      z-index: 9999;
      padding: 0.75rem 1rem;
      background: var(--ud-purple);
      color: #fff;
      font-weight: 600;
    }
    html.page-ud-yt .skip:focus { left: 1rem; top: 1rem; }

    /* Site header: primary bar + in-page course subnav */
    html.page-ud-yt .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: var(--ud-bg);
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    }
    html.page-ud-yt .topbar {
      border-bottom: 1px solid var(--ud-border);
      padding: 0.45rem 1.25rem;
    }
    html.page-ud-yt .topbar-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    html.page-ud-yt .logo {
      text-decoration: none;
    }
    html.page-ud-yt .logo img {
      height: 2.1rem;
      max-width: min(65vw, 260px);
    }
    html.page-ud-yt .topbar-nav {
      display: flex;
      align-items: center;
      gap: 1.15rem;
    }
    html.page-ud-yt .topbar-nav a {
      color: var(--ud-text);
      font-size: 1.02rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      text-decoration: none;
      padding: 0.45rem 0.2rem;
    }
    html.page-ud-yt .topbar-nav .social-links { display: inline-flex; gap: 0.55rem; margin-left: 0.25rem; align-items: center; }
    html.page-ud-yt .topbar-nav .social-link { width: 34px; height: 34px; }
    html.page-ud-yt .topbar-nav a:hover { color: var(--ud-purple); text-decoration: none; }
    html.page-ud-yt .course-subnav {
      border-top: 1px solid rgba(167, 139, 250, 0.35);
      background: linear-gradient(165deg, #312e81 0%, #1e1b4b 45%, #0f172a 100%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 6px 20px rgba(49, 46, 129, 0.35);
    }
    html.page-ud-yt .course-subnav-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0.55rem 1.25rem;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem 1.35rem;
    }
    @media (max-width: 900px) {
      html.page-ud-yt .course-subnav-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 1.1rem;
        padding-bottom: 0.6rem;
        scrollbar-width: thin;
      }
    }
    html.page-ud-yt .course-subnav a {
      color: #e9d5ff;
      font-size: 0.92rem;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      padding: 0.35rem 0;
      text-transform: none;
      letter-spacing: 0;
      opacity: 0.92;
    }
    html.page-ud-yt .course-subnav a:hover {
      color: #fff;
      opacity: 1;
      text-decoration: none;
      text-shadow: 0 0 20px rgba(196, 181, 253, 0.45);
    }
    html.page-ud-yt .btn-cta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.55rem 1.05rem;
      min-height: 42px;
      border-radius: var(--ud-radius);
      font-weight: 700;
      font-size: 0.92rem;
      border: none;
      cursor: pointer;
      font-family: inherit;
      transition: background 0.15s;
    }
    html.page-ud-yt .btn-cta:focus-visible {
      outline: 2px solid var(--ud-purple);
      outline-offset: 2px;
    }
    html.page-ud-yt .btn-cta--primary {
      background: var(--ud-text);
      color: #fff;
    }
    html.page-ud-yt .btn-cta--primary:hover { background: #000; text-decoration: none; color: #fff; }
    html.page-ud-yt .btn-cta--purple {
      background: var(--ud-cta);
      color: #fff;
    }
    html.page-ud-yt .btn-cta--purple:hover { background: var(--ud-cta-hover); text-decoration: none; color: #fff; }
    html.page-ud-yt .btn-cta--outline {
      background: transparent;
      color: var(--ud-text);
      border: 1px solid var(--ud-text);
    }
    html.page-ud-yt .menu-toggle {
      display: none;
      padding: 0.45rem 0.75rem;
      border: 1px solid var(--ud-border);
      background: #fff;
      border-radius: var(--ud-radius);
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 700;
    }
    @media (max-width: 880px) {
      html.page-ud-yt .menu-toggle { display: block; margin-left: auto; }
      html.page-ud-yt .topbar-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid var(--ud-border);
        padding: 0.85rem 1.25rem 1rem;
        z-index: 50;
        gap: 0.15rem;
      }
      html.page-ud-yt .topbar-nav.open { display: flex; }
      html.page-ud-yt .topbar { position: relative; }
      html.page-ud-yt .topbar-inner { flex-wrap: wrap; }
      html.page-ud-yt .topbar-nav a { padding: 0.65rem 0.25rem; border-radius: 6px; }
      html.page-ud-yt .topbar-nav a:hover { background: rgba(86, 36, 208, 0.06); }
    }

    /* Hero course header — stock image + dark overlay (Unsplash) */
    html.page-ud-yt .course-hero {
      position: relative;
      background-color: #1c1d1f;
      color: #fff;
      padding: 1.5rem 1.25rem 2rem;
      overflow: hidden;
    }
    @media (max-width: 520px) {
      html.page-ud-yt .course-hero { padding: 1.15rem 0.85rem 1.35rem; }
      html.page-ud-yt .page-wrap { padding: 0 0.85rem 2.25rem; }
    }
    html.page-ud-yt .course-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1920&q=80");
      background-size: cover;
      background-position: center;
      z-index: 0;
    }
    html.page-ud-yt .course-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        165deg,
        rgba(28, 29, 31, 0.88) 0%,
        rgba(15, 23, 42, 0.9) 45%,
        rgba(28, 29, 31, 0.93) 100%
      );
      z-index: 1;
    }
    html.page-ud-yt .course-hero-inner {
      position: relative;
      z-index: 2;
      max-width: var(--ud-max);
      margin: 0 auto;
    }
    html.page-ud-yt .course-title {
      font-size: clamp(1.65rem, 3.8vw, 2.5rem);
      font-weight: 700;
      line-height: 1.2;
      margin: 0 0 0.65rem;
      max-width: 46rem;
    }
    html.page-ud-yt .course-subtitle {
      font-size: 1.2rem;
      color: #fff;
      opacity: 0.92;
      margin: 0 0 1rem;
      max-width: 42rem;
      font-weight: 400;
      line-height: 1.55;
    }
    html.page-ud-yt .course-meta-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.5rem 1rem;
      font-size: 0.88rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-yt .badge-ud {
      display: inline-block;
      padding: 0.2rem 0.45rem;
      border-radius: 2px;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.02em;
    }
    html.page-ud-yt .badge-ud--gold { background: #eceb98; color: #3d3c0a; }
    html.page-ud-yt .badge-ud--teal { background: #acd2cc; color: #1e6055; }
    html.page-ud-yt .stars {
      color: var(--ud-star);
      letter-spacing: 0.05em;
    }
    html.page-ud-yt .course-meta-row a { color: #c0c4fc; }
    html.page-ud-yt .created-by { font-size: 0.88rem; color: #d1d7dc; }
    html.page-ud-yt .created-by a { color: #c0c4fc; font-weight: 700; }

    /* Layout */
    html.page-ud-yt .page-wrap {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 0 1.25rem 3rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      align-items: start;
    }
    @media (min-width: 1080px) {
      html.page-ud-yt .page-wrap {
        grid-template-columns: minmax(0, 1fr) 340px;
        padding-top: 0;
      }
    }

    html.page-ud-yt .main-col { min-width: 0; margin-top: -3rem; position: relative; z-index: 2; }
    @media (min-width: 1080px) {
      html.page-ud-yt .main-col { margin-top: 0; padding-top: 1.5rem; }
    }

    /* Preview video */
    html.page-ud-yt .preview-box {
      background: #000;
      aspect-ratio: 16 / 9;
      border-radius: 0;
      position: relative;
      overflow: hidden;
      border: 1px solid var(--ud-border);
      margin-bottom: 0;
    }
    @media (min-width: 768px) {
      html.page-ud-yt .preview-box { border-radius: 0; }
    }
    html.page-ud-yt .preview-box img,
    html.page-ud-yt .preview-placeholder {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    html.page-ud-yt .preview-placeholder {
      background: linear-gradient(135deg, #2d2f31 0%, #1c1d1f 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 0.5rem;
      color: #d1d7dc;
      font-size: 0.9rem;
    }
    html.page-ud-yt .play-btn {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: #fff;
      color: var(--ud-text);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.75rem;
      padding-left: 6px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4);
      cursor: pointer;
      border: none;
    }
    html.page-ud-yt .play-btn:hover { transform: scale(1.05); }

    /* Content blocks — base + variants for contrast */
    html.page-ud-yt .ud-section {
      background: var(--ud-bg);
      border: 1px solid var(--ud-border);
      padding: 1.5rem 1.25rem;
      margin-bottom: 1rem;
      border-radius: 6px;
    }
    html.page-ud-yt .ud-section--muted {
      background: var(--surface-muted);
      border-color: #e2e8f0;
    }
    html.page-ud-yt .ud-section--brand {
      background: var(--surface-brand);
      border-color: #ddd6fe;
    }
    html.page-ud-yt .ud-section--emphasis {
      background: #fff;
      border: 1px solid var(--ud-border);
      border-left: 4px solid var(--ud-purple);
      box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }
    html.page-ud-yt .ud-section--instructor {
      background: linear-gradient(165deg, #faf8ff 0%, #ffffff 50%, #f8fafc 100%);
      border: 1px solid #e9e4f7;
      box-shadow: 0 8px 32px rgba(86, 36, 208, 0.08);
    }
    html.page-ud-yt .ud-section--reviews {
      background: var(--surface-slate);
      border-color: #e2e8f0;
    }
    html.page-ud-yt .ud-section--blog {
      background: #fff;
      border: 1px solid var(--ud-border);
      border-radius: 6px;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
      position: relative;
      overflow: hidden;
    }
    html.page-ud-yt .ud-section--blog::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--ud-purple), var(--ud-cta));
    }
    html.page-ud-yt .ud-section--apply {
      background: linear-gradient(180deg, var(--surface-brand) 0%, #fff 45%);
      border: 1px solid #ddd6fe;
      box-shadow: 0 -4px 24px rgba(86, 36, 208, 0.06);
    }
    html.page-ud-yt .ud-section--content {
      background: #fff;
      border: 1px solid #e2e8f0;
      box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07);
    }
    html.page-ud-yt .ud-section--brand .learn-item {
      background: rgba(255, 255, 255, 0.92);
      padding: 0.65rem 0.85rem;
      border-radius: 8px;
      border: 1px solid rgba(86, 36, 208, 0.12);
      box-shadow: 0 1px 2px rgba(86, 36, 208, 0.04);
    }
    html.page-ud-yt .ud-section--brand .learn-item::before {
      color: var(--ud-purple);
    }
    html.page-ud-yt .ud-section--reviews .review-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 6px;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }
    html.page-ud-yt .ud-section h2 {
      font-size: 1.55rem;
      font-weight: 700;
      margin: 0 0 1rem;
      color: var(--ud-text);
    }
    html.page-ud-yt .learn-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0.5rem 1.5rem;
    }
    @media (min-width: 700px) {
      html.page-ud-yt .learn-grid { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-yt .learn-item {
      display: flex;
      gap: 0.65rem;
      align-items: flex-start;
      font-size: 1rem;
      color: var(--ud-text);
    }
    html.page-ud-yt .learn-item::before {
      content: "✓";
      flex-shrink: 0;
      color: var(--ud-text);
      font-weight: 700;
      font-size: 0.85rem;
    }

    /* Curriculum accordion */
    html.page-ud-yt .curriculum-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-yt .curriculum-head .stats { font-size: 0.85rem; color: var(--ud-muted); font-weight: 400; }
    html.page-ud-yt .acc-item {
      border: 1px solid var(--ud-border);
      margin-bottom: 0.5rem;
      background: #fff;
    }
    html.page-ud-yt .acc-item summary {
      padding: 0.9rem 1rem;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.95rem;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
    }
    html.page-ud-yt .acc-item summary::-webkit-details-marker { display: none; }
    html.page-ud-yt .acc-item summary:hover { background: var(--ud-bg-subtle); }
    html.page-ud-yt .acc-meta { font-size: 0.8rem; color: var(--ud-muted); font-weight: 400; }
    html.page-ud-yt .acc-body { padding: 0 1rem 1rem; border-top: 1px solid var(--ud-border); }
    html.page-ud-yt .lecture {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 0;
      font-size: 0.85rem;
      color: var(--ud-text);
      border-bottom: 1px solid #eee;
    }
    html.page-ud-yt .lecture:last-child { border-bottom: none; }
    html.page-ud-yt .lecture .preview-tag {
      font-size: 0.7rem;
      font-weight: 700;
      color: var(--ud-purple);
      text-transform: uppercase;
    }
    html.page-ud-yt .lecture time { color: var(--ud-muted); font-size: 0.8rem; }

    html.page-ud-yt .prose p { margin: 0 0 1rem; color: var(--ud-text); font-size: 1.02rem; line-height: 1.6; }
    html.page-ud-yt .prose ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--ud-text); font-size: 1.02rem; line-height: 1.55; }
    html.page-ud-yt .prose li { margin-bottom: 0.35rem; }

    /* Instructor */
    html.page-ud-yt .instructor-card {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    html.page-ud-yt .instructor-avatar {
      width: 112px;
      height: 112px;
      border-radius: 50%;
      background: linear-gradient(145deg, #5624d0, #a435f0);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: 700;
      flex-shrink: 0;
    }
    html.page-ud-yt .instructor-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
    html.page-ud-yt .instructor-card .sub { font-size: 0.88rem; color: var(--ud-muted); margin: 0 0 0.5rem; }
    html.page-ud-yt .instructor-card p { margin: 0; font-size: 1rem; color: var(--ud-text); line-height: 1.55; }

    /* Reviews */
    html.page-ud-yt .review-summary {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      align-items: center;
      margin-bottom: 1.25rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--ud-border);
    }
    html.page-ud-yt .review-big {
      text-align: center;
      min-width: 120px;
    }
    html.page-ud-yt .review-big .num { font-size: 3.25rem; font-weight: 700; color: var(--ud-star); line-height: 1; }
    html.page-ud-yt .review-bars { flex: 1; min-width: 200px; font-size: 0.75rem; }
    html.page-ud-yt .bar-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
    html.page-ud-yt .bar { flex: 1; height: 8px; background: #d1d7dc; border-radius: 2px; overflow: hidden; }
    html.page-ud-yt .bar-fill { height: 100%; background: #6a6f73; border-radius: 2px; }

    html.page-ud-yt .review-card {
      border: 1px solid var(--ud-border);
      padding: 1rem;
      margin-bottom: 0.65rem;
    }
    html.page-ud-yt .review-card .who { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.25rem; }
    html.page-ud-yt .review-card .stars-sm { color: var(--ud-star); font-size: 0.88rem; margin-bottom: 0.5rem; }
    html.page-ud-yt .review-card p { margin: 0; font-size: 0.95rem; color: var(--ud-text); line-height: 1.5; }

    /* Blog */
    html.page-ud-yt .blog-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    @media (min-width: 640px) {
      html.page-ud-yt .blog-grid { grid-template-columns: repeat(3, 1fr); }
    }
    html.page-ud-yt .blog-card {
      border: 1px solid var(--ud-border);
      overflow: hidden;
      background: #fff;
      transition: box-shadow 0.2s;
    }
    html.page-ud-yt .blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
    html.page-ud-yt .blog-thumb {
      display: block;
      height: 140px;
      overflow: hidden;
      position: relative;
      background: #e2e8f0;
    }
    html.page-ud-yt .blog-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transition: transform 0.35s ease;
    }
    html.page-ud-yt .blog-card:hover .blog-thumb img {
      transform: scale(1.04);
    }
    html.page-ud-yt .blog-card-body { padding: 1rem; }
    html.page-ud-yt .blog-card h3 {
      margin: 0 0 0.5rem;
      font-size: 1.05rem;
      font-weight: 700;
      line-height: 1.35;
    }
    html.page-ud-yt .blog-card h3 a { color: var(--ud-text); text-decoration: none; }
    html.page-ud-yt .blog-card h3 a:hover { color: var(--ud-purple); }
    html.page-ud-yt .blog-meta { font-size: 0.82rem; color: var(--ud-muted); margin-bottom: 0.5rem; }
    html.page-ud-yt .blog-card p { margin: 0; font-size: 0.95rem; color: var(--ud-muted); line-height: 1.5; }

    /* Sidebar sticky */
    html.page-ud-yt .sidebar {
      position: relative;
    }
    @media (min-width: 1080px) {
      html.page-ud-yt .sidebar {
        position: sticky;
        top: 6.5rem;
        margin-top: -200px;
        z-index: 5;
      }
    }
    html.page-ud-yt .sidebar-card {
      background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
      border: 1px solid #ddd6fe;
      box-shadow:
        0 2px 4px rgba(86, 36, 208, 0.06),
        0 12px 40px rgba(15, 23, 42, 0.08);
      padding: 1.25rem;
      border-radius: 8px;
    }
    html.page-ud-yt .sidebar-card .price-row {
      display: flex;
      align-items: baseline;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }
    html.page-ud-yt .price-free {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--ud-text);
    }
    html.page-ud-yt .price-note { font-size: 0.85rem; color: var(--ud-muted); }
    html.page-ud-yt .sidebar-card .btn-cta { width: 100%; margin-bottom: 0.5rem; }
    html.page-ud-yt .sidebar-list {
      list-style: none;
      margin: 1rem 0 0;
      padding: 0;
      font-size: 0.8rem;
      color: var(--ud-text);
    }
    html.page-ud-yt .sidebar-list li {
      padding: 0.4rem 0;
      padding-left: 1.35rem;
      position: relative;
      border-bottom: 1px solid #eee;
    }
    html.page-ud-yt .sidebar-list li:last-child { border-bottom: none; }
    html.page-ud-yt .sidebar-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      font-weight: 700;
      color: var(--ud-text);
    }
    html.page-ud-yt .countdown-mini {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.35rem;
      text-align: center;
      margin-top: 0.75rem;
      font-size: 0.7rem;
    }
    html.page-ud-yt .countdown-mini span.num {
      display: block;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--ud-purple);
    }

    html.page-ud-yt .site-footer {
      background: #1c1d1f;
      color: #d1d7dc;
      font-size: 0.875rem;
    }
    html.page-ud-yt .site-footer a {
      color: #c0c4fc;
      text-decoration: none;
    }
    html.page-ud-yt .site-footer a:hover { color: #fff; text-decoration: underline; }
    html.page-ud-yt .footer-main {
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 2.5rem 1.25rem 2rem;
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    @media (min-width: 640px) {
      html.page-ud-yt .footer-main { grid-template-columns: repeat(2, 1fr); }
    }
    @media (min-width: 900px) {
      html.page-ud-yt .footer-main { grid-template-columns: 1.1fr repeat(3, 1fr); gap: 2.5rem; }
    }
    html.page-ud-yt .footer-brand {
      font-weight: 700;
      font-size: 1.05rem;
      color: #fff;
      margin: 0 0 0.75rem;
    }
    html.page-ud-yt .footer-brand span { color: #c0c4fc; }
    html.page-ud-yt .footer-desc {
      margin: 0;
      font-size: 0.82rem;
      line-height: 1.55;
      color: #9da3a8;
      max-width: 28ch;
    }
    html.page-ud-yt .footer-col h4 {
      margin: 0 0 0.85rem;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #fff;
    }
    html.page-ud-yt .footer-links { list-style: none; margin: 0; padding: 0; }
    html.page-ud-yt .footer-links li { margin-bottom: 0.55rem; }
    html.page-ud-yt .footer-links a { font-size: 0.85rem; color: #d1d7dc; }
    html.page-ud-yt .footer-links a:hover { color: #fff; }
    html.page-ud-yt .footer-contact {
      font-size: 0.85rem;
      line-height: 1.6;
      color: #9da3a8;
    }
    html.page-ud-yt .footer-contact a { color: #c0c4fc; }
    html.page-ud-yt .social-links { display: inline-flex; gap: 0.6rem; align-items: center; }
    html.page-ud-yt .social-link {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 34px;
      height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(148, 163, 184, 0.25);
      background: rgba(255, 255, 255, 0.04);
      color: #d1d7dc;
      transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
    }
    html.page-ud-yt .social-link:hover {
      transform: translateY(-1px);
      border-color: rgba(192, 196, 252, 0.55);
      background: rgba(192, 196, 252, 0.08);
      color: #fff;
      text-decoration: none;
    }
    html.page-ud-yt .social-link svg { width: 18px; height: 18px; fill: currentColor; }
    html.page-ud-yt .footer-bottom {
      border-top: 1px solid #3e4143;
      padding: 1.25rem 1.25rem;
    }
    html.page-ud-yt .footer-bottom-inner {
      max-width: var(--ud-max);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      font-size: 0.78rem;
      color: #9da3a8;
    }
    html.page-ud-yt .footer-legal-inline {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.25rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
    html.page-ud-yt .footer-legal-inline a { color: #9da3a8; }
    html.page-ud-yt .footer-legal-inline a:hover { color: #fff; }
    html.page-ud-yt .footer-photo-credit {
      font-size: 0.72rem;
      color: #6a6f73;
      margin: 0;
    }
    html.page-ud-yt .footer-photo-credit a { color: #9da3a8; }

    /* Application form */
    html.page-ud-yt .app-form-wrap {
      max-width: 720px;
    }
    html.page-ud-yt .app-form-wrap > .hint {
      font-size: 0.9rem;
      color: var(--ud-muted);
      margin: 0 0 1.25rem;
      line-height: 1.5;
    }
    html.page-ud-yt .field {
      margin-bottom: 1rem;
    }
    html.page-ud-yt .field label,
    html.page-ud-yt .field legend {
      display: block;
      font-size: 0.75rem;
      font-weight: 700;
      margin-bottom: 0.35rem;
      color: var(--ud-text);
    }
    html.page-ud-yt .field .optional { font-weight: 400; color: var(--ud-muted); }
    html.page-ud-yt .field input[type="text"],
    html.page-ud-yt .field input[type="email"],
    html.page-ud-yt .field input[type="tel"],
    html.page-ud-yt .field input[type="url"],
    html.page-ud-yt .field select,
    html.page-ud-yt .field textarea {
      width: 100%;
      padding: 0.65rem 0.75rem;
      border: 1px solid var(--ud-border);
      border-radius: var(--ud-radius);
      font: inherit;
      color: var(--ud-text);
      background: #fff;
    }
    html.page-ud-yt .field textarea { min-height: 88px; resize: vertical; }
    html.page-ud-yt .field input:focus,
    html.page-ud-yt .field select:focus,
    html.page-ud-yt .field textarea:focus {
      outline: none;
      border-color: var(--ud-purple);
      box-shadow: 0 0 0 1px var(--ud-purple);
    }
    html.page-ud-yt .field-row {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 560px) {
      html.page-ud-yt .field-row--2 { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-yt .chk-grid {
      display: grid;
      gap: 0.45rem 1rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 480px) {
      html.page-ud-yt .chk-grid { grid-template-columns: 1fr 1fr; }
    }
    html.page-ud-yt .chk-item {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.85rem;
      line-height: 1.4;
    }
    html.page-ud-yt .chk-item input {
      margin-top: 0.2rem;
      flex-shrink: 0;
    }
    fieldset.app-fieldset {
      border: 1px solid var(--ud-border);
      padding: 1rem;
      margin: 0 0 1rem;
      border-radius: var(--ud-radius);
    }
    fieldset.app-fieldset legend {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0 0.35rem;
    }
    html.page-ud-yt .consent {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      font-size: 0.85rem;
      margin-bottom: 1rem;
    }
    html.page-ud-yt .consent input { margin-top: 0.2rem; }

    /* Bottom apply CTA */
    html.page-ud-yt .apply-cta {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      background: radial-gradient(900px 240px at 10% 0%, rgba(164, 53, 240, 0.18) 0%, rgba(164, 53, 240, 0) 60%),
                  radial-gradient(800px 240px at 95% 20%, rgba(86, 36, 208, 0.18) 0%, rgba(86, 36, 208, 0) 55%),
                  linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
      border: 1px solid #ddd6fe;
      box-shadow:
        0 10px 36px rgba(86, 36, 208, 0.14),
        0 2px 10px rgba(15, 23, 42, 0.06);
    }
    html.page-ud-yt .apply-cta::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(90deg, rgba(86,36,208,0.18), rgba(164,53,240,0.12));
      opacity: 0.35;
      mix-blend-mode: multiply;
    }
    html.page-ud-yt .apply-cta-inner {
      position: relative;
      max-width: var(--ud-max);
      margin: 0 auto;
      padding: 1.75rem 1.25rem;
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
      align-items: center;
    }
    @media (min-width: 900px) {
      html.page-ud-yt .apply-cta-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 1.25rem;
      }
    }
    html.page-ud-yt .apply-cta h2 {
      margin: 0 0 0.35rem;
      font-size: clamp(1.25rem, 2.2vw, 1.55rem);
      line-height: 1.2;
    }
    html.page-ud-yt .apply-cta p {
      margin: 0;
      color: var(--ud-muted);
      font-size: 0.95rem;
      max-width: 62ch;
    }
    html.page-ud-yt .apply-cta-points {
      list-style: none;
      padding: 0;
      margin: 0.85rem 0 0;
      display: grid;
      gap: 0.45rem;
      color: var(--ud-text);
      font-size: 0.9rem;
    }
    html.page-ud-yt .apply-cta-points li {
      display: flex;
      gap: 0.6rem;
      align-items: flex-start;
    }
    html.page-ud-yt .apply-cta-points li::before {
      content: "✓";
      font-weight: 900;
      color: var(--ud-purple);
      margin-top: 0.05rem;
      flex-shrink: 0;
    }
    html.page-ud-yt .apply-cta-actions {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      align-items: stretch;
      justify-self: stretch;
    }
    html.page-ud-yt .apply-cta-actions .btn-cta { width: 100%; }
    html.page-ud-yt .apply-cta-mini {
      margin: 0.5rem 0 0;
      font-size: 0.8rem;
      color: var(--ud-muted);
      line-height: 1.45;
    }
