:root{
 --navy:#062b2b;--navy2:#07504b;--blue:#1769e8;--blue2:#4b91ff;
 --cyan:#20b9e8;--green:#16a673;--green2:#27c58b;--mint:#e9fbf4;
 --gold:#f7bd31;--ink:#12243d;--muted:#6b7b90;
 --bg:#f4fbf8;--line:#dcebe6;--white:#fff;
 --shadow:0 18px 50px rgba(7,31,61,.10);--radius:18px;
}
.td-page *{box-sizing:border-box}
html{scroll-behavior:smooth}
.td-page{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#fff}
.td-page a{text-decoration:none;color:inherit}
.td-page button, .td-page input{font:inherit}
.td-page .container{width:min(1220px,92%);margin:auto}
.td-page .top{background:linear-gradient(90deg,#062b2b,#07504b);color:#dbe8f7;font-size:12px}
.td-page .top .container{height:36px;display:flex;justify-content:space-between;align-items:center}
.td-page .top a{color:#fff;font-weight:700}
.td-page .top-right{display:flex;gap:20px}
.td-page .header{min-height:76px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.td-page .nav{min-height:76px;display:flex;align-items:center;gap:14px;flex-wrap:nowrap;padding:8px 0}
.td-page .brand{display:flex;align-items:center;gap:9px;min-width:0;flex:none;margin-right:4px}
.td-page .brand-logo{height:48px;width:auto;display:block}
.td-page .brandmark{width:38px;height:38px;position:relative;display:grid;place-items:center}
.td-page .brandmark svg{width:38px;height:38px}
.td-page .brandname{font-size:20px;font-weight:900;letter-spacing:-.6px;color:var(--navy)}
.td-page .brandname span{color:var(--green)}
.td-page .navlinks{display:flex;align-items:center;gap:13px;flex:1;min-width:0}
.td-page .navlinks>a{font-size:13px;font-weight:700;color:#34465e;white-space:nowrap}
.td-page .navlinks>a:hover{color:var(--blue)}
.td-page .navactions{display:flex;gap:7px;align-items:center;flex-wrap:nowrap;flex:none}
.td-page .btn{border:0;border-radius:10px;padding:12px 17px;font-size:11px;font-weight:800;letter-spacing:.02em;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;transition:.2s;white-space:nowrap}
.td-page .btn.icon-only{width:38px;height:38px;padding:0;font-size:16px;flex:none;position:relative}
.td-page .btn:hover{transform:translateY(-2px)}
.td-page .primary{background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;box-shadow:0 8px 20px rgba(23,105,232,.22)}
.td-page .secondary{background:#fff;color:var(--navy);border:1.5px solid #d7e4e0;box-shadow:0 1px 3px rgba(7,31,61,.04)}
.td-page .secondary:hover{border-color:var(--green);color:var(--green);box-shadow:0 6px 16px rgba(22,166,115,.14)}
.td-page .nav-cta-group{display:flex;gap:6px}
.td-page .btn.ghost{background:transparent;border:1.5px solid transparent;color:#4b6076;padding:9px 12px;font-size:10px}
.td-page .btn.ghost:hover{background:#f2f6fa;color:var(--blue);transform:none}
.td-page .dark{background:var(--navy);color:#fff}
.td-page .light{background:#fff;color:var(--navy)}
.td-page .menu{display:none;background:none;border:0;font-size:25px;color:var(--navy)}
.td-page .cart-link{position:relative}
.td-page .cart-count{position:absolute;top:-6px;right:-6px;background:var(--blue);color:#fff;border-radius:999px;font-size:9px;min-width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0 3px}
.td-page .hero{
 position:relative;overflow:hidden;color:#fff;
 background:
 linear-gradient(105deg,rgba(4,43,43,.94) 0%,rgba(5,70,68,.88) 42%,rgba(8,83,77,.66) 68%,rgba(6,39,74,.42) 100%),
 url("../images/hero/hero-engineer.webp") center/cover no-repeat;
 background-size:cover;
 width:100% !important;
 max-width:100% !important;
 margin:0 !important;
 border-radius:0 !important;
 left:0 !important;
 right:0 !important;
}
/* Force parent wrappers to be full-width too */
.td-page > main,
.td-page main{width:100%;max-width:none;margin:0;padding:0}
.td-page .hero .container,.td-page .hero .hero-inner{max-width:min(1220px,92%);margin:0 auto}
.td-page .hero:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-240px;top:-220px;background:rgba(32,185,232,.12);filter:blur(5px)}
.td-page .hero-inner{min-height:100vh;min-height:100svh;padding:75px 0 70px;display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center;position:relative;z-index:1}
@media (max-width:900px){
  .td-page .hero-inner{min-height:auto;padding:50px 0;grid-template-columns:1fr}
}
.td-page .kicker{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07);padding:8px 12px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#b9dcff}
.td-page .hero h1{font-size:62px;line-height:1.01;letter-spacing:-2.5px;margin:18px 0 20px;max-width:700px;color:#fff !important}
.td-page .hero h1 em{font-style:normal;color:#ffd04a !important}
.td-page .hero .lead{color:#dbe8ec !important}
.td-page .hero .lead{font-size:18px;line-height:1.7;color:#d7e5f4;max-width:650px;margin:0 0 28px}
.td-page .hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.td-page .hero .secondary{background:transparent;border-color:rgba(255,255,255,.35);color:#fff}
.td-page .hero-proof{display:flex;align-items:center;gap:14px;margin-top:28px;flex-wrap:wrap;color:#c9d8e9;font-size:12px}
/* Instructor recruitment CTA — sits right in the hero so it's visible
   without scrolling to the "Become an Instructor" section further down
   the homepage. Deliberately styled differently (warm gold accent)
   from the two learner-facing buttons above so it reads as its own
   invitation, not a third generic button. */
.td-page .hero-instructor-cta{
  display:inline-flex;align-items:center;gap:13px;margin-top:24px;
  padding:11px 20px 11px 11px;border-radius:16px;text-decoration:none;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,208,74,.38);
  backdrop-filter:blur(6px);transition:.25s;
}
.td-page .hero-instructor-cta:hover{
  background:rgba(255,255,255,.15);border-color:#ffd04a;
  transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,208,74,.2);
}
.td-page .hero-instructor-cta__icon{
  width:40px;height:40px;border-radius:12px;flex:none;display:grid;place-items:center;
  background:linear-gradient(135deg,#ffd04a,#ff9d4a);color:#1a1200;
}
.td-page .hero-instructor-cta__icon svg{width:19px;height:19px}
.td-page .hero-instructor-cta__text{display:flex;flex-direction:column;gap:2px;line-height:1.3}
.td-page .hero-instructor-cta__text strong{font-size:11.5px;font-weight:700;color:#eaf2ff}
.td-page .hero-instructor-cta__text>span{font-size:13px;font-weight:800;color:#ffd04a}
@media (max-width:900px){
  .td-page .hero-instructor-cta{margin-top:18px}
}
.td-page .face-stack{display:flex}
.td-page .face{width:34px;height:34px;border-radius:50%;border:2px solid #fff;background:linear-gradient(135deg,#dce9f7,#6b8ead);margin-left:-8px}
.td-page .face:first-child{margin-left:0}
.td-page .stars{color:#ffc83d;letter-spacing:2px}
.td-page .hero-panel{background:rgba(255,255,255,.97);color:var(--ink);border-radius:22px;padding:25px;box-shadow:0 30px 80px rgba(0,0,0,.28);max-width:455px;margin-left:auto}
.td-page .panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.td-page .panel-head h3{margin:0;font-size:18px}
.td-page .pill{background:#eaf3ff;color:var(--blue);padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900}
.td-page .panel-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}
.td-page .panel-item:last-child{border-bottom:0}
.td-page .ic{width:40px;height:40px;border-radius:12px;background:#eef5ff;color:var(--blue);display:grid;place-items:center;font-size:18px;flex:none}
.td-page .panel-item b{display:block;font-size:13px;margin-bottom:3px}
.td-page .panel-item small{display:block;color:var(--muted);font-size:11px;line-height:1.5}
.td-page .trust{border-bottom:1px solid var(--line);background:#fff}
.td-page .trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.td-page .trust-item{padding:22px 20px;display:flex;gap:12px;border-right:1px solid var(--line)}
.td-page .trust-item:first-child{padding-left:0}
.td-page .trust-item:last-child{border-right:0}
.td-page .trust-item b{font-size:12px;display:block}
.td-page .trust-item span{font-size:10px;color:var(--muted)}

/* Logo slideshow / marquee — used below the hero and in the "Experience Behind Our Instructors" section */
.td-page .logo-strip{background:#fff;border-bottom:1px solid var(--line);padding-top:40px}
.td-page .logo-strip-label{text-align:center;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0}
.td-page .logo-marquee{background:#fff;border-bottom:1px solid var(--line);overflow:hidden;padding:26px 0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.td-page .brand-network .logo-marquee{border:0;padding:0;margin-top:14px}
.td-page .logo-marquee-track{display:flex;align-items:center;gap:56px;width:max-content;animation:td-marquee 38s linear infinite}
.td-page .logo-marquee-track--reverse{animation-direction:reverse;animation-duration:44s}
.td-page .logo-marquee:hover .logo-marquee-track{animation-play-state:paused}
.td-page .logo-marquee-item{flex:none;display:flex;align-items:center;justify-content:center;height:84px}
.td-page .logo-marquee-item img{max-height:72px;max-width:190px;width:auto;object-fit:contain;filter:grayscale(.15) opacity(.92);transition:.2s}
.td-page .logo-marquee-item:hover img{filter:grayscale(0) opacity(1)}
.td-page .logo-marquee-item--card{height:130px;min-width:190px;border:1px solid #e0ebe7;border-radius:15px;background:#fff;padding:14px 20px}
.td-page .logo-marquee-item--card img{max-height:88px;max-width:150px}
@keyframes td-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.td-page .logo-marquee-track{animation:none}}

.td-page .choose-highlight{color:#e0393f;position:relative;display:inline-block}
.td-page .choose-highlight:after{content:"";position:absolute;left:-2px;right:-2px;bottom:-6px;height:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 20 2, 40 2, 60 8 S 100 14, 118 6' fill='none' stroke='%23e0393f' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center/100% 100%;transform:rotate(-1.5deg)}

.td-page section{padding:78px 0}
.td-page .soft{background:var(--bg)}
/* BUG FIX (client item 46): "Upcoming Courses" section blended into the
   surrounding white sections since var(--bg) is a barely-there off-white.
   Give this section its own distinct identity — a navy-tinted gradient
   band — and lift the course cards inside it with a visible border +
   shadow so they read as a clearly separate, polished block. */
.td-page section.upcoming{
        background:linear-gradient(180deg,#eef7f4 0%,#e3f3ee 100%);
        border-top:1px solid #d7ece5;
        border-bottom:1px solid #d7ece5;
        padding-top:56px;
        padding-bottom:56px;
}
.td-page .upcoming .course{
        background:#fff;
        border:1px solid #dbe9e4;
        border-radius:16px;
        overflow:hidden;
        box-shadow:0 14px 34px -20px rgba(6,43,43,.28);
        transition:transform .2s ease,box-shadow .2s ease;
}
.td-page .upcoming .course:hover{
        transform:translateY(-3px);
        box-shadow:0 20px 42px -18px rgba(6,43,43,.32);
}
html[data-theme="dark"] .td-page section.upcoming{
        background:linear-gradient(180deg,#0c211d 0%,#0a1c19 100%);
        border-color:#173b33;
}
html[data-theme="dark"] .td-page .upcoming .course{
        background:#0f2622;
        border-color:#1c463d;
}
.td-page .section-title{text-align:center;max-width:760px;margin:0 auto 38px}
.td-page .eyebrow{font-size:11px;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.14em}
.td-page .section-title h2{font-size:34px;letter-spacing:-1px;color:var(--navy);margin:8px 0}
.td-page .section-title p{color:var(--muted);margin:0;font-size:14px}
.td-page .search-wrap{max-width:900px;margin:auto}
.td-page .searchbar{display:flex;gap:8px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.td-page .searchbar input{flex:1;border:0;outline:0;padding:14px;font-size:14px;color:var(--ink)}
.td-page .quick{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.td-page .tag{padding:7px 11px;background:#fff;border:1px solid var(--line);border-radius:999px;font-size:10px;color:#52637a}
.td-page .goals{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.td-page .goal{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;transition:.2s}
.td-page .goal:hover, .td-page .course:hover, .td-page .cat:hover, .td-page .person-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.td-page .goal h3{font-size:13px;margin:13px 0 6px}
.td-page .goal p{font-size:10px;color:var(--muted);margin:0;line-height:1.6}
.td-page .cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.td-page .cat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px 12px;text-align:center;transition:.2s}
.td-page .cat-icon{height:52px;width:52px;border-radius:15px;margin:auto;display:grid;place-items:center;background:linear-gradient(135deg,#eaf3ff,#e3f7ff);color:var(--blue);box-shadow:inset 0 0 0 1px rgba(23,105,232,.08)}
.td-page .cat-icon svg{width:24px;height:24px}
.td-page .cat:hover .cat-icon{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff}
.td-page .cat h3{font-size:12px;margin:11px 0 3px}
.td-page .cat p{font-size:10px;color:var(--muted);margin:0}
.td-page .section-row{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}
.td-page .section-row h2{margin:0;font-size:29px;color:var(--navy);letter-spacing:-.7px}
.td-page .section-row p{margin:6px 0 0;color:var(--muted);font-size:12px}
.td-page .view{font-size:12px;color:var(--blue);font-weight:900}
.td-page .courses{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.td-page .course{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;transition:.2s;box-shadow:0 4px 14px rgba(7,31,61,.04)}
.td-page .course:hover{box-shadow:0 18px 40px rgba(7,31,61,.12)}
.td-page .course-img{height:172px;background:linear-gradient(135deg,#0b315b,#6994bd);position:relative;overflow:hidden;display:block}
.td-page .course-img:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.05),rgba(0,0,0,.22))}
.td-page .course-img.one{background:linear-gradient(135deg,#071f3d,#1e6bb0)}
.td-page .course-img.two{background:linear-gradient(135deg,#182c45,#698da9)}
.td-page .course-img.three{background:linear-gradient(135deg,#073d54,#1aa6b8)}
.td-page .course-img.four{background:linear-gradient(135deg,#182744,#385c8b)}
.td-page .course-img.has-photo{background-size:cover;background-position:center;transition:transform .35s}
.td-page .course:hover .course-img.has-photo{transform:scale(1.05)}
.td-page .course-img .course-img-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:1}
.td-page .course-img .course-img-fallback svg{width:46px;height:46px;opacity:.5}
.td-page .badge{position:absolute;z-index:2;top:12px;left:12px;background:#ffc83d;color:#14243b;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:900}
.td-page .course-body{padding:16px}
.td-page .course h3{font-size:14px;line-height:1.35;margin:0 0 8px;color:var(--navy)}
.td-page .course .instructor{font-size:10px;color:var(--muted)}
.td-page .rating{font-size:11px;color:var(--muted);margin-top:10px}
.td-page .rating b{color:#f3ae00}
.td-page .course-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:15px}
.td-page .price{font-size:18px;font-weight:900;color:var(--navy)}
.td-page .price del{font-size:11px;font-weight:500;text-decoration:line-through;color:#9ba8b8;margin-left:5px}
.td-page .price ins{text-decoration:none}
.td-page .old{font-size:10px;text-decoration:line-through;color:#9ba8b8;margin-left:5px}
/* Round 18 (item 13 — client: "the notify button is bigger than its
   box"): this used to be a 34×34 icon-button size, but the button now
   carries the text "Notify Me →", so it overflowed its box. Real
   text-button sizing: auto width, nowrap, ≥44px tap height. */
.td-page .mini-btn{width:auto;min-width:44px;min-height:40px;height:auto;padding:10px 16px;border-radius:10px;border:1px solid var(--line);background:#fff;color:var(--blue);font-weight:900;font-size:11.5px;line-height:1;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;transition:.2s}
.td-page .course:hover .mini-btn{background:var(--blue);color:#fff;border-color:var(--blue)}
.td-page .features{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}
.td-page .feature{text-align:center}
.td-page .feature .ic{margin:auto}
.td-page .feature b{display:block;font-size:11px;margin-top:10px}
.td-page .feature p{font-size:10px;color:var(--muted);line-height:1.5}
.td-page .upcoming .course-img{height:135px}
.td-page .expert-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.td-page .person-card{border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px;text-align:center;transition:.2s}
.td-page .portrait{height:86px;width:86px;border-radius:50%;margin:auto;background:linear-gradient(135deg,#e4edf8,#718fab);border:4px solid #fff;box-shadow:0 5px 18px rgba(9,36,67,.12)}
.td-page .person-card h3{font-size:13px;margin:12px 0 4px}
.td-page .person-card p{font-size:10px;color:var(--muted);margin:3px 0}
.td-page .person-card a{display:inline-block;color:var(--blue);font-size:10px;font-weight:800;margin-top:9px}
.td-page .test-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.td-page .testimonial{background:#fff;border:1px solid var(--line);border-radius:16px;padding:25px;position:relative}
.td-page .quote{font-size:31px;color:#b8d2f4;line-height:1}
.td-page .quote-end{text-align:right;margin-top:-10px}
.td-page .testimonial p{font-size:13px;color:#506077;line-height:1.75}
.td-page .reviewer{display:flex;gap:10px;align-items:center;margin-top:17px}
.td-page .reviewpic{width:42px;height:42px;border-radius:50%;overflow:hidden;flex:none}
.td-page .reviewpic svg{width:100%;height:100%;display:block}
.td-page .reviewer b{font-size:11px;display:block}
.td-page .reviewer span{font-size:9px;color:var(--muted)}
.td-page .logos{display:flex;justify-content:space-around;gap:30px;align-items:center;flex-wrap:wrap;opacity:.75}
.td-page .logo-txt{font-weight:900;font-size:17px;color:#3e5068}
.td-page .growth{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.td-page .growth-card{min-height:335px;border-radius:22px;padding:38px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;color:#fff !important}
.td-page .growth-card:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;bottom:-100px;background:rgba(255,255,255,.09)}
.td-page .affiliate{background:linear-gradient(135deg,#051f3d,#0b4e8f);color:#fff}
.td-page .instructor-box{background:linear-gradient(135deg,#eaf3ff,#d9eaff);color:var(--navy)}
.td-page .growth-card.instructor-box h2, .td-page .growth-card.instructor-box p, .td-page .growth-card.instructor-box .growth-label{color:var(--navy) !important}
.td-page .instructor-box .growth-points span{color:var(--navy) !important;border-color:#c7d8ed}
.td-page .growth-label{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;opacity:.75;color:#fff}
.td-page .growth-card h2{font-size:31px;line-height:1.1;margin:10px 0;color:#fff !important}
.td-page .growth-card p{max-width:500px;font-size:13px;line-height:1.7;opacity:.85;color:#fff !important}
.td-page .growth-points{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}
.td-page .growth-points span{font-size:10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:7px 9px}
.td-page .growth-card .btn{width:max-content;position:relative;z-index:2}
.td-page .process{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:28px}
.td-page .step{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}
.td-page .stepnum{width:32px;height:32px;border-radius:9px;background:#eaf3ff;color:var(--blue);display:grid;place-items:center;font-weight:900;font-size:11px}
.td-page .step h3{font-size:13px;margin:13px 0 5px}
.td-page .step p{font-size:10px;color:var(--muted);margin:0;line-height:1.6}
.td-page .faq-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.td-page .faq details{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 18px;margin-bottom:10px}
.td-page .faq summary{font-weight:800;font-size:12px;cursor:pointer}
.td-page .faq p{font-size:11px;color:var(--muted);line-height:1.6}
.td-page .cta{background:linear-gradient(105deg,#061f3d,#1263b9);border-radius:22px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:30px;color:#fff !important}
.td-page .cta h2{font-size:34px;margin:0 0 8px;color:#fff !important}
.td-page .cta p{margin:0;color:#cddceb !important;font-size:13px}
.td-page footer{background:#03172d;color:#b9c8da;padding:58px 0 24px}
.td-page .footgrid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:35px}
.td-page .footbrand p{max-width:330px;font-size:11px;line-height:1.8}
.td-page .foot h3{color:#fff;font-size:12px;margin:0 0 15px}
.td-page .foot a{display:block;font-size:10px;margin:9px 0;color:#9eb0c5}
.td-page .footbrand .brand-logo{height:52px;width:auto;margin-bottom:14px}
.td-page .foot-socials{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px}
.td-page .foot-socials a{margin:0;font-weight:700;color:#cfe0ea}
.td-page .foot-socials a:hover{color:#fff}
.td-page .foot-contact{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
.td-page .foot-contact a, .td-page .foot-contact span{display:block;font-size:10px;margin:8px 0;color:#9eb0c5}
.td-page .bottom{border-top:1px solid rgba(255,255,255,.10);margin-top:35px;padding-top:18px;font-size:9px;display:flex;justify-content:space-between}
@media (max-width:1440px){.td-page .nav-cta-group{display:none}}
@media (max-width:1050px){.td-page .navlinks{display:none}
.td-page .menu{display:block}
.td-page .navlinks.is-open{display:flex;flex-direction:column;align-items:flex-start;gap:2px;position:absolute;top:76px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:12px 5%;box-shadow:0 12px 24px rgba(7,31,61,.08);z-index:99}
.td-page .navlinks.is-open>a{padding:10px 0;width:100%;border-bottom:1px solid var(--line)}
.td-page .hero-inner{grid-template-columns:1fr}
.td-page .hero-panel{margin:0}
.td-page .hero h1{font-size:50px}
.td-page .goals{grid-template-columns:repeat(3,1fr)}
.td-page .cats{grid-template-columns:repeat(3,1fr)}
.td-page .courses{grid-template-columns:repeat(2,1fr)}
.td-page .features{grid-template-columns:repeat(3,1fr)}
.td-page .expert-grid{grid-template-columns:repeat(3,1fr)}
.td-page .growth{grid-template-columns:1fr}
.td-page .footgrid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:650px){.td-page .top-right{display:none}
.td-page .top .container{justify-content:center}
.td-page .nav{gap:10px}
.td-page .brand{min-width:0}
.td-page .brandname{font-size:18px}
.td-page .navactions .secondary{display:none}
.td-page .navactions .primary{padding:10px 12px}
.td-page .hero-inner{padding:55px 0}
.td-page .hero h1{font-size:38px;letter-spacing:-1.5px}
.td-page .hero .lead{font-size:15px}
.td-page .trust-grid, .td-page .goals, .td-page .cats, .td-page .courses, .td-page .features, .td-page .expert-grid, .td-page .test-grid, .td-page .faq-grid, .td-page .process, .td-page .footgrid{grid-template-columns:1fr}
.td-page .trust-item{border-right:0;border-bottom:1px solid var(--line)}
.td-page .trust-item:last-child{border-bottom:0}
.td-page .section-row{display:block}
.td-page .view{display:inline-block;margin-top:12px}
.td-page .growth-card{min-height:300px;padding:28px}
.td-page .cta{display:block;padding:32px}
.td-page .cta .btn{margin-top:20px}
.td-page .bottom{display:block}
.td-page .bottom span{display:block;margin-top:8px}}
.td-page .mentor-support{padding:84px 0;background:linear-gradient(180deg,#effbf7 0%,#f7fbff 100%)}
.td-page .support-title{margin-bottom:42px}
.td-page .support-title h2{max-width:850px;margin-left:auto;margin-right:auto}
.td-page .support-journey{display:grid;grid-template-columns:1fr auto 1.25fr auto 1fr;gap:12px;align-items:stretch;margin-bottom:30px}
.td-page .support-step{background:#fff;border:1px solid #d9e9e4;border-radius:16px;padding:18px;display:flex;gap:12px;align-items:flex-start;box-shadow:0 10px 30px rgba(7,80,68,.05)}
.td-page .support-step.free-support{border-color:#9de1c7;background:linear-gradient(135deg,#fff,#edfff7)}
.td-page .support-icon{width:36px;height:36px;border-radius:10px;background:#e4f8ef;color:var(--green);display:grid;place-items:center;font-weight:900;font-size:10px;flex:none}
.td-page .support-step b{display:block;font-size:12px;color:var(--navy)}
.td-page .support-step span{display:block;color:var(--muted);font-size:9px;line-height:1.6;margin-top:4px}
.td-page .support-arrow{display:grid;place-items:center;color:var(--green);font-size:22px;font-weight:900}
.td-page .support-main{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px;align-items:stretch}
.td-page .support-benefit{background:linear-gradient(145deg,#062b2b,#08766a);border-radius:22px;padding:34px;color:#fff !important;box-shadow:0 24px 60px rgba(4,65,59,.18)}
.td-page .support-badge{display:inline-block;background:rgba(39,197,139,.17);border:1px solid rgba(118,255,202,.25);border-radius:999px;padding:7px 10px;font-size:8px;font-weight:900;letter-spacing:.12em;color:#baffdf !important}
.td-page .support-benefit h3{font-size:30px;margin:14px 0 9px;letter-spacing:-.7px;color:#fff !important}
.td-page .support-benefit>p{font-size:12px;line-height:1.8;color:#d9eee9 !important;margin:0 0 20px}
.td-page .benefit-list b{color:#fff !important}
.td-page .benefit-list small{color:#c8e6de !important}
.td-page .benefit-list{display:grid;gap:12px;margin-bottom:24px}
.td-page .benefit-list div{display:grid;grid-template-columns:24px 1fr;column-gap:8px}
.td-page .benefit-list span{grid-row:span 2;width:22px;height:22px;border-radius:7px;background:#20b989;display:grid;place-items:center;font-size:10px;font-weight:900}
.td-page .benefit-list b{font-size:10px}
.td-page .benefit-list small{font-size:8px;color:#c3ddd7;line-height:1.5}
.td-page .mentor-subscriptions{background:#fff;border:1px solid #dcebe6;border-radius:22px;padding:27px;box-shadow:0 18px 50px rgba(7,31,61,.07)}
.td-page .subscription-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.td-page .subscription-head h3{font-size:23px;color:var(--navy);margin:7px 0 0}
.td-page .subscription-label{background:#e5f9f1;color:var(--green);font-size:8px;font-weight:900;padding:7px 9px;border-radius:999px}
.td-page .subscription-intro{font-size:11px;color:var(--muted);line-height:1.7;margin:12px 0 20px}
.td-page .plans{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.td-page .plan{position:relative;border:1px solid #e0e9ed;border-radius:16px;padding:18px;background:#fff}
.td-page .plan h4{font-size:14px;color:var(--navy);margin:10px 0 6px}
.td-page .plan-duration{font-size:8px;color:var(--green);font-weight:900;letter-spacing:.1em}
.td-page .plan>p{font-size:9px;color:var(--muted);line-height:1.55;min-height:42px}
.td-page .plan-price{font-size:21px;font-weight:900;color:var(--navy);margin:13px 0}
.td-page .plan-price small{font-size:8px;color:var(--muted);font-weight:700}
.td-page .plan ul{list-style:none;padding:0;margin:0 0 15px;display:grid;gap:7px}
.td-page .plan li{font-size:8px;color:#53657a}
.td-page .plan li:before{content:"✓";color:var(--green);font-weight:900;margin-right:5px}
.td-page .plan .btn{width:100%;padding:10px 8px;font-size:9px}
.td-page .featured-plan{border:2px solid var(--green);box-shadow:0 12px 30px rgba(22,166,115,.12)}
.td-page .popular-ribbon{position:absolute;right:10px;top:-10px;background:var(--green);color:#fff;padding:5px 8px;border-radius:999px;font-size:7px;font-weight:900}
.td-page .subscription-note{display:flex;gap:8px;align-items:center;margin-top:15px;padding:10px 12px;background:#f3faf8;border-radius:11px}
.td-page .subscription-note span{font-size:15px}
.td-page .subscription-note p{font-size:8px;color:var(--muted);margin:0;line-height:1.5}
.td-page .subscription-note b{color:var(--navy)}
.td-page .chat-preview{margin-top:22px;border-radius:22px;background:#fff;border:1px solid #dcebe6;padding:28px;display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center}
.td-page .chat-preview-copy h3{font-size:26px;color:var(--navy);margin:9px 0}
.td-page .chat-preview-copy>p{font-size:11px;color:var(--muted);line-height:1.8}
.td-page .chat-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}
.td-page .chat-feature-grid span{font-size:9px;font-weight:800;color:#3f5d58;background:#edf9f5;border-radius:9px;padding:9px}
.td-page .chat-card{background:#fff;border:1px solid #d7e8e2;border-radius:20px;box-shadow:0 24px 65px rgba(7,31,61,.13);overflow:hidden}
.td-page .chat-head{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border-bottom:1px solid var(--line)}
.td-page .mentor-profile{display:flex;align-items:center;gap:10px}
.td-page .mentor-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--green),var(--blue));color:#fff;font-size:11px;font-weight:900}
.td-page .mentor-profile b{display:block;color:var(--navy);font-size:11px}
.td-page .mentor-profile small{display:block;color:var(--muted);font-size:8px;margin-top:3px}
.td-page .online-dot{font-size:8px;color:var(--green);font-weight:900}
.td-page .chat-status{margin:13px 15px 0;padding:9px 11px;border-radius:10px;background:#eaf9f3;display:flex;justify-content:space-between;gap:10px}
.td-page .chat-status span{font-size:7px;color:var(--green);font-weight:900}
.td-page .chat-status b{font-size:8px;color:var(--navy)}
.td-page .chat-window{padding:15px;height:245px;background:#f5faf8;display:flex;flex-direction:column;gap:9px;overflow:auto}
.td-page .message{max-width:78%;padding:9px 11px;border-radius:12px;font-size:9px;line-height:1.5}
.td-page .message p{margin:3px 0 0}
.td-page .message b{font-size:8px}
.td-page .message time{display:block;font-size:6px;color:#8190a2;text-align:right;margin-top:4px}
.td-page .instructor-msg{align-self:flex-start;background:#fff;border:1px solid #dfeae7;color:#334f4a;border-bottom-left-radius:4px}
.td-page .instructor-msg b{color:var(--green)}
.td-page .student-msg{align-self:flex-end;background:linear-gradient(135deg,var(--green),#1196a1);color:#fff;border-bottom-right-radius:4px}
.td-page .student-msg time{color:#dcfff4}
.td-page .chat-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 15px;background:#fff;border-top:1px solid var(--line)}
.td-page .chat-actions>span{font-size:8px;color:var(--muted);line-height:1.5}
.td-page .chat-actions .btn{padding:9px 12px;font-size:9px;flex:none}
.td-page .brand-network{padding:78px 0;background:#fff}
.td-page .logo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.td-page .logo-card{min-height:94px;border:1px solid #e0ebe7;border-radius:15px;background:#fff;display:flex;align-items:center;justify-content:center;gap:10px;padding:16px;transition:.2s}
.td-page .logo-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(7,80,68,.08);border-color:#b9ded2}
.td-page .logo-symbol{width:42px;height:42px;border-radius:11px;background:linear-gradient(135deg,#e4f8f0,#e9f3ff);color:var(--green);display:grid;place-items:center;font-size:11px;font-weight:900}
.td-page .logo-card span{font-size:11px;font-weight:900;color:#41536a}
@media (max-width:1050px){.td-page .mentor-wrap{grid-template-columns:1fr}}
@media (max-width:650px){.td-page .mentor-copy h2{font-size:31px}
.td-page .chat-head{align-items:flex-start;gap:10px}
.td-page .online-dot{white-space:nowrap}
.td-page .chat-actions{align-items:flex-start;flex-direction:column}
.td-page .chat-actions .btn{width:100%}}
@media (max-width:1050px){.td-page .support-journey{grid-template-columns:1fr;gap:10px}
.td-page .support-arrow{transform:rotate(90deg);height:15px}
.td-page .support-main, .td-page .chat-preview{grid-template-columns:1fr}
.td-page .plans{grid-template-columns:1fr}
.td-page .logo-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:650px){.td-page .support-benefit{padding:27px}
.td-page .support-benefit h3{font-size:26px}
.td-page .subscription-head{display:block}
.td-page .subscription-label{display:inline-block;margin-top:10px}
.td-page .chat-feature-grid{grid-template-columns:1fr}
.td-page .logo-grid{grid-template-columns:1fr}
.td-page .logo-card{justify-content:flex-start}}
/* Safety net: force the "Become an Instructor" card text to stay dark
   on its light background, no matter what loads before this. */
body.td-page .growth-card.instructor-box h2,
body.td-page .growth-card.instructor-box p,
body.td-page .growth-card.instructor-box .growth-label{color:#123a80 !important}

/* ============================================================
 * Item 26 — Home page additions.
 * ============================================================ */
/* Hero support note: the client's updated hero subtitle copy
   (3-month support / paid mentor subscriptions / non-buyers). */
.td-page .hero .hero-support-note{max-width:760px;margin-top:14px;font-size:12px;line-height:1.75;color:#bfe6dc;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:12px 16px}

/* Reviewer avatars — Round 15 ("Edits (2)": reviewers need photos; we
   render initials discs instead so NO external image is requested).
   56px navy/mint gradient disc, white initials, 2px mint ring. Same
   component as teachdemy-static-pages.css; duplicated here because
   teachdemy-static-pages.css does not load on the home page. */
.td-page .reviewpic{width:56px;height:56px;border-radius:50%;overflow:hidden;flex:none}
.td-page .reviewpic svg{width:100%;height:100%;display:block}
.td-page .reviewpic .td-avatar-circle,
.td-page .td-avatar-circle{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:42px;min-height:42px;border-radius:50%;color:#fff;font-size:13px;font-weight:900;letter-spacing:.5px}
.td-page .reviewpic .td-avatar-img{width:42px;height:42px;border-radius:50%;display:block}

/* ============================================================
 * Round 15 (agent 15-e) — home page "Edits (2)" additions.
 * Brand tokens only (navy #062b2b/#07504b, green #16a673/#27c58b,
 * gold #f7bd31 accents) — no blue/indigo. Dark-mode safe.
 * ============================================================ */

/* --- Hero bullets (client Text.docx: two exact lines) --- */
.td-page .hero-bullets{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;padding:0}
.td-page .hero-bullets li{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:#e2f5ee;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:999px;padding:8px 14px 8px 8px}
.td-page .hero-bullets li b{color:#fff}
.td-page .hero-bullets .hb-check{width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#16a673,#27c58b);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900;flex:none}

/* --- Reviewer avatar discs (56px, navy/mint gradients, mint ring) --- */
.td-page .reviewer .reviewpic .td-avatar-circle{width:56px;height:56px;min-width:56px;min-height:56px;border:2px solid #27c58b;box-shadow:0 0 0 3px rgba(39,197,139,.16);font-size:15px}
.td-page .reviewer .reviewpic .td-avatar-circle--g1{background:linear-gradient(135deg,#07504b,#16a673)}
.td-page .reviewer .reviewpic .td-avatar-circle--g2{background:linear-gradient(135deg,#062b2b,#087d72)}
.td-page .reviewer .reviewpic .td-avatar-circle--g3{background:linear-gradient(135deg,#0a6e58,#27c58b)}
.td-page .reviewer .reviewpic .td-avatar-img{width:56px;height:56px}

/* --- Instructor cards: gold-star rating line (Round 15 real data) --- */
.td-page .person-card .person-rating{display:flex;align-items:center;justify-content:center;gap:5px;margin:3px 0;font-size:11px;font-weight:900;color:#0d6b4f}
.td-page .person-card .person-rating .person-stars{color:#f3b82f;font-size:12px}
html[data-theme="dark"] .td-page .person-card .person-rating{color:#9adbc2}

/* --- Mentor plans: the "free support included" line (client Text.docx) --- */
.td-page .td-plans-free-note{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:10px 14px;background:#e5f9f1;border:1px solid #c9ecdd;border-radius:11px;font-size:11.5px;font-weight:800;color:#0d6b4f}
.td-page .td-plans-free-note:before{content:"✓";width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#16a673,#27c58b);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900;flex:none}
html[data-theme="dark"] .td-page .td-plans-free-note{background:rgba(39,197,139,.1);border-color:#12443d;color:#9adbc2}

/* --- Featured Courses section (header "Courses" item now has a real
   home-page counterpart): 16:9 media, chips, price, View Course. --- */
.td-page .td-home-courses{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.td-page .td-home-course{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 4px 14px rgba(7,31,61,.04);transition:transform .2s,box-shadow .2s,border-color .2s}
.td-page .td-home-course:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(7,31,61,.12);border-color:#b9ded2}
.td-page .td-home-course__media{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#062b2b 0%,#087d72 55%,#16a673 100%);overflow:hidden}
.td-page .td-home-course__media.has-photo{background-size:cover;background-position:center}
.td-page .td-home-course__media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,43,43,0) 42%,rgba(6,43,43,.5))}
.td-page .td-home-course__initials{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.92);font-size:32px;font-weight:900;letter-spacing:3px;z-index:1}
.td-page .td-home-course__cat{position:absolute;z-index:2;top:12px;left:12px;background:rgba(255,255,255,.93);color:#07504b;font-size:10px;font-weight:900;letter-spacing:.04em;padding:5px 10px;border-radius:999px;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-page .td-home-course__sale{position:absolute;z-index:2;top:12px;right:12px;background:#f7bd31;color:#1a1200;font-size:9px;font-weight:900;letter-spacing:.06em;padding:5px 8px;border-radius:6px}
.td-page .td-home-course__body{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}
.td-page .td-home-course__title{margin:0;font-size:14.5px;line-height:1.4;color:var(--navy);display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.td-page .td-home-course__title a{color:inherit}
.td-page .td-home-course__level{align-self:flex-start;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:#087d72;background:#e5f9f1;border:1px solid #cdeee2;padding:4px 9px;border-radius:999px}
.td-page .td-home-course__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.td-page .td-home-course__price{font-size:17px;font-weight:900;color:var(--navy)}
.td-page .td-home-course__price del{font-size:11px;font-weight:500;text-decoration:line-through;color:#9ba8b8;margin-right:5px}
.td-page .td-home-course__price ins{text-decoration:none}
.td-page .td-home-course__price .td-home-course__free{font-size:14px;font-weight:900;color:var(--green)}
.td-page .td-home-course__btn{background:linear-gradient(135deg,#16a673,#27c58b);color:#fff;font-size:10.5px;font-weight:900;letter-spacing:.02em;padding:9px 14px;border-radius:9px;white-space:nowrap;transition:.2s}
.td-page .td-home-course__btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(22,166,115,.3)}
.td-page .td-home-course--empty{grid-column:1/-1;align-items:center;text-align:center;padding:46px 30px;border:1px dashed #b9ded2;color:var(--muted)}
.td-page .td-home-course--empty h3{margin:0 0 8px;font-size:16px;color:var(--navy)}
.td-page .td-home-course--empty p{margin:0 0 18px;font-size:12px}
.td-page .td-home-courses-foot{text-align:center;margin-top:26px}
.td-page .td-home-outline-btn{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1.5px solid #16a673;color:#087d72;font-size:12px;font-weight:900;letter-spacing:.02em;padding:12px 24px;border-radius:12px;transition:.2s}
.td-page .td-home-outline-btn:hover{background:#e5f9f1;transform:translateY(-2px);box-shadow:0 10px 24px rgba(22,166,115,.16)}

/* --- Featured Courses: dark mode --- */
html[data-theme="dark"] .td-page .td-home-course{background:#0d2222;border-color:#1a3030;box-shadow:none}
html[data-theme="dark"] .td-page .td-home-course:hover{box-shadow:0 18px 40px rgba(0,0,0,.4);border-color:#16a673}
html[data-theme="dark"] .td-page .td-home-course__title{color:#e8f0ee}
html[data-theme="dark"] .td-page .td-home-course__price{color:#e8f0ee}
html[data-theme="dark"] .td-page .td-home-course__price del{color:#7fa39a}
html[data-theme="dark"] .td-page .td-home-course__cat{background:rgba(13,34,34,.92);color:#9ed8c4}
html[data-theme="dark"] .td-page .td-home-course__level{background:rgba(39,197,139,.12);border-color:#12443d;color:#9adbc2}
html[data-theme="dark"] .td-page .td-home-course--empty{background:#0d2222;border-color:#1a3030}
html[data-theme="dark"] .td-page .td-home-course--empty h3{color:#e8f0ee}
html[data-theme="dark"] .td-page .td-home-outline-btn{border-color:#16a673;color:#9edbc2}
html[data-theme="dark"] .td-page .td-home-outline-btn:hover{background:rgba(22,166,115,.12)}

/* --- Featured Courses: 4 → 2 → 1 columns (1100 / 640) --- */
@media (max-width:1100px){
.td-page .td-home-courses{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
.td-page .td-home-courses{grid-template-columns:1fr}
.td-page .td-home-course__foot{flex-wrap:wrap}
.td-page .td-home-course__btn{flex:1;text-align:center}
}



/* ============================================================
 * ROUND 18 (agent 18-d) — "Edits (3)": home + header/footer chrome.
 * Brand tokens only (navy #062b2b / #07504b, green #16a673 /
 * #27c58b, gold #f7bd31). Dark-mode rules use the site-wide
 * html[data-theme="dark"] hook (set pre-paint by the script in
 * header-redesign.php and by the header toggle).
 * ============================================================ */

/* ------------------------------------------------------------
 * 1. HEADER FLICKER ON SCROLL (client: "the header stutters").
 * The old .is-scrolled rules shrank the header's min-height
 * 76→64px and the logo 48→42px on EVERY threshold crossing — a
 * layout reflow mid-scroll, i.e. the stutter. The header now
 * keeps ONE height (phones keep their static 64px from
 * td-mobile-fix.css); only box-shadow/background transition,
 * and the hide-on-scroll transform is GPU-only. (The JS side is
 * section 3 of teachdemy-enhancements.js.)
 * ------------------------------------------------------------ */
html .td-page .header{will-change:transform}
@media (min-width:641px){
        html .td-page .header{transition:transform .3s ease,box-shadow .25s ease,background-color .25s ease !important}
        html .td-page .header.is-scrolled,
        html .td-page .header.is-scrolled .nav{min-height:76px !important}
        html .td-page .header.is-scrolled .brand-logo{height:48px !important}
}

/* ------------------------------------------------------------
 * 2. HEADER + FOOTER logo visibility. The logo is a dark PNG on
 * transparency, so it vanishes on dark chrome. brightness(0) invert(1)
 * renders the exact same logo in white.
 *
 * BUG FIX (client: "in light mode the TeachDemy logo is not visible" —
 * in the FOOTER specifically): the footer's background (#03172d) is a
 * fixed dark navy REGARDLESS of the site's light/dark theme toggle —
 * only the header's background actually changes with the toggle. The
 * original fix below inverted the footer logo only inside
 * html[data-theme="dark"], so in light theme mode (the site's default)
 * the footer kept showing the plain dark-colored logo against its
 * always-dark background = invisible. The footer rule is now
 * unconditional; the header rule stays theme-scoped since the header's
 * own background does change.
 * ------------------------------------------------------------ */
html[data-theme="dark"] .td-page .header .brand img{filter:brightness(0) invert(1);opacity:.95}
.td-page .footbrand .brand img{filter:brightness(0) invert(1);opacity:.95}

/* Organization logos (dark PNGs) — the top "Organizations That Have
   Trusted Our Instructors" strip AND the bottom "Experience Behind
   Our Instructors" marquee cards: white-washed at .8 opacity,
 * full-strength on hover. */
html[data-theme="dark"] .td-page .logo-strip .logo-marquee-item img,
html[data-theme="dark"] .td-page .brand-network .logo-marquee-item img,
html[data-theme="dark"] .td-page .logo-marquee-item--card img{filter:grayscale(1) brightness(0) invert(1);opacity:.8;transition:filter .2s ease,opacity .2s ease}
html[data-theme="dark"] .td-page .logo-marquee-item:hover img,
html[data-theme="dark"] .td-page .logo-marquee-item--card:hover img{filter:none;opacity:1}

/* ------------------------------------------------------------
 * 3. DARK MODE — the "TeachDemy Support Ecosystem" section (client:
 * "the 'Learn the Course…' heading is not visible"). The section's
 * light gradient background stayed LIGHT in dark mode while its
 * heading/paragraph were forced light — invisible text. Convert
 * the whole section + the plan cards + chat window + hero search
 * bar + category chips that were still white.
 * ------------------------------------------------------------ */
html[data-theme="dark"] .td-page .mentor-support{background:linear-gradient(180deg,#06181a 0%,#08221f 100%) !important}
html[data-theme="dark"] .td-page .plans .plan,
html[data-theme="dark"] .td-page .td-home-course{background:#0d2222 !important;border-color:#1a3030 !important}
html[data-theme="dark"] .td-page .plan-price{color:#e8f0ee !important}
html[data-theme="dark"] .td-page .plan li{color:#9ab4b0 !important}
html[data-theme="dark"] .td-page .featured-plan{border-color:#16a673 !important;box-shadow:0 12px 30px rgba(0,0,0,.4) !important}
html[data-theme="dark"] .td-page .chat-window{background:#081d1d !important}
html[data-theme="dark"] .td-page .chat-status{background:rgba(39,197,139,.1) !important}
html[data-theme="dark"] .td-page .chat-status b,
html[data-theme="dark"] .td-page .subscription-label{color:#e8f0ee !important}
html[data-theme="dark"] .td-page .searchbar{background:#0d2222 !important;border-color:#1a3030 !important;box-shadow:none !important}
html[data-theme="dark"] .td-page .chat-feature-grid span{background:rgba(39,197,139,.1) !important;color:#9adbc2 !important}

/* "Choose Category" / "View All" section (client: items not visible):
 * the section-row header, the .view link and the cat-icon chips get
 * explicit dark-mode colors. */
html[data-theme="dark"] .td-page .section-row h2{color:#e8f0ee !important}
html[data-theme="dark"] .td-page .section-row p{color:#9ab4b0 !important}
html[data-theme="dark"] .td-page .view{color:#27c58b !important}
html[data-theme="dark"] .td-page .cat-icon{background:linear-gradient(135deg,rgba(39,197,139,.16),rgba(75,145,255,.1)) !important;color:#27c58b !important;box-shadow:inset 0 0 0 1px rgba(39,197,139,.25)}
html[data-theme="dark"] .td-page .cat:hover .cat-icon{background:linear-gradient(135deg,#16a673,#27c58b) !important;color:#fff !important}

/* Testimonial / article-legend cards (client: "their background is
 * white so they can't be seen") — the cards themselves are already
 * darkened by teachdemy-dark-mode.css; these reinforce the legend
 * row (avatar + name/role) and the quote glyphs. */
html[data-theme="dark"] .td-page .testimonial .quote{color:#2e6d5b !important}
html[data-theme="dark"] .td-page .reviewer b{color:#e8f0ee !important}
html[data-theme="dark"] .td-page .reviewer span{color:#9ab4b0 !important}

/* ------------------------------------------------------------
 * 4. HOME — hero proof + "Become a TeachDemy Instructor" boxes
 * (client: "the boxes should come down a bit — they're glued to
 * the top"). More breathing room between the CTAs, the proof row
 * and the instructor CTA box, plus extra top padding in the hero.
 * ------------------------------------------------------------ */
.td-page .hero-inner{padding-top:86px}
.td-page .hero-ctas{margin-bottom:6px}
.td-page .hero-proof{margin-top:40px}
.td-page .hero-instructor-cta{margin-top:30px}
.td-page .hero-reviews-count{color:#c9d8e9}
@media (max-width:768px){
        .td-page .hero-inner{padding-top:56px}
        .td-page .hero-proof{margin-top:24px}
        .td-page .hero-instructor-cta{margin-top:20px}
}

/* ------------------------------------------------------------
 * 5. HOME — panel CTA buttons (client: "the buttons on the panels
 * don't work"). Every goal/difference panel now carries a real
 * link (see front-page.php); the marked Instructor Support panels
 * get the filled "Get Instructor Support →" button.
 * ------------------------------------------------------------ */
.td-page .goal .panel-cta,
.td-page .feature .panel-cta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:9px 14px;border-radius:10px;background:#e5f9f1;border:1px solid #c9ecdd;color:#0d6b4f;font-size:11px;font-weight:900;letter-spacing:.02em;line-height:1;white-space:nowrap;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.td-page .goal .panel-cta{align-self:flex-start}
.td-page .goal .panel-cta:hover,
.td-page .feature .panel-cta:hover{background:#d5f4e6;transform:translateY(-1px)}
.td-page .panel-cta--support{background:linear-gradient(135deg,#16a673,#27c58b);color:#fff;border-color:transparent;box-shadow:0 8px 18px rgba(22,166,115,.25)}
.td-page .panel-cta--support:hover{background:linear-gradient(135deg,#12905f,#1fb07b);color:#fff}
.td-page .feature--support{display:flex;flex-direction:column;align-items:center}
html[data-theme="dark"] .td-page .panel-cta{background:rgba(39,197,139,.12);border-color:#12443d;color:#9adbc2}
html[data-theme="dark"] .td-page .panel-cta--support{background:linear-gradient(135deg,#16a673,#27c58b);color:#fff;border-color:transparent}
@media (max-width:768px){
        .td-page .goal .panel-cta,
        .td-page .feature .panel-cta{width:100%;justify-content:center;min-height:44px}
}

/* ------------------------------------------------------------
 * 6. HOME — the quick-skill chips are links now (courses-page
 * search). Keep the pill look, add affordance.
 * ------------------------------------------------------------ */
.td-page .quick .tag{color:#0d6b4f;background:#fff}
.td-page .quick .tag:hover{border-color:#16a673;background:#e5f9f1}
html[data-theme="dark"] .td-page .quick .tag{background:#0d2222;border-color:#1a3030;color:#9adbc2}
html[data-theme="dark"] .td-page .quick .tag:hover{border-color:#16a673}

/* ------------------------------------------------------------
 * 7. HOME — 5-tier instructor support plans (Word-file prices,
 * same on the home page and the Instructor Support page):
 * 1 Week $39 / 2 Weeks $69 / 1 Month $119 (most popular) /
 * 2 Months $199 / 3 Months $279.
 * ------------------------------------------------------------ */
/* BUG FIX (client item 28): 5 plans squeezed into one grid row left each
   card too narrow to read comfortably. Switched to flex-wrap so cards
   keep a sane minimum width and naturally wrap into two rows (3 + 2) on
   desktop, with the leftover row centered instead of left-hugging. */
.td-page .plans--five{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;align-items:stretch}
.td-page .plans--five .plan{flex:1 1 280px;max-width:320px}
@media (max-width:1100px){.td-page .plans--five .plan{flex:1 1 240px}}
@media (max-width:768px){.td-page .plans--five .plan{flex:1 1 45%}}
@media (max-width:480px){.td-page .plans--five .plan{flex:1 1 100%;max-width:none}}

/* ------------------------------------------------------------
 * 8. HOME — "All Courses" section (client: "the Courses section
 * from the header must appear on the home page showing ALL the
 * courses"). Same card grid as Hot New Release + the UPCOMING
 * chip on not-yet-launched courses.
 * ------------------------------------------------------------ */
.td-page .td-home-course__upcoming{position:absolute;z-index:2;top:12px;right:12px;background:#27c58b;color:#04231c;font-size:9px;font-weight:900;letter-spacing:.06em;padding:5px 8px;border-radius:6px}
html[data-theme="dark"] .td-page .td-home-course__upcoming{background:#27c58b;color:#04231c}

/* ------------------------------------------------------------
 * 9. HEADER — live search dropdown (Round 18). The base styles
 * for #td-search-live never existed anywhere, so the grouped
 * suggestions (Courses / Instructors / Skills) render as a
 * styled panel now. The form must stop clipping it while open,
 * and the submit button gets matching rounded corners.
 * ------------------------------------------------------------ */
.td-page .td-search-form.is-open{overflow:visible}
.td-page .td-search-form button{border-radius:0 13px 13px 0}
.td-page .td-search-live{position:absolute;top:calc(100% + 10px);left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 60px rgba(7,31,61,.18);max-height:60vh;overflow-y:auto;z-index:130;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.td-page .td-search-live.is-open{opacity:1;visibility:visible;transform:translateY(0)}
.td-page .td-sl-group{font-size:9.5px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#6b7b90;padding:12px 14px 6px;border-bottom:1px solid #eef4f1;background:#fafcfb}
.td-page .td-sl-item{display:flex;align-items:center;gap:12px;padding:10px 14px;text-decoration:none;border-bottom:1px solid #eef4f1;color:inherit}
.td-page .td-sl-item:hover,
.td-page .td-sl-item.is-active{background:#f2faf7}
.td-page .td-sl-icon{width:40px;height:40px;border-radius:10px;background:#eef5ff;color:#0d6b4f;font-weight:900;font-size:13px;display:grid;place-items:center;flex:none;overflow:hidden}
.td-page .td-sl-icon--inst{background:#e5f9f1;color:#07504b}
.td-page .td-sl-icon--skill{background:#fdf6e3;color:#8a6d1a}
.td-page .td-sl-text{min-width:0;flex:1}
.td-page .td-sl-text b{display:block;font-size:13px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.td-page .td-sl-text small{display:block;font-size:10.5px;color:#6b7b90;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.td-page .td-sl-price{font-size:12px;font-weight:900;color:#0d6b4f;flex:none}
.td-page .td-sl-empty,
.td-page .td-sl-loading{padding:14px;font-size:12px;color:#6b7b90}
.td-page .td-sl-all{display:flex;justify-content:center;padding:12px;font-size:11.5px;font-weight:900;color:#0d6b4f;background:#f2faf7;border-radius:0 0 13px 13px}
.td-page .td-sl-all:hover{background:#e5f9f1}
html[data-theme="dark"] .td-page .td-search-live{background:#0d2222;border-color:#1a3030}
html[data-theme="dark"] .td-page .td-sl-group{color:#9ab4b0;border-bottom-color:#1a3030;background:#0a1f1f}
html[data-theme="dark"] .td-page .td-sl-item{border-bottom-color:#1a3030}
html[data-theme="dark"] .td-page .td-sl-item:hover,
html[data-theme="dark"] .td-page .td-sl-item.is-active{background:rgba(39,197,139,.08)}
html[data-theme="dark"] .td-page .td-sl-icon{background:rgba(39,197,139,.12);color:#9edbc2}
html[data-theme="dark"] .td-page .td-sl-text b{color:#e8f0ee}
html[data-theme="dark"] .td-page .td-sl-text small{color:#9ab4b0}
html[data-theme="dark"] .td-page .td-sl-price{color:#9edbc2}
html[data-theme="dark"] .td-page .td-sl-all{background:#0a1f1f;color:#9edbc2}
html[data-theme="dark"] .td-page .td-sl-all:hover{background:rgba(39,197,139,.12)}
@media (max-width:768px){
        .td-page .td-search-live{max-height:55vh}
        .td-page .td-sl-item{min-height:48px}
}

/* ------------------------------------------------------------
 * 10. UPCOMING page — notify/waitlist buttons keep ≥44px targets
 * and never exceed their card (defensive; the home .mini-btn fix
 * is the base-rule edit above).
 * ------------------------------------------------------------ */
.td-page .td-upcoming-actions .btn{max-width:100%;min-height:44px;white-space:normal}

/* ------------------------------------------------------------
 * 11. Responsive sweep for the Round-18 blocks (≤768 / ≤480):
 * stacked plans, full-width CTAs, comfortable touch targets.
 * ------------------------------------------------------------ */
@media (max-width:768px){
        .td-page .hero-reviews-count{font-size:11px}
        .td-page .plans--five .plan{padding:18px 16px}
        .td-page .td-plans-free-note{font-size:11px}
}
@media (max-width:480px){
        .td-page .plans--five .plan .btn{width:100%}
        .td-page .td-home-course__foot{flex-wrap:wrap}
}

/* Phones (≤640): lock the scrolled header to the SAME static sizes
   td-mobile-fix.css uses at this width (64px bar / 34px logo), so the
   legacy .is-scrolled rules can't swap them mid-scroll here either. */
@media (max-width:640px){
        html .td-page .header.is-scrolled,
        html .td-page .header.is-scrolled .nav{min-height:64px !important}
        html .td-page .header.is-scrolled .brand-logo{height:34px !important}
}

/* ------------------------------------------------------------
 * 12. INSTRUCTOR SUPPORT page — the wizard's 5 plan options
 * (Word-file tiers) need a 5-column picker (was 3). Scoped to
 * the mentor-support page wrapper (.td-scope-ms) with enough
 * specificity to beat teachdemy-static-pages.css, which loads
 * after this file.
 * ------------------------------------------------------------ */
.td-page.td-scope-ms .td-ms-layout .td-plan-grid{grid-template-columns:repeat(5,1fr)}
@media (max-width:1100px){.td-page.td-scope-ms .td-ms-layout .td-plan-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:900px){.td-page.td-scope-ms .td-ms-layout .td-plan-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.td-page.td-scope-ms .td-ms-layout .td-plan-grid{grid-template-columns:1fr}}
