:root {
  --bg: #05070d;
  --bg-soft: #0d1220;
  --panel: rgba(11, 18, 32, 0.86);
  --panel-strong: rgba(20, 30, 48, 0.96);
  --line: rgba(72, 229, 255, 0.24);
  --line-blue: rgba(255, 58, 212, 0.22);
  --text: #f6f9ff;
  --muted: #a7b7ca;
  --green: #52ffd7;
  --green-dim: rgba(82, 255, 215, 0.12);
  --blue: #48e5ff;
  --magenta: #ff3ad4;
  --yellow: #ffd166;
  --red: #ff557c;
  --profile-accent: #52ffd7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(rgba(72, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 58, 212, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 18% 0%, rgba(255, 58, 212, 0.16), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(82, 255, 215, 0.12), transparent 32%),
    #05070d;
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
  overflow-x: hidden;
}

body::before {
  content: none;
}

a {
  color: inherit;
}

.portal-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.88), rgba(5, 7, 13, 0.72)),
    url("../img/neo-bilbao-hero.png") center / cover fixed,
    #05070d;
}

.portal-shell {
  display: grid;
  align-content: center;
  min-height: 100vh;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 48px;
}

.portal-intro {
  max-width: 840px;
  margin-bottom: 28px;
}

.portal-intro h1 {
  max-width: 820px;
  margin: 12px 0 16px;
  font-size: 58px;
  line-height: 1;
}

.portal-intro p {
  max-width: 720px;
  color: #d4dfef;
  font-size: 18px;
  line-height: 1.65;
}

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

.portal-card {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(72, 229, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(72, 229, 255, 0.1), rgba(255, 58, 212, 0.07)),
    rgba(5, 7, 13, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.portal-card::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.portal-card h2 {
  margin: 14px 0 14px;
  font-size: 34px;
}

.portal-card p {
  max-width: 460px;
  min-height: 86px;
  color: var(--muted);
  line-height: 1.6;
}

.portal-card .button {
  margin-top: 18px;
}

.portal-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.58);
  border-radius: 8px;
  color: var(--green);
  background: rgba(82, 255, 215, 0.1);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.shieldnet-portal {
  border-color: rgba(255, 58, 212, 0.32);
}

.range-landing {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.52), #05070d 58%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.72)),
    url("../img/neo-bilbao-hero.png") center top / cover fixed,
    #05070d;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(82, 255, 215, 0.18);
  background: rgba(5, 8, 14, 0.84);
  backdrop-filter: blur(16px);
}

.landing-header .brand {
  margin: 0;
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.landing-nav a:not(.button) {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.landing-nav a:not(.button):hover {
  color: var(--text);
}

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

.range-hero,
.range-strip,
.arena-grid,
.range-cta,
.landing-footer {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.range-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 110px) 0 34px;
}

.range-hero-copy {
  min-width: 0;
  padding-bottom: 38px;
}

.range-hero h1 {
  max-width: 850px;
  margin: 14px 0 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.range-hero p {
  max-width: 680px;
  color: #d4dfef;
  font-size: 18px;
  line-height: 1.7;
}

.starting-point {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(82, 255, 215, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(14, 24, 35, 0.94), rgba(6, 10, 18, 0.96));
  box-shadow: var(--shadow);
}

.starting-point h2 {
  margin: 12px 0;
  font-size: 28px;
}

.starting-point p {
  color: var(--muted);
  line-height: 1.55;
}

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

.starting-grid div,
.range-strip article {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.starting-grid span,
.range-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.starting-grid strong,
.range-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 18px;
}

.range-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.range-strip small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.arena-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.arena-card {
  display: grid;
  gap: 14px;
  min-height: 360px;
  padding: 22px;
  border: 1px solid rgba(72, 229, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(16, 26, 39, 0.94), rgba(6, 10, 17, 0.98));
  box-shadow: var(--shadow);
}

.arena-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.arena-card h2 {
  margin: 0;
  font-size: 28px;
}

.arena-card p {
  color: var(--muted);
  line-height: 1.6;
}

.arena-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.arena-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(82, 255, 215, 0.18);
  border-radius: 4px;
  color: var(--green);
  background: rgba(82, 255, 215, 0.07);
  font-size: 12px;
  font-weight: 800;
}

.range-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 58, 212, 0.22);
  border-radius: 6px;
  background: rgba(11, 18, 32, 0.86);
}

.range-cta h2 {
  margin: 8px 0;
}

.range-cta p {
  margin: 0;
  color: var(--muted);
}

.landing-footer {
  padding-bottom: 28px;
}

.academy-page {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.44), #05070d 62%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.66)),
    url("../img/neo-bilbao-hero.png") center top / cover fixed,
    #05070d;
}

.academy-hero,
.academy-track,
.academy-band,
.academy-syllabus,
.academy-footer {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.academy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 24px;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(52px, 8vw, 112px) 0 34px;
}

.academy-hero-copy {
  min-width: 0;
  padding-bottom: 38px;
}

.academy-hero h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.academy-hero p {
  max-width: 720px;
  color: #d4dfef;
  font-size: 18px;
  line-height: 1.7;
}

.academy-signal {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(82, 255, 215, 0.3);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(14, 24, 35, 0.94), rgba(6, 10, 18, 0.97));
  box-shadow: var(--shadow);
}

.academy-signal > strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 42px;
  line-height: 1;
}

.academy-signal p {
  color: var(--muted);
  line-height: 1.55;
}

.academy-kpis,
.academy-syllabus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.academy-kpis {
  margin-top: 18px;
}

.academy-kpis div,
.academy-syllabus article {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.academy-kpis span,
.academy-syllabus span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academy-kpis strong,
.academy-syllabus strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 17px;
}

.academy-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.academy-module {
  display: grid;
  gap: 14px;
  min-height: 350px;
  padding: 22px;
  border: 1px solid rgba(72, 229, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(16, 26, 39, 0.94), rgba(6, 10, 17, 0.98));
  box-shadow: var(--shadow);
}

.academy-module h2 {
  margin: 0;
  font-size: 28px;
}

.academy-module p,
.academy-syllabus p {
  color: var(--muted);
  line-height: 1.6;
}

.academy-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 58, 212, 0.22);
  border-radius: 6px;
  background: rgba(11, 18, 32, 0.86);
}

.academy-band h2 {
  margin: 8px 0;
}

.academy-band p {
  margin: 0;
  color: var(--muted);
}

.academy-syllabus {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.academy-syllabus article {
  min-height: 168px;
}

.course-page {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.4), #05070d 58%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.96), rgba(5, 7, 13, 0.68)),
    url("../img/neo-bilbao-hero.png") center top / cover fixed,
    #05070d;
}

.course-hero,
.course-jumpbar,
.course-section,
.course-band,
.course-footer {
  width: min(1180px, calc(100% - 36px));
  margin-right: auto;
  margin-left: auto;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: end;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 112px) 0 30px;
}

.course-hero-copy {
  min-width: 0;
  padding-bottom: 36px;
}

.course-hero h1 {
  max-width: 880px;
  margin: 14px 0 18px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.course-hero p,
.course-section-heading p {
  max-width: 760px;
  color: #d4dfef;
  font-size: 18px;
  line-height: 1.7;
}

.course-snapshot {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(82, 255, 215, 0.3);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(14, 24, 35, 0.94), rgba(6, 10, 18, 0.97));
  box-shadow: var(--shadow);
}

.course-snapshot > strong {
  display: block;
  margin: 12px 0;
  color: var(--green);
  font-size: 34px;
  line-height: 1.08;
}

.course-snapshot p,
.course-kpis span,
.course-module p,
.course-principles p,
.course-hours-grid p,
.course-evaluation-grid p,
.course-project-grid p,
.course-infra-grid p,
.course-shieldnet-strip p,
.course-note p,
.course-band p {
  color: var(--muted);
  line-height: 1.6;
}

.course-kpis,
.course-hours-grid,
.course-principles,
.course-value-grid,
.course-evaluation-grid,
.course-project-grid,
.course-infra-grid,
.course-shieldnet-strip,
.course-rubric {
  display: grid;
  gap: 12px;
}

.course-kpis {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.course-kpis div,
.course-principles article,
.course-value-grid article,
.course-hours-grid article,
.course-evaluation-grid article,
.course-project-grid article,
.course-infra-grid article,
.course-shieldnet-strip article,
.course-rubric article,
.course-note {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.course-kpis span,
.course-principles span,
.course-value-grid span,
.course-hours-grid span,
.course-project-grid span,
.course-infra-grid span,
.course-shieldnet-strip span,
.course-rubric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-kpis strong,
.course-principles strong,
.course-value-grid strong,
.course-hours-grid strong,
.course-shieldnet-strip strong,
.course-rubric strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
}

.course-jumpbar {
  position: sticky;
  top: 72px;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px;
  border: 1px solid rgba(82, 255, 215, 0.18);
  border-radius: 6px;
  background: rgba(7, 12, 22, 0.9);
  backdrop-filter: blur(14px);
}

.course-jumpbar a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(72, 229, 255, 0.18);
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.course-jumpbar a:hover {
  color: var(--text);
  background: rgba(72, 229, 255, 0.08);
}

.course-section {
  margin-bottom: 28px;
}

.course-section-heading {
  margin-bottom: 18px;
}

.course-section-heading h2,
.course-band h2 {
  max-width: 820px;
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.05;
}

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

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

.course-value-grid p {
  color: var(--muted);
  line-height: 1.6;
}

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

.course-hours-grid strong {
  font-size: 34px;
}

.course-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 58, 212, 0.22);
  border-radius: 6px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.course-band p {
  margin: 0;
  max-width: 760px;
}

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

.course-module {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 284px;
  padding: 18px;
  border: 1px solid rgba(72, 229, 255, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(16, 26, 39, 0.94), rgba(6, 10, 17, 0.98));
  box-shadow: var(--shadow);
}

.course-module-code {
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
}

.course-module h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.course-module strong {
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-evaluation-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 14px;
}

.course-evaluation-grid strong {
  display: block;
  color: var(--green);
  font-size: 32px;
}

.course-evaluation-grid span {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-weight: 850;
}

.course-note {
  border-color: rgba(255, 209, 102, 0.26);
  background: rgba(255, 209, 102, 0.06);
}

.course-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.course-project-grid article {
  display: grid;
  gap: 10px;
  min-height: 270px;
}

.course-project-grid h3 {
  margin: 0;
  font-size: 21px;
}

.course-project-grid span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.38);
  border-radius: 6px;
  color: var(--green);
  background: rgba(82, 255, 215, 0.08);
  font-size: 18px;
}

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

.course-rubric article {
  min-height: 96px;
}

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

.course-infra-grid article,
.course-shieldnet-strip article {
  min-height: 160px;
}

.course-infra-grid span {
  color: var(--green);
}

.course-shieldnet-strip {
  margin-top: 14px;
}

.campus-content {
  max-width: 1320px;
}

.academy-campus-page {
  background:
    linear-gradient(rgba(72, 229, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 58, 212, 0.02) 1px, transparent 1px),
    #060913;
  background-size: 42px 42px, 42px 42px, auto;
}

.academy-sidebar {
  border-right-color: rgba(255, 58, 212, 0.2);
  background:
    linear-gradient(180deg, rgba(13, 11, 27, 0.95), rgba(6, 9, 19, 0.94));
}

.academy-sidebar .brand {
  color: #ffb7f0;
}

.academy-sidebar .nav-section {
  color: #ffd166;
}

.academy-sidebar .nav-links a.active,
.academy-sidebar .nav-links a:hover {
  border-color: rgba(255, 58, 212, 0.24);
  background: linear-gradient(90deg, rgba(255, 58, 212, 0.14), rgba(72, 229, 255, 0.08));
}

.campus-header h1 {
  max-width: 980px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.campus-header p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.campus-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
  margin-bottom: 18px;
}

.campus-focus,
.campus-progress-panel {
  padding: 24px;
}

.campus-focus h2 {
  max-width: 760px;
  font-size: 34px;
  line-height: 1.05;
}

.campus-focus p,
.campus-progress-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.campus-kpi-grid,
.campus-track-grid,
.campus-value-grid,
.campus-learning-flow,
.campus-lab-grid,
.campus-project-grid,
.campus-resource-grid {
  display: grid;
  gap: 12px;
}

.campus-kpi-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0 16px;
}

.campus-kpi-grid div,
.campus-track-grid article,
.campus-value-grid article,
.campus-learning-flow article,
.campus-lab-grid article,
.campus-project-grid article,
.campus-resource-grid article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.campus-kpi-grid span,
.campus-track-grid span,
.campus-value-grid span,
.campus-learning-flow span,
.campus-lab-grid span,
.campus-project-grid span,
.campus-resource-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campus-kpi-grid strong,
.campus-track-grid strong,
.campus-value-grid strong,
.campus-learning-flow strong,
.campus-lab-grid strong,
.campus-project-grid strong,
.campus-resource-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
}

.campus-kpi-grid strong {
  font-size: 28px;
}

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

.campus-value-system,
.campus-resource-library {
  margin-bottom: 18px;
  padding: 22px;
}

.campus-value-system h2,
.campus-resource-library h2 {
  max-width: 820px;
  font-size: 30px;
  line-height: 1.08;
}

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

.campus-learning-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.campus-practice-labs {
  margin-bottom: 18px;
  padding: 22px;
}

.campus-practice-labs > p {
  max-width: 860px;
  color: var(--muted);
  line-height: 1.65;
}

.campus-lab-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.campus-lab-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 230px;
  border-color: rgba(72, 229, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(16, 26, 39, 0.94), rgba(6, 10, 17, 0.98));
}

.campus-lab-grid .button {
  align-self: end;
  margin-top: auto;
}

.campus-learning-flow article {
  border-color: rgba(82, 255, 215, 0.18);
  background: rgba(82, 255, 215, 0.045);
}

.campus-learning-flow span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.38);
  border-radius: 50%;
  color: var(--green);
  background: rgba(82, 255, 215, 0.08);
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
}

.campus-track-grid p,
.campus-value-grid p,
.campus-learning-flow p,
.campus-lab-grid p,
.campus-project-grid p,
.campus-resource-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.campus-module-list {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.campus-module {
  overflow: hidden;
  border: 1px solid rgba(72, 229, 255, 0.2);
  border-radius: 6px;
  background: rgba(5, 9, 16, 0.58);
}

.campus-module summary {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.campus-module summary::-webkit-details-marker {
  display: none;
}

.campus-module summary span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.38);
  border-radius: 6px;
  color: var(--green);
  background: rgba(82, 255, 215, 0.08);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.campus-module summary strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.25;
}

.campus-module summary em {
  color: var(--yellow);
  font-family: Consolas, "Courier New", monospace;
  font-style: normal;
  font-weight: 900;
}

.campus-module[open] summary {
  border-bottom: 1px solid rgba(72, 229, 255, 0.14);
  background: rgba(72, 229, 255, 0.06);
}

.campus-module-body {
  padding: 16px 18px 18px 82px;
}

.campus-module-body p,
.campus-module-body li {
  color: var(--muted);
  line-height: 1.6;
}

.campus-module-body ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 14px;
  padding-left: 18px;
}

.campus-module-body strong {
  color: var(--text);
}

.campus-final-project {
  margin-top: 18px;
  padding: 24px;
}

.campus-final-project h2 {
  font-size: 34px;
  line-height: 1.05;
}

.campus-final-project > p {
  color: var(--muted);
  line-height: 1.65;
}

.campus-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.campus-resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.campus-assessment {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  border-radius: 6px;
  background: rgba(255, 209, 102, 0.045);
}

.campus-assessment-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.campus-assessment-heading h4 {
  margin: 4px 0 0;
  font-size: 18px;
}

.campus-test-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 4px;
  color: var(--yellow);
  background: rgba(255, 209, 102, 0.08);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.campus-test-form {
  display: grid;
  gap: 12px;
}

.campus-question {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(5, 9, 16, 0.52);
}

.campus-question legend {
  padding: 0 4px;
  color: var(--text);
  font-weight: 800;
}

.campus-question label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--muted);
  line-height: 1.45;
}

.campus-question input {
  margin-top: 3px;
}

.campus-question.correct {
  border-color: rgba(82, 255, 215, 0.34);
  background: rgba(82, 255, 215, 0.06);
}

.campus-question.incorrect {
  border-color: rgba(255, 85, 124, 0.34);
  background: rgba(255, 85, 124, 0.055);
}

.campus-development {
  display: grid;
  gap: 8px;
}

.campus-development span {
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.campus-development textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--line-blue);
  border-radius: 4px;
  color: var(--text);
  background: #060b10;
  font: inherit;
  line-height: 1.55;
  resize: vertical;
}

.public-shell {
  align-content: start;
  gap: 26px;
}

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

.public-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
}

.public-links a,
.auth-links a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(72, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 58, 212, 0.025) 1px, transparent 1px),
    #05070d;
  background-size: 56px 56px, 56px 56px, auto;
}

.auth-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
}

.auth-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.92);
  box-shadow: var(--shadow);
}

.wide-auth-card {
  width: min(820px, 100%);
}

.auth-brand {
  margin: 0 0 24px;
}

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

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

.auth-form label,
.flag-box label {
  display: grid;
  gap: 8px;
}

.auth-form label > span,
.flag-box > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth-form input,
.flag-box input,
.flag-box textarea,
.flag-box select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-blue);
  border-radius: 4px;
  color: var(--text);
  background: #060b10;
  font: inherit;
}

.flag-box textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.password-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.check-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.nav-button {
  width: calc(100% - 32px);
  margin: 14px 16px 0;
}

.resource-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.resource-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.resource-card .button {
  align-self: end;
}

.resource-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.5;
}

.resource-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.resource-meta-grid div {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.resource-meta-grid span,
.resource-meta-grid strong {
  display: block;
}

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

.resource-meta-grid strong {
  margin-top: 6px;
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.evidence-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.evidence-list article {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.evidence-list article span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.evidence-list article p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

.flag-feedback.success {
  color: var(--green);
}

.plan-price {
  display: block;
  color: var(--green);
  font-size: 28px;
}

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

.evaluation-card {
  min-height: 250px;
}

.email-evidence {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.binary-evidence {
  width: 100%;
  min-height: 280px;
  padding: 14px;
  border: 1px solid var(--line-blue);
  border-radius: 4px;
  color: #c8d8f7;
  background: #05090d;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.65;
  resize: vertical;
}

.vulnerability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}

.vulnerability-list article {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.vulnerability-list span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.vulnerability-list code {
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}

.app-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  grid-row: 1;
  height: 100vh;
  padding: 18px 10px;
  border-right: 1px solid rgba(72, 229, 255, 0.18);
  background: rgba(7, 12, 22, 0.92);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 10px 22px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand span span {
  color: var(--text);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.7);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(82, 255, 215, 0.16), rgba(255, 58, 212, 0.1));
  box-shadow: 0 0 24px rgba(82, 255, 215, 0.18);
  font-size: 13px;
}

.brand-mark.logo-mark {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark.logo-mark img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(82, 255, 215, 0.28));
}

.product-logo {
  display: block;
  width: 92px;
  height: 92px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(82, 255, 215, 0.24));
}

.nav-links {
  display: grid;
  gap: 4px;
}

.nav-section {
  display: block;
  margin: 14px 16px 5px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-section:first-child {
  margin-top: 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #9db4d6;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(72, 229, 255, 0.22);
  color: #ffffff;
  background: linear-gradient(90deg, rgba(72, 229, 255, 0.14), rgba(255, 58, 212, 0.08));
}

.sidebar-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  padding: 16px;
  border: 1px solid rgba(82, 255, 215, 0.22);
  border-radius: 6px;
  background: rgba(13, 20, 34, 0.8);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 0 16px;
  border-bottom: 1px solid #243247;
  background: #111a28;
}

.topbar-search {
  display: flex;
  align-items: center;
  width: min(340px, 45vw);
  min-height: 40px;
  padding: 0 14px;
  border-radius: 4px;
  color: var(--muted);
  background: #1b2738;
}

.topbar-spacer {
  flex: 1;
}

.topbar-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 4px;
  color: #d7e5ff;
  background: #1b2738;
  font-size: 14px;
  font-weight: 750;
}

.topbar-pill.upgrade {
  color: #061416;
  background: var(--green);
}

.sidebar-card strong,
.sidebar-card p {
  display: block;
  margin: 8px 0 0;
}

.sidebar-card p,
.muted {
  color: var(--muted);
}

.content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: min(1400px, 100%);
  min-width: 0;
  padding: 28px 48px 44px;
}

.neo-hero {
  position: relative;
  min-height: 520px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(72, 229, 255, 0.26);
  border-radius: 8px;
  background: #05070d;
  box-shadow: var(--shadow);
}

.neo-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.neo-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.94) 0%, rgba(5, 7, 13, 0.72) 42%, rgba(5, 7, 13, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 7, 13, 0.08), rgba(5, 7, 13, 0.82));
}

.neo-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: 520px;
  width: min(760px, 100%);
  padding: 42px;
}

.neo-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: 64px;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.neo-hero p {
  max-width: 660px;
  color: #d2deed;
  font-size: 18px;
  line-height: 1.7;
}

.hero-signal {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(260px, calc(100% - 56px));
  padding: 18px;
  border: 1px solid rgba(82, 255, 215, 0.38);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(14px);
}

.hero-signal span,
.hero-signal small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-signal strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  margin-bottom: 22px;
}

.hero-panel,
.panel,
.stat-card,
.terminal-panel,
.machine-card,
.challenge-card,
.rank-row,
.profile-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel {
  min-height: 360px;
  padding: 34px;
}

.eyebrow {
  color: var(--green);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 1.2;
}

h2 {
  margin-bottom: 12px;
  font-size: 22px;
}

h3 {
  font-size: 16px;
}

.hero-panel p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  border-color: transparent;
  color: #041013;
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: 0 0 28px rgba(82, 255, 215, 0.18);
}

.button.secondary {
  border-color: rgba(255, 58, 212, 0.25);
  background: rgba(255, 58, 212, 0.08);
}

.button.compact {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.62;
}

.button.full {
  width: 100%;
  margin-top: 18px;
}

.terminal-panel {
  overflow: hidden;
  background: rgba(3, 6, 12, 0.94);
}

.terminal-panel.compact-terminal pre {
  max-height: 280px;
  min-height: 180px;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal-bar {
  display: flex;
  gap: 7px;
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #090f1b;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: var(--yellow);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

pre {
  min-height: 302px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #c8d8f7;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.7;
}

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

.stat-card {
  padding: 20px;
}

.stat-card span,
.challenge-meta,
.machine-meta,
.rank-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--green);
  font-size: 34px;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  margin-bottom: 22px;
}

.panel {
  padding: 22px;
}

.panel.wide {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading a {
  color: var(--green);
  font-weight: 750;
  text-decoration: none;
}

.progress-list,
.activity-feed,
.challenge-list,
.machine-list,
.rank-list,
.lab-list {
  display: grid;
  gap: 12px;
}

.progress-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.progress-item strong,
.progress-item span,
.machine-card strong,
.machine-card span {
  display: block;
}

.progress-item span,
.machine-card span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #05090d;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
  box-shadow: none;
}

.machine-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.machine-card.compact {
  margin-top: 18px;
}

.machine-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: var(--green-dim);
  font-weight: 900;
}

.activity-feed div,
.rank-row {
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.activity-feed span {
  display: inline-block;
  min-width: 58px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
}

.profile-switcher {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(71, 255, 190, 0.055);
}

.profile-switcher label {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-switcher select,
.profile-switcher input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  color: var(--text);
  background: #060b10;
}

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

.environment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.environment-card {
  padding: 18px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(72, 229, 255, 0.08), rgba(255, 58, 212, 0.06));
}

.environment-card strong,
.environment-card span {
  display: block;
}

.environment-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.challenge-card.completed {
  border-color: rgba(71, 255, 190, 0.45);
  background: linear-gradient(180deg, rgba(19, 49, 40, 0.92), rgba(10, 16, 23, 0.96));
}

.challenge-card.active-mission {
  border-color: rgba(245, 200, 76, 0.45);
}

.challenge-card.locked-mission {
  opacity: 0.58;
  filter: grayscale(0.45);
}

.featured-challenge {
  grid-column: span 2;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  margin-bottom: 10px;
}

.page-header p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.ctf-brief {
  margin-bottom: 22px;
}

.flag-help {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.challenge-spec-grid,
.lab-objectives,
.machine-intel {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

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

.challenge-spec-grid span,
.lab-objectives article,
.machine-intel article {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.challenge-spec-grid span {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

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

.lab-objectives article,
.machine-intel article {
  padding: 14px;
}

.lab-objectives span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green);
  background: var(--green-dim);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.lab-objectives strong,
.machine-intel strong {
  display: block;
  margin-bottom: 6px;
}

.lab-objectives p,
.machine-intel p {
  margin: 0;
  font-size: 13px;
}

.campaign-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.campaign-map article {
  position: relative;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  overflow: hidden;
}

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

.district-map article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(72, 229, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(72, 229, 255, 0.08), rgba(255, 58, 212, 0.04)),
    rgba(255, 255, 255, 0.025);
}

.district-map article span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.34);
  border-radius: 6px;
  color: var(--green);
  background: var(--green-dim);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.district-map article strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.district-map article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.platform-map article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.platform-map article p {
  min-height: 64px;
}

.platform-map article .button {
  width: fit-content;
}

.platform-catalog-panel {
  margin-bottom: 22px;
  padding: 22px;
  border: 1px solid rgba(82, 255, 215, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(13, 20, 34, 0.98), rgba(5, 8, 14, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.range-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.range-tabs span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(82, 255, 215, 0.2);
  border-radius: 4px;
  color: #dfffee;
  background: rgba(82, 255, 215, 0.06);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.range-column {
  min-width: 0;
  border: 1px solid rgba(72, 229, 255, 0.16);
  border-radius: 4px;
  background: rgba(4, 8, 14, 0.72);
}

.range-column-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid rgba(72, 229, 255, 0.14);
  background: rgba(17, 26, 40, 0.78);
}

.range-column-heading > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(82, 255, 215, 0.42);
  border-radius: 4px;
  color: var(--green);
  background: rgba(82, 255, 215, 0.09);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.range-column-heading strong,
.range-column-heading p {
  display: block;
  margin: 0;
}

.range-column-heading strong {
  font-size: 15px;
}

.range-column-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.range-card-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.range-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(18, 27, 40, 0.92), rgba(8, 13, 21, 0.96));
}

.range-card:hover {
  border-color: rgba(82, 255, 215, 0.42);
  background:
    linear-gradient(180deg, rgba(24, 38, 52, 0.98), rgba(8, 13, 21, 0.98));
}

.range-card-top,
.range-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.range-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
}

.range-card p {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.range-card .button {
  justify-self: start;
}

.range-type,
.range-card-meta span {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.range-card-meta span:first-child {
  color: var(--green);
}

.district-map .locked-district {
  border-style: dashed;
  opacity: 0.68;
}

.operator-panel {
  display: grid;
  align-content: start;
  gap: 18px;
}

.operator-core {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.operator-core h2 {
  margin: 0 0 6px;
}

.operator-core p {
  margin: 0;
  color: var(--muted);
}

.operator-avatar {
  width: 86px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(82, 255, 215, 0.62);
  border-radius: 10px;
  background: rgba(82, 255, 215, 0.08);
  box-shadow: 0 0 34px rgba(82, 255, 215, 0.18);
}

.operator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-map article::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
  box-shadow: none;
}

.campaign-map article.coming-soon {
  border-style: dashed;
  opacity: 0.65;
}

.campaign-map span {
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-map strong {
  display: block;
  margin-top: 10px;
}

.campaign-map p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0;
  border: 1px solid #243247;
  border-radius: 4px;
  overflow: hidden;
}

.target-grid div {
  padding: 12px;
  border: 0;
  border-right: 1px solid #243247;
  background: #111a28;
}

.target-grid div:last-child {
  border-right: 0;
}

.target-grid span,
.target-grid strong {
  display: block;
}

.target-grid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.target-grid strong {
  margin-top: 6px;
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
}

.toolbox-panel {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #243247;
  border-radius: 4px;
  background: #111a28;
}

.toolbox-panel p {
  margin-bottom: 4px;
}

.toolbox-panel code {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--green);
  background: #030607;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  white-space: pre-wrap;
}

.chip,
.difficulty,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--green);
  background: var(--green-dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.chip.dim {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.challenge-list,
.machine-list,
.lab-list {
  grid-template-columns: 1fr;
}

.challenge-card {
  padding: 22px;
}

.challenge-card.featured-challenge,
.lab-list .challenge-card:first-child {
  grid-column: span 1;
}

.challenge-card p {
  color: var(--muted);
  line-height: 1.55;
}

.clue-board {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.clue-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.clue-step.locked {
  opacity: 0.55;
}

.clue-step.solved {
  border-color: rgba(71, 255, 190, 0.35);
  background: rgba(71, 255, 190, 0.07);
}

.clue-index {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: var(--green-dim);
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.clue-step strong {
  display: block;
  margin-bottom: 5px;
}

.flag-box {
  display: grid;
  gap: 8px;
  margin: 16px 0 10px;
}

.flag-box.compact {
  margin: 10px 0;
}

.flag-box.locked input {
  border-color: rgba(255, 255, 255, 0.08);
  opacity: 0.7;
}

.flag-box span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flag-box input {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-blue);
  border-radius: 8px;
  color: var(--text);
  background: #060b10;
  font-family: Consolas, "Courier New", monospace;
}

.flag-box input:disabled,
.clue-step button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.flag-feedback {
  min-height: 20px;
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 13px;
}

.challenge-footer,
.machine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.difficulty.easy {
  color: var(--green);
}

.difficulty.medium {
  color: var(--yellow);
  border-color: rgba(245, 200, 76, 0.3);
  background: rgba(245, 200, 76, 0.1);
}

.difficulty.hard {
  color: var(--red);
  border-color: rgba(255, 92, 122, 0.35);
  background: rgba(255, 92, 122, 0.1);
}

.rank-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 120px 120px;
  gap: 14px;
  align-items: center;
  border: 1px solid transparent;
}

.rank-row.highlight {
  border-color: var(--line);
  background: var(--green-dim);
}

.rank-position {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(220px, 0.56fr) minmax(0, 1.2fr);
  gap: 22px;
}

.profile-card {
  padding: 24px;
}

.profile-main {
  text-align: center;
}

.profile-avatar {
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--panel-strong);
  box-shadow: 0 0 30px rgba(71, 255, 190, 0.22);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

  .content,
  .topbar {
    grid-column: 1;
  }

  .content {
    width: 100%;
    max-width: 100%;
  }

  .sidebar {
    position: static;
    grid-row: auto;
    height: auto;
  }

  .sidebar-card {
    position: static;
    margin-top: 18px;
  }

  .hero-grid,
  .section-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .challenge-list,
  .machine-list,
  .lab-list,
  .campaign-map,
  .district-map,
  .portal-grid,
  .single-resource-grid,
  .range-hero,
  .range-strip,
  .arena-grid,
  .academy-hero,
  .academy-track,
  .academy-syllabus,
  .course-hero,
  .course-principles,
  .course-value-grid,
  .course-hours-grid,
  .course-evaluation-grid,
  .course-project-grid,
  .course-infra-grid,
  .course-shieldnet-strip,
  .course-rubric,
  .campus-hero-grid,
  .campus-track-grid,
  .campus-value-grid,
  .campus-learning-flow,
  .campus-lab-grid,
  .campus-project-grid,
  .campus-resource-grid,
  .resource-dashboard,
  .environment-grid,
  .lab-objectives,
  .machine-intel,
  .platform-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .portal-shell {
    padding: 24px 18px;
  }

  .portal-intro h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .portal-card {
    min-height: auto;
    padding: 22px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  .content,
  .sidebar {
    padding: 18px;
  }

  .neo-hero,
  .neo-hero-copy {
    min-height: 620px;
    width: calc(100vw - 56px);
    max-width: calc(100vw - 56px);
  }

  .neo-hero-copy {
    padding: 24px 28px 24px 24px;
    align-content: start;
    padding-top: 42px;
  }

  .neo-hero h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.04;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-signal {
    right: 18px;
    bottom: 18px;
  }

  .stats-grid,
  .challenge-list,
  .machine-list,
  .lab-list,
  .campaign-map,
  .district-map,
  .portal-grid,
  .single-resource-grid,
  .range-hero,
  .range-strip,
  .arena-grid,
  .academy-hero,
  .academy-track,
  .academy-kpis,
  .academy-syllabus,
  .course-hero,
  .course-kpis,
  .course-principles,
  .course-value-grid,
  .course-hours-grid,
  .course-module-grid,
  .course-evaluation-grid,
  .course-project-grid,
  .course-infra-grid,
  .course-shieldnet-strip,
  .course-rubric,
  .campus-hero-grid,
  .campus-kpi-grid,
  .campus-track-grid,
  .campus-value-grid,
  .campus-learning-flow,
  .campus-lab-grid,
  .campus-project-grid,
  .campus-resource-grid,
  .starting-grid,
  .resource-dashboard,
  .profile-stat-grid,
  .target-grid,
  .resource-meta-grid,
  .two-column-form,
  .evaluation-grid,
  .vulnerability-list,
  .environment-grid,
  .challenge-spec-grid,
  .lab-objectives,
  .machine-intel,
  .platform-catalog {
    grid-template-columns: 1fr;
  }

  .landing-header,
  .range-cta,
  .academy-band,
  .course-band {
    align-items: stretch;
    flex-direction: column;
  }

  .academy-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .course-hero h1 {
    font-size: 38px;
    line-height: 1;
  }

  .course-section-heading h2,
  .course-band h2 {
    font-size: 28px;
  }

  .course-jumpbar {
    position: static;
  }

  .campus-header h1 {
    font-size: 34px;
  }

  .campus-focus h2,
  .campus-final-project h2,
  .campus-value-system h2,
  .campus-resource-library h2 {
    font-size: 26px;
  }

  .campus-module summary {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .campus-module summary em {
    grid-column: 2;
  }

  .campus-module-body {
    padding: 14px 16px 16px;
  }

  .campus-assessment-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .campus-test-pill {
    width: fit-content;
  }

  .landing-header {
    position: static;
    padding: 16px 18px;
  }

  .landing-nav {
    width: 100%;
    justify-content: space-between;
  }

  .range-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-panel {
    min-height: auto;
    padding: 24px;
  }

  .progress-item,
  .rank-row,
  .clue-step {
    grid-template-columns: 1fr;
  }

  .featured-challenge {
    grid-column: span 1;
  }
}

.app-home-page {
  background:
    linear-gradient(rgba(80, 255, 180, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 255, 180, 0.02) 1px, transparent 1px),
    #08111d;
  background-size: 28px 28px, 28px 28px, auto;
}

.htb-shell {
  min-height: 100vh;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 82% 2%, rgba(161, 255, 0, 0.08), transparent 30%),
    linear-gradient(180deg, #0b1522 0%, #08111d 100%);
}

.app-topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 0 clamp(22px, 8vw, 160px);
  border-bottom: 1px solid #223247;
  background: rgba(10, 20, 33, 0.94);
  backdrop-filter: blur(18px);
}

.app-brand {
  margin: 0;
  color: #ffffff;
}

.app-brand .brand-mark {
  color: #101b15;
  border-color: #9cff00;
  background: #9cff00;
  box-shadow: 0 0 26px rgba(156, 255, 0, 0.18);
}

.app-brand .brand-mark.logo-mark {
  background: transparent;
  box-shadow: none;
}

.app-nav,
.app-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 4px;
  color: #8fa4c4;
  font-weight: 800;
  text-decoration: none;
}

.app-nav a:hover,
.app-nav a.active {
  color: #ffffff;
}

.app-nav a.active::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #9cff00;
}

.app-actions {
  justify-content: flex-end;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #26364b;
  border-radius: 4px;
  color: #9cff00;
  background: #152237;
  font-weight: 900;
  text-decoration: none;
}

.academy-switch {
  border-color: rgba(255, 58, 212, 0.34);
  color: #ffd8f8;
  background: rgba(255, 58, 212, 0.1);
}

.app-home-content {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.app-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.app-welcome h1 {
  margin: 8px 0 8px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 36px);
}

.role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px dashed #26364b;
  border-radius: 4px;
  color: #8fa4c4;
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 32px;
}

.home-promo {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 360px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #26364b;
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(9, 17, 28, 0.92), rgba(9, 17, 28, 0.48)),
    #142033;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
}

.home-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
}

.home-promo::after {
  content: "";
  position: absolute;
  right: -58px;
  top: 12px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(156, 255, 0, 0.28);
  border-radius: 24px;
  transform: rotate(28deg);
}

.home-promo > div {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.home-promo h2 {
  margin: 12px 0 12px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.12;
}

.home-promo p {
  color: #9db2d1;
  line-height: 1.55;
}

.home-promo-start {
  background:
    linear-gradient(90deg, rgba(8, 16, 27, 0.94), rgba(44, 76, 35, 0.72)),
    #142033;
}

.home-promo-labs {
  background:
    linear-gradient(90deg, rgba(8, 16, 27, 0.94), rgba(22, 88, 96, 0.68)),
    #142033;
}

.app-academy-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -8px 0 30px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 58, 212, 0.24);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 58, 212, 0.09), rgba(72, 229, 255, 0.04)),
    #111d2f;
}

.app-academy-bridge strong,
.app-academy-bridge p {
  display: block;
  margin: 6px 0 0;
}

.app-academy-bridge p {
  max-width: 780px;
  color: #8fa4c4;
  line-height: 1.5;
}

.app-link-list {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.app-link-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 18px;
  align-items: center;
  min-height: 96px;
  padding: 20px 24px;
  border: 1px solid #26364b;
  border-radius: 6px;
  color: inherit;
  background: #111d2f;
  text-decoration: none;
}

.app-link-list a:hover {
  border-color: rgba(156, 255, 0, 0.44);
  background: #152237;
}

.app-link-list span {
  color: #f6f8ff;
  font-size: 18px;
  font-weight: 900;
}

.app-link-list small {
  grid-column: 1;
  color: #8fa4c4;
  font-size: 14px;
}

.app-link-list strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 4px;
  color: #ffffff;
  background: #223247;
}

.app-stats .stat-card,
.home-catalog .challenge-card,
.app-activity {
  border-color: #26364b;
  background: #111d2f;
  box-shadow: none;
}

.app-stats .stat-card strong {
  color: #9cff00;
}

.home-catalog {
  margin-top: 8px;
}

.home-catalog .challenge-card {
  min-height: 330px;
}

.app-activity {
  margin-top: 30px;
}

@media (max-width: 980px) {
  .app-topnav {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 22px;
  }

  .app-nav,
  .app-actions {
    flex-wrap: wrap;
  }

  .app-academy-bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .app-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-home-content {
    width: min(100% - 28px, 1160px);
    padding-top: 30px;
  }

  .app-welcome {
    align-items: stretch;
    flex-direction: column;
  }

  .home-promo {
    min-height: 330px;
  }
}
