:root {
  --navy-950: #08121f;
  --navy-900: #0c1e35;
  --navy-800: #102945;
  --navy-700: #163354;
  --panel: rgba(9, 20, 35, 0.84);
  --panel-strong: rgba(12, 30, 53, 0.94);
  --gold-500: #c8a84b;
  --gold-400: #e4c96a;
  --ivory-100: #f7f1e7;
  --ivory-200: #eadfcb;
  --muted: #91a1b3;
  --muted-strong: #b3c1d1;
  --success: #62c59e;
  --warning: #d29f57;
  --danger: #d67d7d;
  --line: rgba(200, 168, 75, 0.22);
  --line-soft: rgba(200, 168, 75, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-lg: 0;
  --radius-md: 0;
  --radius-sm: 0;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(200, 168, 75, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(22, 51, 84, 0.9), transparent 30%),
    linear-gradient(180deg, #09111d 0%, #0c1e35 32%, #08121f 100%);
  color: var(--ivory-100);
  min-height: 100vh;
}

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

img {
  max-width: 100%;
}

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

.shell {
  position: relative;
  overflow-x: hidden;
}

.shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 168, 75, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 168, 75, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold-500);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold-500);
}

.serif {
  font-family: "Cormorant Garamond", serif;
}

.lead {
  color: var(--muted);
  line-height: 1.85;
  max-width: 760px;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--gold-500);
}

.pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(200, 168, 75, 0.08);
  color: var(--gold-400);
  border-radius: 0;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-pill.success {
  color: var(--success);
  border-color: rgba(98, 197, 158, 0.28);
  background: rgba(98, 197, 158, 0.08);
}

.status-pill.warning {
  color: var(--warning);
  border-color: rgba(210, 159, 87, 0.28);
  background: rgba(210, 159, 87, 0.08);
}

.status-pill.danger {
  color: var(--danger);
  border-color: rgba(214, 125, 125, 0.28);
  background: rgba(214, 125, 125, 0.08);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 0;
  border: 1px solid transparent;
  transition: 180ms ease;
  cursor: pointer;
}

.button {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

.button:hover {
  background: var(--gold-400);
}

.button-secondary {
  border-color: var(--line);
  color: var(--ivory-100);
  background: rgba(255, 255, 255, 0.02);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(228, 201, 106, 0.45);
  background: rgba(200, 168, 75, 0.08);
}

.button-ghost {
  border-color: transparent;
  color: var(--muted-strong);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 168, 75, 0.4);
  background: rgba(200, 168, 75, 0.08);
  color: var(--gold-400);
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 1;
}

.brand-copy span {
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
}

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

.nav-links a {
  color: var(--muted-strong);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-400);
}

.hero {
  padding: 82px 0 70px;
}

.hero-grid,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
}

.hero h1,
.section h2,
.section h3,
.course-head h1,
.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  margin-top: 18px;
  margin-bottom: 18px;
}

.page-hero p,
.hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.85;
}

.hero-panel,
.card,
.stat-card,
.dashboard-card,
.course-shell,
.table-card,
.timeline-card,
.price-card,
.metric-card,
.callout {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.hero-panel {
  padding: 28px;
  border-radius: 0;
}

.hero-panel h3 {
  font-size: 28px;
  margin-bottom: 18px;
}

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

.metric {
  padding: 18px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--gold-400);
  font-size: 28px;
  font-family: "Cormorant Garamond", serif;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 58px);
  margin-top: 12px;
  margin-bottom: 8px;
}

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

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

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

.card,
.stat-card,
.dashboard-card,
.table-card,
.timeline-card,
.price-card,
.metric-card,
.callout {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card h3,
.dashboard-card h3,
.table-card h3,
.timeline-card h3,
.price-card h3,
.metric-card h3 {
  font-size: 28px;
  margin: 0 0 10px;
}

.card p,
.dashboard-card p,
.timeline-card p,
.table-card p,
.price-card p {
  color: var(--muted);
  line-height: 1.8;
}

.feature-list,
.simple-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li,
.simple-list li {
  color: var(--muted-strong);
  line-height: 1.6;
  display: flex;
  gap: 10px;
}

.feature-list li::before,
.simple-list li::before {
  content: "✦";
  color: var(--gold-500);
  flex: 0 0 auto;
}

.programme-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.015);
  display: grid;
  gap: 18px;
}

.programme-card .programme-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.programme-card h3 {
  font-size: 34px;
  margin: 0;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 6px 10px;
}

.course-shell {
  padding: 30px;
}

.course-head {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.course-head h1 {
  font-size: clamp(42px, 6vw, 72px);
  margin-top: 16px;
  margin-bottom: 14px;
}

.price-box {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 20px;
  background: rgba(200, 168, 75, 0.04);
}

.price-box strong {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", serif;
}

.price-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.two-col-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr;
  gap: 24px;
}

.module-list {
  display: grid;
  gap: 14px;
}

.module-card {
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.module-header {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}

.module-header:hover {
  background: rgba(200, 168, 75, 0.05);
}

.module-index {
  min-width: 58px;
  height: 32px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-500);
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.module-header strong {
  font-size: 22px;
  font-family: "Cormorant Garamond", serif;
}

.module-header span {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.module-body {
  display: none;
  padding: 0 22px 22px;
  border-top: 1px solid var(--line-soft);
}

.module-card.open .module-body {
  display: block;
}

.lesson-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lesson-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
}

.lesson-list li strong {
  font-size: 16px;
  font-family: "Barlow", sans-serif;
}

.lesson-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lesson-meta span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.sidebar-stack {
  display: grid;
  gap: 18px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--gold-400);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.dashboard-nav {
  padding: 26px 20px;
  border-right: 1px solid var(--line-soft);
  background: rgba(6, 14, 25, 0.92);
  position: sticky;
  top: 0;
  height: 100vh;
}

.dashboard-nav .brand {
  margin-bottom: 26px;
}

.dashboard-nav .nav-group {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.dashboard-nav a {
  padding: 10px 14px;
  border-radius: 0;
  color: var(--muted-strong);
  border: 1px solid transparent;
}

.dashboard-nav a.active,
.dashboard-nav a:hover {
  background: rgba(200, 168, 75, 0.08);
  color: var(--gold-400);
  border-color: var(--line);
}

.dashboard-main {
  padding: 28px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  margin-bottom: 20px;
}

.dashboard-head h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
}

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

.stat-card strong,
.metric-card strong {
  display: block;
  font-size: 40px;
  color: var(--gold-400);
  font-family: "Cormorant Garamond", serif;
}

.progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-item strong {
  color: var(--gold-400);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 8px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted-strong);
  font-size: 13px;
}

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

.price-card strong {
  display: block;
  font-size: 46px;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-400);
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr;
  gap: 20px;
}

.footer h4,
.footer h5 {
  margin: 0 0 14px;
  color: var(--gold-400);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer p,
.footer li,
.footer a {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

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

.footer-bottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

/* ─── Visual Enhancements ─────────────────────────────────────────────── */

.card,
.programme-card,
.stat-card,
.metric-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.programme-card:hover {
  background: rgba(200, 168, 75, 0.04);
  border-color: rgba(200, 168, 75, 0.35);
}

.section-rule {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  margin: 20px 0 28px;
}

.divider {
  border: none;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

.stat-band {
  padding: 64px 0;
  background: linear-gradient(180deg, rgba(200, 168, 75, 0.04) 0%, transparent 100%);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.stat-band .stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.stat-band .stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--line-soft);
}

.stat-band .stat-item:first-child {
  padding-left: 0;
}

.stat-band .stat-item:last-child {
  border-right: none;
}

.stat-band .stat-item strong {
  display: block;
  font-size: 52px;
  font-family: "Cormorant Garamond", serif;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-band .stat-item p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.cta-block {
  text-align: center;
  padding: 72px 0;
}

.cta-block h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 12px 0 18px;
}

.cta-block p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto 32px;
  max-width: 600px;
}

.employer-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.employer-strip span {
  padding: 8px 16px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted-strong);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.employer-strip span:hover {
  border-color: rgba(200, 168, 75, 0.5);
  color: var(--ivory-100);
  background: rgba(200, 168, 75, 0.04);
}

.icon-card {
  display: grid;
  gap: 14px;
}

.icon-card .icon-mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(200, 168, 75, 0.07);
  display: grid;
  place-items: center;
  color: var(--gold-400);
  font-size: 20px;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width 200ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 0;
  border: 1px solid rgba(200, 168, 75, 0.28);
  background: rgba(200, 168, 75, 0.06);
  color: var(--muted-strong);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 760px) {
  .stat-band .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 0;
  }

  .stat-band .stat-item {
    padding: 0 20px;
  }

  .stat-band .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-band .stat-item:nth-child(3) {
    border-right: 1px solid var(--line-soft);
  }
}

/* ─── Auth / Sign-up forms ───────────────────────────────────────────── */

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.auth-side-brand {
  margin-bottom: auto;
}

.auth-side-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 520px;
  padding: 48px 0;
}

.auth-panel {
  background: linear-gradient(160deg, rgba(16, 41, 69, 0.7) 0%, rgba(8, 18, 31, 0.95) 100%);
  border-left: 1px solid var(--line-soft);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 75, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.auth-panel-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  margin: 0 0 20px;
}

.auth-panel p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 32px;
}

.auth-panel-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.auth-panel-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.6;
}

.auth-panel-points li::before {
  content: "✦";
  color: var(--gold-500);
  flex: 0 0 auto;
  margin-top: 1px;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-strong);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(22, 51, 84, 0.4);
  border: 1px solid rgba(136, 150, 166, 0.2);
  border-radius: 0;
  color: var(--ivory-100);
  font-size: 14px;
  transition: border-color 180ms ease, background 180ms ease;
  outline: none;
  -webkit-appearance: none;
}

.form-field input::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--gold-500);
  background: rgba(200, 168, 75, 0.04);
}

.form-field select option {
  background: #0c1e35;
  color: var(--ivory-100);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.form-terms {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.form-terms a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  padding: 12px 16px;
  border-radius: 0;
  background: rgba(214, 125, 125, 0.1);
  border: 1px solid rgba(214, 125, 125, 0.28);
  color: var(--danger);
  font-size: 14px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  padding: 12px 16px;
  border-radius: 0;
  background: rgba(98, 197, 158, 0.1);
  border: 1px solid rgba(98, 197, 158, 0.28);
  color: var(--success);
  font-size: 14px;
  display: none;
}

.form-success.visible {
  display: block;
}

.btn-full {
  width: 100%;
  min-height: 50px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.auth-switch {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.auth-switch a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Admin nav badge */
.nav-admin-link {
  padding: 6px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(200, 168, 75, 0.06);
  color: var(--gold-400) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em;
}

.nav-admin-link:hover {
  background: rgba(200, 168, 75, 0.14) !important;
}

/* User pill in nav */
.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted-strong);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 180ms ease;
}

.nav-user-pill:hover {
  border-color: var(--line);
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

@media (max-width: 760px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    display: none;
  }

  .auth-side {
    padding: 28px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────────────── */

@media (max-width: 1120px) {
  .hero-grid,
  .course-head,
  .two-col-layout,
  .split-grid,
  .grid-4,
  .footer-grid,
  .price-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .dashboard-nav {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .course-head,
  .two-col-layout,
  .split-grid,
  .stats-grid,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .section-head,
  .dashboard-head,
  .programme-card .programme-top,
  .module-header {
    display: block;
  }

  .nav-links {
    justify-content: start;
  }

  .section {
    padding: 70px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .dashboard-main {
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}
