:root {
  --navy-950: #06162c;
  --navy-900: #0b1f3a;
  --navy-800: #11315a;
  --navy-700: #174372;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-300: #fcd34d;
  --gold-100: #fff4d6;
  --green-600: #16a34a;
  --green-500: #22a354;
  --green-700: #16803c;
  --green-100: #e8f5ee;
  --red-600: #b42318;
  --red-100: #fef0ee;
  --blue-100: #eaf3ff;
  --slate-900: #172033;
  --slate-800: #27354a;
  --slate-700: #526071;
  --slate-600: #66758a;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f3f6fa;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 10px 28px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 16px 44px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 24px 70px rgba(4, 16, 35, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: #ffffff;
  background: #0b2545;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--slate-900);
  background: #fbfcfe;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.section {
  padding: 104px 0;
}

.candidate-home {
  scroll-margin-top: 0;
  padding: 88px 0;
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.96) 0%, rgba(239, 253, 246, 0.9) 48%, rgba(255, 250, 236, 0.92) 100%);
}

.my-courses-main {
  min-height: calc(100vh - 168px);
  background:
    linear-gradient(135deg, rgba(248, 251, 255, 0.96) 0%, rgba(239, 253, 246, 0.9) 48%, rgba(255, 250, 236, 0.92) 100%);
}

.my-courses-page .candidate-home {
  min-height: calc(100vh - 168px);
  background: transparent;
}

.my-courses-empty {
  min-height: calc(100vh - 168px);
  padding: 90px 0;
}

.my-courses-empty-box {
  max-width: 720px;
  padding: 30px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf8 64%, #fff8e8 100%);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.my-courses-empty-box small {
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.my-courses-empty-box h1 {
  margin: 8px 0 8px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.my-courses-empty-box p {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 750;
}

.candidate-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  padding: 24px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf8 64%, #fff8e8 100%);
  box-shadow: 0 18px 44px rgba(11, 31, 58, 0.08);
}

.candidate-home-head small {
  color: #0f766e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.candidate-home-head h1 {
  margin: 5px 0 6px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.candidate-home-head p {
  max-width: 720px;
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 750;
}

.candidate-home-profile,
.candidate-course-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 12px;
  font-weight: 900;
}

body.account-menu-open .candidate-home-profile {
  visibility: hidden;
}

body.candidate-logged-in .nav-actions > [data-open-interest] {
  display: none;
}

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

.my-courses-page.single-course-mode .candidate-home-grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.my-courses-page.single-course-mode .candidate-course-card {
  padding: 24px;
}

.my-courses-page.single-course-mode .candidate-course-top h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.candidate-course-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f7fbff 62%, #f2fbf6 100%);
  box-shadow: 0 16px 36px rgba(11, 31, 58, 0.075);
}

.candidate-course-card:nth-child(2n) {
  background: linear-gradient(145deg, #ffffff 0%, #fffaf0 58%, #f7fbff 100%);
}

.candidate-course-card.essential {
  border-color: rgba(37, 99, 235, 0.25);
  border-top: 3px solid #2563eb;
  background:
    linear-gradient(145deg, #f8fbff 0%, #eaf3ff 58%, #f0fdfa 100%),
    #f8fbff;
}

.candidate-course-card.featured {
  border-color: rgba(245, 158, 11, 0.34);
  border-top: 3px solid var(--gold-500);
  background: linear-gradient(145deg, #fffdfa 0%, #fff6df 58%, #ffffff 100%);
}

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

.candidate-course-top small {
  color: #9b5b00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.candidate-course-top h2 {
  margin: 5px 0 0;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.15;
}

.candidate-course-top > span {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  font-size: 16px;
  font-weight: 950;
}

.candidate-course-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 18px 0 13px;
}

.candidate-course-stats div {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(17, 49, 90, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.candidate-course-stats strong,
.candidate-course-stats small {
  display: block;
}

.candidate-course-stats strong {
  color: var(--navy-900);
  font-size: 18px;
  line-height: 1.1;
}

.candidate-course-stats small {
  margin-top: 3px;
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 850;
}

.candidate-course-progress {
  height: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.candidate-course-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #d89b19);
}

.candidate-course-action {
  width: 100%;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--navy-900), #123f68);
}

.candidate-course-empty-copy,
.sample-progress-copy {
  margin: 18px 0;
  color: var(--slate-600);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.candidate-course-empty .candidate-course-top > span {
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

.announcement {
  color: rgba(255, 255, 255, 0.84);
  background: var(--navy-950);
  font-size: 12px;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 16px;
}

.announcement-notices {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.announcement-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: announcement-scroll 24s linear infinite;
}

.announcement-notices:hover .announcement-track,
.announcement-notices:focus-within .announcement-track {
  animation-play-state: paused;
}

.announcement-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.announcement-set-copy {
  display: flex;
}

.announcement p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.announcement-set p + p {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.announcement a {
  color: var(--gold-400);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 1px 0 rgba(11, 31, 58, 0.09),
    0 3px 0 rgba(212, 160, 71, 0.95),
    0 5px 0 rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  min-height: 86px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  padding: 0;
  color: var(--navy-900);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 70px;
  height: 70px;
  border-radius: 19px;
  object-fit: contain;
  padding: 0;
  background: #07182f;
  border: 1px solid rgba(212, 160, 71, 0.72);
  box-shadow:
    0 10px 22px rgba(7, 24, 47, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.brand > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1;
  text-align: center;
}

.brand strong {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  justify-content: center;
  font-family: Georgia, serif;
  color: #071f3f;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.055em;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: none;
}

.brand-title-main {
  color: #071f3f;
  display: inline;
}

.brand-title-accent {
  color: #bf8b24;
  display: inline;
  letter-spacing: 0.075em;
}

.brand small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  color: #5b6574;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.25;
  text-transform: uppercase;
  text-shadow: none;
}

.brand small::before,
.brand small::after {
  content: "";
  width: 22px;
  height: 2px;
  flex: 0 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f766e, #d6a64a);
  box-shadow: 0 0 0 1px rgba(214, 166, 74, 0.1);
}

.brand small::after {
  background: linear-gradient(90deg, #d6a64a, #0f766e);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.nav-menu a {
  color: #3a495d;
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-menu a:hover {
  color: var(--gold-500);
}

.nav-menu a.active {
  color: var(--navy-900);
  font-weight: 900;
}

.nav-menu a[data-my-courses-link] {
  min-height: 34px;
  padding: 7px 12px;
  color: var(--navy-900);
  border: 1px solid rgba(11, 31, 58, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.08);
  font-weight: 900;
}

.nav-menu a[data-my-courses-link]:hover {
  color: var(--white);
  background: var(--navy-900);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-menu {
  position: relative;
}

.account-menu-toggle {
  gap: 5px;
}

.account-menu-toggle svg {
  width: 16px;
  height: 16px;
}

.account-submenu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 268px;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 180ms ease;
}

.account-menu.open .account-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.account-submenu button,
.account-submenu a,
.nav-account-link {
  color: var(--navy-800);
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.account-submenu button,
.account-submenu a {
  display: block;
  padding: 10px 9px;
  border-radius: 6px;
}

.account-submenu button:hover,
.account-submenu a:hover {
  color: #9b5b00;
  background: var(--gold-100);
}

.account-submenu .account-submenu-primary {
  color: var(--navy-900);
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 100%);
  font-weight: 950;
}

.account-submenu .account-submenu-progress {
  color: #0b2a66;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #eff6ff 0%, #fffaf0 100%);
  font-weight: 950;
}

.account-submenu-profile {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #edfdf6 100%);
}

.account-submenu-profile small,
.account-submenu-profile strong {
  display: block;
}

.account-submenu-profile small {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-submenu-profile strong {
  margin-top: 2px;
  color: var(--navy-900);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.account-submenu-logout {
  margin-top: 4px;
  color: #9f1239 !important;
  border-top: 1px solid var(--slate-200) !important;
}

.nav-account-link {
  display: none;
}

.nav-toggle {
  display: none;
  padding: 6px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-small {
  min-height: 42px;
  padding-inline: 15px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.17);
}

.btn-primary:hover {
  background: var(--navy-800);
}

.btn-outline {
  color: var(--navy-900);
  border-color: rgba(17, 49, 90, 0.18);
  background: #ffffff;
}

.btn-outline:hover {
  color: #0f766e;
  border-color: rgba(15, 118, 110, 0.34);
  background: #f8fbff;
}

.btn-gold {
  color: var(--navy-950);
  background: var(--gold-400);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.22);
}

.btn-gold:hover {
  background: #f8ae13;
}

.btn-ghost {
  min-height: 42px;
  padding-inline: 10px;
  color: var(--navy-900);
  background: transparent;
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 1), rgba(5, 21, 43, 0.98)),
    var(--navy-900);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 92%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  overflow: hidden;
  min-height: clamp(470px, calc(100vh - 250px), 560px);
  padding-top: 32px;
  padding-bottom: 36px;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-700);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 17px;
  height: 17px;
}

.eyebrow-gold {
  color: var(--gold-400);
}

.hero h1 {
  max-width: 690px;
  margin: 13px 0 18px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: normal;
}

.growth-journey {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -25px;
  padding: 16px 0;
  color: var(--white);
  border-top: 1px solid rgba(251, 191, 36, 0.2);
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
  background:
    radial-gradient(circle at 12% 50%, rgba(251, 191, 36, 0.18), transparent 32%),
    linear-gradient(135deg, var(--navy-950), #0f3159 54%, var(--navy-950));
}

.growth-journey::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 88px 100%;
  content: "";
  opacity: 0.38;
}

.growth-journey .container {
  position: relative;
}

.growth-tagline {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.7vw, 22px);
  margin: 0;
  padding: 14px clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.16), rgba(255, 255, 255, 0.06), rgba(251, 191, 36, 0.11));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.tagline-step {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  min-width: 0;
}

.growth-tagline i {
  flex: 0 1 76px;
  min-width: 24px;
  height: 1px;
  background: rgba(251, 191, 36, 0.58);
}

.tagline-icon {
  display: grid;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  color: var(--white);
  border: 1px solid rgba(251, 191, 36, 0.9);
  border-radius: 50%;
  background: var(--navy-800);
  box-shadow: inset 0 0 0 3px rgba(251, 191, 36, 0.08);
  place-items: center;
}

.tagline-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.tagline-step strong {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.5vw, 34px);
  letter-spacing: 0.01em;
}

.hero h1 .hero-headline-main,
.hero h1 .hero-headline-accent {
  display: block;
}

.hero h1 .hero-headline-accent {
  margin-top: 4px;
  color: var(--gold-400);
}

.hero-copy > p {
  max-width: min(665px, 100%);
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.68;
  overflow-wrap: normal;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 24px;
}

.hero-msme-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(245, 195, 84, 0.48);
  border-radius: 8px;
  color: var(--white);
  background: rgba(5, 23, 45, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-msme-badge svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--gold-300);
}

.hero-msme-badge span,
.hero-msme-badge strong,
.hero-msme-badge small {
  display: block;
  min-width: 0;
}

.hero-msme-badge strong {
  color: var(--gold-300);
  font-size: 12px;
  line-height: 1.25;
}

.hero-msme-badge small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
}

.hero-proof-row span {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-proof-row strong,
.hero-proof-row small {
  display: block;
}

.hero-proof-row strong {
  color: var(--gold-300);
  font-size: 18px;
  line-height: 1.1;
}

.hero-proof-row small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
}

.hero-showcase {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 28px 12px;
}

.portal-card {
  position: relative;
  z-index: 2;
  max-width: min(480px, 100%);
  margin-left: auto;
  padding: 22px;
  color: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.portal-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--slate-200);
}

.portal-logo {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid rgba(212, 160, 71, 0.58);
  border-radius: 14px;
  background: #07182f;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.18);
}

.portal-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-header small,
.portal-folder small,
.portal-section-title small {
  display: block;
  color: var(--slate-600);
  font-size: 11px;
  font-weight: 700;
}

.portal-header h2 {
  margin: 2px 0 0;
  color: var(--navy-900);
  font-size: 17px;
  line-height: 1.3;
}

.portal-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--blue-100);
}

.banner-icon {
  display: grid;
  width: 42px;
  height: 42px;
  color: var(--white);
  border-radius: 10px;
  background: var(--navy-900);
  place-items: center;
}

.banner-icon svg {
  width: 22px;
  height: 22px;
}

.portal-banner strong,
.portal-banner span {
  display: block;
}

.portal-banner strong {
  color: var(--navy-900);
  font-size: 13px;
}

.portal-banner span {
  color: var(--slate-600);
  font-size: 11px;
}

.portal-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 1px 9px;
  color: var(--slate-900);
  font-size: 13px;
  font-weight: 900;
}

.portal-folder {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
}

.folder-icon {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  border-radius: 9px;
  background: var(--navy-900);
  place-items: center;
}

.folder-icon-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, #facc15, #f59e0b);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.22);
}

.folder-icon-blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.24);
}

.folder-icon svg {
  width: 20px;
  height: 20px;
  padding: 2px;
  color: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(7, 20, 38, 0.24));
  stroke-width: 2.8;
}

.folder-icon-gold svg {
  color: #061a3b;
  background: rgba(255, 255, 255, 0.34);
  border-radius: 5px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.38));
}

.folder-icon-blue svg {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 5px;
}

.portal-folder strong {
  display: block;
  color: var(--navy-900);
  font-size: 12px;
}

.folder-arrow {
  width: 16px;
  height: 16px;
  color: var(--slate-600);
}

.portal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-200);
  font-size: 10px;
  font-weight: 800;
}

.portal-footer span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.portal-footer span:last-child {
  color: #b46d00;
}

.portal-footer svg {
  width: 15px;
  height: 15px;
}

.showcase-dots {
  position: absolute;
  width: 92px;
  height: 92px;
  opacity: 0.28;
  background-image: radial-gradient(var(--gold-400) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
}

.dots-one {
  top: -5px;
  right: -28px;
}

.dots-two {
  bottom: -4px;
  left: -15px;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 184px;
  padding: 11px 13px;
  color: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.15);
}

.floating-note > svg {
  width: 22px;
  height: 22px;
  color: var(--gold-500);
}

.note-top {
  border-color: rgba(37, 99, 235, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.note-top > svg {
  color: #2563eb;
}

.note-bottom {
  min-width: 206px;
  border-color: rgba(15, 118, 110, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.note-bottom > svg {
  color: #0f766e;
}

.floating-note strong,
.floating-note small {
  display: block;
}

.floating-note strong {
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.2;
}

.floating-note small {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 700;
}

.note-top {
  top: 6px;
  left: -20px;
}

.note-bottom {
  right: -22px;
  bottom: -5px;
}

.quick-strip {
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

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

.quick-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  padding: 12px 24px;
  border-right: 1px solid rgba(17, 49, 90, 0.11);
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
}

.quick-item:first-child {
  border-left: 1px solid var(--slate-200);
}

.quick-item:nth-child(2) {
  background: linear-gradient(135deg, #fffdf5 0%, #fff7df 100%);
}

.quick-item:nth-child(3) {
  background: linear-gradient(135deg, #fbfffd 0%, #effbf5 100%);
}

.quick-item:nth-child(4) {
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.quick-item > svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--gold-500);
}

.quick-item strong,
.quick-item small {
  display: block;
}

.quick-item strong {
  color: var(--navy-900);
  font-size: 13px;
}

.quick-item small {
  color: var(--slate-600);
  font-size: 11px;
}

.preparation-suite {
  padding: 48px 0 34px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 118, 110, 0.08) 42%, rgba(245, 158, 11, 0.1)),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.suite-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.suite-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 49, 90, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.065);
}

.suite-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #0f766e);
  content: "";
}

.suite-card-dark {
  color: var(--white);
  border-color: rgba(251, 191, 36, 0.3);
  background:
    linear-gradient(135deg, rgba(6, 22, 44, 0.96), rgba(15, 49, 89, 0.95) 43%, rgba(15, 118, 110, 0.94)),
    var(--navy-900);
  box-shadow: 0 22px 50px rgba(6, 22, 44, 0.22);
}

.suite-card-dark::before {
  background: linear-gradient(90deg, var(--gold-400), #2dd4bf, #60a5fa);
}

.suite-card-blue {
  border-color: rgba(37, 99, 235, 0.16);
  background: linear-gradient(145deg, #ffffff 0%, #f6faff 72%, #eef6ff 100%);
}

.suite-card-gold {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #fffaf0 72%, #fff4d6 100%);
}

.suite-card-gold::before {
  background: linear-gradient(90deg, #f59e0b, #facc15);
}

.suite-card-green {
  border-color: rgba(15, 118, 110, 0.18);
  background: linear-gradient(145deg, #ffffff 0%, #f5fcf8 72%, #e8f5ee 100%);
}

.suite-card-green::before {
  background: linear-gradient(90deg, #0f766e, #22c55e);
}

.suite-card > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 6px 9px;
  color: var(--navy-900);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.suite-card-dark > span {
  color: var(--gold-300);
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.1);
}

.suite-card-gold > span {
  color: #854d0e;
  border-color: rgba(245, 158, 11, 0.24);
}

.suite-card-green > span {
  color: #047857;
  border-color: rgba(15, 118, 110, 0.18);
}

.suite-card h2,
.suite-card h3 {
  position: relative;
  z-index: 1;
  margin: 16px 0 7px;
  color: var(--navy-900);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.14;
}

.suite-card h2 {
  color: var(--white);
  font-size: clamp(25px, 2.6vw, 34px);
}

.suite-card h3 {
  font-size: 22px;
}

.suite-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.65;
}

.suite-card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.suite-highlight-pills {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 14px;
}

.suite-highlight-pills b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.one-liner-pill {
  color: #075985;
  border: 1px solid rgba(14, 165, 233, 0.26);
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
}

.trap-pill {
  color: #9f1239;
  border: 1px solid rgba(225, 29, 72, 0.24);
  background: linear-gradient(135deg, #ffe4e6, #fff7ed);
}

.mcq-pill {
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.26);
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
}

.coverage-pill {
  color: #0f766e;
  border: 1px solid rgba(15, 118, 110, 0.22);
  background: linear-gradient(135deg, #ccfbf1, #f0fdfa);
}

.simulation-pill {
  color: #92400e;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: linear-gradient(135deg, #fef3c7, #fff7ed);
}

.syllabus-pill {
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: linear-gradient(135deg, #ede9fe, #faf5ff);
}

.suite-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  place-items: center;
}

.suite-card-gold .suite-icon {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-400), #f97316);
}

.suite-card-green .suite-icon {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}

.suite-icon svg {
  width: 22px;
  height: 22px;
}

.compliance-strip {
  padding: 22px 0;
  background: #f7fafc;
}

.compliance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid #cbd5e1;
  border-left: 6px solid var(--green-500);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.compliance-card strong {
  display: block;
  color: var(--slate-900);
  font-size: 16px;
}

.compliance-card p {
  max-width: 900px;
  margin: 6px 0 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.65;
}

.compliance-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.compliance-links a {
  padding: 9px 12px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  color: var(--slate-800);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.section-heading {
  max-width: 680px;
}

.exams-section {
  padding-bottom: 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #ffffff 100%);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.features-copy h2,
.cta-box h2 {
  margin: 12px 0 14px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0;
  line-height: 1.13;
}

.section-heading p,
.features-copy p {
  margin: 0;
  color: var(--slate-600);
  font-size: 16px;
  line-height: 1.75;
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 36px 0 28px;
}

.course-tab {
  min-height: 42px;
  padding: 0 16px;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: 24px;
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
  transition: 180ms ease;
}

.course-tab:hover,
.course-tab.active {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.course-tab[data-filter="inspector"]:hover,
.course-tab[data-filter="inspector"].active {
  color: #ffffff;
  border-color: rgba(15, 118, 110, 0.42);
  background: linear-gradient(135deg, #082448 0%, #174c91 58%, #0f766e 100%);
  box-shadow: 0 12px 24px rgba(11, 76, 128, 0.16);
}

.course-tab[data-filter="group-b"]:hover,
.course-tab[data-filter="group-b"].active {
  color: #ffffff;
  border-color: rgba(180, 124, 36, 0.36);
  background: linear-gradient(135deg, #06162c 0%, #123d63 58%, #9a6a16 100%);
  box-shadow: 0 12px 24px rgba(11, 31, 58, 0.16);
}

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

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 390px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(17, 49, 90, 0.13);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.course-card:hover {
  border-color: rgba(17, 49, 90, 0.26);
  box-shadow: 0 20px 38px rgba(11, 31, 58, 0.12);
  transform: translateY(-5px);
}

.course-card[hidden] {
  display: none;
}

.course-card.essential {
  border-color: rgba(37, 99, 235, 0.25);
  border-top: 3px solid #2563eb;
  background:
    linear-gradient(145deg, #f8fbff 0%, #eaf3ff 58%, #f0fdfa 100%),
    #f8fbff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.08);
}

.course-card.featured {
  border-color: rgba(245, 158, 11, 0.34);
  border-top: 3px solid var(--gold-500);
  background: linear-gradient(145deg, #fffdfa 0%, #fff6df 58%, #ffffff 100%);
}

.course-card.premium {
  border-color: rgba(21, 128, 61, 0.26);
  border-top: 3px solid var(--green-700);
  background: linear-gradient(145deg, #ffffff 0%, #effbf5 68%, #f7fbff 100%);
}

.course-card.pma-library-card {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(252, 211, 77, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(252, 211, 77, 0.13) 0%, transparent 28%),
    linear-gradient(145deg, #06162c 0%, #08233f 50%, #0b332f 100%);
  box-shadow: 0 26px 66px rgba(4, 16, 35, 0.25);
}

.course-card.pma-library-card[hidden] {
  display: none;
}

.pma-library-card:hover {
  border-color: rgba(251, 191, 36, 0.56);
}

.pma-coming-ribbon {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: -34px;
  display: grid;
  width: 176px;
  padding: 8px 10px 9px;
  color: #06162c;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 48%, #fb7185 100%);
  box-shadow: 0 13px 28px rgba(4, 16, 35, 0.24);
  transform: rotate(20deg);
}

.pma-coming-ribbon span,
.pma-coming-ribbon strong {
  line-height: 1;
}

.pma-coming-ribbon span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.pma-coming-ribbon strong {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.pma-library-head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: stretch;
  gap: 18px;
  padding: 22px;
}

.pma-library-head .course-track {
  color: #fcd34d;
}

.pma-library-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 292px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 100%),
    rgba(2, 11, 23, 0.36);
}

.course-card.pma-library-card .pma-library-head h3 {
  max-width: 620px;
  margin: 10px 0 8px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.12;
}

.course-card.pma-library-card .pma-library-head p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.pma-library-status {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-self: flex-start;
  gap: 3px 10px;
  width: min(260px, 100%);
  margin-top: 20px;
  padding: 12px 13px;
  color: #dff7ec;
  border: 1px solid rgba(191, 219, 254, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.pma-library-status svg {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  color: #fcd34d;
}

.pma-library-status span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pma-library-status strong {
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
}

.pma-library-visual {
  position: relative;
  min-height: 292px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(252, 211, 77, 0.26);
  border-radius: 8px;
  background: #06162c;
  box-shadow: 0 24px 44px rgba(2, 11, 23, 0.34);
}

.pma-library-visual img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.pma-library-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 22, 44, 0.62) 0%, rgba(6, 22, 44, 0.05) 48%),
    linear-gradient(180deg, transparent 54%, rgba(2, 11, 23, 0.44) 100%);
  pointer-events: none;
}

.pma-library-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  padding: 9px 11px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(6, 22, 44, 0.72);
  box-shadow: 0 12px 24px rgba(2, 11, 23, 0.28);
  font-size: 11px;
  font-weight: 900;
}

.pma-library-visual figcaption svg {
  width: 17px;
  height: 17px;
  color: #fcd34d;
}

.pma-book-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 22px 22px;
}

.pma-book {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  min-height: 212px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 30px rgba(4, 16, 35, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.pma-book:hover {
  box-shadow: 0 24px 38px rgba(4, 16, 35, 0.28);
  transform: translateY(-4px);
}

.pma-book-spine {
  display: grid;
  place-items: center;
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.pma-book-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 13px 13px;
}

.pma-book-body svg {
  width: 25px;
  height: 25px;
  padding: 5px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.pma-book-body small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pma-book-body strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.18;
}

.pma-book-body span {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.pma-book-blue {
  background: linear-gradient(145deg, #134e8a 0%, #0b3b6a 100%);
}

.pma-book-blue .pma-book-spine {
  background: #082f56;
}

.pma-book-green {
  background: linear-gradient(145deg, #15803d 0%, #0f5f46 100%);
}

.pma-book-green .pma-book-spine {
  background: #0a4a34;
}

.pma-book-gold {
  background: linear-gradient(145deg, #b86b00 0%, #8f4f00 100%);
}

.pma-book-gold .pma-book-spine {
  background: #6f3d00;
}

.pma-book-rose {
  background: linear-gradient(145deg, #be3154 0%, #7f2844 100%);
}

.pma-book-rose .pma-book-spine {
  background: #611f35;
}

.pma-library-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(2, 11, 23, 0.32);
}

.pma-library-footer span {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}

.pma-library-footer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  color: #06162c;
  border-radius: 8px;
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
  font-size: 12px;
  font-weight: 950;
}

.pma-library-footer svg {
  width: 16px;
  height: 16px;
}

.course-card.pma-library-card {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 0;
  isolation: isolate;
  border-color: rgba(252, 211, 77, 0.42);
  background: #06162c;
}

.course-card.pma-library-card::before,
.course-card.pma-library-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.course-card.pma-library-card::before {
  background:
    linear-gradient(90deg, rgba(6, 22, 44, 0.95) 0%, rgba(6, 22, 44, 0.72) 38%, rgba(6, 22, 44, 0.1) 70%),
    linear-gradient(180deg, rgba(6, 22, 44, 0.18) 0%, rgba(2, 11, 23, 0.78) 100%);
}

.course-card.pma-library-card::after {
  background:
    radial-gradient(circle at 19% 22%, rgba(252, 211, 77, 0.24), transparent 28%),
    radial-gradient(circle at 79% 72%, rgba(34, 163, 84, 0.16), transparent 30%);
  mix-blend-mode: screen;
}

.pma-showcase-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.pma-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 30px 34px 10px;
}

.course-card.pma-library-card .pma-showcase-content .course-track {
  color: #fcd34d;
}

.course-card.pma-library-card .pma-showcase-content h3 {
  max-width: 480px;
  margin: 10px 0 10px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.02;
  overflow-wrap: anywhere;
  text-shadow: 0 10px 28px rgba(2, 11, 23, 0.42);
}

.course-card.pma-library-card .pma-showcase-content p {
  max-width: 490px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pma-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pma-showcase-actions span,
.pma-showcase-actions strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 950;
}

.pma-showcase-actions span {
  color: #fef3c7;
  border: 1px solid rgba(252, 211, 77, 0.34);
  background: rgba(2, 11, 23, 0.44);
  box-shadow: 0 14px 28px rgba(2, 11, 23, 0.24);
}

.pma-showcase-actions strong {
  color: #06162c;
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
}

.pma-showcase-actions svg {
  width: 17px;
  height: 17px;
}

.course-card.pma-library-card .pma-book-grid {
  margin-top: auto;
  padding: 14px 18px 12px;
  gap: 10px;
}

.course-card.pma-library-card .pma-book {
  min-height: 112px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(6, 22, 44, 0.56);
  backdrop-filter: blur(10px);
}

.course-card.pma-library-card .pma-book-blue {
  background: linear-gradient(145deg, rgba(14, 75, 135, 0.92), rgba(9, 42, 78, 0.82));
}

.course-card.pma-library-card .pma-book-green {
  background: linear-gradient(145deg, rgba(22, 128, 61, 0.9), rgba(10, 79, 58, 0.82));
}

.course-card.pma-library-card .pma-book-gold {
  background: linear-gradient(145deg, rgba(184, 107, 0, 0.92), rgba(111, 61, 0, 0.82));
}

.course-card.pma-library-card .pma-book-rose {
  background: linear-gradient(145deg, rgba(190, 49, 84, 0.9), rgba(97, 31, 53, 0.82));
}

.course-card.pma-library-card .pma-library-footer {
  position: relative;
  z-index: 2;
  margin: 0 18px 16px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(2, 11, 23, 0.48);
  backdrop-filter: blur(10px);
}

.course-card.pma-library-mystery::before {
  background:
    linear-gradient(90deg, rgba(6, 22, 44, 0.94) 0%, rgba(6, 22, 44, 0.76) 38%, rgba(6, 22, 44, 0.2) 70%),
    linear-gradient(180deg, rgba(6, 22, 44, 0.1) 0%, rgba(2, 11, 23, 0.82) 100%);
  backdrop-filter: blur(1.5px);
}

.pma-library-mystery .pma-showcase-image {
  filter: saturate(1.1) blur(1.4px);
  transform: scale(1.04);
}

.pma-library-mystery .pma-book {
  min-height: 126px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 16px 26px rgba(2, 11, 23, 0.24);
}

.pma-library-mystery .pma-book-body strong {
  max-width: 230px;
}

.pma-library-mystery .pma-book-body > svg {
  opacity: 0.82;
}

.pma-library-mystery .pma-book-body small {
  color: rgba(255, 255, 255, 0.74);
}

.pma-secret-line {
  display: block;
  width: min(190px, 74%);
  height: 9px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  filter: blur(2px);
  opacity: 0.72;
}

.pma-secret-line.short {
  width: min(136px, 55%);
  margin-top: 8px;
  opacity: 0.54;
}

.pma-library-mystery .pma-book::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.16), transparent 28%);
  content: "";
  pointer-events: none;
}

.pma-library-mystery .pma-book-spine {
  color: rgba(255, 255, 255, 0.78);
  filter: blur(0.6px);
}

.popular-label {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 10px;
  color: #7f4a00;
  border-bottom-left-radius: 8px;
  background: var(--gold-100);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-right: 18px;
}

.course-track {
  color: var(--navy-700);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-badge {
  padding: 4px 7px;
  color: #915800;
  border-radius: 4px;
  background: var(--gold-100);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-badge-green {
  color: var(--green-700);
  background: var(--green-100);
}

.course-card h3 {
  max-width: 300px;
  margin: 18px 0 6px;
  color: var(--navy-900);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
}

.course-card h3.course-title-stack {
  display: grid;
  gap: 7px;
  max-width: 430px;
  line-height: 1.12;
}

.course-title-stack span {
  display: block;
}

.course-title-main {
  width: fit-content;
  max-width: 100%;
  padding: 6px 9px;
  color: var(--white);
  border: 1px solid rgba(191, 219, 254, 0.38);
  border-radius: 7px;
  background: linear-gradient(135deg, #082448 0%, #174c91 58%, #0f766e 100%);
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.18);
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.course-card[data-course-key="inspector"] .course-title-main {
  border-color: rgba(191, 219, 254, 0.38);
  background: linear-gradient(135deg, #082448 0%, #174c91 58%, #0f766e 100%);
  box-shadow: 0 10px 22px rgba(11, 76, 128, 0.2);
}

.course-card[data-course-key="group-b"] .course-title-main {
  border-color: rgba(252, 211, 77, 0.28);
  background: linear-gradient(135deg, #06162c 0%, #123d63 58%, #9a6a16 100%);
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.18);
}

.course-title-level {
  color: var(--navy-900);
  font-size: 24px;
  font-weight: 950;
}

@media (max-width: 540px) {
  .course-title-main {
    padding-inline: 7px;
    font-size: 17px;
  }

  .course-title-level {
    font-size: 23px;
  }
}

.course-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.65;
}

.course-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 21px;
  padding: 0;
  list-style: none;
}

.course-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 600;
}

.course-card li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  padding: 2px;
  color: var(--white);
  border-radius: 50%;
  background: var(--green-700);
  stroke-width: 3;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(17, 49, 90, 0.12);
}

.course-card-footer small,
.course-card-footer strong {
  display: block;
}

.course-card-footer small {
  color: var(--slate-600);
  font-size: 10px;
}

.course-card-footer strong {
  color: #a66300;
  font-size: 13px;
}

.home-early-bird-price {
  display: grid;
  gap: 3px;
}

.home-early-bird-price[hidden] {
  display: none;
}

.home-early-bird-price small {
  color: #a66300;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.home-early-bird-price span {
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 700;
}

.home-early-bird-price strong {
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 19px;
}

.home-early-bird-price em {
  color: var(--green-700);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.home-course-upcoming {
  display: grid;
  gap: 5px;
  min-width: min(260px, 100%);
  padding: 11px 13px 10px 15px;
  border: 1px solid rgba(15, 76, 129, 0.16);
  border-left: 4px solid #1d4ed8;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.course-card.featured.is-upcoming .home-course-upcoming {
  border-color: rgba(180, 118, 14, 0.2);
  border-left-color: #b7790b;
  background: linear-gradient(135deg, #fffdf7 0%, #fff6df 100%);
}

.home-course-upcoming small {
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.course-card.featured.is-upcoming .home-course-upcoming small {
  color: #8a5700;
}

.home-course-upcoming strong {
  color: var(--navy-900);
  font-size: 13.5px;
  line-height: 1.3;
}

.home-course-upcoming em {
  color: var(--slate-600);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.4;
}

.home-course-upcoming span {
  padding-top: 6px;
  color: #29445f;
  border-top: 1px solid rgba(17, 49, 90, 0.1);
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.3;
}

.course-enrolled-status {
  display: grid;
  gap: 3px;
  min-width: 150px;
  padding: 9px 11px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: rgba(236, 253, 245, 0.75);
}

.course-enrolled-status[hidden] {
  display: none;
}

.course-enrolled-status small,
.course-enrolled-status strong,
.course-enrolled-status span {
  display: block;
}

.course-enrolled-status small {
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.course-enrolled-status strong {
  color: #0f766e;
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.05;
}

.course-enrolled-status span {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 800;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 142px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), #123f72);
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.16);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition: 180ms ease;
  white-space: nowrap;
}

.text-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 31, 58, 0.22);
}

.text-button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2.8;
}

.course-card.featured .text-button {
  color: var(--navy-950);
  border-color: #f6c85f;
  background: linear-gradient(135deg, var(--gold-400), #ffd86a);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.2);
}

.course-card.premium .text-button {
  border-color: rgba(22, 128, 60, 0.28);
  background: linear-gradient(135deg, #0f766e, var(--green-700));
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.text-button.is-disabled,
.course-card.featured .text-button.is-disabled {
  color: #334155;
  border-color: rgba(100, 116, 139, 0.22);
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.text-button.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.features-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9fc 0%, #eef5fb 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.features-copy p {
  margin-bottom: 26px;
}

.pma-highlight {
  margin: 0 0 24px;
  padding: 17px 18px;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-sm);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.16);
}

.pma-highlight span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pma-highlight strong {
  display: block;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.25;
}

.features-copy .pma-highlight p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.6;
}

.why-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: -10px 0 22px;
}

.why-proof-grid div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(17, 49, 90, 0.13);
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.045);
}

.why-proof-grid div:nth-child(2) {
  background: linear-gradient(135deg, #ffffff 0%, #fff7df 100%);
}

.why-proof-grid div:nth-child(3) {
  background: linear-gradient(135deg, #ffffff 0%, #effbf5 100%);
}

.why-proof-grid small {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy-900);
  font-size: 10px;
  font-weight: 900;
}

.why-proof-grid strong {
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.35;
}

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

.feature-card {
  min-height: 204px;
  padding: 20px;
  border: 1px solid rgba(17, 49, 90, 0.13);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 11px 26px rgba(11, 31, 58, 0.055);
}

.feature-card:nth-child(2) {
  border-color: rgba(245, 158, 11, 0.25);
  background: linear-gradient(145deg, #ffffff 0%, #fff7df 100%);
}

.feature-card:nth-child(3) {
  border-color: rgba(21, 128, 61, 0.2);
  background: linear-gradient(145deg, #ffffff 0%, #effbf5 100%);
}

.feature-card:nth-child(4) {
  border-color: rgba(17, 49, 90, 0.16);
  background: linear-gradient(145deg, #ffffff 0%, #f6f4ff 100%);
}

.feature-icon,
.step-icon {
  display: grid;
  width: 43px;
  height: 43px;
  color: var(--navy-900);
  border-radius: 10px;
  background: var(--blue-100);
  place-items: center;
}

.feature-icon svg,
.step-icon svg {
  width: 22px;
  height: 22px;
}

.feature-icon-gold {
  color: #9c6100;
  background: var(--gold-100);
}

.feature-icon-green {
  color: var(--green-700);
  background: var(--green-100);
}

.feature-icon-red {
  color: var(--red-600);
  background: var(--red-100);
}

.feature-card h3 {
  margin: 17px 0 6px;
  color: var(--navy-900);
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.65;
}

.steps-section {
  padding-top: 64px;
  background: linear-gradient(180deg, var(--white) 0%, #f7fbff 100%);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.steps-grid::before {
  position: absolute;
  top: 61px;
  right: 17%;
  left: 17%;
  height: 1px;
  border-top: 1px dashed #bdc9d7;
  content: "";
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(17, 49, 90, 0.13);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
}

.ranker-step-card:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, #effbf5 100%);
}

.ranker-step-card:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, #f3f7ff 100%);
}

.ranker-step-card:nth-child(4) {
  background: linear-gradient(145deg, #ffffff 0%, #fff4e8 100%);
}

.ranker-step-card:nth-child(5) {
  background: linear-gradient(145deg, #ffffff 0%, #f6f4ff 100%);
}

.step-card span {
  position: absolute;
  top: 21px;
  right: 23px;
  color: #d4dce7;
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.step-card h3 {
  margin: 26px 0 7px;
  color: var(--navy-900);
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.6;
}

.ranker-method-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  color: var(--white);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  box-shadow: var(--shadow-sm);
}

.ranker-method-panel small {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ranker-method-panel strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.25;
}

.ranker-method-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.ranker-steps-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ranker-steps-grid::before {
  right: 10%;
  left: 10%;
}

.ranker-step-card {
  display: flex;
  min-height: 238px;
  flex-direction: column;
  border-top: 4px solid var(--gold-500);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.055);
}

.ranker-step-card:nth-child(2) {
  border-top-color: #0f766e;
}

.ranker-step-card:nth-child(3) {
  border-top-color: var(--navy-700);
}

.ranker-step-card:nth-child(4) {
  border-top-color: #b45309;
}

.ranker-step-card:nth-child(5) {
  border-top-color: #7c3aed;
}

.ranker-step-card h3 {
  min-height: 42px;
}

.ranker-step-card > strong {
  display: block;
  margin-top: auto;
  padding-top: 13px;
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.45;
}

.merit-outcome-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.merit-outcome-strip div {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(17, 49, 90, 0.11);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.04);
}

.merit-outcome-strip div:nth-child(2) {
  background: linear-gradient(135deg, #ffffff 0%, #fff7df 100%);
}

.merit-outcome-strip div:nth-child(3) {
  background: linear-gradient(135deg, #ffffff 0%, #effbf5 100%);
}

.merit-outcome-strip div:nth-child(4) {
  background: linear-gradient(135deg, #ffffff 0%, #f6f4ff 100%);
}

.merit-outcome-strip small {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--navy-900);
  font-size: 10px;
  font-weight: 900;
}

.merit-outcome-strip strong {
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.35;
}

.contact-section {
  padding-top: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  padding: 34px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.065);
}

.contact-grid h2 {
  margin: 9px 0 10px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.contact-grid p {
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.75;
}

.contact-details {
  display: grid;
  gap: 11px;
  margin-top: 20px;
}

.contact-details a,
.contact-details > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  color: var(--navy-800);
  border: 1px solid rgba(17, 49, 90, 0.11);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
  font-size: 13px;
  font-weight: 800;
}

.contact-details > span {
  background: linear-gradient(135deg, #ffffff 0%, #fff7df 100%);
}

.contact-details a:last-child {
  background: linear-gradient(135deg, #ffffff 0%, #effbf5 100%);
}

.contact-details svg {
  width: 18px;
  height: 18px;
  color: #b46d00;
}

.contact-details small {
  display: block;
  color: var(--slate-600);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(17, 49, 90, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
  border-radius: 7px;
  background: var(--white);
  outline: none;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(17, 49, 90, 0.1);
}

.contact-help-note {
  margin: -2px 0 0;
  color: var(--slate-600);
  font-size: 0.78rem;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  color: var(--slate-600);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form .consent-line,
.modal .consent-line {
  display: flex;
}

.consent-line input {
  flex: 0 0 auto;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 2px;
  accent-color: var(--green-600);
}

.modal .consent-line,
.contact-form .consent-line {
  align-items: flex-start;
  gap: 9px;
  padding: 11px 12px;
}

.modal .consent-line input[type="checkbox"],
.contact-form .consent-line input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
}

.modal .consent-line span,
.contact-form .consent-line span {
  display: block;
  min-width: 0;
  line-height: 1.5;
}

.consent-line a {
  color: var(--green-700);
  font-weight: 800;
}

.transparency-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.transparency-grid article {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 22px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.065);
}

.transparency-grid article:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, #fff7df 100%);
}

.transparency-grid article:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, #effbf5 100%);
}

.transparency-grid article:nth-child(4) {
  background: linear-gradient(145deg, #ffffff 0%, #f6f4ff 100%);
}

.transparency-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green-700);
  background: #dcfce7;
  font-size: 12px;
  font-weight: 900;
}

.transparency-grid h3 {
  margin: 18px 0 8px;
  color: var(--slate-900);
  font-size: 18px;
}

.transparency-grid p {
  flex: 1;
  margin: 0;
  color: var(--slate-600);
  font-size: 13px;
  line-height: 1.6;
}

.transparency-grid a {
  margin-top: 18px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 900;
}

.cta-section {
  padding-top: 0;
  background: var(--white);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 43px 48px;
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(11, 31, 58, 0.98), rgba(12, 45, 81, 0.96)),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  max-width: 640px;
  margin-block: 10px 8px;
  color: var(--white);
  font-size: clamp(30px, 3vw, 42px);
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.cta-box .btn {
  flex: 0 0 auto;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 1.2fr 1fr;
  gap: 30px;
  padding: 60px 0 46px;
}

.brand-light {
  color: var(--white);
}

.brand-light strong {
  color: #ffffff;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.brand-light .brand-title-main {
  color: #ffffff;
}

.brand-light .brand-title-accent {
  color: #f6d27b;
}

.brand-light small {
  color: #f6d27b;
  text-shadow: 0 5px 14px rgba(0, 0, 0, 0.28);
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer h3 {
  margin: 4px 0 14px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 9px;
  font-size: 12px;
}

.site-footer a:hover {
  color: var(--gold-400);
}

.site-footer .footer-subheading {
  display: block;
  margin-top: 18px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer .footer-community-link,
.footer-community-strip .footer-community-link {
  align-items: center;
}

.site-footer .footer-community-link svg,
.footer-community-strip .footer-community-link svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-footer .telegram-link svg,
.footer-community-strip .telegram-link svg {
  color: #73bfe2;
}

.site-footer .whatsapp-link svg,
.footer-community-strip .whatsapp-link svg {
  color: #76d6a6;
}

.footer-community-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-community-strip > strong {
  color: #ffffff;
  font-size: 13px;
}

.footer-community-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.site-footer .footer-community-strip a {
  margin-top: 0;
}

.site-footer .brand-light > span {
  align-items: center;
  gap: 3px;
  margin-top: 0;
  text-align: center;
}

.site-footer .brand-light strong {
  font-size: 22px;
}

.site-footer .brand-light small {
  font-size: 10.5px;
}

.site-footer svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 11px;
}

.modal {
  width: min(calc(100% - 32px), 450px);
  max-height: min(90vh, 900px);
  padding: 28px;
  overflow-y: auto;
  border: 0;
  border-radius: var(--radius);
  color: var(--slate-900);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.modal::backdrop {
  background: rgba(5, 17, 35, 0.72);
  backdrop-filter: blur(4px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--slate-700);
  border: 0;
  border-radius: 50%;
  background: var(--slate-100);
  font-size: 22px;
  line-height: 1;
  place-items: center;
}

.modal-mark {
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--white);
  border-radius: 12px;
  background: var(--navy-900);
  place-items: center;
}

.modal h2 {
  margin: 18px 0 6px;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: 0;
}

.modal p {
  margin: 0 0 18px;
  color: var(--slate-600);
  font-size: 13px;
}

.modal form,
.modal label {
  display: grid;
  gap: 12px;
}

.modal label,
.modal .field-group {
  gap: 5px;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 800;
}

.modal .field-group {
  display: grid;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 11px;
  color: var(--slate-900);
  border: 1px solid var(--slate-200);
  border-radius: 7px;
  background: var(--white);
  outline: none;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(17, 49, 90, 0.1);
}

.password-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--slate-200);
  border-radius: 7px;
  background: var(--white);
}

.password-input-shell:focus-within {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(17, 49, 90, 0.1);
}

.modal .password-input-shell input {
  min-height: 42px;
  padding-right: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.modal .password-input-shell input:focus {
  box-shadow: none;
}

.password-visibility-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--slate-500);
  border: 0;
  border-left: 1px solid var(--slate-100);
  background: transparent;
  cursor: pointer;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus-visible {
  color: var(--navy-800);
}

.password-visibility-toggle:focus-visible {
  outline: 2px solid rgba(17, 49, 90, 0.28);
  outline-offset: -4px;
}

.password-visibility-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-visibility-toggle .password-icon-eye-off,
.password-visibility-toggle.is-visible .password-icon-eye {
  display: none;
}

.password-visibility-toggle.is-visible .password-icon-eye-off {
  display: block;
}

.modal .btn {
  margin-top: 5px;
}

.account-dialog {
  width: min(calc(100% - 32px), 1080px);
  max-height: min(92vh, 920px);
  overflow: auto;
}

.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--slate-200);
}

.account-tabs button {
  padding: 8px 10px;
  color: var(--navy-800);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  background: var(--white);
  font-size: 11px;
  font-weight: 900;
}

.account-tabs button.active {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.account-panel {
  display: none;
}

.account-panel.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 12px;
}

.account-panel[data-account-panel="register"] .form-grid {
  gap: 12px;
}

.account-panel[data-account-panel="register"] .form-grid > label,
.account-panel[data-account-panel="register"] .form-grid > .field-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(17, 49, 90, 0.09);
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.035);
}

.account-panel[data-account-panel="register"] .form-grid > label > input,
.account-panel[data-account-panel="register"] .form-grid > label > select,
.account-panel[data-account-panel="register"] .password-input-shell {
  margin-top: 3px;
}

.registration-mobile-field {
  grid-column: 1 / -1;
}

.select-help {
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.password-help.is-strong {
  color: #0f7b57;
}

.account-note,
.account-security-note {
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 11px !important;
  line-height: 1.55;
}

.account-note {
  margin-top: 12px !important;
  color: #7a4b00 !important;
  background: var(--gold-100);
}

.account-security-note {
  margin-top: 18px !important;
  color: var(--slate-600) !important;
  background: var(--slate-100);
}

.account-text-button {
  margin-top: 13px;
  padding: 0;
  color: #9b5b00;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
}

.account-login-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.account-login-action {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
  min-height: 62px;
  padding: 11px 13px;
  color: var(--navy-950);
  text-align: left;
  border: 1px solid #d6e1ed;
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff, #f4f8fc);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.05);
}

.account-login-action:hover,
.account-login-action:focus-visible {
  border-color: #8ca7c2;
  background: #eef5fb;
  box-shadow: 0 10px 22px rgba(11, 31, 58, 0.09);
}

.account-login-action span {
  font-size: 12px;
  font-weight: 900;
}

.account-login-action small {
  color: var(--slate-600);
  font-size: 10.5px;
  font-weight: 750;
}

.verification-card,
.profile-empty {
  padding: 17px;
  border: 1px solid var(--slate-200);
  border-radius: 9px;
  background: var(--slate-50);
}

.verification-card p,
.profile-empty p {
  margin: 5px 0 14px;
}

.password-reset-card form[hidden] {
  display: none !important;
}

.password-reset-card form:not([hidden]) {
  display: grid;
  gap: 12px;
}

.verification-session-code {
  display: block;
  margin-top: 10px;
  color: #7a4b00;
  font-size: 11px;
  font-weight: 800;
}

.otp-resend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: 8px;
  background: #eef6ff;
}

.otp-resend-row[hidden] {
  display: none !important;
}

.otp-validity {
  color: var(--slate-700);
  font-size: 12px;
  font-weight: 800;
}

.otp-resend-button {
  margin-top: 0;
  font-size: 12px;
}

.otp-resend-button:disabled {
  color: var(--slate-500);
  cursor: not-allowed;
}

.trusted-device-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.trusted-device-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
}

.trusted-device-option input {
  margin-top: 3px;
}

.trusted-device-option strong,
.trusted-device-option small {
  display: block;
}

.trusted-device-option strong {
  color: var(--navy-900);
  font-size: 12px;
}

.trusted-device-option small {
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 700;
}

.profile-heading {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  color: var(--white);
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e 58%, #8a5b08 100%);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.14);
}

.profile-avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), #fef3c7);
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.2);
}

.profile-title-block {
  min-width: 0;
}

.profile-heading small {
  color: #99f6e4;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-heading h3,
.profile-purchases h3,
.profile-progress-head h3 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 22px;
}

.profile-heading h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.profile-heading p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
}

.profile-heading .account-text-button {
  align-self: start;
  margin-top: 0;
  padding: 8px 10px;
  color: var(--navy-950);
  border-radius: 8px;
  background: var(--gold-400);
  font-size: 11px;
}

.profile-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.profile-meta-chips span {
  min-height: 24px;
  padding: 4px 8px;
  color: #dffdfa;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 900;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.profile-field {
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(17, 49, 90, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 8px 18px rgba(11, 31, 58, 0.04);
}

.profile-field:nth-child(3n + 2) {
  background: linear-gradient(145deg, #ffffff 0%, #fff8e8 100%);
}

.profile-field:nth-child(3n) {
  background: linear-gradient(145deg, #ffffff 0%, #eefbf5 100%);
}

.profile-field.locked {
  border-color: rgba(11, 42, 102, 0.14);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
}

.profile-field.locked small::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: #0f766e;
  vertical-align: middle;
}

.profile-field small,
.profile-field strong {
  display: block;
}

.profile-field small {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-field strong {
  margin-top: 3px;
  color: var(--navy-900);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.profile-edit-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 10px;
  background: linear-gradient(135deg, #f8fbff 0%, #ecfdf5 100%);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.profile-edit-head,
.profile-edit-actions,
.performance-report-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.profile-edit-head {
  margin-bottom: 14px;
}

.profile-edit-head small,
.performance-report-title small {
  color: #0f766e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-edit-head h3,
.performance-report-title h2 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.16;
}

.profile-edit-head > span,
.performance-report-title > span {
  flex: 0 0 auto;
  max-width: 270px;
  padding: 8px 11px;
  color: var(--navy-900);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #ecfdf5 0%, #fff7df 100%);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
}

.profile-locked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 12px;
}

.profile-locked-grid div {
  min-width: 0;
  padding: 11px;
  border: 1px solid rgba(11, 42, 102, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.profile-locked-grid small,
.profile-locked-grid strong {
  display: block;
}

.profile-locked-grid small {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-locked-grid strong {
  margin-top: 3px;
  color: var(--navy-900);
  font-size: 12px;
  overflow-wrap: anywhere;
}

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

.profile-edit-grid label {
  display: grid;
  gap: 6px;
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.profile-edit-grid input {
  min-height: 42px;
  width: 100%;
  padding: 0 11px;
  color: var(--navy-900);
  border: 1px solid rgba(17, 49, 90, 0.14);
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.profile-edit-actions {
  justify-content: flex-end;
  margin-top: 13px;
}

.candidate-performance-report {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 118px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 42%, #f1fbf5 100%);
  box-shadow: 0 20px 44px rgba(11, 31, 58, 0.09);
}

.candidate-performance-report::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-900), #0f766e 52%, #d89b19);
}

.candidate-performance-report .profile-progress {
  position: relative;
  margin-top: 14px;
  z-index: 1;
}

.profile-purchases {
  margin-top: 20px;
}

.profile-progress {
  margin-top: 18px;
}

.profile-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 44%, #fff7df 100%);
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.045);
}

.profile-progress-head small {
  color: #0f766e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-progress-head span {
  flex: 0 0 auto;
  padding: 9px 12px;
  color: var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(11, 31, 58, 0.16);
}

.progress-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.progress-summary-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 104px;
  padding: 15px;
  border: 1px solid rgba(17, 49, 90, 0.1);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow:
    inset 0 3px 0 rgba(37, 99, 235, 0.7),
    0 10px 22px rgba(11, 31, 58, 0.055);
}

.progress-summary-card:nth-child(2) {
  background: linear-gradient(145deg, #ffffff 0%, #fff7df 100%);
  box-shadow:
    inset 0 3px 0 rgba(216, 155, 25, 0.86),
    0 10px 22px rgba(11, 31, 58, 0.055);
}

.progress-summary-card:nth-child(3) {
  background: linear-gradient(145deg, #ffffff 0%, #effbf5 100%);
  box-shadow:
    inset 0 3px 0 rgba(15, 118, 110, 0.78),
    0 10px 22px rgba(11, 31, 58, 0.055);
}

.progress-summary-card:nth-child(4) {
  background: linear-gradient(145deg, #ffffff 0%, #f6f4ff 100%);
  box-shadow:
    inset 0 3px 0 rgba(124, 58, 237, 0.52),
    0 10px 22px rgba(11, 31, 58, 0.055);
}

.progress-summary-card small,
.progress-summary-card span {
  display: block;
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 800;
}

.progress-summary-card strong {
  display: block;
  margin: 4px 0;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.profile-focus-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 14px;
}

.profile-focus-strip div {
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.profile-focus-strip div:nth-child(2) {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #fff7df 100%);
}

.profile-focus-strip div:nth-child(3) {
  border-color: rgba(37, 99, 235, 0.14);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.profile-focus-strip small,
.profile-focus-strip strong,
.profile-focus-strip span {
  display: block;
}

.profile-focus-strip small {
  color: var(--slate-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-focus-strip strong {
  margin: 4px 0;
  color: var(--navy-900);
  font-size: 19px;
  line-height: 1.15;
}

.profile-focus-strip span {
  color: var(--slate-600);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.course-progress-list {
  display: grid;
  gap: 12px;
}

.sample-focus-strip {
  margin-top: 14px;
}

.sample-reattempt-action {
  margin-top: 12px;
}

.course-progress-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(11, 31, 58, 0.075);
}

.simple-course-card {
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 52%, #f1fbf5 100%);
}

.simple-course-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f766e, #d89b19);
}

.course-progress-top,
.course-progress-score,
.progress-metric-head,
.recent-progress-title,
.recent-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-progress-top {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-200);
  z-index: 1;
}

.course-progress-top small {
  color: #9b5b00;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-progress-top h4 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: 18px;
}

.course-progress-top > span {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(11, 31, 58, 0.18);
}

.course-progress-score {
  position: relative;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid rgba(17, 49, 90, 0.06);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.86);
  z-index: 1;
}

.course-progress-score strong {
  color: var(--navy-900);
  font-size: 20px;
}

.course-progress-score small {
  color: var(--slate-600);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.course-progress-score > div:first-child {
  min-width: 0;
}

.course-progress-score > div:first-child small {
  text-align: left;
}

.course-progress-mini {
  flex: 0 1 280px;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
  box-shadow: inset 0 1px 2px rgba(11, 31, 58, 0.12);
}

.course-progress-mini span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy-900) 0%, #0f766e 54%, #d89b19 100%);
}

.course-tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.course-tool-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  color: #0f766e;
  background: rgba(236, 253, 245, 0.82);
  font-size: 10px;
  font-weight: 900;
}

.course-tool-row .course-tool-label {
  border-color: rgba(17, 49, 90, 0.1);
  color: var(--slate-600);
  background: #ffffff;
}

.course-tool-row span:nth-child(3) {
  border-color: rgba(216, 155, 25, 0.24);
  color: #9b5b00;
  background: rgba(255, 247, 223, 0.9);
}

.course-tool-row span:nth-child(4) {
  border-color: rgba(37, 99, 235, 0.14);
  color: #1d4ed8;
  background: rgba(239, 246, 255, 0.92);
}

.topic-map-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  z-index: 1;
}

.topic-map-box {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: inset 0 3px 0 rgba(15, 118, 110, 0.58);
}

.topic-map-box.weak {
  border-color: rgba(216, 155, 25, 0.24);
  background: linear-gradient(145deg, #ffffff 0%, #fff7df 100%);
  box-shadow: inset 0 3px 0 rgba(216, 155, 25, 0.78);
}

.topic-map-box[open] {
  border-color: rgba(15, 118, 110, 0.34);
  box-shadow:
    inset 0 3px 0 rgba(15, 118, 110, 0.78),
    0 10px 22px rgba(11, 31, 58, 0.06);
}

.topic-map-box.weak[open] {
  border-color: rgba(216, 155, 25, 0.4);
  box-shadow:
    inset 0 3px 0 rgba(216, 155, 25, 0.86),
    0 10px 22px rgba(11, 31, 58, 0.06);
}

.topic-map-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 13px 14px;
  list-style: none;
}

.topic-map-box summary::-webkit-details-marker {
  display: none;
}

.topic-map-box summary small,
.topic-map-box summary em {
  display: block;
}

.topic-map-box summary small {
  color: var(--navy-900);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-map-box summary em {
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.topic-map-box summary strong {
  display: grid;
  flex: 0 0 auto;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(236, 253, 245, 0.95);
  font-size: 12px;
  font-weight: 950;
}

.topic-map-box.weak summary strong {
  color: #b45309;
  background: rgba(255, 247, 223, 0.95);
}

.topic-pill-list {
  display: grid;
  gap: 8px;
}

.topic-map-box > .topic-pill-list {
  max-height: 260px;
  padding: 0 12px 12px;
  overflow: auto;
}

.topic-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 8px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 8px 16px rgba(11, 31, 58, 0.04);
}

.topic-pill.weak {
  border-color: rgba(216, 155, 25, 0.24);
}

.topic-pill-main {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.topic-pill-main > span {
  min-width: 0;
  color: var(--navy-900);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.topic-pill.empty > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.topic-pill small {
  width: max-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(236, 253, 245, 0.95);
  font-size: 10px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.topic-pill.weak small {
  color: #b45309;
  background: rgba(255, 247, 223, 0.95);
}

.topic-pill-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.topic-pill-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 28px;
  padding: 6px 9px;
  color: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  box-shadow: 0 8px 14px rgba(11, 31, 58, 0.12);
  font-size: 10px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.topic-pill-actions a:hover {
  transform: translateY(-1px);
}

.topic-pill.weak .topic-pill-actions a {
  background: linear-gradient(135deg, #8a3b12, #d89b19);
}

.topic-pill-actions.muted {
  color: var(--slate-500);
  font-size: 10px;
  font-weight: 850;
}

.topic-pill.empty {
  justify-content: flex-start;
  color: var(--slate-600);
  background: #f8fafc;
}

.topic-more-list {
  min-width: 0;
}

.topic-more-list summary {
  cursor: pointer;
  padding: 8px 9px;
  border: 1px dashed rgba(17, 49, 90, 0.18);
  border-radius: 8px;
  color: var(--slate-600);
  background: rgba(248, 250, 252, 0.82);
  font-size: 11px;
  font-weight: 900;
  list-style-position: inside;
}

.topic-more-list .topic-pill-list {
  margin-top: 7px;
}

.course-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.progress-metric {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: #ffffff;
}

.progress-metric-head span {
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 900;
}

.progress-metric-head strong {
  color: #0f766e;
  font-size: 12px;
}

.progress-track {
  height: 7px;
  margin: 8px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #d89b19);
}

.progress-metric small {
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 800;
}

.recent-progress {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-200);
}

.recent-progress-title {
  margin-bottom: 8px;
}

.recent-progress-title strong {
  color: var(--navy-900);
  font-size: 12px;
}

.recent-progress-title span {
  color: var(--slate-600);
  font-size: 10px;
  font-weight: 900;
}

.recent-progress-row {
  padding: 9px 0;
  border-top: 1px dashed var(--slate-200);
}

.profile-attempt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.recent-progress-row:first-of-type {
  border-top: 0;
}

.recent-progress-row div {
  min-width: 0;
}

.recent-progress-row strong,
.recent-progress-row small {
  display: block;
}

.recent-progress-row strong {
  color: var(--navy-900);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.recent-progress-row small,
.recent-progress-row em {
  color: var(--slate-600);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.recent-progress-row span {
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.attempt-score-pill {
  display: grid;
  min-width: 72px;
  place-items: center;
  padding: 7px 9px;
  border-radius: 8px;
  background: #ecfdf5;
}

.attempt-score-pill strong {
  color: #0f5132;
  font-size: 14px;
}

.attempt-score-pill small {
  color: #0f766e;
}

.attempt-risk-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.attempt-risk-line span,
.attempt-risk-line em {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--slate-100);
}

.attempt-risk-line span:first-child {
  color: #991b1b;
  background: #fee2e2;
}

.attempt-risk-line span:nth-child(2) {
  color: #92400e;
  background: #fef3c7;
}

.progress-empty {
  padding: 10px;
  color: var(--slate-600);
  border: 1px dashed var(--slate-300);
  border-radius: 8px;
  background: var(--slate-50);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.purchase-empty {
  margin-top: 10px;
  padding: 12px;
  color: var(--slate-600);
  border: 1px dashed var(--slate-300);
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.6;
}

.purchase-empty strong,
.purchase-empty p {
  display: block;
  margin: 0 0 6px;
}

.purchase-empty strong {
  color: var(--navy-900);
}

.purchase-empty p {
  color: var(--slate-600);
}

.purchase-course-card {
  display: grid;
  gap: 11px;
  margin-top: 10px;
  padding: 15px;
  border: 1px solid rgba(17, 49, 90, 0.12);
  border-left: 5px solid #0f766e;
  border-radius: 9px;
  background: linear-gradient(145deg, #ffffff 0%, #f1fbf5 100%);
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.06);
}

.purchase-course-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.purchase-course-top small {
  color: #0f766e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-course-top h4 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: 16px;
  line-height: 1.25;
}

.purchase-course-top > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #0f5132;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  background: #dcfce7;
  font-size: 10px;
  font-weight: 900;
}

.purchase-course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.purchase-course-meta span {
  padding: 5px 8px;
  color: var(--slate-700);
  border: 1px solid rgba(17, 49, 90, 0.1);
  border-radius: 999px;
  background: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.purchase-course-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--white);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), #0f766e);
  font-size: 12px;
  font-weight: 900;
}

.purchase-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
  padding: 11px;
  color: var(--navy-900);
  border: 1px solid var(--slate-200);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
}

.purchase-link:hover {
  color: #9b5b00;
  border-color: var(--gold-400);
  background: var(--gold-100);
}

.toast {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  max-width: 360px;
  padding: 13px 16px;
  color: var(--white);
  border-radius: 10px;
  background: var(--green-700);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: 200ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .navbar {
    gap: 18px;
  }

  .nav-menu {
    gap: 16px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.88fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .floating-note {
    display: none;
  }

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

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

  .course-card.pma-library-card {
    min-height: 430px;
  }

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

  .suite-card-dark {
    grid-column: 1 / -1;
  }

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

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

  .ranker-steps-grid::before {
    display: none;
  }

  .merit-outcome-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .announcement a,
  .nav-actions {
    display: none;
  }

  .announcement-inner {
    min-height: 48px;
    padding-block: 5px;
  }

  .announcement-notices {
    width: 100%;
  }

  .announcement-set p + p {
    padding-left: 0;
    border-left: 0;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-top: 1px solid var(--slate-200);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 180ms ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--slate-200);
  }

  .nav-menu a[data-my-courses-link] {
    min-height: auto;
    margin: 8px 16px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .nav-account-link {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--slate-200);
  }

  .candidate-home {
    padding: 30px 0 46px;
  }

  .candidate-home-head,
  .candidate-home-grid {
    grid-template-columns: 1fr;
  }

  .candidate-home-head {
    display: grid;
    align-items: start;
  }

  .candidate-home-profile {
    width: max-content;
  }

  .candidate-home-grid {
    display: grid;
  }

  .my-courses-page .candidate-home {
    padding: 34px 0 48px;
  }

  .my-courses-page .candidate-home-head {
    gap: 16px;
    padding: 18px;
  }

  .my-courses-page .candidate-course-card,
  .my-courses-page.single-course-mode .candidate-course-card {
    padding: 16px;
  }

  .my-courses-page .candidate-course-top {
    gap: 12px;
  }

  .my-courses-page .candidate-course-top h2,
  .my-courses-page.single-course-mode .candidate-course-top h2 {
    font-size: 21px;
    line-height: 1.14;
  }

  .my-courses-page .candidate-course-top > span {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    font-size: 14px;
  }

  .course-title-main {
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .my-courses-page .candidate-course-action {
    min-height: 44px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-showcase {
    display: none;
  }

  .hero-proof-row {
    max-width: 100%;
  }

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

  .compliance-card {
    grid-template-columns: 1fr;
  }

  .compliance-links {
    justify-content: flex-start;
  }

  .quick-item:nth-child(odd) {
    border-left: 1px solid var(--slate-200);
  }

  .quick-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--slate-200);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .steps-grid::before {
    display: none;
  }

  .ranker-method-panel {
    grid-template-columns: 1fr;
  }

  .pma-library-head {
    grid-template-columns: 1fr;
  }

  .pma-library-copy {
    min-height: 0;
  }

  .pma-library-visual,
  .pma-library-visual img {
    min-height: 260px;
  }

  .pma-library-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .pma-library-status {
    min-width: 0;
    width: min(260px, 100%);
  }

  .pma-coming-ribbon {
    right: 12px;
    width: 104px;
    transform: none;
  }

  .ranker-step-card {
    min-height: 0;
  }

  .merit-outcome-strip {
    grid-template-columns: 1fr;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .exams-section {
    padding-bottom: 50px;
  }

  .steps-section {
    padding-top: 52px;
  }

  .announcement-inner {
    min-height: 50px;
  }

  .announcement p {
    gap: 6px;
    font-size: 9px;
    white-space: nowrap;
  }

  .navbar {
    min-height: 74px;
  }

  .nav-menu {
    top: 100%;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

  .brand img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }

  .brand strong {
    gap: 5px;
    font-size: 16px;
    letter-spacing: 0.035em;
  }

  .brand small {
    font-size: 8px;
    gap: 5px;
    letter-spacing: 0.11em;
  }

  .brand small::before,
  .brand small::after {
    width: 12px;
    flex-basis: 12px;
  }

  .hero-grid {
    padding-top: 48px;
    padding-bottom: 46px;
    grid-template-columns: minmax(0, 1fr);
    width: min(calc(100% - 32px), var(--container));
    max-width: 100%;
    gap: 24px;
  }

  .hero h1 {
    margin-top: 13px;
    font-size: 35px;
    letter-spacing: 0;
    line-height: 1.06;
  }

  .hero-copy,
  .hero-copy > p {
    width: 100%;
    max-width: 100%;
  }

  .hero-copy > p {
    font-size: 16px;
    line-height: 1.65;
  }

  .growth-tagline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 0;
    padding: 14px;
  }

  .growth-tagline i {
    display: none;
  }

  .tagline-step {
    justify-content: flex-start;
    padding: 5px;
  }

  .tagline-step strong {
    font-size: 20px;
  }

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

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

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

  .hero-proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 18px;
  }

  .hero-proof-row span {
    padding: 9px 7px;
  }

  .hero-proof-row strong {
    font-size: 16px;
  }

  .hero-proof-row small {
    font-size: 10px;
    line-height: 1.25;
  }

  .preparation-suite {
    padding-top: 30px;
  }

  .suite-card {
    min-height: 0;
  }

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

  .quick-item,
  .quick-item:first-child,
  .quick-item:nth-child(odd),
  .quick-item:nth-child(-n + 2) {
    min-height: 78px;
    padding-inline: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--slate-200);
    border-left: 0;
  }

  .quick-item:last-child {
    border-bottom: 0;
  }

  .course-tabs {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .course-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .why-proof-grid,
  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 0;
  }

  .course-card.pma-library-card {
    min-height: 0;
  }

  .course-card.pma-library-card::before {
    background:
      linear-gradient(180deg, rgba(6, 22, 44, 0.94) 0%, rgba(6, 22, 44, 0.76) 42%, rgba(2, 11, 23, 0.88) 100%),
      linear-gradient(90deg, rgba(6, 22, 44, 0.68), rgba(6, 22, 44, 0.12));
  }

  .pma-showcase-image {
    height: 245px;
    object-position: 56% top;
  }

  .pma-showcase-content {
    padding: 22px 18px 8px;
  }

  .course-card.pma-library-card .pma-showcase-content h3 {
    max-width: calc(100% - 58px);
    font-size: 28px;
    line-height: 1.06;
  }

  .course-card.pma-library-card .pma-showcase-content p {
    font-size: 12px;
    line-height: 1.55;
  }

  .pma-showcase-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .pma-showcase-actions span,
  .pma-showcase-actions strong {
    flex: 1 1 145px;
    justify-content: center;
    min-height: 38px;
    padding: 9px 10px;
    font-size: 11px;
  }

  .pma-library-head {
    gap: 12px;
    padding: 14px;
  }

  .pma-library-copy {
    padding: 20px;
  }

  .course-card.pma-library-card .pma-library-head h3 {
    max-width: calc(100% - 58px);
    font-size: 25px;
  }

  .pma-coming-ribbon {
    top: 14px;
    right: 12px;
    width: 104px;
    padding-block: 7px;
    transform: none;
  }

  .pma-coming-ribbon span {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .pma-coming-ribbon strong {
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .pma-library-visual,
  .pma-library-visual img {
    min-height: 210px;
  }

  .pma-library-visual img {
    object-position: 58% center;
  }

  .pma-library-visual figcaption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: center;
  }

  .pma-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 8px 14px 12px;
  }

  .pma-book {
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 128px;
  }

  .pma-book-spine {
    font-size: 7px;
    letter-spacing: 0.06em;
  }

  .pma-book-body {
    gap: 5px;
    padding: 10px 8px;
  }

  .pma-book-body svg {
    width: 22px;
    height: 22px;
  }

  .pma-book-body small {
    font-size: 8px;
  }

  .pma-book-body strong {
    font-size: 11px;
    line-height: 1.18;
  }

  .pma-book-body span {
    display: none;
  }

  .pma-library-footer {
    margin: 0 14px 14px;
    padding: 14px;
  }

  .pma-library-footer strong {
    width: 100%;
  }

  .course-card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .text-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .feature-card {
    min-height: 180px;
  }

  .cta-section {
    padding-top: 0;
  }

  .cta-box {
    padding: 30px 24px;
  }

  .cta-box .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0 26px;
  }

  .site-footer .footer-grid > div {
    gap: 5px;
  }

  .site-footer .footer-grid h3 {
    margin: 0 0 5px;
  }

  .site-footer .footer-grid > div > a {
    min-height: 0;
    margin-top: 0;
    padding: 3px 0;
    line-height: 1.4;
  }

  .site-footer .footer-brand p {
    margin-top: 10px;
  }

  .site-footer .footer-bottom {
    gap: 3px;
    padding: 12px 0;
  }

  .footer-community-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
  }

  .footer-community-strip > div {
    flex-direction: column;
    gap: 2px;
  }

  .contact-grid,
  .form-grid,
  .profile-grid,
  .profile-locked-grid,
  .profile-edit-grid,
  .progress-summary-grid,
  .profile-focus-strip,
  .topic-map-grid,
  .course-progress-grid {
    grid-template-columns: 1fr;
  }

  .candidate-course-stats {
    grid-template-columns: 1fr;
  }

  .profile-progress-head,
  .profile-heading,
  .profile-edit-head,
  .profile-edit-actions,
  .performance-report-title,
  .purchase-course-top,
  .course-progress-score,
  .recent-progress-row {
    align-items: flex-start;
  }

  .profile-heading {
    grid-template-columns: 1fr;
  }

  .profile-heading .account-text-button {
    width: max-content;
  }

  .profile-progress-head,
  .profile-edit-actions,
  .course-progress-score {
    flex-direction: column;
  }

  .profile-edit-actions .btn {
    width: 100%;
  }

  .purchase-course-top {
    flex-direction: column;
  }

  .course-progress-score small {
    text-align: left;
  }

  .course-progress-mini {
    width: 100%;
    flex-basis: auto;
  }

  .contact-grid {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .modal {
    width: min(calc(100% - 22px), 450px);
    max-height: min(88vh, 760px);
    padding: 20px;
    border-radius: 14px;
  }

  .account-dialog {
    max-height: min(90vh, 780px);
  }

  .account-tabs {
    gap: 6px;
    margin: 14px 0;
    padding-bottom: 12px;
  }

  .account-tabs button {
    flex: 1 1 auto;
    min-height: 40px;
  }
}

@media (max-width: 420px) {
  .account-login-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .course-title-main {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .course-title-level {
    line-height: 1.08;
  }

  .home-early-bird-price small {
    white-space: normal;
  }

  .hero-proof-row span,
  .course-card,
  .pma-book,
  .transparency-grid article {
    min-width: 0;
  }

  .pma-library-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .candidate-performance-report {
    padding: 16px;
  }

  .performance-report-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .performance-report-title > span {
    flex: 0 1 auto;
    max-width: 100%;
    border-radius: 8px;
  }

  .topic-pill {
    grid-template-columns: 1fr;
  }

  .topic-pill-actions {
    justify-content: flex-start;
  }

  .topic-pill-actions a {
    flex: 1 1 118px;
  }
}

@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.course-card.pma-library-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  padding: 0;
  color: #ffffff;
  background: #06162c;
}

.course-card.pma-library-card .pma-showcase-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card.pma-library-card .pma-showcase-content,
.course-card.pma-library-card .pma-book-grid,
.course-card.pma-library-card .pma-library-footer,
.course-card.pma-library-card .pma-coming-ribbon {
  position: relative;
  z-index: 3;
}

.course-card.pma-library-card .pma-coming-ribbon {
  position: absolute;
  top: 18px;
  right: -34px;
  display: grid;
  width: 176px;
  padding: 8px 10px 9px;
  color: #06162c;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 48%, #fb7185 100%);
  box-shadow: 0 13px 28px rgba(4, 16, 35, 0.24);
  transform: rotate(20deg);
}

@media (max-width: 640px) {
  .course-card.pma-library-card {
    min-height: 560px;
  }

  .course-card.pma-library-card .pma-coming-ribbon {
    right: 12px;
    width: 112px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .nav-toggle,
  .nav-menu a,
  .nav-menu button,
  .site-footer a {
    min-height: 44px;
  }
}

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

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

  .announcement-track {
    width: auto;
    animation: none !important;
  }

  .announcement-set-copy {
    display: none;
  }
}
