:root {
  --bg: #7f9caf;
  --bg-dark: #364556;
  --bg-card: #f5f5f5;
  --bg-card-soft: #eff2f4;
  --bg-card-dark: #3f5163;
  --text: #34404d;
  --muted: #8b97a3;
  --line: #d5dadd;
  --accent: #d61d33;
  --accent-dark: #b41628;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(34, 46, 58, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--bg);
}

a {
  color: inherit;
}

button,
a.button {
  font: inherit;
}

.shell {
  min-height: 100vh;
}

.site-header,
.site-footer {
  background: var(--bg-dark);
  color: var(--white);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-image {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.header-title-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 0 18px;
}

.header-site-title {
  text-align: center;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.header-title-image {
  display: block;
  height: 76px;
  width: auto;
  max-width: min(392px, 100%);
  object-fit: contain;
  object-position: center;
  opacity: 0.95;
}

.header-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-button {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

.main-inner {
  padding: 30px 0 64px;
}

.main-inner-boot {
  min-height: calc(100vh - 98px);
  display: grid;
  place-items: center;
  padding: 0 0 40px;
}

.global-status,
.global-success {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.global-status {
  background: #fde9ec;
  color: #8a1f2f;
}

.global-success {
  background: #e8f2ea;
  color: #255238;
}

.shell-boot .site-footer {
  display: none;
}

.boot-stage {
  display: grid;
  justify-items: center;
  gap: 16px;
  color: rgba(52, 64, 77, 0.82);
  text-align: center;
}

.boot-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(54, 69, 86, 0.14);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: boot-spin 0.8s linear infinite;
}

.boot-copy {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

@keyframes boot-spin {
  to {
    transform: rotate(360deg);
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  color: rgba(52, 64, 77, 0.82);
  font-size: 1rem;
}

.breadcrumbs a {
  color: rgba(52, 64, 77, 0.7);
  text-decoration: none;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.83fr);
  gap: 34px;
  align-items: start;
}

.module-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.83fr);
  column-gap: 34px;
  row-gap: 34px;
  align-items: start;
}

.module-video-cell {
  grid-column: 1;
  grid-row: 1;
}

.module-content-cell {
  grid-column: 1;
  grid-row: 2;
}

.module-sidebar-top,
.module-sidebar-bottom {
  display: grid;
  gap: 34px;
  align-content: start;
}

.module-sidebar-top {
  grid-column: 2;
  grid-row: 1;
}

.module-sidebar-bottom {
  grid-column: 2;
  grid-row: 2;
}

.content-stack,
.sidebar-stack {
  display: grid;
  gap: 34px;
}

.sidebar-stack {
  align-content: start;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 34px 38px;
}

.auth-layout,
.admin-layout {
  display: grid;
  gap: 28px;
}

.auth-card {
  max-width: 720px;
}

.auth-card-compact {
  max-width: 860px;
}

.auth-eyebrow {
  margin: 0 0 12px;
  color: #6a7682;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-intro {
  max-width: 780px;
  font-size: 1.15rem;
  line-height: 1.65;
}

.auth-button-row {
  margin: 26px 0 8px;
}

.auth-footnote {
  max-width: 780px;
  color: #6a7682;
  font-size: 1rem;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #43505d;
}

.auth-form input,
.auth-form select {
  width: 100%;
  border: 1px solid #ccd3da;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.auth-links {
  margin-top: 16px;
}

.auth-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

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

.admin-kicker {
  color: #6a7682;
}

.admin-version {
  margin: 8px 0 0;
  color: #6a7682;
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-summary-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-summary-chip {
  border: 1px solid #dde3e8;
  background: #f7f9fb;
  border-radius: 16px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.admin-summary-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a7682;
}

.admin-summary-value {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

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

.admin-item {
  padding: 18px 20px;
  border: 1px solid #e0e5ea;
  border-radius: 18px;
  background: var(--bg-card-soft);
  display: grid;
  gap: 18px;
}

.admin-item-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.admin-item-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.admin-item-copy {
  margin: 0;
  color: #56626f;
  line-height: 1.5;
}

.org-edit-form {
  padding: 18px;
  border: 1px solid #dde3e8;
  border-radius: 16px;
  background: #ffffff;
}

.org-users {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #e0e5ea;
}

.org-users-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.org-users-title {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.org-users-count {
  min-width: 28px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dfe5eb;
  color: #4d5967;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table-wrap th,
.table-wrap td {
  padding: 12px 10px;
  border-bottom: 1px solid #e3e8ed;
  text-align: left;
  vertical-align: middle;
}

.table-wrap th {
  color: #4d5967;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.row-actions-cell {
  width: 1%;
  white-space: nowrap;
  text-align: right !important;
}

.session-meta {
  display: grid;
  gap: 2px;
  min-width: 180px;
}

.session-meta strong {
  font-size: 0.9rem;
}

.session-meta span {
  color: #5b6772;
  font-size: 0.78rem;
  line-height: 1.4;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
}

.table-action {
  appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 0;
  color: #4f5b67;
  font-weight: 700;
}

.danger-text-button,
.danger-button {
  color: #b52a39;
  font-weight: 700;
}

.danger-text-button:hover,
.danger-button:hover {
  color: #8f1d2a;
}

.danger-button {
  appearance: none;
  border: 1px solid #f1c5cb;
  background: #fff5f6;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.hero-banner {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    var(--bg-dark);
  color: var(--white);
  text-align: center;
}

.hero-banner.overview {
  min-height: 68px;
  align-content: center;
}

.hero-kicker {
  margin: 0 0 8px;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.76;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  margin: 16px auto 0;
  max-width: 760px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.section-title {
  margin: 0 0 24px;
  font-size: clamp(1.7rem, 2.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-subtitle {
  margin: -4px 0 28px;
  max-width: 800px;
  font-size: 1.08rem;
  color: #5a6671;
  line-height: 1.6;
}

.overview-group + .overview-group {
  margin-top: 42px;
}

.overview-group-title {
  margin: 0 0 22px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.lesson-list {
  display: grid;
  gap: 20px;
}

.lesson-row {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr) 168px;
  gap: 28px;
  align-items: center;
  padding: 6px 0;
  text-decoration: none;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    #344556;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.thumb.image-thumb {
  background: #344556;
  box-shadow: none;
}

.thumb.image-thumb::before,
.thumb.image-thumb::after {
  display: none;
}

.thumb.image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, var(--accent) 48%, var(--accent) 52%, transparent 52%);
  opacity: 0.95;
}

.thumb::after {
  content: "";
  position: absolute;
  inset: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 2px;
}

.thumb-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 14px 14px 12px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thumb-module {
  font-size: clamp(1.3rem, 3.2vw, 1.95rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.thumb-title {
  max-width: 90%;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.1;
  font-weight: 500;
}

.thumb-brand {
  align-self: flex-end;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.76);
}

.lesson-copy {
  min-width: 0;
}

.lesson-title {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.lesson-description {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #909aa4;
}

.progress-pill {
  width: 100%;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5a6671;
}

.progress-track {
  height: 7px;
  width: 100%;
  border-radius: 999px;
  background: #d7dbdf;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ef2640);
}

.summary-card {
  padding: 34px 38px;
}

.summary-headline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.summary-value {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.summary-note {
  margin: 14px 0 0;
  color: #5a6671;
  font-size: 0.72rem;
  line-height: 1.45;
}

.coach-card .card-body {
  padding: 34px;
}

.coach-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.coach-photo {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, #597089, #354556 72%);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  overflow: hidden;
  flex: 0 0 auto;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.coach-role {
  margin: 0;
  font-size: 0.82rem;
  color: var(--accent);
}

.coach-bio {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #4c5965;
}

.playlist {
  background: var(--bg-card-dark);
  color: var(--white);
}

.playlist-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 34px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-title {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.playlist-count {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.playlist-list {
  display: grid;
}

.playlist-item {
  display: grid;
  grid-template-columns: 28px 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

.playlist-item.active {
  background: rgba(255, 255, 255, 0.03);
}

.playlist-index {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.74);
}

.playlist-thumb .thumb-content {
  padding: 9px 10px 8px;
}

.playlist-thumb .thumb-module {
  font-size: 0.75rem;
}

.playlist-thumb .thumb-title {
  font-size: 0.46rem;
}

.playlist-name {
  font-size: 0.86rem;
  line-height: 1.3;
}

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

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

.sidebar-action-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.video-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  display: block;
  background: #263341;
}

.video-poster-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, #eef3f7, #dde6ee);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(38, 51, 65, 0.14);
}

.video-poster-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(15, 24, 34, 0), rgba(15, 24, 34, 0.62));
  pointer-events: none;
}

.video-poster-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 3vw, 34px);
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    linear-gradient(180deg, rgba(15, 24, 34, 0.08), rgba(15, 24, 34, 0.24)),
    radial-gradient(circle at center, rgba(15, 24, 34, 0.03), rgba(15, 24, 34, 0.18));
  color: #fff;
  font-weight: 700;
}

.video-poster-play {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.video-poster-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #1f2d3a;
}

.video-poster-title {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.52);
  pointer-events: none;
}

.video-poster-button:hover .video-poster-play,
.video-poster-button:focus-visible .video-poster-play {
  transform: scale(1.05);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.video-poster-button:focus-visible {
  outline: 3px solid rgba(204, 34, 55, 0.36);
  outline-offset: 4px;
}

.content-card .card-body {
  display: grid;
  gap: 30px;
}

.lesson-body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.62;
  color: #43505d;
}

.download-box {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-card-soft);
  align-self: start;
}

.download-box-title {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

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

.download-link {
  justify-self: start;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}

.download-link::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 2.75h8.2L19.25 7.8V20A1.25 1.25 0 0 1 18 21.25H6A1.25 1.25 0 0 1 4.75 20V4A1.25 1.25 0 0 1 6 2.75Z' stroke='%23d61d33' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M14 2.75V8h5.25' stroke='%23d61d33' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M8 15.25h8' stroke='%23d61d33' stroke-width='1.7' stroke-linecap='round'/%3E%3Cpath d='M8 18.25h5.5' stroke='%23d61d33' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.download-label {
  display: block;
}

.download-link:hover,
.download-link:focus-visible {
  text-decoration: none;
}

.divider-badge {
  display: block;
  margin: 6px 0 0;
}

.divider-image {
  display: block;
  width: 100%;
  max-width: 960px;
  height: auto;
  margin: 0 auto;
}

.cta-block {
  display: grid;
  gap: 18px;
}

.helper-text {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #42515d;
}

.helper-text strong {
  color: var(--accent);
}

.helper-video-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.helper-video-link:hover,
.helper-video-link:focus-visible {
  text-decoration: underline;
}

.cta-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.04;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.resource-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  justify-self: stretch;
  width: 100%;
  color: var(--white);
  background: var(--accent);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(225, 20, 46, 0.18);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.resource-link::after {
  content: "Open";
  align-self: flex-end;
  margin-top: -30px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.resource-link:hover {
  background: #c80f2a;
  box-shadow: 0 18px 34px rgba(225, 20, 46, 0.24);
  transform: translateY(-1px);
}

.resource-link span {
  font-size: 1.2rem;
}

.resource-link small {
  max-width: calc(100% - 64px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}

.resource-link.disabled {
  color: var(--white);
  background: #8e98a3;
  box-shadow: none;
  cursor: default;
}

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

.accelerator-item {
  border: 1px solid var(--line);
  background: var(--bg-card-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.accelerator-title {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.accelerator-copy {
  margin: 0;
  color: #55626f;
  line-height: 1.55;
}

.accelerator-link {
  justify-self: start;
  text-decoration: none;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}

.accelerator-link.disabled {
  background: #8e98a3;
  cursor: default;
  pointer-events: none;
}

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

.primary-button,
.secondary-button,
.ghost-button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 16px 24px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: var(--accent);
  color: var(--white);
}

.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button {
  background: #dde2e7;
  color: #384553;
}

.ghost-button {
  border: 2px solid #44515f;
  background: transparent;
  color: #44515f;
}

.full-width-button {
  width: 100%;
  padding: 22px 24px;
  font-size: 1.2rem;
  border-radius: 10px;
  justify-content: center;
}

.completion-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.completion-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2f5c3c;
  background: #dceee1;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.completion-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2f9a48;
}

.footer-inner {
  padding: 42px 0 34px;
  display: grid;
  place-items: center;
  gap: 14px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
}

.footer-logo-image {
  height: 50px;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.footer-version {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.promo-standalone {
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.3), transparent 22%),
    linear-gradient(180deg, #1d2b39 0%, #3e566c 18%, #d9e4ec 52%, #edf2f6 100%);
}

.promo-topbar,
.promo-footer {
  color: #fff;
}

.promo-topbar-inner,
.promo-footer-inner,
.promo-viewport {
  width: min(calc(100% - 48px), 1260px);
  margin: 0 auto;
}

.promo-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(21, 33, 45, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.promo-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}

.promo-brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ef5768, #bf1d34);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(191, 29, 52, 0.34);
}

.promo-brand-copy {
  display: grid;
  gap: 3px;
}

.promo-brand-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.promo-brand-title,
.promo-footer-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.promo-nav,
.promo-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.promo-nav-link,
.promo-footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.promo-nav-link {
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.promo-viewport {
  padding: 42px 0 64px;
}

.promo-page {
  display: grid;
  gap: 38px;
}

.promo-hero,
.promo-section,
.promo-final-cta {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.promo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.95fr);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #24384b 0%, #40576d 46%, #8da4b7 100%);
  color: var(--white);
}

.promo-hero-copy {
  padding: 46px 46px 44px;
  display: grid;
  gap: 22px;
  align-content: start;
}

.promo-hero-media {
  padding: 28px 28px 28px 0;
  display: flex;
  align-items: stretch;
}

.promo-video-shell {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(20, 31, 43, 0.28);
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  justify-self: start;
}

.promo-badge-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f04c5d, #c8182d);
  color: #fff;
  font-weight: 800;
}

.promo-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.promo-subtitle,
.promo-highlight-copy,
.promo-message-grid p,
.promo-about p,
.promo-final-cta p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
}

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

.promo-primary-cta,
.promo-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.promo-primary-cta {
  background: var(--accent);
  color: #fff;
}

.promo-secondary-cta {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.promo-checklist li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.promo-checklist li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff7586;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.promo-section,
.promo-final-cta {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 244, 247, 0.96));
  padding: 38px 42px;
  display: grid;
  gap: 24px;
}

.promo-highlight {
  background:
    radial-gradient(circle at top left, rgba(214, 29, 51, 0.08), transparent 24%),
    linear-gradient(180deg, #fff8f9, #f4f6f8);
}

.promo-section-intro {
  display: grid;
  gap: 10px;
}

.promo-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.promo-section h2,
.promo-final-cta h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #203143;
  max-width: 15ch;
}

.promo-message-grid,
.promo-outcomes-grid,
.promo-framework-grid,
.promo-modules-list,
.promo-includes-grid {
  display: grid;
  gap: 18px;
}

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

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

.promo-outcome-card,
.promo-framework-card,
.promo-module-card,
.promo-include-item {
  border: 1px solid rgba(32, 49, 67, 0.08);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(34, 46, 58, 0.08);
}

.promo-outcome-card,
.promo-framework-card {
  padding: 22px 22px 20px;
}

.promo-outcome-card h3,
.promo-framework-card h3,
.promo-module-copy h3 {
  margin: 0 0 10px;
  font-size: 1.26rem;
  letter-spacing: -0.03em;
  color: #203143;
}

.promo-outcome-card p,
.promo-framework-card p,
.promo-module-copy p,
.promo-include-item {
  margin: 0;
  line-height: 1.6;
  color: #4b5a68;
}

.promo-quote-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-quote-chip {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(214, 29, 51, 0.08);
  color: var(--accent);
  font-weight: 700;
}

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

.promo-framework-step,
.promo-module-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #203143;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.promo-module-card {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.promo-inline-link {
  align-self: center;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

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

.promo-include-item {
  padding: 18px 20px;
}

.promo-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(19, 29, 39, 0.9);
}

.promo-footer-inner {
  padding: 28px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.promo-footer-copy {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .layout-grid,
  .module-detail-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-stack,
  .module-sidebar-top,
  .module-sidebar-bottom {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .module-video-cell,
  .module-content-cell,
  .module-sidebar-top,
  .module-sidebar-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .promo-hero,
  .promo-message-grid,
  .promo-outcomes-grid,
  .promo-framework-grid,
  .promo-includes-grid {
    grid-template-columns: 1fr;
  }

  .promo-hero-media {
    padding: 0 28px 28px;
  }

  .promo-module-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .promo-topbar-inner,
  .promo-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-nav,
  .promo-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .lesson-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .progress-pill {
    max-width: 260px;
  }

  .playlist-item {
    grid-template-columns: 24px 88px minmax(0, 1fr);
  }

  .promo-section,
  .promo-final-cta,
  .promo-hero-copy {
    padding: 26px 24px;
  }

  .promo-viewport {
    padding-top: 26px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner,
  .main-inner {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

  .header-title-wrap {
    width: 100%;
    order: 3;
    justify-content: center;
    padding: 0;
  }

  .header-site-title {
    font-size: 1.08rem;
  }

  .header-title-image {
    height: 55px;
    width: auto;
    max-width: min(294px, 100%);
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-link {
    font-size: 1.05rem;
  }

  .promo-topbar-inner,
  .promo-footer-inner,
  .promo-viewport {
    width: min(calc(100% - 24px), 1260px);
  }

  .promo-topbar-inner {
    min-height: auto;
    padding: 16px 0;
  }

  .promo-brand {
    align-items: flex-start;
  }

  .promo-brand-title {
    font-size: 1rem;
  }

  .promo-title {
    max-width: none;
  }

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

  .card-body,
  .coach-card .card-body,
  .summary-card {
    padding: 24px 22px;
  }

  .playlist-head {
    padding: 22px 22px 18px;
  }

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

  .playlist-index {
    display: none;
  }

  .playlist-thumb {
    max-width: 130px;
  }

  .button-row {
    flex-direction: column;
  }

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

  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-item-head,
  .org-users-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    width: 100%;
    text-align: center;
  }
}
