:root {
  --cisco-blue: #049fd9;
  --cisco-blue-deep: #0076a5;
  --cisco-navy: #0d274d;
  --cisco-navy-2: #1e4471;
  --cisco-cyan: #00bceb;
  --cisco-gray: #58585b;
  --cisco-mist: #e8f4fa;
  --bg-0: #f4f8fb;
  --bg-1: #ffffff;
  --bg-2: #eef4f8;
  --bg-3: #e3eef6;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --line: rgba(13, 39, 77, 0.12);
  --line-strong: rgba(4, 159, 217, 0.42);
  --accent: #049fd9;
  --accent-2: #00bceb;
  --teal: #0aa37a;
  --amber: #e6a817;
  --text: #0d274d;
  --muted: #4d6278;
  --faint: #6b7f94;
  --white: #ffffff;
  --invert: #ffffff;
  --shadow: 0 18px 44px rgba(13, 39, 77, 0.1);
  --header-bg: rgba(244, 248, 251, 0.86);
  --header-bg-scroll: rgba(255, 255, 255, 0.94);
  --nav-open-bg: #ffffff;
  --hero-frame-fade: linear-gradient(180deg, transparent 48%, rgba(13, 39, 77, 0.55) 100%);
  --chip-bg: rgba(255, 255, 255, 0.92);
  --terminal-bg: #0d274d;
  --card-bg: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  --footer-bg: #0d274d;
  --footer-text: #c9d7e6;
  --scan: rgba(13, 39, 77, 0.03);
  --grid: rgba(4, 159, 217, 0.08);
  --orb-a: #9ad6ef;
  --orb-b: #c5dcf0;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --max: 1180px;
  --font: "Outfit", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg-0: #04060c;
  --bg-1: #070b14;
  --bg-2: #0c1220;
  --bg-3: #111a2c;
  --surface: rgba(14, 22, 40, 0.72);
  --surface-solid: #0e1628;
  --line: rgba(0, 188, 235, 0.16);
  --line-strong: rgba(0, 188, 235, 0.38);
  --accent: #00bceb;
  --accent-2: #49d6ff;
  --teal: #14f1c4;
  --text: #e8f1fb;
  --muted: #8ea3bb;
  --faint: #5c7188;
  --invert: #041018;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(4, 6, 12, 0.72);
  --header-bg-scroll: rgba(4, 6, 12, 0.92);
  --nav-open-bg: rgba(6, 10, 18, 0.96);
  --hero-frame-fade: linear-gradient(180deg, transparent 45%, rgba(4, 6, 12, 0.72) 100%);
  --chip-bg: rgba(8, 14, 24, 0.82);
  --terminal-bg: #07101c;
  --card-bg: linear-gradient(180deg, rgba(17, 28, 48, 0.8), rgba(10, 16, 28, 0.7));
  --footer-bg: rgba(4, 6, 12, 0.86);
  --footer-text: #8ea3bb;
  --scan: rgba(0, 0, 0, 0.045);
  --grid: rgba(0, 229, 255, 0.035);
  --orb-a: #0b3d6e;
  --orb-b: #063a3a;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.25s, color 0.25s;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul, ol {
  padding-left: 1.2rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #041018;
  padding: 0.6rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
}

.bg-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
  border-radius: 50%;
}

.bg-orb.a {
  width: 520px;
  height: 520px;
  background: var(--orb-a);
  top: -160px;
  right: -80px;
}

.bg-orb.b {
  width: 420px;
  height: 420px;
  background: var(--orb-b);
  bottom: 8%;
  left: -120px;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    var(--scan) 3px,
    var(--scan) 4px
  );
}

.page {
  position: relative;
  z-index: 2;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header.scrolled {
  background: var(--header-bg-scroll);
  box-shadow: 0 10px 28px rgba(13, 39, 77, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--mono);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(4, 159, 217, 0.1);
}

.nav a.active {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cisco-blue) 0%, var(--cisco-cyan) 100%);
  color: #041018;
  box-shadow: 0 8px 24px rgba(4, 159, 217, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(4, 159, 217, 0.38);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(4, 159, 217, 0.05);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 0.58rem 1rem;
  font-size: 0.82rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero {
  padding: 4.5rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.15rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cisco-blue), var(--cisco-navy-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="dark"] .hero h1 em {
  background: linear-gradient(90deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
}

.quote {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 0.35rem;
}

.quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.stat {
  padding: 0.95rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-solid);
}

.stat b {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.75rem;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-frame-fade);
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  color: var(--text);
}

.hero-chip.tl { top: 16px; left: 16px; }
.hero-chip.br { bottom: 18px; right: 16px; color: var(--white); background: rgba(13, 39, 77, 0.78); }

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(10, 163, 122, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(10, 163, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(10, 163, 122, 0); }
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: 48px;
  z-index: 3;
  width: 220px;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: var(--cisco-navy);
  border: 1px solid rgba(0, 188, 235, 0.28);
  box-shadow: var(--shadow);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #c9d7e6;
}

.float-card .ok { color: #7dffd0; }

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2.4rem;
}

.section-head h2,
.page-hero h1,
.contact-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-dark {
  background: linear-gradient(160deg, #0d274d 0%, #12345f 52%, #0a1f3d 100%);
  color: #eaf4fb;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 188, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 188, 235, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 80% 20%, black 10%, transparent 70%);
  pointer-events: none;
}

.section-dark .kicker,
.section-dark h2,
.section-dark .lede,
.section-dark .why-copy,
.section-dark .why-copy strong,
.section-dark h3,
.section-dark .course h3 {
  color: #f4fbff;
}

.section-dark .course {
  background: rgba(4, 18, 40, 0.45);
  border-color: rgba(127, 227, 255, 0.18);
  display: block;
}

.section-dark .course .course-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.section-dark .course p {
  color: #c6d8ea;
}

.section-dark .course-num {
  background: rgba(0, 188, 235, 0.16);
  color: #7fe3ff;
}

.section-dark .kicker { color: #7fe3ff; }
.section-dark .kicker::before { background: #7fe3ff; box-shadow: 0 0 8px #7fe3ff; }
.section-dark .lede,
.section-dark .why-copy p { color: #c6d8ea; }
.section-dark .lede a,
.section-dark .why-copy a { color: #7fe3ff; }

.why-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid rgba(127, 227, 255, 0.18);
  border-radius: 24px;
  background: rgba(4, 18, 40, 0.35);
  backdrop-filter: blur(16px);
  position: relative;
}

.terminal {
  background: var(--terminal-bg);
  border: 1px solid rgba(0, 188, 235, 0.22);
  border-radius: 16px;
  overflow: hidden;
  min-height: 280px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #8ea3bb;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #febc2e; }
.dot.g { background: #28c840; }

.terminal-body {
  padding: 1.1rem 1.15rem 1.3rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: #9fb4c8;
}

.terminal-body .cmd { color: #7dffd0; }
.terminal-body .out { color: #7fe3ff; }

.why-copy p + p { margin-top: 1rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 1.4rem 1.35rem 1.5rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  min-height: 210px;
  display: block;
  color: inherit;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-link {
  cursor: pointer;
}

.card-link .card-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.86rem;
}

.badge {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(4, 159, 217, 0.12);
  color: var(--cisco-blue-deep);
  font-size: 0.68rem;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="dark"] .badge {
  color: var(--accent);
}

.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(4, 159, 217, 0.1);
  color: var(--accent);
  border: 1px solid var(--line);
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.community { text-align: center; }
.community .section-head { margin-inline: auto; }

.community-media {
  margin: 0 auto 1.5rem;
  max-width: 920px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.community-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.community p {
  max-width: 46rem;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid transparent;
  padding: 2.4rem 0 2rem;
  margin-top: 0;
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.credit {
  font-family: var(--mono);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--cisco-cyan); }

.page-hero { padding: 3.2rem 0 1.5rem; }

.carousel {
  position: relative;
  margin: 0 auto 3rem;
  max-width: 980px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #08101c;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-track img {
  min-width: 100%;
  height: 460px;
  object-fit: cover;
}

.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.8rem;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(4, 8, 16, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
}

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.dots button.on {
  background: var(--cisco-cyan);
  box-shadow: 0 0 8px var(--cisco-cyan);
}

.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.15rem; margin: 2.1rem 0 0.7rem; color: var(--text); }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.85rem; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); }

.block {
  margin: 1.4rem 0;
  padding: 1.3rem 1.35rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.block h3 {
  font-size: 1.02rem;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.note {
  border-left: 3px solid var(--amber);
  padding: 1.1rem 1.2rem;
  background: rgba(230, 168, 23, 0.08);
  border-radius: 0 14px 14px 0;
  color: var(--muted);
  margin: 1.4rem 0;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0 1.5rem;
}

.cta-row .btn-ghost {
  background: var(--surface-solid);
}

.mentorship {
  max-width: 420px;
  margin: 0 auto 2.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 2rem;
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.social:hover { color: var(--accent); border-color: var(--accent); }

.contact-wrap {
  min-height: calc(100vh - var(--header-h) - 140px);
  display: grid;
  place-items: center;
  padding: 3.5rem 0;
}

.contact-card {
  width: min(720px, 100%);
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 0%, rgba(4, 159, 217, 0.12), transparent 42%), var(--surface-solid);
  box-shadow: var(--shadow);
}

.mail {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: clamp(1.2rem, 3vw, 1.85rem);
  font-family: var(--mono);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.mail:hover { text-decoration: underline; }

.path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.6rem 0 2.4rem;
}

.path-step {
  padding: 1rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-solid);
}

.path-step b {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.path-step span {
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 600;
}

.course-list {
  display: grid;
  gap: 1rem;
}

.course {
  display: block;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.course-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: center;
}

.course:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.course-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(4, 159, 217, 0.12);
  color: var(--cisco-blue-deep);
  font-family: var(--mono);
  font-weight: 600;
}

html[data-theme="dark"] .course-num { color: var(--accent); }

.course h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.course p {
  color: var(--muted);
  font-size: 0.9rem;
}

.yt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #e11d2e;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.yt:hover { filter: brightness(1.08); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.28s; }
.d4 { animation-delay: 0.4s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .path { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero-grid,
  .why-panel { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero-frame img,
  .community-media img,
  .carousel-track img { height: 320px; }
  .cards { grid-template-columns: 1fr; }
  .course-inner { grid-template-columns: auto 1fr; }
  .yt { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 0.8rem;
    background: var(--nav-open-bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; }
  .header-cta .hide-sm { display: none; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container,
  .header-inner { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 2.4rem; }
  .section { padding: 3.2rem 0; }
  .path { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .d1, .d2, .d3, .d4 {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .carousel-track { transition: none; }
  .pulse-dot { animation: none; }
}
