:root {
  --brand-red: #d82a4e;
  --brand-red-dark: #b51f40;
  --brand-blue: #1c6fa7;
  --brand-blue-dark: #154e74;
  --brand-yellow: #ffd95a;
  --ink: #15212f;
  --muted: #607081;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --line: rgba(21, 33, 47, 0.1);
  --shadow: 0 24px 60px rgba(16, 39, 68, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 42, 78, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(216, 42, 78, 0.1), transparent 24%),
    linear-gradient(180deg, #fff7f9 0%, #f6eef2 42%, #eef3f8 100%);
  overflow-x: clip;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.container--wide {
  width: min(1380px, calc(100% - 32px));
}

.page-four-up .container--wide {
  width: min(1560px, calc(100% - 16px));
}

.page-shell {
  min-height: 100vh;
  padding: 16px 0 40px;
  overflow-x: clip;
}

.page-shell--footer-flush {
  padding-bottom: 0;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 30;
}

.site-header__inner,
.hero,
.flow-card,
.toolbar,
.courses-section,
.site-footer,
.hero-card,
.note-card,
.dashboard-panel,
.sidebar-card,
.offer-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.brand img {
  width: 170px;
}

.site-header__menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(216, 42, 78, 0.14);
  border-radius: 16px;
  background: rgba(216, 42, 78, 0.06);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--brand-red);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav,
.site-header__actions,
.hero__actions,
.legend-row,
.category-strip,
.course-card__actions,
.modal-actions,
.form-actions,
.sidebar-actions,
.list-filters,
.admin-actions,
.admin-badges,
.admin-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a,
.site-nav__dropdown-toggle,
.link-quiet {
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  padding: 6px;
  border-radius: 999px;
  background: rgba(216, 42, 78, 0.05);
  border: 1px solid rgba(216, 42, 78, 0.08);
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-toggle {
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav__dropdown-toggle:hover,
.site-nav__dropdown.is-open .site-nav__dropdown-toggle {
  color: var(--brand-red);
  background: rgba(216, 42, 78, 0.08);
}

.site-nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 35;
  display: none;
  min-width: 280px;
  max-height: 360px;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(21, 33, 47, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(16, 39, 68, 0.14);
  transform: translateX(-50%);
}

.site-nav__dropdown.is-open .site-nav__dropdown-menu {
  display: grid;
  gap: 6px;
}

.site-nav__dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 14px;
  white-space: nowrap;
}

.site-nav {
  justify-content: center;
  flex: 0 1 auto;
  justify-self: center;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  flex-wrap: nowrap;
}

.header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 48px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(21, 33, 47, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  transition: width 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.header-search.is-open {
  width: 240px;
  padding: 0 14px;
  gap: 8px;
  justify-content: flex-start;
  box-shadow: 0 10px 28px rgba(16, 39, 68, 0.08);
}

.header-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--muted);
  line-height: 1;
}

.header-search__icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  fill: none;
}

.header-search input {
  width: 0;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.header-search.is-open input {
  width: 100%;
  opacity: 1;
  pointer-events: auto;
}

.header-search input::placeholder {
  color: var(--muted);
}

.site-nav a:hover,
.link-quiet:hover {
  color: var(--brand-red);
}

.site-nav a:hover {
  background: rgba(216, 42, 78, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 16px 30px rgba(216, 42, 78, 0.24);
}

.button--secondary {
  color: var(--brand-red);
  background: rgba(216, 42, 78, 0.08);
}

.button--success {
  color: #0d8a47;
  background: rgba(18, 188, 104, 0.14);
}

.main-content {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
}

.hero__copy {
  display: grid;
  align-content: center;
}

.eyebrow,
.hero-card__tag,
.modal-kicker,
.status-pill,
.flow-pill,
.course-flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-pill,
.flow-pill,
.course-flow-tag {
  padding: 8px 12px;
  border-radius: 999px;
}

.eyebrow,
.hero-card__tag,
.modal-kicker {
  color: var(--brand-red);
}

.hero h1,
.toolbar h2,
.panel-heading h2,
.sidebar-card h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.toolbar h2,
.panel-heading h2,
.sidebar-card h1 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.hero p,
.flow-card p,
.toolbar p,
.course-description,
.modal-summary,
.sidebar-card p,
.admin-card p,
.note-card p,
.hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.privacy-hero {
  grid-template-columns: 1fr;
}

.privacy-hero h1 {
  white-space: nowrap;
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
}

.hero__stats,
.flow-grid,
.dashboard-panel--stats,
.dashboard-layout {
  display: grid;
  gap: 18px;
}

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

.hero__stats div,
.stat-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(216, 42, 78, 0.08), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(216, 42, 78, 0.12);
}

.hero__stats strong,
.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero__panel {
  display: grid;
  gap: 16px;
}

.hero-card,
.note-card,
.flow-card,
.toolbar,
.courses-section,
.site-footer,
.dashboard-panel,
.sidebar-card {
  border-radius: var(--radius-xl);
}

.hero-card,
.note-card,
.flow-card,
.toolbar,
.courses-section,
.site-footer,
.dashboard-panel,
.sidebar-card {
  padding: 28px;
}

.hero-card {
  color: #fff;
  background: linear-gradient(160deg, rgba(216, 42, 78, 0.96), rgba(118, 17, 41, 0.96));
}

.hero-card p,
.hero-card__tag {
  color: rgba(255, 255, 255, 0.82);
}

.hero-card img {
  width: 100%;
  height: 240px;
  margin-top: 16px;
  border-radius: 20px;
  object-fit: cover;
  cursor: pointer;
}

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

.flow-card--dark {
  color: #fff;
  background: linear-gradient(145deg, rgba(216, 42, 78, 0.96), rgba(118, 17, 41, 0.96));
}

.flow-card--dark span,
.flow-card--dark h3,
.flow-card--dark p {
  color: #fff;
}

.flow-card--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.flow-pill--direct,
.course-flow-tag--direct,
.status-pill--active {
  color: #0d8a47;
  background: rgba(18, 188, 104, 0.14);
}

.flow-pill--lead,
.course-flow-tag--lead {
  color: #ba6a09;
  background: rgba(255, 174, 0, 0.16);
}

.status-pill--inactive {
  color: #a63d54;
  background: rgba(216, 42, 78, 0.12);
}

.status-pill--neutral {
  color: #45556c;
  background: rgba(69, 85, 108, 0.12);
}

.toolbar {
  display: grid;
  gap: 18px;
}

.category-strip {
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: var(--brand-red);
  background: rgba(216, 42, 78, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

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

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(18, 41, 64, 0.08);
}

.course-card--feature {
  grid-column: span 8;
}

.course-card--empty {
  grid-column: span 12;
}

.course-grid--four-up .course-card {
  grid-column: span 3;
}

.course-grid--four-up .course-card--feature {
  grid-column: span 6;
}

.course-grid--four-up .course-card--empty {
  grid-column: span 12;
}

.course-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.course-card--feature img {
  aspect-ratio: 16 / 8.6;
}

.badge,
.course-flow-tag {
  position: absolute;
  top: 14px;
  z-index: 1;
}

.badge {
  left: 14px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 33, 47, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge--new {
  color: var(--ink);
  background: var(--brand-yellow);
}

.badge--limited {
  color: #fff;
  background: #f08b2d;
}

.badge--exclusive {
  color: #fff;
  background: #7a3048;
}

.badge--employment {
  color: #fff;
  background: #228b5a;
}

.badge--certified {
  color: #fff;
  background: #2f5ea8;
}

.badge--online {
  color: #fff;
  background: #4a5568;
}

.course-flow-tag {
  right: 14px;
}

.course-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.course-meta,
.modal-category {
  margin: 0;
  color: var(--brand-red);
  font-weight: 800;
}

.course-card h3,
.modal-content h2,
.admin-card h3 {
  margin: 8px 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.modal-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.course-card__actions {
  margin-top: auto;
}

.course-card__actions .button {
  flex: 1 1 180px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 18, 28, 0.55);
  backdrop-filter: blur(8px);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(920px, 100%);
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(16, 39, 68, 0.28);
}

.modal-card--course {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
}

.modal-card--lead {
  width: min(560px, 100%);
}

.modal-card--advertiser {
  width: min(760px, 100%);
}

.modal-card--advertiser .modal-content {
  padding: 28px;
}

.modal-card--advertiser .modal-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.modal-card--advertiser .lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.modal-card--advertiser .lead-form label:nth-of-type(5) {
  grid-column: 1 / -1;
}

.modal-card--advertiser .lead-form input,
.modal-card--advertiser .lead-form textarea {
  min-height: 46px;
  padding: 12px 14px;
}

.modal-card--advertiser .lead-form textarea {
  min-height: 110px;
  border-radius: 18px;
  resize: vertical;
  line-height: 1.5;
  field-sizing: content;
}

.modal-card--advertiser .lead-form button {
  min-height: 48px;
}

.modal-card--advertiser .lead-form__consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 2px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.lead-form__checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.lead-form__checkbox input {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.lead-form__checkbox span {
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(21, 33, 47, 0.18);
  border-radius: 6px;
  background: #fff;
}

.lead-form__checkbox input:checked + span {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  border-color: transparent;
}

.lead-form__checkbox input:checked + span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lead-form__consent a {
  color: var(--brand-red);
  font-weight: 800;
}

.lead-form__legal {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.lead-form__status {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 700;
}

.lead-form__status--success {
  color: #15803d;
}

.lead-form__status--error {
  color: #b91c1c;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-content {
  padding: 34px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 1.7rem;
  cursor: pointer;
}

.modal-kicker {
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(216, 42, 78, 0.08);
}

.modal-points {
  margin: 22px 0 0;
  padding-left: 20px;
  line-height: 1.8;
}

.modal-points li + li {
  margin-top: 2px;
}

.modal-points li.is-priority {
  font-weight: 800;
  color: var(--ink);
}

.modal-actions {
  margin-top: 34px;
  padding-top: 8px;
}

.site-footer {
  display: grid;
  gap: 24px;
  margin-top: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 251, 0.96));
}

.site-footer--dark {
  width: auto;
  margin-top: 18px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px max(24px, calc((100dvw - 1280px) / 2)) 28px;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  background:
    radial-gradient(circle at top left, rgba(216, 42, 78, 0.18), transparent 34%),
    linear-gradient(180deg, #172235 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

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

.site-footer__brand img {
  width: 180px;
  margin-bottom: 14px;
}

.site-footer--dark .site-footer__brand img {
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer__bottom {
  color: var(--muted);
  line-height: 1.7;
}

.site-footer--dark h3 {
  color: #fff;
}

.site-footer--dark p,
.site-footer--dark li,
.site-footer--dark a,
.site-footer--dark .site-footer__bottom {
  color: rgba(233, 239, 248, 0.82);
}

.site-footer--dark a:hover {
  color: #fff;
}

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

.footer-cta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-cta p {
  margin: 0;
}

.footer-cta__button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 16px 30px rgba(216, 42, 78, 0.24);
}

.footer-cta__button:hover {
  box-shadow: 0 18px 34px rgba(216, 42, 78, 0.3);
}

.footer-social {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-social p {
  margin: 0;
}

.footer-social__links {
  display: flex;
  gap: 10px;
}

.footer-social__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
}

.footer-social__links a:hover {
  opacity: 0.82;
}

.footer-social__links img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: contain;
  display: block;
}

.site-footer__notice {
  display: grid;
  gap: 10px;
  padding: 18px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__notice strong {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__notice p {
  margin: 0;
}

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

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 33, 47, 0.08);
  font-size: 0.95rem;
}

.site-footer--dark .site-footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.footer-partner {
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #dfe5eb;
  border-top: 1px solid rgba(21, 33, 47, 0.08);
}

.footer-partner__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 24px;
  overflow: hidden;
}

.footer-partner__inner img {
  width: auto;
  height: 28px;
  max-height: 28px;
  object-fit: contain;
}

.assistant-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.assistant-widget__toggle {
  min-width: 110px;
  height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 18px 34px rgba(216, 42, 78, 0.28);
  cursor: pointer;
}

.assistant-widget__panel {
  width: min(340px, calc(100vw - 32px));
  max-height: min(70vh, 620px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 60px rgba(16, 39, 68, 0.18);
  backdrop-filter: blur(14px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.assistant-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.assistant-widget__close {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 33, 47, 0.06);
  cursor: pointer;
}

.assistant-widget__panel p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.assistant-chat {
  display: grid;
  gap: 10px;
  min-height: 0;
  margin-bottom: 10px;
  padding-right: 4px;
  overflow: auto;
}

.assistant-chat__bubble {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.55;
}

.assistant-chat__bubble--bot {
  color: var(--ink);
  background: rgba(216, 42, 78, 0.08);
}

.assistant-chat__bubble--user {
  justify-self: end;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

.assistant-widget__actions {
  display: none;
}

.assistant-widget__actions button {
  width: 100%;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(216, 42, 78, 0.1);
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  background: rgba(216, 42, 78, 0.06);
  cursor: pointer;
}

.assistant-widget__actions button:hover {
  background: rgba(216, 42, 78, 0.1);
}

.assistant-chat__options button {
  width: 100%;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(216, 42, 78, 0.14);
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  background: rgba(216, 42, 78, 0.06);
  cursor: pointer;
}

.assistant-chat__options button:hover {
  background: rgba(216, 42, 78, 0.1);
}

.assistant-chat__options button.is-course-option {
  display: grid;
  gap: 4px;
}

.assistant-chat__options button.is-course-option strong {
  display: block;
  font-size: 0.98rem;
}

.assistant-chat__options button.is-course-option span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.assistant-widget__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.assistant-widget__link {
  padding: 0;
  border: 0;
  color: var(--muted);
  font-weight: 700;
  background: transparent;
  cursor: pointer;
}

.assistant-widget__actions button.is-course-option {
  display: grid;
  gap: 2px;
}

.assistant-widget__actions button.is-course-option strong {
  font-size: 0.96rem;
}

.assistant-widget__actions button.is-course-option span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.assistant-chat__options {
  display: grid;
  gap: 8px;
}

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

.assistant-chat__options--nav button {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 66px;
  padding: 10px 8px;
  text-align: center;
}

.assistant-nav-option__icon {
  font-size: 1.1rem;
  line-height: 1;
}

.assistant-nav-option__label {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.assistant-chat__typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.assistant-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(21, 33, 47, 0.36);
  animation: assistantTyping 1.1s infinite ease-in-out;
}

.assistant-chat__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.assistant-chat__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes assistantTyping {
  0%,
  80%,
  100% {
    transform: scale(0.75);
    opacity: 0.45;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.lead-form,
.course-form,
.form-grid {
  display: grid;
  gap: 10px;
}

.lead-form label,
.form-grid label {
  display: grid;
  gap: 4px;
  align-content: start;
  font-weight: 700;
}

.field-note {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

.lead-form input,
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(21, 33, 47, 0.14);
  border-radius: 16px;
  background: #fff;
}

.form-grid select {
  min-height: 40px;
  padding: 0 12px;
  line-height: 1.2;
}

.form-grid textarea {
  min-height: 78px;
  resize: vertical;
}

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

.form-grid__wide {
  grid-column: 1 / -1;
}

.dashboard-body {
  min-height: 100vh;
}

.dashboard-locked #dashboard-shell {
  display: none;
}

.dashboard-unlocked #admin-auth {
  display: none;
}

.admin-auth {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 100vh;
  width: min(100% - 32px, 520px);
  margin: 0 auto;
}

.admin-auth__card {
  width: 100%;
  padding: 32px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.admin-auth__eyebrow {
  display: block;
  text-align: center;
}

.admin-auth__brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto 22px;
  padding: 0;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 16px 30px rgba(216, 42, 78, 0.2);
  border-radius: 20px;
}

.admin-auth__card h1,
.admin-auth__card > p {
  text-align: center;
}

.admin-auth__brand img {
  width: min(280px, 100%);
}

.admin-auth__form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-auth__form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-auth__form input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(21, 33, 47, 0.14);
  border-radius: 16px;
}

.admin-auth__error {
  margin-top: 14px;
  color: var(--brand-red);
  font-weight: 700;
}

.brand--dashboard {
  display: inline-flex;
  width: fit-content;
  padding: 14px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  box-shadow: 0 16px 30px rgba(216, 42, 78, 0.2);
}

.brand--dashboard img {
  width: 160px;
}

.dashboard-shell {
  display: block;
  width: min(1440px, calc(100% - 32px));
  margin: 16px auto;
}

.dashboard-main {
  display: grid;
  gap: 20px;
}

.dashboard-panel--header {
  padding: 18px 22px;
}

.dashboard-toolbar,
.dashboard-toolbar__copy,
.dashboard-toolbar__actions {
  display: flex;
  gap: 14px;
}

.dashboard-toolbar {
  align-items: center;
  justify-content: space-between;
}

.dashboard-toolbar__copy {
  align-items: center;
  min-width: 0;
}

.dashboard-toolbar__copy > div {
  display: grid;
  gap: 2px;
}

.dashboard-toolbar__copy p {
  margin: 0;
  line-height: 1.45;
  font-size: 0.95rem;
}

.dashboard-toolbar__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-toolbar__copy .eyebrow {
  margin-bottom: 2px;
}

.dashboard-toolbar__copy h1 {
  margin: 0 0 4px;
  font-size: clamp(1.75rem, 2.2vw, 2.4rem);
}

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

.dashboard-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
}

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

.dashboard-helper {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.dashboard-main .panel-heading h2 {
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  margin: 6px 0 8px;
}

.dashboard-main,
.dashboard-main p,
.dashboard-main label,
.dashboard-main input,
.dashboard-main select,
.dashboard-main textarea,
.dashboard-main button {
  font-size: 0.89rem;
}

.dashboard-main .course-form {
  gap: 8px;
}

.dashboard-main .form-grid {
  gap: 8px 12px;
}

.dashboard-main .form-grid label {
  gap: 3px;
}

.dashboard-main .form-grid input,
.dashboard-main .form-grid select,
.dashboard-main .form-grid textarea {
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 14px;
}

.dashboard-main .form-grid select {
  min-height: 36px;
  padding: 0 11px;
}

.dashboard-main .form-grid textarea {
  min-height: 66px;
}

.dashboard-main .field-note {
  font-size: 0.68rem;
  line-height: 1.25;
}

.form-switches {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.course-admin-list {
  display: grid;
  gap: 16px;
}

.course-preview {
  position: sticky;
  top: 16px;
  max-width: 380px;
  margin-left: auto;
}

.preview-status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 28px;
}

.preview-status .status-pill {
  min-width: 114px;
  justify-content: center;
  text-align: center;
}

.course-preview-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.course-preview-card__media {
  position: relative;
  min-height: 200px;
  background: linear-gradient(135deg, rgba(216, 42, 78, 0.18), rgba(21, 76, 155, 0.1));
}

.course-preview-card__media img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  display: block;
}

.course-preview-card__media .course-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(21, 33, 47, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
}

.course-preview-card__media .course-badge--new {
  color: var(--ink);
  background: var(--brand-yellow);
}

.course-preview-card__media .course-badge--limited {
  color: #fff;
  background: #f08b2d;
}

.course-preview-card__media .course-badge--exclusive {
  color: #fff;
  background: #7a3048;
}

.course-preview-card__media .course-badge--employment {
  color: #fff;
  background: #228b5a;
}

.course-preview-card__media .course-badge--certified {
  color: #fff;
  background: #2f5ea8;
}

.course-preview-card__media .course-badge--online {
  color: #fff;
  background: #4a5568;
}

.course-preview-card__body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.course-preview-card__category {
  color: var(--brand-red);
  font-weight: 800;
  font-size: 0.98rem;
}

.course-preview-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.45vw, 1.7rem);
  line-height: 1.06;
}

.course-preview-card__body p,
.course-preview-card__summary {
  color: var(--muted);
}

.course-preview-card__summary {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(241, 89, 121, 0.08);
}

.course-preview-card__points {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.course-preview-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.course-preview-card__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
}

.course-preview-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.course-preview-card__actions .button {
  min-width: 120px;
  min-height: 38px;
}

.admin-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.admin-card--inactive {
  background: #f3f5f8;
  border-color: rgba(69, 85, 108, 0.16);
}

.admin-card--inactive img {
  filter: grayscale(1) saturate(0.2);
  opacity: 0.78;
}

.admin-card--inactive .admin-card__body > *:not(.admin-actions) {
  opacity: 0.72;
}

.admin-card img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 14px;
}

.admin-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-card__main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-card__copy {
  min-width: 0;
}

.admin-card__side {
  display: grid;
  gap: 8px;
  justify-items: end;
  align-content: center;
}

.admin-meta {
  display: flex;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  gap: 6px;
}

.admin-card__body h3 {
  margin: 4px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.admin-card .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.admin-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-actions .button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.dashboard-log-actions {
  display: flex;
  gap: 12px;
}

.dashboard-log-list {
  display: grid;
  gap: 12px;
}

.dashboard-panel--logs {
  margin-top: -4px;
}

.dashboard-shell--narrow {
  width: min(1120px, calc(100% - 32px));
}

.dashboard-log-empty,
.dashboard-log-item {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.dashboard-log-empty p,
.dashboard-log-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.dashboard-log-item__top,
.dashboard-log-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-log-item__top span {
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-card--dashboard-review {
  width: min(1180px, calc(100vw - 40px));
  max-height: min(88vh, 960px);
  overflow: auto;
}

.dashboard-review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 28px;
  align-items: start;
}

.dashboard-review-heading {
  margin: 0 0 12px;
  font-size: 1rem;
}

.course-preview-card--review {
  box-shadow: none;
}

.dashboard-review-modal {
  width: 100%;
  margin: 0;
  box-shadow: none;
  border: 1px solid var(--line);
  display: block;
  overflow: hidden;
}

.dashboard-review-modal .modal-media img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.dashboard-review-modal .modal-content {
  padding: 26px 28px 28px;
}

.dashboard-review-modal .modal-content h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  line-height: 1.06;
}

.dashboard-review-modal .modal-summary {
  font-size: 1rem;
  line-height: 1.6;
}

.dashboard-review-modal .modal-points {
  gap: 10px;
}

.dashboard-review-modal .modal-actions .button {
  width: auto;
  min-width: 200px;
}

@media (max-width: 1180px) {
  .hero,
  .dashboard-layout,
  .dashboard-panel--stats,
  .dashboard-review-grid,
  .flow-grid,
  .site-footer__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .course-grid--four-up {
    grid-template-columns: 1fr;
  }

  .course-card,
  .course-card--feature {
    grid-column: span 1;
  }

  .course-grid--four-up .course-card {
    grid-column: span 1;
  }

  .course-grid--four-up .course-card--feature {
    grid-column: span 1;
  }

  .site-header__inner,
  .panel-heading,
  .dashboard-toolbar,
  .dashboard-toolbar__copy {
    flex-direction: column;
    align-items: start;
  }

  .course-preview {
    position: static;
  }

  .dashboard-review-modal .modal-media img {
    height: 220px;
  }
}

@media (max-width: 720px) {
  .container,
  .dashboard-shell {
    width: min(100% - 24px, 100%);
  }

  .page-shell,
  .dashboard-shell {
    padding-bottom: 24px;
  }

  .dashboard-toolbar__actions,
  .list-filters,
  .admin-actions,
  .admin-card__top,
  .course-preview-card__actions,
  .course-preview-card__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-toolbar__actions .button,
  .admin-actions .button {
    width: 100%;
  }

  .hero__actions,
  .course-card__actions {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .hero__actions .button,
  .course-card__actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

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

  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
    justify-self: end;
  }

  .brand img {
    width: 150px;
  }

  .site-header__menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
  }

  .site-header__menu.is-open {
    display: flex;
  }

  .site-nav,
  .site-header__actions {
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
  }

  .site-nav {
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-header__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-nav__dropdown {
    width: 100%;
  }

  .site-nav a,
  .site-nav__dropdown-toggle {
    display: block;
    width: 100%;
    padding: 10px 8px;
    border-radius: 14px;
    text-align: left;
  }

  .site-nav__dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 220px;
    margin-top: 6px;
    transform: none;
    box-shadow: none;
  }

  .header-search {
    min-width: 0;
    width: 48px;
    flex: 0 0 48px;
  }

  .header-search.is-open {
    width: auto;
    flex: 1 1 auto;
  }

  .site-header__actions .button {
    flex: 1 1 auto;
    width: auto;
    min-width: 132px;
  }

  .site-footer--dark {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding: 24px 22px;
    border-radius: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer__bottom {
    justify-content: flex-start;
  }

  .footer-partner {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0 0 24px 24px;
  }

  .site-nav a,
  .link-quiet {
    padding: 4px 0;
  }

  .hero,
  .hero-card,
  .note-card,
  .flow-card,
  .toolbar,
  .courses-section,
  .dashboard-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .hero__stats,
  .admin-card,
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    display: grid;
  }

  .course-card__actions,
  .modal-actions,
  .course-preview-card__actions {
    gap: 10px;
  }

  .modal-card--advertiser .lead-form {
    grid-template-columns: 1fr;
  }

  .course-card__actions .button,
  .modal-actions .button,
  .course-preview-card__actions .button {
    flex: 1 1 auto;
    width: auto;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 18px;
  }

  .modal-actions .button,
  .course-preview-card__actions .button {
    width: 100%;
  }

  .modal-card--course {
    display: block;
  }

  .modal-content,
  .modal-backdrop {
    padding: 20px;
  }

  .modal-media img,
  .hero-card img {
    height: 220px;
  }

  .privacy-hero h1 {
    white-space: normal;
  }

  .assistant-widget {
    right: 12px;
    bottom: 12px;
  }

  .assistant-widget__toggle {
    min-width: 96px;
    height: 48px;
  }

  .assistant-widget__panel {
    width: min(320px, calc(100vw - 24px));
    max-height: min(68vh, 540px);
    padding: 14px;
  }

  .assistant-widget__actions button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .assistant-chat__options button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .assistant-chat__options--nav button {
    min-height: 62px;
    padding: 8px 6px;
  }

  .assistant-nav-option__label {
    font-size: 0.74rem;
  }

  .assistant-widget__footer {
    margin-top: 10px;
  }

  .assistant-widget__link {
    font-size: 0.92rem;
  }
}
