:root{
  --text:#0f172a;
  --muted:#475569;
  --faint:#64748b;

  --border:rgba(15,23,42,.08);
  --borderStrong:rgba(15,23,42,.14);
  --borderSoft:rgba(15,23,42,.05);

  --primary:#1e40af;
  --primary2:#3b82f6;
  --primary3:#60a5fa;

  --accent:#334155;
  --accent2:#1e293b;

  --success:#15803d;
  --danger:#dc2626;
  --warning:#d97706;

  --bg:#ffffff;
  --surface:#ffffff;
  --surfaceSoft:#f8fafc;
  --surfaceTint:#eff6ff;
  --surfaceElevated:rgba(255,255,255,.97);

  --radiusPill:999px;
  --radiusCard:28px;
  --radiusPanel:34px;
  --radiusField:16px;
  --radiusSoft:20px;

  --shadow:
    0 18px 48px rgba(15,23,42,.07),
    0 6px 18px rgba(15,23,42,.035);

  --shadowLift:
    0 28px 72px rgba(15,23,42,.10),
    0 12px 28px rgba(30,64,175,.08);

  --shadowSoft:
    0 8px 24px rgba(15,23,42,.05),
    0 2px 8px rgba(15,23,42,.03);

  --display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI","Inter","Manrope",system-ui,sans-serif;
  --body:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI","Inter","Manrope",system-ui,sans-serif;

  --container:1260px;

  --footerText:#566172;
  --footerMuted:#7b8798;
  --footerHeading:#0f172a;
  --footerBorder:rgba(15,23,42,.08);
  --footerHover:#0f172a;
}

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

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body,
h1,h2,h3,h4,h5,h6,
p,ul,ol,li,
figure,blockquote,dl,dd{
  margin:0;
}

ul,ol{
  padding:0;
}

body{
  min-height:100vh;
  font-family:var(--body);
  color:var(--text);
  background:
    radial-gradient(860px 620px at -10% -10%, rgba(30,64,175,.05), transparent 56%),
    radial-gradient(760px 540px at 50% 100%, rgba(59,130,246,.04), transparent 50%),
    linear-gradient(180deg,#ffffff 0%, #f8fafc 100%);
  line-height:1.7;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(15,23,42,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.012) 1px, transparent 1px);
  background-size:44px 44px;
  mask-image:radial-gradient(circle at center, rgba(0,0,0,.16), transparent 82%);
  opacity:.05;
  z-index:0;
}

a{
  text-decoration:none;
  color:inherit;
}

img,
svg{
  display:block;
  max-width:100%;
}

button,
input,
select,
textarea{
  font:inherit;
  color:inherit;
}

button{
  background:none;
  border:none;
  padding:0;
}

input,
select,
textarea{
  appearance:none;
}

:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.9),
    0 0 0 6px rgba(30,64,175,.18);
}

.container{
  width:min(100% - 40px,var(--container));
  margin-inline:auto;
  position:relative;
  z-index:1;
}

.section{
  padding:92px 0;
}

.section.sm{
  padding:56px 0;
}

.grid{
  display:grid;
  gap:24px;
}

.grid.two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.grid.three{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.grid.four{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

/* Top navigation */
.navbar{
  position:sticky;
  top:0;
  z-index:90;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(18px) saturate(150%);
  border-bottom:1px solid var(--border);
  box-shadow:
    0 1px 0 rgba(255,255,255,.88) inset,
    0 8px 24px rgba(15,23,42,.03);
}

.nav-inner{
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:24px;
  align-items:center;
}

.brand{
  font-family:var(--display);
  font-size:1.56rem;
  font-weight:700;
  letter-spacing:-.045em;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  white-space:nowrap;
}

.brand-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:
    0 0 0 6px rgba(30,64,175,.05),
    0 8px 18px rgba(30,64,175,.10);
  flex:0 0 auto;
}

.nav-links{
  display:flex;
  justify-content:center;
  gap:28px;
  align-items:center;
}

.nav-link{
  position:relative;
  color:var(--muted);
  font-weight:600;
  font-size:.95rem;
  line-height:1.2;
  transition:color .2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current="page"]{
  color:var(--text);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-14px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--primary),var(--primary2));
}

.nav-actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.96);
  color:var(--text);
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 14px rgba(15,23,42,.04);
  cursor:pointer;
}

.nav-toggle span,
.nav-toggle span:before,
.nav-toggle span:after{
  display:block;
  width:18px;
  height:2px;
  background:var(--text);
  border-radius:999px;
  position:relative;
  transition:transform .2s ease, opacity .2s ease, background .2s ease;
}

.nav-toggle span:before,
.nav-toggle span:after{
  content:"";
  position:absolute;
  left:0;
}

.nav-toggle span:before{top:-6px}
.nav-toggle span:after{top:6px}

.nav-open .nav-toggle span{
  background:transparent;
}

.nav-open .nav-toggle span:before{
  transform:translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:after{
  transform:translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  font-size:.94rem;
  font-weight:700;
  letter-spacing:-.01em;
  cursor:pointer;
  transition:
    transform .16s ease,
    box-shadow .26s ease,
    background .26s ease,
    border-color .26s ease,
    color .26s ease,
    filter .26s ease;
}

.btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.02);
}

.btn.primary{
  color:#fff;
  background:linear-gradient(180deg,#2563eb 0%, var(--primary) 100%);
  box-shadow:
    0 12px 26px rgba(30,64,175,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.btn.accent{
  color:#fff;
  background:linear-gradient(180deg,#334155 0%, var(--accent2) 100%);
  box-shadow:
    0 12px 24px rgba(15,23,42,.15),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.btn.ghost{
  color:var(--text);
  border:1px solid var(--border);
  background:rgba(255,255,255,.94);
  box-shadow:0 4px 14px rgba(15,23,42,.035);
}

.btn.outline{
  color:var(--primary);
  border:1px solid rgba(30,64,175,.16);
  background:rgba(30,64,175,.05);
}

.btn.danger{
  color:#fff;
  background:linear-gradient(180deg,#ef4444 0%, var(--danger) 100%);
  box-shadow:0 10px 22px rgba(220,38,38,.15);
}

.btn.sm{
  min-height:40px;
  padding-inline:14px;
  font-size:.88rem;
}

.btn.lg{
  min-height:56px;
  padding-inline:24px;
}

.btn.block{
  width:100%;
}

/* Badges */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  padding:0 12px;
  border-radius:var(--radiusPill);
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.badge.primary{
  color:var(--primary);
  background:rgba(30,64,175,.08);
  border:1px solid rgba(30,64,175,.14);
}

.badge.accent{
  color:var(--accent2);
  background:rgba(51,65,85,.08);
  border:1px solid rgba(51,65,85,.14);
}

.badge.soft{
  color:#526175;
  background:rgba(255,255,255,.94);
  border:1px solid var(--border);
}

/* Hero */
.hero{
  padding:104px 0 82px;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);
  gap:44px;
  align-items:center;
}

.hero-panel,
.card,
.preview,
.course-card,
.feature-card,
.path-card,
.category-card,
.testimonial-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,250,252,.98)),
    var(--surface);
  border:1px solid rgba(15,23,42,.06);
  box-shadow:var(--shadow);
}

.hero-panel{
  border-radius:36px;
  box-shadow:
    0 28px 72px rgba(15,23,42,.09),
    0 8px 22px rgba(15,23,42,.035);
}

.hero-panel:before,
.card.glow:before,
.stats-band:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg,var(--primary),var(--primary2),transparent 85%);
}

.hero-panel:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-60px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(30,64,175,.10), transparent 68%);
  pointer-events:none;
}

.hero-body{
  padding:clamp(30px,4vw,64px);
}

.eyebrow{
  display:inline-block;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--primary);
  margin-bottom:14px;
}

.display-xl,
.display-sm,
.section-title,
.page-title{
  font-family:var(--display);
  line-height:1.02;
  letter-spacing:-.05em;
  color:var(--text);
}

.display-xl{
  font-size:clamp(3rem,6vw,5.2rem);
  font-weight:700;
}

.display-sm{
  font-size:clamp(1.16rem,1.6vw,1.42rem);
  font-weight:600;
}

.hero-copy,
.section-sub,
.page-sub,
.muted{
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.82;
}

.stack,
.hero-actions,
.chips,
.course-meta,
.stats-inline,
.footer-links,
.path-meta,
.footer-bottom{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.chips{
  margin-top:18px;
}

/* Preview blocks */
.preview{
  border-radius:30px;
}

.preview-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.preview-title{
  font-family:var(--display);
  font-size:1rem;
  font-weight:700;
  color:var(--text);
}

.preview-body{
  padding:20px;
  display:grid;
  gap:16px;
}

.mini-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.mini-card,
.stats-card{
  border-radius:20px;
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  padding:18px;
  box-shadow:0 4px 14px rgba(15,23,42,.025);
}

.mini-label,
.stat-label,
.meta-small,
.table th{
  font-size:.82rem;
  color:var(--faint);
  font-weight:700;
}

.mini-value,
.stat-value{
  font-family:var(--display);
  font-size:1.4rem;
  font-weight:700;
  color:var(--text);
  margin-top:8px;
}

/* Section headers */
.section-head{
  text-align:center;
  margin-bottom:56px;
}

.section-head.left{
  text-align:left;
}

.section-title{
  font-size:clamp(2rem,3vw,2.95rem);
  font-weight:700;
  line-height:1.08;
  margin-bottom:14px;
}

/* Cards */
.card,
.course-card,
.feature-card,
.path-card,
.category-card,
.testimonial-card{
  border-radius:var(--radiusCard);
}

.card-body,
.feature-card,
.path-card,
.category-card,
.testimonial-card{
  padding:28px;
}

.card-body.lg{
  padding:34px;
}

.card-title,
.course-title{
  font-family:var(--display);
  font-size:1.08rem;
  font-weight:700;
  color:var(--text);
  line-height:1.32;
}

.feature-card,
.course-card,
.path-card,
.category-card,
.testimonial-card,
.card.hover{
  transition:
    transform .26s ease,
    box-shadow .26s ease,
    border-color .26s ease,
    background .26s ease;
}

.feature-card:hover,
.course-card:hover,
.path-card:hover,
.category-card:hover,
.testimonial-card:hover,
.card.hover:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadowLift);
  border-color:var(--borderStrong);
}

.icon-bubble{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border-radius:18px;
  margin-bottom:20px;
  color:var(--primary);
  background:linear-gradient(135deg,rgba(30,64,175,.08),rgba(59,130,246,.12));
  border:1px solid rgba(15,23,42,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.86),
    0 8px 18px rgba(15,23,42,.04);
  font-weight:800;
}

.course-card{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:22px;
}

.course-thumb{
  aspect-ratio:16/10;
  border-radius:18px;
  background:linear-gradient(135deg,#dbeafe 0%, #eff6ff 50%, #f8fafc 100%);
  display:grid;
  place-items:center;
  font-family:var(--display);
  font-size:1.1rem;
  font-weight:700;
  color:#0f172a;
  border:1px solid rgba(255,255,255,.68);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.36);
}

.course-meta{
  justify-content:space-between;
  align-items:center;
}

.course-footer{
  margin-top:auto;
  padding-top:18px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.price{
  font-weight:800;
  color:var(--text);
}

.rating{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--primary);
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.category-card .title{
  font-family:var(--display);
  font-size:1.08rem;
  font-weight:700;
  margin-bottom:8px;
  color:var(--text);
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.quote{
  font-size:1rem;
  line-height:1.8;
  color:var(--text);
}

.name{
  font-weight:800;
  color:var(--text);
}

.subtitle{
  font-size:.9rem;
  color:var(--muted);
}

/* Stats */
.stats-band{
  position:relative;
  overflow:hidden;
  padding:clamp(32px,4vw,56px);
  border-radius:38px;
  border:1px solid rgba(15,23,42,.06);
  background:
    linear-gradient(135deg,rgba(30,64,175,.04),rgba(59,130,246,.05)),
    rgba(255,255,255,.98);
  box-shadow:var(--shadow);
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:28px;
}

.stats-card{
  text-align:center;
}

.stat-value{
  font-size:clamp(1.5rem,2.8vw,2.3rem);
}

/* Page headers */
.page-header{
  padding:74px 0 58px;
  border-bottom:1px solid var(--border);
  background:
    linear-gradient(180deg,rgba(255,255,255,.94),transparent),
    linear-gradient(135deg,rgba(30,64,175,.04),rgba(59,130,246,.03));
}

.breadcrumb{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:16px;
  font-size:.84rem;
  color:var(--faint);
}

.breadcrumb .sep{
  opacity:.45;
}

.breadcrumb a:hover{
  color:var(--primary);
}

.page-title{
  font-size:clamp(2.1rem,4vw,3.2rem);
  font-weight:700;
  line-height:1.08;
  margin-bottom:12px;
}

/* Tables */
.table-wrap{
  overflow-x:auto;
  border:1px solid var(--border);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,250,252,.98)),
    var(--surface);
  box-shadow:var(--shadow);
}

.table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
  font-size:.92rem;
}

.table th{
  position:sticky;
  top:0;
  z-index:1;
  padding:14px 18px;
  text-align:left;
  background:rgba(248,250,252,.98);
  border-bottom:1px solid var(--border);
  font-size:.76rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.table td{
  padding:15px 18px;
  border-bottom:1px solid rgba(15,23,42,.06);
  color:var(--text);
  vertical-align:middle;
}

.table tbody tr:last-child td{
  border-bottom:none;
}

.table tbody tr:hover{
  background:rgba(30,64,175,.03);
}

/* Forms */
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:20px;
}

.label{
  font-size:.88rem;
  font-weight:700;
  color:var(--text);
}

.input,
.select,
.textarea{
  width:100%;
  min-height:50px;
  padding:0 15px;
  border-radius:var(--radiusField);
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  color:var(--text);
  box-shadow:0 1px 0 rgba(255,255,255,.78) inset;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.textarea{
  min-height:120px;
  padding-block:14px;
  resize:vertical;
  line-height:1.65;
}

.input::placeholder,
.textarea::placeholder{
  color:var(--faint);
}

.input:focus,
.select:focus,
.textarea:focus{
  border-color:rgba(30,64,175,.28);
  box-shadow:
    0 0 0 4px rgba(30,64,175,.08),
    0 12px 24px rgba(30,64,175,.04);
  background:#fff;
  outline:none;
}

.check{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:.92rem;
  cursor:pointer;
}

.check input{
  accent-color:var(--primary);
}

/* Alerts */
.alert{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid transparent;
  font-size:.92rem;
  line-height:1.68;
}

.alert.success{
  background:rgba(21,128,61,.08);
  border-color:rgba(21,128,61,.16);
  color:#166534;
}

.alert.danger{
  background:rgba(220,38,38,.08);
  border-color:rgba(220,38,38,.16);
  color:#b91c1c;
}

/* Dashboard / app surfaces */
.dashboard-wrap{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:24px;
  align-items:start;
}

.sidebar{
  position:sticky;
  top:82px;
  min-height:calc(100vh - 82px);
  padding:28px 16px;
  border-right:1px solid var(--border);
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.94)),
    rgba(255,255,255,.94);
  backdrop-filter:blur(16px);
}

.sidebar-label{
  padding-inline:12px;
  margin-bottom:10px;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--faint);
}

.sidebar-item{
  display:flex;
  align-items:center;
  gap:11px;
  min-height:44px;
  padding:0 12px;
  border-radius:14px;
  color:var(--muted);
  font-weight:600;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}

.sidebar-item:hover{
  background:rgba(30,64,175,.04);
  color:var(--text);
}

.sidebar-item.active,
.sidebar-item[aria-current="page"]{
  color:var(--primary);
  background:rgba(30,64,175,.08);
  border:1px solid rgba(30,64,175,.12);
}

.main{
  display:grid;
  gap:24px;
}

/* Future-proof ops surfaces for owner/content workspaces */
.ops-panel,
.workspace-panel,
.admin-panel{
  position:relative;
  overflow:hidden;
  border-radius:var(--radiusCard);
  border:1px solid var(--border);
  background:
    linear-gradient(180deg,rgba(255,255,255,.99),rgba(248,250,252,.98)),
    var(--surface);
  box-shadow:var(--shadow);
}

.ops-panel > .card-body,
.workspace-panel > .card-body,
.admin-panel > .card-body{
  padding:28px;
}

.module-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.module-card{
  border-radius:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  padding:20px;
  box-shadow:var(--shadowSoft);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.module-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:var(--borderStrong);
}

.module-title{
  font-family:var(--display);
  font-size:1.04rem;
  font-weight:700;
  color:var(--text);
}

.module-copy{
  color:var(--muted);
  font-size:.94rem;
  line-height:1.72;
  margin-top:8px;
}

.kpi-row{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.kpi-card{
  border-radius:22px;
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff,#f8fbff);
  padding:20px;
  box-shadow:var(--shadowSoft);
}

.kpi-label{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--faint);
}

.kpi-value{
  margin-top:10px;
  font-family:var(--display);
  font-size:clamp(1.35rem,2.1vw,2rem);
  font-weight:700;
  color:var(--text);
}

.kpi-sub{
  margin-top:8px;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.6;
}

/* Footer */
.footer{
  position:relative;
  border-top:1px solid rgba(15,23,42,.07);
  padding:36px 0 30px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(18px) saturate(150%);
  box-shadow:0 -1px 0 rgba(255,255,255,.74) inset;
}

.footer::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:1px;
  background:linear-gradient(90deg, rgba(15,23,42,0), rgba(15,23,42,.08), rgba(15,23,42,0));
  pointer-events:none;
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(260px,1.45fr) repeat(3,minmax(160px,1fr));
  gap:28px 40px;
  align-items:start;
}

.footer-grid > :first-child{
  padding-right:18px;
}

.footer-grid nav,
.footer-grid section,
.footer-grid div{
  min-width:0;
}

.footer-title{
  font-family:var(--body);
  font-size:11px;
  line-height:1.45;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:12px;
  color:rgba(15,23,42,.9);
}

.footer-copy,
.footer-link{
  font-family:var(--body);
  font-size:12px;
  line-height:1.72;
  font-weight:400;
  letter-spacing:.01em;
  color:var(--footerText);
}

.footer-copy{
  max-width:46ch;
}

.footer .brand{
  font-size:1rem;
  letter-spacing:-.03em;
}

.footer .brand-dot{
  width:10px;
  height:10px;
  box-shadow:
    0 0 0 5px rgba(30,64,175,.05),
    0 6px 14px rgba(30,64,175,.10);
}

.footer .footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
  flex-wrap:nowrap;
}

.footer-link{
  display:inline-flex;
  align-items:center;
  min-height:18px;
  opacity:.94;
  transition:color .18s ease, opacity .18s ease, transform .18s ease;
}

a.footer-link:hover{
  color:var(--footerHover);
  opacity:1;
  transform:translateX(1px);
}

span.footer-link{
  color:var(--footerText);
}

.footer ul,
.footer ol{
  padding:0;
  margin:0;
  list-style:none;
}

.footer li + li{
  margin-top:7px;
}

.footer-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:12px 24px;
  align-items:center;
  border-top:1px solid rgba(15,23,42,.07);
  padding-top:16px;
  margin-top:28px;
  color:var(--footerMuted);
  font-size:11.5px;
  line-height:1.6;
  letter-spacing:.01em;
}

.footer-bottom > :nth-child(2){
  justify-self:center;
  text-align:center;
}

.footer-bottom > :last-child{
  justify-self:end;
}

.footer-bottom a{
  color:var(--footerText);
  transition:color .18s ease, opacity .18s ease;
}

.footer-bottom a:hover{
  color:var(--footerHover);
  opacity:1;
}

.footer-bottom .footer-links{
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px 14px;
}

.footer-bottom .divider{
  width:1px;
  height:11px;
  background:rgba(15,23,42,.10);
  display:inline-block;
  vertical-align:middle;
}

/* Utilities */
.sp-8{margin-top:8px}
.sp-16{margin-top:16px}
.sp-24{margin-top:24px}
.sp-40{margin-top:40px}

.hidden{
  display:none !important;
}

.sr-only{
  position:absolute !important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

::selection{
  background:rgba(30,64,175,.14);
  color:var(--text);
}

/* Responsive */
@media(max-width:1180px){
  .hero-grid{
    grid-template-columns:1fr;
  }

  .category-grid,
  .stats-grid,
  .kpi-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .module-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px 28px;
  }

  .footer-grid > :first-child{
    grid-column:1 / -1;
    padding-right:0;
    max-width:720px;
  }

  .footer-bottom{
    grid-template-columns:1fr auto;
  }

  .footer-bottom > :nth-child(2){
    justify-self:end;
    text-align:right;
  }

  .footer-bottom > :last-child{
    grid-column:1 / -1;
    justify-self:start;
  }

  .footer-bottom .footer-links{
    justify-content:flex-start;
  }
}

@media(max-width:1100px){
  .grid.four,
  .grid.three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .dashboard-wrap{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
    min-height:auto;
    border-right:none;
    border-bottom:1px solid var(--border);
  }
}

@media(max-width:900px){
  .nav-inner{
    grid-template-columns:auto auto;
    min-height:72px;
    padding:12px 0;
  }

  .nav-toggle{
    display:inline-flex;
    justify-self:end;
  }

  .nav-links,
  .nav-actions{
    display:none;
    grid-column:1/-1;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:16px 0 6px;
    border-top:1px solid var(--border);
  }

  .nav-links .nav-link,
  .nav-actions .btn,
  .nav-actions .badge{
    width:100%;
    justify-content:center;
  }

  .nav-links .nav-link:after,
  .nav-link[aria-current="page"]::after{
    display:none !important;
  }

  .nav-open .nav-links,
  .nav-open .nav-actions{
    display:flex;
  }

  .footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 24px;
  }

  .footer-grid > :first-child{
    grid-column:1 / -1;
    max-width:none;
  }

  .footer-bottom{
    grid-template-columns:1fr;
    gap:10px;
    text-align:left;
  }

  .footer-bottom > :nth-child(2),
  .footer-bottom > :last-child{
    justify-self:start;
    text-align:left;
  }

  .footer-bottom .footer-links{
    justify-content:flex-start;
  }
}

@media(max-width:760px){
  .container{
    width:min(100% - 24px,var(--container));
  }

  .section{
    padding:68px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .mini-grid,
  .category-grid,
  .why-grid,
  .stats-grid,
  .footer-grid,
  .module-grid,
  .kpi-row{
    grid-template-columns:1fr;
  }

  .hero{
    padding:76px 0 58px;
  }

  .card-body,
  .card-body.lg,
  .feature-card,
  .path-card,
  .category-card,
  .testimonial-card{
    padding:20px;
  }

  .footer{
    padding:24px 0 26px;
  }

  .footer-grid{
    gap:18px;
  }

  .footer-title{
    font-size:11.5px;
    margin-bottom:10px;
  }

  .footer-copy,
  .footer-link{
    font-size:12.5px;
    line-height:1.7;
  }

  .footer-bottom{
    margin-top:20px;
    padding-top:15px;
    font-size:12px;
  }
}

@media(max-width:480px){
  .container{
    width:min(100% - 20px,var(--container));
  }

  .hero-actions,
  .nav-actions,
  .stack,
  .course-meta,
  .course-footer,
  .path-meta,
  .footer-links,
  .footer-bottom{
    flex-direction:column;
    align-items:stretch;
  }

  .btn,
  .btn.lg{
    width:100%;
  }

  .display-xl{
    font-size:clamp(2.35rem,12vw,3.6rem);
  }

  .footer .footer-links,
  .footer-bottom{
    align-items:flex-start;
  }

  .footer-bottom .footer-links{
    gap:6px 12px;
  }

  .footer-bottom .divider{
    display:none;
  }
}

@media (prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}