/*
Theme Name: Dinesh AI Academy Store
Theme URI: https://store.dineshaiacademy.com/
Author: Dinesh AI Academy
Author URI: https://dineshaiacademy.com/
Description: Premium, light storefront for selling Dinesh AI Academy courses, with personal branding for Dinesh Kushwaha. Courses are a custom post type with price, sale price and payment-link fields.
Version: 1.2.7
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: dineshai
*/

/* ==========================================================================
   Tokens — brand blues and fonts from dineshaiacademy.com, on a light canvas
   ========================================================================== */

:root {
  --bg:          #FFFFFF;
  --bg-soft:     #F6F8FC;
  --bg-tint:     #EEF4FF;
  --surface:     #FFFFFF;

  --ink:         #0A1428;
  --ink-2:       #2B3A55;
  --muted:       #5A6982;
  --faint:       #8995AA;
  --line:        #E5EAF2;
  --line-2:      #D6DEEA;

  --navy:        #050816;
  --navy-2:      #0B1F3A;
  --blue-deep:   #004FCC;
  --blue:        #006EFF;
  --blue-bright: #00A8FF;
  --blue-ink:    #0056D6;
  --green:       #0E9F6E;
  --green-bg:    #E7F7F0;
  --amber:       #B25E09;
  --amber-bg:    #FFF4E5;

  --gradient-brand: linear-gradient(135deg, #006EFF 0%, #00A8FF 100%);
  --gradient-deep:  linear-gradient(135deg, #004FCC 0%, #006EFF 55%, #00A8FF 100%);

  --sh-xs: 0 1px 2px rgba(10, 20, 40, .05);
  --sh-sm: 0 1px 2px rgba(10, 20, 40, .04), 0 4px 14px -4px rgba(10, 20, 40, .06);
  --sh-md: 0 1px 2px rgba(10, 20, 40, .04), 0 16px 40px -16px rgba(10, 30, 70, .16);
  --sh-lg: 0 2px 4px rgba(10, 20, 40, .03), 0 40px 90px -30px rgba(0, 60, 160, .28);
  --sh-blue: 0 12px 30px -10px rgba(0, 110, 255, .5);

  --font-head:   "Space Grotesk", "Noto Sans Devanagari", "Sora", "Manrope", system-ui, sans-serif;
  --font-body:   "Inter", "Noto Sans Devanagari", "Manrope", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;

  --container: 1240px;
  --narrow: 820px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --header-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
}

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }

.section { position: relative; padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--flush-top { padding-top: 8px; }
.section--cta { padding-top: 24px; }

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: 56px;
}
.section-head-row .section-head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--gradient-brand); }
.center .eyebrow { justify-content: center; }
.eyebrow--light { color: #7FD0FF; }

.section-title { font-size: clamp(30px, 3.8vw, 48px); margin-bottom: 18px; }
.section-subtitle { font-size: 17.5px; color: var(--muted); max-width: 640px; }
.center .section-subtitle { margin: 0 auto; }

.lead { font-size: 18.5px; color: var(--ink-2); line-height: 1.7; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gradient-light {
  background: linear-gradient(135deg, #7FD0FF, #FFFFFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   Buttons, chips, pills
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent;
  white-space: nowrap; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary { background: var(--gradient-brand); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0, 110, 255, .6); }

.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-xs); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue-ink); transform: translateY(-2px); box-shadow: var(--sh-sm); }

.btn-white { background: #fff; color: var(--navy-2); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .45); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line);
}
.chip .icon { width: 13px; height: 13px; }
.chip--blue { background: var(--bg-tint); color: var(--blue-ink); border-color: #D5E5FF; }
.chip--accent { background: var(--amber-bg); color: var(--amber); border-color: #FBE1BC; }
.chip--lang { background: var(--green-bg); color: #0B6E4D; border-color: #C8EBDC; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  box-shadow: var(--sh-xs); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.pill-dot, .live-dot, .announce-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none;
  box-shadow: 0 0 0 0 rgba(14, 159, 110, .5); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(14, 159, 110, .45); }
  70% { box-shadow: 0 0 0 8px rgba(14, 159, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 159, 110, 0); }
}

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--blue-ink);
}
.card-link .icon { transition: transform .2s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Announcement bar + header
   ========================================================================== */

.announce { background: var(--navy); color: #DCE6F5; font-size: 13.5px; }
.announce[hidden] { display: none; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; position: relative; }
.announce-link { display: inline-flex; align-items: center; gap: 12px; padding: 8px 36px; text-align: center; }
.announce-link:hover .announce-cta { color: #fff; }
.announce-cta { display: inline-flex; align-items: center; gap: 4px; color: #7FD0FF; font-weight: 600; white-space: nowrap; }
.announce-cta .icon { width: 14px; height: 14px; }
.announce-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: #8FA3C0; padding: 6px; display: grid; place-items: center;
}
.announce-close:hover { color: #fff; }
.announce-close .icon { width: 16px; height: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 500;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .92); box-shadow: 0 8px 30px -20px rgba(10, 20, 40, .25); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 48px; height: 48px; flex: none; border-radius: 50%; box-shadow: 0 6px 16px -8px rgba(0, 60, 160, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .06em; color: var(--ink); }
.brand-accent { color: var(--blue); }
.brand-sub { font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.primary-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a {
  display: block; padding: 9px 14px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.primary-nav .menu a:hover { background: var(--bg-soft); color: var(--ink); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--blue-ink); background: var(--bg-tint); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-login {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.header-login .icon { width: 21px; height: 21px; }
.header-login:hover { background: var(--bg-soft); color: var(--blue-ink); }
.header-login:hover { color: var(--blue-ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Shared hero backdrop
   ========================================================================== */

.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero-orb--1 { width: 620px; height: 620px; background: radial-gradient(circle, #CFE3FF 0%, rgba(207, 227, 255, 0) 70%); top: -220px; right: -120px; }
.hero-orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, #D9F1FF 0%, rgba(217, 241, 255, 0) 70%); bottom: -260px; left: -160px; }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0, 86, 214, .14) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

/* ==========================================================================
   Home — hero
   ========================================================================== */

.hero { position: relative; padding: 72px 0 96px; background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }

.hero-title { font-size: clamp(40px, 5.4vw, 70px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; margin: 26px 0 24px; }
.hero-sub { font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 580px; margin-bottom: 36px; }
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-stats { display: flex; gap: 40px; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); }
.hero-stats div { margin: 0; }
.hero-stats dt { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }

.hero-visual { position: relative; padding: 24px 28px 40px; }
.portrait { position: relative; border-radius: var(--r-xl); aspect-ratio: 4 / 5; max-width: 480px; margin-left: auto; }
.portrait img, .about-portrait img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--r-xl); box-shadow: var(--sh-lg);
}
.portrait-ring {
  position: absolute; inset: -14px; border-radius: 40px; z-index: 0;
  background: linear-gradient(145deg, rgba(0, 168, 255, .35), rgba(0, 110, 255, .08) 40%, rgba(255, 255, 255, 0) 70%);
}
.portrait-ring::after {
  content: ""; position: absolute; inset: 1px; border-radius: 39px; background: linear-gradient(180deg, #F4F8FF, #FFFFFF);
}

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px);
  border: 1px solid rgba(229, 234, 242, .9); border-radius: 18px;
  padding: 14px 18px; box-shadow: var(--sh-md);
  animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.float-card strong { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--ink); line-height: 1.3; }
.float-card--cohort { top: 40px; left: -8px; max-width: 290px; transition: box-shadow .2s; }
.float-card--cohort:hover { box-shadow: var(--sh-lg); }
.float-card--cert { bottom: 120px; right: -6px; animation-delay: -2.5s; }
.float-card--sign { bottom: 8px; left: 18px; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 22px 14px; animation-delay: -4.5s; }
.float-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); flex: none; }
.float-icon--green { background: var(--green-bg); color: var(--green); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.signature { font-family: var(--font-script); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--blue-ink); }
.signature--lg { font-size: 40px; }

/* ==========================================================================
   Tools marquee
   ========================================================================== */

.tools-strip { padding: 36px 0 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.tools-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--bg-soft);
  font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink-2);
}
.marquee-item .icon { width: 14px; height: 14px; color: var(--blue); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }

/* ==========================================================================
   Course cards + covers
   ========================================================================== */

.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.course-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #D2E2FA; }
.course-card-media { display: block; padding: 10px 10px 0; }
.course-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.course-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.course-card-title { font-size: 22px; line-height: 1.22; margin-bottom: 10px; }
.course-card-title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s var(--ease); }
.course-card-title a:hover { background-size: 100% 1.5px; }
.course-card-desc { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.course-card-facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.course-card-facts li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.course-card-facts .icon { color: var(--blue); width: 17px; height: 17px; }
.course-card-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-arrow {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.card-arrow .icon { width: 18px; height: 18px; }
.course-card:hover .card-arrow { background: var(--gradient-brand); border-color: transparent; color: #fff; transform: rotate(45deg); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price-now { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price-now--ask { font-size: 16px; color: var(--ink-2); font-weight: 600; letter-spacing: 0; }
.price-was { font-size: 15px; color: var(--faint); }
.price-save { font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-bg); padding: 3px 8px; border-radius: var(--r-pill); align-self: center; }
.price--lg .price-now { font-size: 38px; }
.price--lg .price-now--ask { font-size: 24px; }
.price--lg .price-was { font-size: 18px; }

.cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  isolation: isolate;
}
.cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}
.cover-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; top: -30%; right: -15%; z-index: -1; filter: blur(30px); }
.cover-icon {
  position: absolute; top: 22px; left: 22px;
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); color: #fff;
}
.cover-icon .icon { width: 26px; height: 26px; }
.cover-label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.cover-mono {
  position: absolute; right: 18px; bottom: -22px; z-index: -1;
  font-family: var(--font-head); font-weight: 700; font-size: 130px; line-height: 1; letter-spacing: -0.06em;
  color: rgba(255, 255, 255, .07);
}
.cover-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}
.cover--lg { aspect-ratio: 16 / 9; border-radius: 18px; }

.cover--navy { background: linear-gradient(150deg, #0E2A52 0%, #081225 60%, #050816 100%); }
.cover--navy .cover-glow { background: #006EFF; opacity: .55; }
.cover--blue { background: var(--gradient-deep); }
.cover--blue .cover-glow { background: #7FD6FF; opacity: .6; }
.cover--ink { background: linear-gradient(150deg, #13233F 0%, #0B1F3A 50%, #0A1428 100%); }
.cover--ink .cover-glow { background: #00A8FF; opacity: .4; }
.cover--sky { background: linear-gradient(150deg, #E7F1FF 0%, #D6E8FF 55%, #C3DDFF 100%); }
.cover--sky .cover-glow { background: #fff; opacity: .9; }
.cover--sky .cover-grid { background-image: linear-gradient(rgba(0, 86, 214, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 86, 214, .1) 1px, transparent 1px); }
.cover--sky .cover-icon { background: #fff; border-color: #fff; color: var(--blue); box-shadow: 0 8px 20px -10px rgba(0, 86, 214, .5); }
.cover--sky .cover-label { color: var(--blue-ink); }
.cover--sky .cover-mono { color: rgba(0, 86, 214, .08); }

/* ==========================================================================
   Learning path
   ========================================================================== */

.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.path::before {
  content: ""; position: absolute; top: 62px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
}
.path-step {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  padding: 32px 30px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.path-step:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #CFE0FA; }
.path-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-head); font-weight: 700; font-size: 44px; color: var(--bg-tint); line-height: 1; }
.path-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--gradient-brand); color: #fff; box-shadow: var(--sh-blue); margin-bottom: 26px; }
.path-icon .icon { width: 28px; height: 28px; }
.path-verb { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.path-step h3 { font-size: 24px; margin-bottom: 12px; }
.path-step p { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.path-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--blue-ink); }
.path-step:hover .path-link .icon { transform: translateX(4px); }
.path-link .icon { transition: transform .2s var(--ease); }

/* ==========================================================================
   Founder
   ========================================================================== */

.founder-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.founder-media { position: relative; padding-bottom: 40px; }
.founder-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--sh-lg); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder-quote {
  position: absolute; right: -32px; bottom: 0; max-width: 340px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px;
  box-shadow: var(--sh-md);
}
.founder-quote .icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 8px; }
.founder-quote p { font-family: var(--font-head); font-size: 16.5px; font-weight: 500; color: var(--ink); line-height: 1.45; }
.founder-copy .lead { margin-bottom: 18px; }
.founder-copy > p:not(.lead) { color: var(--muted); }
.credentials { list-style: none; padding: 0; margin: 32px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.credentials li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.credentials .icon { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.credentials strong { color: var(--ink); font-weight: 600; display: block; }
.founder-sign { display: flex; flex-direction: column; margin: 8px 0 28px; }
.founder-role { font-size: 14px; color: var(--faint); margin-top: 2px; }

/* ==========================================================================
   Features, reviews, FAQ
   ========================================================================== */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.feature:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.feature-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); margin-bottom: 22px; }
.feature-icon .icon { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { margin: 0; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 3px; color: #F5A524; margin-bottom: 16px; }
.review-stars .icon { width: 17px; height: 17px; fill: currentColor; }
.review blockquote { margin: 0 0 24px; font-size: 16px; color: var(--ink-2); }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.review figcaption small { color: var(--faint); font-size: 13px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-avatar--initial { display: grid; place-items: center; background: var(--bg-tint); color: var(--blue-ink); font-weight: 700; font-family: var(--font-head); }

.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro .section-subtitle { margin-bottom: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--font-head); font-size: 18.5px; font-weight: 600; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; color: var(--ink-2); transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s; }
.faq-plus .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-answer { padding: 0 56px 26px 0; color: var(--muted); font-size: 16px; }

/* ==========================================================================
   CTA panel
   ========================================================================== */

.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.4fr .6fr; align-items: end;
  border-radius: var(--r-xl); padding: 72px 72px 0;
  background: radial-gradient(120% 140% at 100% 0%, #0E3A7A 0%, #0B1F3A 45%, #050816 100%);
  color: #C9D6EA; box-shadow: var(--sh-lg);
}
.cta-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(127, 208, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 208, 255, .08) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 20% 30%, #000 10%, transparent 70%);
}
.cta-copy { padding-bottom: 72px; }
.cta-panel h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; max-width: 640px; }
.cta-panel p { font-size: 18px; margin-bottom: 32px; max-width: 520px; }
.cta-person { align-self: end; justify-self: end; width: 100%; max-width: 300px; }
.cta-person img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%;
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}

/* ==========================================================================
   Page heroes, breadcrumbs, filters
   ========================================================================== */

.page-hero { position: relative; padding: 64px 0 48px; background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%); overflow: hidden; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--center { text-align: center; padding: 120px 0; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero--center .page-sub { margin-left: auto; margin-right: auto; }
.page-title { font-size: clamp(36px, 4.8vw, 60px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-sub { font-size: 18.5px; color: var(--muted); max-width: 640px; margin-bottom: 32px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--faint); margin-bottom: 22px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-ink); }
.breadcrumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

.filter-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-xs); }
.filter-tabs a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s;
}
.filter-tabs a span { font-size: 12px; font-weight: 700; color: var(--faint); background: var(--bg-soft); padding: 1px 8px; border-radius: var(--r-pill); }
.filter-tabs a:hover { background: var(--bg-soft); }
.filter-tabs a.is-active { background: var(--ink); color: #fff; }
.filter-tabs a.is-active span { background: rgba(255, 255, 255, .16); color: #fff; }

.help-choose {
  margin-top: 64px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 30px 34px; border-radius: var(--r-lg); background: var(--bg-tint); border: 1px solid #D5E5FF;
}
.help-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--blue); box-shadow: var(--sh-sm); }
.help-icon .icon { width: 26px; height: 26px; }
.help-choose h3 { font-size: 20px; margin-bottom: 4px; }
.help-choose p { color: var(--muted); font-size: 15px; }

.empty-state { text-align: center; padding: 80px 24px; }
.empty-state h2 { font-size: 28px; margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ==========================================================================
   Single course
   ========================================================================== */

.course-page { position: relative; }
.course-band { position: absolute; left: 0; right: 0; top: 0; height: 560px; background: linear-gradient(180deg, #EEF4FF 0%, #F7FAFF 70%, #FFFFFF 100%); overflow: hidden; }
.course-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 64px;
  grid-template-areas: "head aside" "main aside";
  padding-top: 48px; padding-bottom: 96px;
}
.course-head { grid-area: head; padding-bottom: 56px; }
.course-aside { grid-area: aside; }
.course-main { grid-area: main; }

.course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.course-title { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 18px; }
.course-sub { font-size: 19px; color: var(--muted); line-height: 1.6; max-width: 680px; margin-bottom: 30px; }

.course-instructor { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.course-instructor img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; box-shadow: var(--sh-sm); }
.course-instructor small { display: block; font-size: 12.5px; color: var(--faint); }
.course-instructor strong { display: block; font-size: 15px; color: var(--ink); font-weight: 600; }
.course-instructor-sep { width: 1px; height: 32px; background: var(--line-2); margin: 0 8px; }

.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.fact { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 16px; }
.fact-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); flex: none; }
.fact dt { font-size: 12.5px; color: var(--faint); font-weight: 500; }
.fact dd { margin: 0; font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.35; }

.buy-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 10px;
  max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.buy-card .cover--lg { aspect-ratio: 2 / 1; }

/* Poster covers (featured image): shown whole in a 16:9 frame, no cropping, no overlay.
   Other shapes still show in full over a blurred copy of the same poster. */
.cover--image, .buy-card .cover--image.cover--lg {
  aspect-ratio: 16 / 9; padding: 0; background: #0B1F3A;
  box-shadow: inset 0 0 0 1px rgba(10, 20, 40, .06);
}
.cover-backdrop {
  position: absolute; inset: -24px; z-index: 0;
  background-size: cover; background-position: center;
  filter: blur(22px) saturate(1.15) brightness(.85);
}
.cover--image .cover-img { z-index: 1; object-fit: contain; object-position: center; border-radius: inherit; }
.course-card:hover .cover--image .cover-img { transform: scale(1.015); }
.cover--image .cover-img { transition: transform .5s var(--ease-out); }
.buy-body { padding: 22px 18px 16px; }
.buy-save { font-size: 14px; color: var(--green); font-weight: 600; margin: 8px 0 22px; }
.buy-save--muted { color: var(--muted); font-weight: 400; }
.buy-body .btn + .btn { margin-top: 10px; }
.buy-next { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 14px; color: var(--muted); margin: 18px 0 4px; }
.buy-next strong { color: var(--ink); }
.buy-includes { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.buy-includes h3 { font-size: 15px; margin-bottom: 14px; }
.buy-includes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.buy-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.buy-includes .icon { color: var(--green); width: 18px; height: 18px; margin-top: 1px; }
.buy-secure { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--faint); margin-top: 20px; padding: 12px 14px; background: var(--bg-soft); border-radius: 12px; line-height: 1.5; }
.buy-secure .icon { width: 16px; height: 16px; color: var(--muted); margin-top: 1px; }

.course-section { padding: 0 0 56px; }
.course-section > h2 { font-size: 28px; margin-bottom: 24px; }

.outcome-grid { list-style: none; margin: 0; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.outcome-grid li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.outcome-grid .icon { width: 22px; height: 22px; color: var(--blue); flex: none; }

.audience-callout { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, #EEF4FF, #F7FBFF); border: 1px solid #D5E5FF; }
.audience-icon { width: 50px; height: 50px; border-radius: 14px; background: #fff; display: grid; place-items: center; color: var(--blue); box-shadow: var(--sh-sm); flex: none; }
.audience-icon .icon { width: 24px; height: 24px; }
.audience-callout h2 { font-size: 20px; margin-bottom: 6px; }
.audience-callout p { color: var(--ink-2); }

.tool-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-chips span { padding: 9px 16px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2); font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink-2); }

.instructor-card { display: grid; grid-template-columns: 120px 1fr; gap: 28px; align-items: start; padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); }
.instructor-card img { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; object-position: 50% 20%; }
.instructor-card h3 { font-size: 22px; margin-bottom: 4px; }
.instructor-role { font-size: 14px; color: var(--blue-ink); font-weight: 500; margin-bottom: 14px; }
.instructor-card p:not(.instructor-role) { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }

.buy-bar { display: none; }

/* Curriculum (editor content) */
.course-content { counter-reset: module; }
.course-content .lead { margin-bottom: 28px; color: var(--muted); font-size: 17.5px; }
.course-content .module {
  position: relative; counter-increment: module;
  padding: 26px 28px 24px 88px; margin: 0 0 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  transition: border-color .2s, box-shadow .2s;
}
.course-content .module:hover { border-color: #CFE0FA; box-shadow: var(--sh-sm); }
.course-content .module::before {
  content: counter(module, decimal-leading-zero);
  position: absolute; left: 24px; top: 24px;
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--blue-ink);
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
}
.course-content .module h3 { font-size: 18.5px; margin: 0 0 8px; }
.course-content .module p { color: var(--muted); font-size: 15.5px; margin: 0 0 12px; }
.course-content .module ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.course-content .module li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.course-content .module li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }
.course-content .module .module-project { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--green-bg); color: #0B6E4D; font-size: 14.5px; }
.course-content .module .module-project strong { color: #075A3E; }

/* ==========================================================================
   About & contact
   ========================================================================== */

.about-hero { position: relative; padding: 80px 0 96px; background: linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 100%); overflow: hidden; }
.about-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.about-hero .hero-title { margin-top: 0; }
.about-portrait { position: relative; aspect-ratio: 4 / 5; max-width: 440px; margin-left: auto; width: 100%; }

.stat-band { background: var(--navy); color: #AAB7C7; }
.stat-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-band-inner div { padding: 44px 24px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .08); }
.stat-band-inner div:first-child { border-left: 0; }
.stat-band strong { display: block; font-family: var(--font-head); font-size: 42px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 10px; background: linear-gradient(135deg, #7FD0FF, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-band span { font-size: 14px; }

.story-item { display: grid; grid-template-columns: 56px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.story-item:first-child { padding-top: 0; }
.story-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.story-icon .icon { width: 26px; height: 26px; }
.story-item h2 { font-size: 24px; margin-bottom: 12px; }
.story-item p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }
.story-quote { margin: 56px 0 0; padding: 44px; border-radius: var(--r-xl); background: var(--bg-tint); border: 1px solid #D5E5FF; }
.story-quote .icon { width: 34px; height: 34px; color: var(--blue); margin-bottom: 14px; }
.story-quote p { font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 28px); font-weight: 500; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 18px; }
.story-quote cite { font-family: var(--font-script); font-style: normal; font-size: 30px; color: var(--blue-ink); }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { display: flex; flex-direction: column; padding: 34px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.contact-card h2 { font-size: 22px; margin: 22px 0 8px; }
.contact-card p { color: var(--muted); margin-bottom: 22px; word-break: break-word; }
.contact-card .card-link { margin-top: auto; }
.contact-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-tint); color: var(--blue); }
.contact-icon svg { width: 26px; height: 26px; }
.contact-card--primary { background: linear-gradient(160deg, #0B1F3A, #050816); border-color: transparent; color: #AAB7C7; }
.contact-card--primary h2 { color: #fff; }
.contact-card--primary p { color: #AAB7C7; }
.contact-card--primary .contact-icon { background: #25D366; color: #fff; }
.contact-card--primary .card-link { color: #7FD0FF; }
.contact-social { text-align: center; margin-top: 72px; }
.contact-social p { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.contact-social .social-row { justify-content: center; }

/* Generic content */
.entry { font-size: 17px; color: var(--ink-2); line-height: 1.8; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 28px; margin-top: 1.6em; }
.entry h3 { font-size: 21px; margin-top: 1.4em; }
.entry a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
/* Buttons and cards inside page content keep their own colours, not the link style. */
.entry a.btn { text-decoration: none; }
.entry a.btn-primary { color: #fff; }
.entry a.btn-secondary { color: var(--ink); }
.entry a.card-link, .entry .course-card a { text-decoration: none; }
.entry .course-card-title a { color: inherit; }
.entry .course-card a.card-arrow { color: var(--ink); }
.entry .course-card:hover a.card-arrow { color: #fff; }
.entry ul, .entry ol { padding-left: 1.3em; }
.post-list { display: grid; gap: 20px; }
.post-item { padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.post-item h2 { font-size: 22px; margin-bottom: 8px; }
.post-item p { color: var(--muted); margin-bottom: 12px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 0 0 32px; margin-top: 0; }
.footer-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.assure-item { display: flex; gap: 14px; align-items: flex-start; }
.assure-item > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #fff; color: var(--blue); border: 1px solid var(--line); flex: none; }
.assure-item strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.assure-item span { font-size: 13.5px; color: var(--muted); }

.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 56px 0 48px; }
.footer-tagline { margin-top: 18px; color: var(--muted); font-size: 15px; }
.footer-signature { font-family: var(--font-script); font-size: 28px; color: var(--blue-ink); margin: 6px 0 20px; }
.footer-col h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--muted); transition: color .2s; word-break: break-word; }
.footer-col a:hover { color: var(--blue-ink); }

.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s var(--ease); }
.social-row a:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.social-row--lg a { width: 50px; height: 50px; border-radius: 14px; }
.social-row--lg svg { width: 20px; height: 20px; }

.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   Motion
   ========================================================================== */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

.primary-nav .menu a { white-space: nowrap; }

/* The header needs ~1,370px (logo, 7 links, icons, button), so it gets a wider
   column than the 1,240px page content. */
.site-header > .container { max-width: 1400px; }

/* Student Login is a graduation-cap icon in the desktop header (hover shows "Student Login");
   full text doesn't fit next to 7 menu links. The mobile menu shows it as a full button. */
.header-login { padding: 0; width: 42px; justify-content: center; }
.header-login span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Mid-size screens: slightly tighter links. */
@media (max-width: 1500px) {
  .primary-nav .menu { gap: 2px; }
  .primary-nav .menu a { padding: 9px 11px; font-size: 14.5px; }
}
/* Below 1340px the hamburger menu takes over; it has its own full-width Student Login button. */
@media (max-width: 1340px) {
  .header-login { display: none; }
}

@media (max-width: 1080px) {
  .course-grid, .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .course-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 0 40px; }
}

@media (max-width: 1340px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  /* Absolute to the header: its backdrop-filter would trap position:fixed anyway.
     JS sets the exact height to fill the rest of the screen. */
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 499;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; padding: 20px 24px 32px; overflow-y: auto; border-top: 1px solid var(--line);
    display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .primary-nav .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav .menu a { font-size: 18px; font-family: var(--font-head); font-weight: 600; padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .primary-nav .current-menu-item > a { background: none; }
  .nav-mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .section { padding: 80px 0; }
  .hero { padding: 40px 0 72px; }
  .hero-inner, .about-hero-inner, .founder-inner, .faq-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .portrait, .about-portrait { margin: 0 auto; }
  .faq-intro { position: static; }
  .founder-media { max-width: 480px; margin: 0 auto; width: 100%; }
  .founder-quote { right: -8px; }

  .path { grid-template-columns: 1fr; }
  .path::before { display: none; }

  .cta-panel { grid-template-columns: 1fr; padding: 56px 40px 0; }
  .cta-copy { padding-bottom: 8px; }
  .cta-person { justify-self: center; max-width: 240px; }

  .course-layout { grid-template-columns: 1fr; grid-template-areas: "head" "aside" "main"; padding-top: 32px; }
  .course-head { padding-bottom: 32px; }
  .course-aside { margin-bottom: 56px; }
  .buy-card { position: static; }
  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 450;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(10, 20, 40, .3);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .buy-bar.is-visible { transform: none; }
  .buy-bar .price-now { font-size: 20px; }
  .buy-bar .price-save { display: none; }
  .single-course .whatsapp-float { bottom: 90px; }

  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-band-inner div:nth-child(3) { border-left: 0; }
  .stat-band-inner div { border-top: 1px solid rgba(255, 255, 255, .08); }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-assure { grid-template-columns: repeat(2, 1fr); }
  .help-choose { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 680px) {
  .container, .container-narrow { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-head, .section-head-row { margin-bottom: 36px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  .brand-mark { width: 38px; height: 38px; }
  .brand-name { font-size: 14px; }
  .brand-sub { font-size: 10.5px; }

  .announce-link { padding: 8px 32px 8px 0; font-size: 12.5px; line-height: 1.45; justify-content: flex-start; text-align: left; }
  .announce-link > span:nth-child(2) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .announce-cta { display: none; }
  .announce-close { right: 4px; }

  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .hero-stats dt { font-size: 24px; }
  .hero-stats dd { font-size: 12.5px; }
  .hero-visual { padding: 16px 8px 40px; }
  .float-card { padding: 10px 14px; border-radius: 14px; }
  .float-card--cohort { left: -4px; top: 12px; max-width: 230px; }
  .float-card--cert { right: -4px; bottom: 100px; }
  .float-icon { width: 34px; height: 34px; }
  .signature { font-size: 24px; }
  .signature--lg { font-size: 34px; }

  .course-grid, .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .credentials, .outcome-grid, .fact-grid { grid-template-columns: 1fr; }
  .founder-quote { position: relative; right: auto; margin: -40px 12px 0; max-width: none; }
  .founder-media { padding-bottom: 0; }

  .faq-item summary { font-size: 16.5px; }
  .faq-answer { padding-right: 0; }

  .cta-panel { padding: 44px 24px 0; border-radius: var(--r-lg); }
  .cta-panel .btn { flex: 1 1 100%; }

  .filter-tabs { display: flex; border-radius: 18px; }
  .filter-tabs a { flex: 1 1 auto; justify-content: center; }

  .course-title { font-size: 34px; }
  .course-instructor-sep { display: none; }
  .course-content .module { padding: 76px 20px 20px; }
  .course-content .module::before { left: 20px; top: 20px; }
  .instructor-card { grid-template-columns: 1fr; padding: 24px; }
  .outcome-grid { padding: 22px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-assure { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .stat-band strong { font-size: 32px; }
  .story-item { grid-template-columns: 1fr; gap: 16px; }
  .story-quote { padding: 28px; }
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
}

/* ==========================================================================
   Store: header cart, bundles, WooCommerce cart / checkout / account
   ========================================================================== */

.header-icon {
  position: relative; width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.header-icon:hover { background: var(--bg-soft); color: var(--blue-ink); }
.header-icon .icon { width: 21px; height: 21px; }
.header-icon-badge {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--blue); color: #fff; border: 2px solid #fff;
  font-size: 10.5px; font-weight: 700; line-height: 14px; text-align: center;
}
.header-actions { gap: 6px; }
.header-actions .header-cta { margin-left: 8px; }

/* Home: bundle spotlight */
.section--bundles { padding-top: 0; }
.section--bundles .container { display: grid; gap: 24px; }
.bundle-feature {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center;
  padding: 56px; border-radius: var(--r-xl); color: #C9D6EA;
  background: radial-gradient(120% 160% at 0% 0%, #0E3A7A 0%, #0B1F3A 45%, #050816 100%);
  box-shadow: var(--sh-lg);
}
.bundle-feature .eyebrow .icon { width: 16px; height: 16px; }
.bundle-feature .eyebrow::before { display: none; }
.bundle-feature h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.bundle-feature p { font-size: 17px; max-width: 560px; margin-bottom: 24px; }
.bundle-feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bundle-feature-list li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.bundle-feature-list .icon { width: 20px; height: 20px; color: #7FD0FF; }
.bundle-feature-buy {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center;
  padding: 32px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px);
}
.bundle-feature-was { font-size: 14px; }
.bundle-feature-was del { color: #8FA3C0; margin-left: 4px; }
.bundle-feature-price { font-family: var(--font-head); font-size: 46px; font-weight: 700; color: #fff; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.bundle-feature-link { font-size: 14px; font-weight: 600; color: #7FD0FF; margin-top: 4px; }
.bundle-feature-link:hover { color: #fff; }

/* Course page: courses inside a bundle */
.bundle-list { display: grid; gap: 12px; }
.bundle-item {
  display: grid; grid-template-columns: 52px 1fr auto 20px; gap: 18px; align-items: center;
  padding: 16px 20px 16px 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bundle-item:hover { border-color: #CFE0FA; box-shadow: var(--sh-sm); transform: translateY(-2px); }
.bundle-item > .icon { color: var(--faint); width: 18px; height: 18px; }
.bundle-item-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; }
.bundle-item-icon.cover--sky { color: var(--blue); }
.bundle-item-icon .icon { width: 24px; height: 24px; }
.bundle-item-body small { display: block; font-size: 12.5px; color: var(--faint); }
.bundle-item-body strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); line-height: 1.3; }
.bundle-item-price { font-family: var(--font-head); font-weight: 600; color: var(--muted); }
.bundle-total {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; justify-content: flex-end;
  padding: 16px 20px; border-radius: 16px; background: var(--green-bg); color: #0B6E4D; font-size: 15px;
}
.bundle-total del { color: var(--muted); }
.bundle-total-now { margin-left: 12px; }
.bundle-total-now strong { font-family: var(--font-head); font-size: 20px; color: #075A3E; margin-left: 6px; }

/* WooCommerce pages */
.page-hero--compact { padding: 44px 0 36px; }
.page-hero--compact .page-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.checkout-assure { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.checkout-assure li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.checkout-assure .icon { color: var(--green); width: 17px; height: 17px; }
.wc-page .section { padding-bottom: 96px; }
.entry--wc { font-size: 15.5px; line-height: 1.6; }
.entry--wc > * + * { margin-top: 0; }
.entry--wc a { text-decoration: none; }

.wc-page .wc-block-components-button:not(.is-link),
.wc-page .wc-block-cart__submit-button,
.wc-page .wc-block-components-checkout-place-order-button,
.woocommerce .button, .woocommerce button.button, .woocommerce a.button {
  font-family: var(--font-head) !important; font-weight: 600 !important; font-size: 16px !important;
  border-radius: var(--r-pill) !important; border: 0 !important; min-height: 54px;
  background: var(--gradient-brand) !important; color: #fff !important;
  box-shadow: var(--sh-blue); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none !important;
}
.wc-page .wc-block-components-button:not(.is-link):hover,
.woocommerce .button:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(0, 110, 255, .6); }

.wc-page .wc-block-components-sidebar,
.wc-page .wc-block-cart__sidebar {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px !important;
}
.wc-page .wc-block-components-main { padding-right: 48px !important; }
.wc-page .wc-block-components-title,
.wc-page .wc-block-components-checkout-step__title,
.wc-page .wc-block-cart-items__header { font-family: var(--font-head) !important; color: var(--ink); }
.wc-page .wc-block-components-checkout-step__title { font-size: 20px !important; font-weight: 600 !important; }
.wc-page .wc-block-components-text-input input,
.wc-page .wc-block-components-combobox .components-combobox-control input,
.wc-page .wc-blocks-components-select__select,
.wc-page .wc-block-components-textarea {
  border-radius: 12px !important; border-color: var(--line-2) !important; font-family: var(--font-body) !important;
}
.wc-page .wc-block-components-text-input input:focus,
.wc-page .wc-blocks-components-select__select:focus { border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(0, 110, 255, .15) !important; }
.wc-page .wc-block-components-product-name { font-family: var(--font-head); font-weight: 600; color: var(--ink) !important; font-size: 16px; }
.wc-page .wc-block-components-order-summary-item__image img,
.wc-page .wc-block-cart-item__image img { border-radius: 12px; }
.wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.wc-page .wc-block-components-radio-control-accordion-option,
.wc-page .wc-block-components-radio-control__option { border-radius: 14px; }
.wc-page .wc-block-components-notice-banner { border-radius: 14px; }
.wc-page .wp-block-woocommerce-empty-cart-block .wp-block-heading { font-size: 22px; margin-top: 40px; }
.wc-page .daa-bundled { display: none !important; }
.wc-page .wc-block-components-product-metadata { font-size: 13px; color: var(--muted); }

/* Thank-you page */
.thankyou-next {
  display: flex; gap: 20px; align-items: flex-start; margin: 0 0 40px; padding: 32px;
  border-radius: var(--r-lg); background: linear-gradient(135deg, #E7F7F0, #F3FBF7); border: 1px solid #C8EBDC;
}
.thankyou-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--green); flex: none; box-shadow: var(--sh-sm); }
.thankyou-icon .icon { width: 28px; height: 28px; }
.thankyou-next h2 { font-size: 24px; margin: 0 0 8px; }
.thankyou-next p { color: var(--ink-2); margin: 0 0 20px; }
.woocommerce-order-overview { list-style: none; padding: 20px 24px; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 16px 40px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.woocommerce-order-overview li { font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.woocommerce-order-overview li strong { display: block; font-size: 16px; color: var(--ink); text-transform: none; letter-spacing: 0; font-family: var(--font-head); }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.woocommerce table.shop_table thead th { background: var(--bg-soft); font-family: var(--font-head); color: var(--ink); }

/* My Account */
.woocommerce-account .entry--wc .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
/* WooCommerce's clearfix pseudo-elements would become grid cells and its float
   widths (30% / 68%) would squeeze the columns; neither applies to this grid. */
.woocommerce-account .entry--wc .woocommerce::before,
.woocommerce-account .entry--wc .woocommerce::after { display: none; }
.woocommerce-account .entry--wc .woocommerce-MyAccount-navigation,
.woocommerce-account .entry--wc .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.woocommerce-account .entry--wc .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 16px; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.woocommerce-MyAccount-navigation a:hover { background: #fff; }
.woocommerce-MyAccount-navigation .is-active a { background: #fff; color: var(--blue-ink); box-shadow: var(--sh-xs); font-weight: 600; }
.woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce form .input-text {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; background: #fff; line-height: 1.4;
}
.woocommerce form .form-row .input-text:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 110, 255, .15); }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.woocommerce .button, .woocommerce button.button { padding: 14px 30px !important; }
.woocommerce-form-login .form-row:has(.button) { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 18px; flex-wrap: wrap; }
.woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 500 !important; margin: 0 !important; }
.woocommerce-form-login .button { width: 100%; }
.woocommerce-LostPassword { margin: 16px 0 0; font-size: 14px; }
.woocommerce-LostPassword a { color: var(--blue-ink); }
.woocommerce-account:not(.logged-in) .entry--wc .woocommerce { display: block; max-width: 460px; margin: 0 auto; }
.woocommerce-form-login, .woocommerce-form-register { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-sm); }
.woocommerce-account .entry--wc h2 { font-size: 24px; margin: 0 0 18px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  list-style: none; padding: 14px 18px; margin: 0 0 24px; border-radius: 14px; background: var(--bg-tint); border: 1px solid #D5E5FF; color: var(--ink-2);
}
.woocommerce-error { background: #FDECEC; border-color: #F6C9C9; }

@media (max-width: 960px) {
  .bundle-feature { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .wc-page .wc-block-components-main { padding-right: 0 !important; }
  .wc-page .wc-block-components-sidebar { background: none; border: 0; padding: 0 !important; }
  .woocommerce-account .entry--wc .woocommerce { grid-template-columns: 1fr; gap: 24px; }
  .thankyou-next { flex-direction: column; }
}

@media (max-width: 680px) {
  .header-icon--account { display: none; }
  .header-icon { width: 38px; height: 38px; }
  .bundle-item { grid-template-columns: 44px 1fr 18px; gap: 14px; }
  .bundle-item-icon { width: 44px; height: 44px; }
  .bundle-item-price { display: none; }
  .bundle-total { justify-content: flex-start; }
  .bundle-total-now { margin-left: 0; }
  .bundle-feature-price { font-size: 38px; }
  .checkout-assure { gap: 8px 18px; }
}

/* ==========================================================================
   English + Hindi
   ========================================================================== */

/* Catalogue: compact header + one-row toolbar (Type pills | Topic ▾ | Language ▾) */
/* overflow visible so the filter dropdowns can open over the course grid (.hero-bg clips itself). */
.page-hero--catalog { padding: 36px 0 28px; overflow: visible; z-index: 5; }
.page-hero--catalog + .section { padding-top: 12px; }
.page-hero--catalog .breadcrumbs { margin-bottom: 14px; }
.page-hero--catalog .page-title { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 8px; }
.page-hero--catalog .page-sub { font-size: 16.5px; margin-bottom: 24px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.filter-menus { display: flex; gap: 10px; }
.filter-menu { position: relative; }
.filter-menu > summary {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px 0 18px; list-style: none; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--sh-xs);
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: border-color .2s;
}
.filter-menu > summary::-webkit-details-marker { display: none; }
.filter-menu > summary:hover, .filter-menu[open] > summary { border-color: var(--line-2); }
.filter-menu > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.filter-menu > summary .icon { width: 16px; height: 16px; color: var(--faint); transition: transform .2s; }
.filter-menu > summary .icon:first-child { color: var(--green); }
.filter-menu[open] > summary .icon:last-child { transform: rotate(180deg); }
.filter-menu-key { color: var(--faint); font-weight: 500; }
.filter-menu.is-set > summary { border-color: var(--ink); color: var(--ink); }
.filter-menu-panel {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 300px; max-height: 400px; overflow-y: auto;
  display: grid; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg, 0 24px 48px -12px rgba(10, 20, 40, .18));
}
.filter-menu-panel--end { left: auto; right: 0; min-width: 200px; }
.filter-menu-panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.filter-menu-panel a span { font-size: 12px; font-weight: 700; color: var(--faint); background: var(--bg-soft); padding: 1px 8px; border-radius: var(--r-pill); }
.filter-menu-panel a:hover { background: var(--bg-soft); }
.filter-menu-panel a.is-active { background: var(--bg-soft); color: var(--ink); font-weight: 600; }

/* Empty cart */
.header-icon-badge[hidden], [data-daa-empty-cart][hidden], .wp-block-woocommerce-cart[hidden] { display: none !important; }
.daa-empty-cart.is-entering { animation: daa-fade-up .45s var(--ease-out) both; }
@keyframes daa-fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cart-empty { max-width: 560px; margin: 8px auto 0; padding: 48px 32px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.cart-empty-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 20px; background: var(--bg-soft); color: var(--blue); }
.cart-empty-icon .icon { width: 28px; height: 28px; }
.cart-empty h2 { font-size: 26px; margin: 0 0 8px; }
.cart-empty p { color: var(--muted); margin: 0 auto 26px; max-width: 420px; }
.cart-empty .btn-row { justify-content: center; }
.cart-empty-picks { margin-top: 72px; }
.cart-empty-picks-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.cart-empty-picks-head h2 { font-size: 24px; margin: 0; }
/* If the cart empties in place, keep WooCommerce's own empty state minimal. */
.wc-page .wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wc-page .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.wc-page .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new { display: none; }

/* Account login */
.woocommerce-account:not(.logged-in) .entry--wc .woocommerce { max-width: 980px; }
.account-auth { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: start; }
.account-aside { padding-top: 44px; }
.account-aside h2 { font-size: 34px; margin: 10px 0 10px; }
.account-aside > p { color: var(--muted); margin: 0 0 24px; }
.account-perks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.account-perks li { display: flex; gap: 14px; align-items: flex-start; }
.account-perks .icon { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--bg-soft); color: var(--blue); }
.account-perks strong { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.account-perks span { color: var(--muted); font-size: 14.5px; }
.account-lms { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.account-lms > .icon { width: 22px; height: 22px; color: var(--blue); grid-row: span 2; }
.account-lms strong { color: var(--ink); }
.account-form h2 { font-size: 22px !important; }
@media (max-width: 900px) {
  .account-auth { grid-template-columns: 1fr; gap: 32px; }
  .account-aside { padding-top: 0; order: 2; } /* form first on small screens */
  .woocommerce-account:not(.logged-in) .entry--wc .woocommerce { max-width: 560px; }
}

/* Home hero */
.hero-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.hero-langs > .icon { width: 17px; height: 17px; color: var(--green); }
.hero-langs a {
  padding: 5px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line-2);
  font-weight: 600; color: var(--ink); transition: border-color .2s, color .2s, background .2s;
}
.hero-langs a:hover { border-color: var(--green); color: #075A3E; background: var(--green-bg); }

/* Hindi readability. Devanagari needs taller lines, no letter-spacing
   (it breaks joined letters) and a slightly lighter heading weight. */
:lang(hi) { font-feature-settings: normal; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4,
:lang(hi) .course-title, :lang(hi) .course-card-title, :lang(hi) .page-title, :lang(hi) .section-title {
  letter-spacing: 0; line-height: 1.34; font-weight: 600;
}
:lang(hi) .course-title { font-size: clamp(32px, 4vw, 48px); line-height: 1.28; }
:lang(hi) p, :lang(hi) li, :lang(hi) dd, :lang(hi) .course-card-desc { line-height: 1.85; }
:lang(hi) .course-sub, :lang(hi) .course-card-desc, :lang(hi) .course-content p, :lang(hi) .audience-callout p { color: #45546D; }
:lang(hi) .course-sub { font-size: 19.5px; }
:lang(hi) .course-content .module h3 { line-height: 1.45; font-size: 19px; }
:lang(hi) .course-content .module li { line-height: 1.75; }
:lang(hi) .eyebrow, :lang(hi) .btn, :lang(hi) .chip, :lang(hi) .cover-badge,
:lang(hi) .price-save, :lang(hi) .fact dt, :lang(hi) .course-instructor small { letter-spacing: 0; }
:lang(hi) .eyebrow { font-size: 14px; text-transform: none; }
:lang(hi) .btn { font-weight: 600; }
:lang(hi) .buy-includes li, :lang(hi) .outcome-grid li { line-height: 1.7; }

@media (max-width: 680px) {
  /* Phones: type pills scroll sideways in one line; Topic + Language share the row below. */
  .page-hero--catalog { padding: 24px 0 20px; }
  .page-hero--catalog .page-sub { font-size: 15.5px; margin-bottom: 18px; }
  .filter-bar { gap: 10px; }
  .filter-bar > .filter-tabs { flex-wrap: nowrap; width: calc(100% + 24px); margin-right: -24px; overflow-x: auto; border-radius: var(--r-pill) 0 0 var(--r-pill); scrollbar-width: none; }
  .filter-bar > .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-bar > .filter-tabs a { flex: none; padding: 8px 14px; font-size: 14px; }
  .filter-menus { width: 100%; }
  .filter-menu { flex: 1; min-width: 0; }
  .filter-menu > summary { width: 100%; height: 44px; justify-content: space-between; font-size: 14px; padding: 0 14px; }
  .filter-menu-value { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; }
  .page-hero--catalog + .section { padding-top: 8px; }
  .filter-menu-key { display: none; }
  /* Panels anchor to the whole row, so they open full width on phones. */
  .filter-menus { position: relative; }
  .filter-menu { position: static; }
  .filter-menu-panel, .filter-menu-panel--end { left: 0; right: 0; min-width: 0; }
  .account-auth { grid-template-columns: 1fr; gap: 28px; }
  .account-aside h2 { font-size: 28px; }
  .cart-empty { padding: 36px 20px; }
  .cart-empty .btn { flex: 1 1 100%; justify-content: center; }
  .cart-empty-picks { margin-top: 48px; }
  :lang(hi) .course-title { font-size: 30px; }
  :lang(hi) .course-sub { font-size: 17.5px; }
}

/* ==========================================================================
   Part payment: "Choose how to pay" (WooCommerce Deposits payment plans)
   ========================================================================== */

.pay-form { margin: 4px 0 0; }
.pay-login { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 2px; padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); font-size: 13.5px; color: var(--muted); }
.pay-login .icon { width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
.pay-login a { font-weight: 600; color: var(--blue-ink); }

/* "Pay today" line under the course price when a plan is chosen */
.pay-today {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  margin: 12px 0 4px; padding: 12px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #F3F8FF, #FFFFFF); border: 1.5px solid #CFE0FA;
}
.pay-today[hidden] { display: none; }
.pay-today span { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--ink); }
.pay-today strong { font-family: var(--font-head); font-size: 24px; color: var(--blue-ink); letter-spacing: -0.02em; }
.pay-today small { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.buy-bar [data-bar-full][hidden], .buy-bar .bar-today[hidden] { display: none; }
.buy-bar .bar-today strong { font-family: var(--font-head); font-size: 20px; color: var(--blue-ink); }
.buy-bar .bar-today small { font-size: 12.5px; color: var(--muted); }
.pay-options { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; min-width: 0; }
.pay-options legend {
  padding: 0; margin: 0 0 10px; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink);
}
.pay-option {
  position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.pay-option:hover { border-color: #B9CFF3; }
.pay-option input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 2px 0 0;
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); background: #fff;
  display: grid; place-items: center; transition: border-color .2s var(--ease);
}
.pay-option input::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .2s var(--ease); }
.pay-option input:checked { border-color: var(--blue); }
.pay-option input:checked::after { transform: scale(1); }
.pay-option input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.pay-option:has(input:checked), .pay-option.is-selected {
  border-color: var(--blue); background: linear-gradient(180deg, #F3F8FF, #FFFFFF);
  box-shadow: 0 0 0 3px rgba(0, 110, 255, .12);
}
.pay-option-body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pay-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pay-option-head strong { font-family: var(--font-head); font-size: 15.5px; color: var(--ink); }
.pay-option-now { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
.pay-option-now small { font-family: var(--font-body); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.pay-option-meta { font-size: 13px; color: var(--muted); }
.pay-option-schedule { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pay-option-schedule span {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
  padding: 4px 9px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line);
}
.pay-option-schedule em { font-style: normal; font-weight: 500; color: var(--muted); }
.pay-option-schedule span:first-child { background: var(--green-bg); border-color: #C8EBDC; color: #075A3E; }
.pay-option-schedule span:first-child em { color: #0B6E4D; }
.pay-note { margin: 10px 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.buy-body .pay-form + .btn { margin-top: 0; }

/* Checkout: our "Due today / Then" summary replaces the plugin's box, which
   shows amounts ×100 on stores priced in whole rupees (assets/js/wc-blocks.js). */
.wc-block-deposits-totals { display: none !important; }
.daa-pay-summary {
  margin: 4px 0 8px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(180deg, #F3F8FF, #FFFFFF); border: 1.5px solid #CFE0FA;
}
.wc-block-components-order-meta .daa-pay-summary { padding: 16px 18px; margin: 4px 0 8px; }
.daa-pay-summary-now { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.daa-pay-summary-now span { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.daa-pay-summary-now strong { font-family: var(--font-head); font-size: 22px; color: var(--blue-ink); }
.daa-pay-summary-later { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 6px; }
.daa-pay-summary-later li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.daa-pay-summary-later li span:last-child { font-weight: 600; color: var(--ink); }
.daa-pay-summary-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--faint); }
.daa-pay-summary-account { padding-top: 10px; border-top: 1px dashed var(--line-2); color: var(--ink-2); }

/* My Account → order: the Deposits plugin's "Partial payments summary" table */
.woocommerce_deposits_parent_order_summary {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 32px;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 14.5px;
}
.woocommerce_deposits_parent_order_summary th,
.woocommerce_deposits_parent_order_summary td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.woocommerce_deposits_parent_order_summary thead th { background: var(--bg-soft); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.woocommerce_deposits_parent_order_summary tbody tr:last-child td { border-bottom: 0; }
.woocommerce_deposits_parent_order_summary td:last-child { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.woocommerce_deposits_parent_order_summary .button { min-height: 0 !important; padding: 8px 18px !important; font-size: 14px !important; }
.woocommerce-account .entry--wc h2.woocommerce-column__title { margin-top: 8px; }

/* "Pay for order" page (instalments paid later): classic WooCommerce payment box, on brand */
.woocommerce-checkout #payment, .woocommerce-order-pay #payment {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-top: 20px;
}
.woocommerce-order-pay #payment ul.payment_methods { padding: 18px 20px; border-bottom: 1px solid var(--line); }
.woocommerce-order-pay #payment ul.payment_methods li { padding: 8px 0; font-weight: 600; color: var(--ink); }
.woocommerce-order-pay #payment div.payment_box {
  background: var(--bg-soft); color: var(--muted); border-radius: 12px; font-size: 13.5px; margin: 10px 0 4px;
}
.woocommerce-order-pay #payment div.payment_box::before { border-bottom-color: var(--bg-soft); }
.woocommerce-order-pay #payment div.form-row { padding: 18px 20px; margin: 0; }
.woocommerce-order-pay #payment .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--muted); }
.woocommerce-order-pay #order_review .shop_table { margin-bottom: 0; }

/* Thank-you page: part-payment plan status */
.thankyou-plan { margin: 4px 0 20px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #C8EBDC; }
.thankyou-plan-head { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.thankyou-plan ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.thankyou-plan li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--bg-soft); font-size: 14.5px; }
.thankyou-plan li strong { font-family: var(--font-head); color: var(--ink); }
.thankyou-plan-how { margin: 0; font-size: 13.5px; color: var(--muted); }
.thankyou-plan-how a { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--blue-ink); }
.thankyou-plan-done { margin: 0 0 20px; font-weight: 600; color: #075A3E; }

/* Course card hint */
.course-card-facts .card-part-pay { color: #0B6E4D; font-weight: 600; }
.course-card-facts .card-part-pay .icon { color: var(--green); }

:lang(hi) .pay-option-head strong, :lang(hi) .pay-options legend { letter-spacing: 0; }
