:root {
  --paper: #fbfaf7;
  --porcelain: #edf5f1;
  --mist: #e9ecea;
  --ink: #151414;
  --charcoal: #292626;
  --sage: #4d776f;
  --sage-deep: #2f5b54;
  --rose: #c99091;
  --clay: #9e6257;
  --brass: #d8bd74;
  --white: #ffffff;
  --muted: #68615f;
  --line: rgba(21, 20, 20, 0.13);
  --shadow: 0 24px 70px rgba(21, 20, 20, 0.12);
  --radius: 8px;
  --course-media-height: 340px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Assistant", Arial, sans-serif;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

body.checkout-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

body.curriculum-modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--sage);
  color: var(--white);
}

.site-header {
  position: fixed;
  inset: 18px 24px auto 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 10px 12px 10px 18px;
  background: rgba(251, 250, 247, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(21, 20, 20, 0.09);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-mark span {
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 700;
}

.desktop-nav a {
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--sage-deep);
}

.student-entry-link {
  padding: 8px 11px;
  border: 1px solid rgba(184, 136, 126, 0.28);
  border-radius: var(--radius);
  background: rgba(247, 238, 234, 0.86);
  color: var(--sage-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 88px 24px auto 24px;
  z-index: 49;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(251, 250, 247, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 12px 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 20, 20, 0.2), rgba(21, 20, 20, 0.72)),
    linear-gradient(0deg, rgba(21, 20, 20, 0.84), rgba(21, 20, 20, 0.06) 55%, rgba(21, 20, 20, 0.42));
}

.hero-map-lines {
  position: absolute;
  inset: 12% 0 92px;
  z-index: -1;
  opacity: 0.32;
  background-image:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.26) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, 0.12) 50%, transparent 50.2%);
  background-size: 220px 220px;
  mask-image: linear-gradient(180deg, #000 0 68%, transparent 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 180px 0 104px;
  color: var(--white);
}

.hero-kicker,
.section-label,
.course-status,
.price-tag {
  margin: 0 0 14px;
  color: var(--brass);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 5rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  width: min(630px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.28rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(216, 189, 116, 0.9);
  outline-offset: 3px;
}

.button-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(142, 104, 96, 0.24);
}

.button-primary:hover {
  background: var(--sage-deep);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.button-student {
  background: var(--brass);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(216, 189, 116, 0.22);
}

.button-student:hover {
  background: #e3ca85;
}

.button-dark {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--sage-deep);
}

.button-outline {
  width: 100%;
  background: transparent;
  color: var(--clay);
  border: 1px solid rgba(201, 144, 145, 0.4);
}

.button-outline:hover {
  background: rgba(201, 144, 145, 0.12);
}

.hero-strip {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(21, 20, 20, 0.04), rgba(21, 20, 20, 0.18));
  color: var(--white);
  isolation: isolate;
}

.hero-strip span {
  position: relative;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 22px;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 18px rgba(21, 20, 20, 0.46);
}

.hero-strip span + span::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: 96px 24px;
}

.section[id] {
  scroll-margin-top: 96px;
}

.section-grid,
.section-heading,
.digital-layout,
.pricing-grid,
.benefits-grid,
.results-marquee,
.faq-list,
.contact-panel,
.kit-section,
.course-experience-section {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
  text-align: center;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 900;
}

.section-heading p:last-child,
.intro-copy,
.experience-content p,
.kit-copy p,
.course-content p,
.price-card p,
.faq-list p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-band {
  background: var(--porcelain);
}

.academy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 62px;
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-copy p {
  margin: 0;
}

.digital-section {
  background: var(--paper);
}

.digital-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.course-card,
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 54px rgba(21, 20, 20, 0.08);
}

.course-card {
  display: grid;
  grid-template-rows: var(--course-media-height) minmax(0, 1fr);
}

.course-card-featured {
  background: var(--charcoal);
  color: var(--white);
}

.course-card-featured .course-content p,
.course-card-featured .course-list,
.course-card-featured .course-meta span {
  color: rgba(255, 255, 255, 0.78);
}

.course-media {
  position: relative;
  height: var(--course-media-height);
  background: var(--mist);
  overflow: hidden;
}

.course-media-portrait {
  height: var(--course-media-height);
}

.course-media img,
.course-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-media-portrait video {
  object-position: center 24%;
}

.course-media-full-video {
  background:
    radial-gradient(circle at 50% 42%, rgba(201, 144, 145, 0.18), transparent 42%),
    linear-gradient(135deg, #201d1d, #302b2b 58%, #181616);
}

.course-media-full-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
}

.course-media-full-video .course-video-backdrop {
  object-fit: cover;
  filter: blur(18px) saturate(0.9);
  opacity: 0.38;
  transform: scale(1.08);
}

.course-media-full-video .course-video-main {
  z-index: 1;
  object-fit: contain;
}

.course-media-soft-video {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), transparent 44%),
    linear-gradient(135deg, #ded8d0, #f1eee8 52%, #cfc3bc);
}

.course-media-soft-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
}

.course-media-soft-video .course-video-backdrop {
  object-fit: cover;
  filter: blur(18px) saturate(0.95);
  opacity: 0.48;
  transform: scale(1.08);
}

.course-media-soft-video .course-video-main {
  z-index: 1;
  object-fit: contain;
}

.course-media-contained {
  background: #fff;
}

.course-media-contained img {
  object-fit: contain;
  padding: 14px;
}

.course-content {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.course-content h3,
.price-card h3,
.experience-steps h3,
.kit-list h3 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
}

.course-content p {
  margin: 14px 0 0;
}

.course-list {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--charcoal);
  font-weight: 700;
}

.course-list li {
  position: relative;
  padding-right: 18px;
}

.course-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.course-meta span {
  padding: 8px 10px;
  border: 1px solid rgba(201, 144, 145, 0.32);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.digital-launch-note {
  margin: 10px 0 0;
  color: var(--clay);
  font-weight: 900;
  font-size: 1.4rem;
}

.course-launch-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: auto 0 16px;
  padding: 12px 16px;
  border: 1px solid rgba(184, 136, 126, 0.4);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(216, 189, 116, 0.2), rgba(184, 136, 126, 0.12));
}

@keyframes launchPricePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.course-launch-price-label {
  color: var(--clay);
  font-weight: 900;
  font-size: 0.86rem;
  animation: launchPricePulse 1.6s ease-in-out infinite;
}

.course-launch-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.course-launch-price-original {
  color: var(--muted);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-color: #c0392b;
  text-decoration-thickness: 2px;
}

.course-launch-price-amount {
  color: var(--ink);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.student-entry-strip {
  width: min(1180px, 100%);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(184, 136, 126, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 189, 116, 0.18), transparent 44%),
    var(--porcelain);
}

.student-entry-strip h3 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 900;
}

.student-entry-strip p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  font-weight: 800;
}

.student-entry-strip .button {
  width: auto;
  min-width: 220px;
}

.student-area-preview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

.student-area-preview h2 {
  color: var(--white);
}

.student-preview-copy {
  min-width: 0;
}

.student-preview-copy > p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  font-weight: 700;
}

.student-flow {
  counter-reset: student-flow;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 720px);
  margin-top: 32px;
  padding-top: 2px;
}

.student-flow::before {
  content: "";
  position: absolute;
  inset: 20px 22px auto 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 189, 116, 0.46), rgba(216, 189, 116, 0.46), transparent);
}

.student-flow span {
  counter-increment: student-flow;
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 10px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.student-flow span::before {
  content: counter(student-flow, decimal-leading-zero);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(216, 189, 116, 0.52);
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  box-shadow: 0 0 0 7px var(--ink);
}

.student-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.student-preview-actions .button-dark {
  width: auto;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.student-preview-shell {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.preview-browser-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(21, 20, 20, 0.1);
  background: var(--porcelain);
}

.preview-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.preview-browser-bar span:nth-child(2) {
  background: var(--brass);
}

.preview-browser-bar span:nth-child(3) {
  background: var(--sage);
}

.preview-dashboard-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  color: var(--ink);
}

.preview-dashboard-card p {
  margin: 0 0 5px;
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-dashboard-card h3 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.15rem;
  line-height: 1;
  font-weight: 900;
}

.preview-course-row {
  min-height: 118px;
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.preview-course-row-dark {
  background: var(--charcoal);
  color: var(--white);
}

.preview-course-row video {
  width: 100%;
  height: 94px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--ink);
}

.preview-course-row strong,
.preview-course-row span {
  display: block;
}

.preview-course-row strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.preview-course-row span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.preview-course-row-dark span {
  color: rgba(255, 255, 255, 0.7);
}

.curriculum-list {
  display: grid;
  flex: 1;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: curriculum;
}

.curriculum-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}

.curriculum-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--porcelain);
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.curriculum-list h4 {
  margin: 0;
  color: inherit;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 900;
}

.curriculum-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.curriculum-assets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.curriculum-assets span {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--sage-deep);
  font-size: 0.9rem;
  font-weight: 900;
}

.curriculum-modal-dialog {
  overflow: hidden;
  height: min(760px, calc(100vh - 42px));
  grid-template-columns: 0.86fr 1.14fr;
}

.curriculum-modal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 42px 34px;
  overflow-y: auto;
  background: var(--porcelain);
}

.curriculum-modal-sidebar-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
}

.curriculum-modal-sidebar .section-label {
  margin: 0;
}

.curriculum-modal-sidebar h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.curriculum-modal-sidebar-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.curriculum-modal-sidebar-points li {
  padding: 8px 10px;
  border: 1px solid rgba(201, 144, 145, 0.32);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.curriculum-modal-body {
  padding: 42px 34px;
  overflow-y: auto;
}

.curriculum-modal-intro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.curriculum-modal-body h3 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.5rem;
}

.curriculum-modal-body .curriculum-list {
  margin-top: 12px;
}

.curriculum-modal-body .curriculum-assets {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.course-experience-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: center;
}

.experience-media {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.experience-media video {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.experience-content h2 {
  max-width: 720px;
}

.experience-steps {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.experience-steps div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.experience-steps span {
  grid-row: span 2;
  color: var(--sage);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.experience-steps h3 {
  font-size: 1.45rem;
}

.experience-steps p {
  margin: 0;
}

.course-benefits-section {
  background:
    linear-gradient(180deg, rgba(247, 238, 234, 0.68), rgba(251, 250, 247, 0.96)),
    var(--paper);
}

.course-benefits-section .section-heading {
  max-width: 820px;
}

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

.benefit-card {
  position: relative;
  min-height: 236px;
  padding: 30px 28px 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(201, 144, 145, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(21, 20, 20, 0.06);
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sage), var(--rose), var(--brass));
  opacity: 0.68;
}

.benefit-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--clay);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.benefit-card h3 {
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.front-section {
  background: var(--porcelain);
}

.front-section .section-label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid rgba(184, 136, 126, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--sage-deep);
  font-size: 1rem;
}

.front-section .section-heading h2 {
  font-size: clamp(3.2rem, 6vw, 5.15rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-card {
  padding: 34px;
}

.front-course-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.price-card p {
  margin: 14px 0 0;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 26px 0;
}

.price-options div {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-options span {
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.price-options strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.price-options small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.price-note {
  min-height: 28px;
  margin: -10px 0 22px !important;
  color: var(--sage-deep) !important;
  font-size: 0.98rem !important;
  font-weight: 900;
}

.kit-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.kit-copy h2 {
  max-width: 680px;
}

.kit-copy p:last-child {
  max-width: 640px;
}

.kit-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 12px;
}

.kit-mosaic video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.kit-list article {
  min-height: 196px;
  padding: 18px;
  background: var(--ink);
  color: var(--white);
  border-right: 5px solid var(--rose);
  border-radius: var(--radius);
}

.kit-list h3 {
  font-size: 1.45rem;
}

.kit-list ul {
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.kit-list li {
  position: relative;
  padding-right: 15px;
}

.kit-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
}

.results-section {
  background: var(--charcoal);
  color: var(--white);
}

.results-section h2 {
  color: var(--white);
}

.results-marquee {
  overflow: hidden;
}

.results-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.results-track::-webkit-scrollbar {
  display: none;
}

.results-card {
  position: relative;
  flex-shrink: 0;
  width: 260px;
  height: 340px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
}

.results-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.results-card:hover img,
.results-card:focus-visible img {
  transform: scale(1.045);
}

.results-card-open-layer {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 0 16px;
  background: linear-gradient(0deg, rgba(21, 20, 20, 0.82), transparent);
  color: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.results-card:hover .results-card-open-layer,
.results-card:focus-visible .results-card-open-layer {
  opacity: 1;
  transform: translateY(0);
}

/* Hover reveals the "לצפייה" label just fine with a mouse, but touch
   devices have no hover state at all — without this, a tap is the only
   way to discover the image even opens. This stays visible always. */
.results-card::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(21, 20, 20, 0.55);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.3-4.3'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  backdrop-filter: blur(2px);
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(21, 20, 20, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
}

.contact-section {
  background: var(--sage-deep);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 40px;
  align-items: start;
}

.contact-panel h2,
.contact-panel p,
.contact-panel .section-label {
  color: var(--white);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(21, 20, 20, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
  text-overflow: ellipsis;
}

.checkout-shell[hidden] {
  display: none;
}

.checkout-shell {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 20, 0.62);
  backdrop-filter: blur(14px);
}

.checkout-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(760px, calc(100vh - 42px));
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  overflow: auto;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.checkout-close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.checkout-summary {
  position: relative;
  min-height: 100%;
  padding: 42px 34px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(184, 136, 126, 0.28), transparent 44%),
    var(--ink);
  color: var(--white);
}

.checkout-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(90deg, transparent 49.5%, rgba(255, 255, 255, 0.2) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(255, 255, 255, 0.12) 50%, transparent 50.5%);
  background-size: 96px 96px;
}

.checkout-summary > * {
  position: relative;
}

.checkout-summary .section-label,
.checkout-summary p {
  color: rgba(255, 255, 255, 0.76);
}

.checkout-summary h2 {
  margin: 0;
  color: var(--white);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1;
}

.checkout-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.checkout-badges span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 900;
}

.checkout-total {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.checkout-total span,
.checkout-total small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.checkout-total strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--brass);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.checkout-form {
  display: grid;
  gap: 18px;
  padding: 42px 34px 34px;
  color: var(--ink);
}

.checkout-plans {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-plans legend {
  margin-bottom: 10px;
  font-weight: 900;
}

.checkout-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-plan-card {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.checkout-plan-card input {
  position: absolute;
  inset: 12px auto auto 12px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--sage);
}

.checkout-plan-card.is-selected {
  border-color: rgba(184, 136, 126, 0.78);
  background: var(--porcelain);
  box-shadow: 0 12px 28px rgba(142, 104, 96, 0.12);
}

.checkout-plan-card span {
  padding-left: 26px;
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.checkout-plan-card strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1.05;
}

.checkout-plan-card small {
  color: var(--muted);
  font-weight: 800;
}

.checkout-schedule {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-schedule legend {
  margin-bottom: 8px;
  font-weight: 900;
}

.checkout-schedule-hint {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
}

.checkout-calendar {
  margin-bottom: 12px;
}

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

.checkout-calendar-nav span {
  font-weight: 900;
  color: var(--ink);
  text-transform: capitalize;
}

.checkout-calendar-nav-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(21, 20, 20, 0.18);
  background: var(--white);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.checkout-calendar-nav-btn:hover:not(:disabled) {
  background: var(--porcelain);
}

.checkout-calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.checkout-calendar-weekdays,
.checkout-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.checkout-calendar-weekdays {
  margin-bottom: 6px;
}

.checkout-calendar-weekdays span {
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
}

.checkout-calendar-day {
  min-height: 40px;
  border: 1px solid rgba(21, 20, 20, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.checkout-calendar-day.has-slots {
  border-color: var(--brass);
  background: rgba(216, 189, 116, 0.14);
}

.checkout-calendar-day.has-slots:hover {
  background: rgba(216, 189, 116, 0.26);
}

.checkout-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--brass);
}

.checkout-calendar-day.is-selected {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
}

.checkout-calendar-day.is-disabled,
.checkout-calendar-day:disabled {
  color: var(--muted);
  background: transparent;
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.45;
}

.checkout-calendar-day-empty {
  border: none;
  background: transparent;
  min-height: 40px;
}

.checkout-calendar-times {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-calendar-time {
  padding: 8px 14px;
  border: 1px solid rgba(21, 20, 20, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.checkout-calendar-time:hover {
  border-color: var(--brass);
}

.checkout-calendar-time.is-selected {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--white);
}

.checkout-schedule-fallback {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.checkout-schedule-fallback a {
  color: var(--clay);
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .checkout-calendar-day,
  .checkout-calendar-day-empty {
    min-height: 34px;
    font-size: 0.82rem;
  }
}

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

.checkout-fields label:first-child {
  grid-column: 1 / -1;
}

.checkout-fields label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.checkout-fields input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(21, 20, 20, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.checkout-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--sage);
}

.checkout-status {
  min-height: 0;
  color: var(--clay);
  font-weight: 900;
}

.checkout-status:not(:empty) {
  padding: 12px 14px;
  border: 1px solid rgba(158, 98, 87, 0.24);
  border-radius: var(--radius);
  background: rgba(201, 144, 145, 0.12);
}

.checkout-submit {
  width: 100%;
}

.checkout-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, var(--porcelain), var(--paper));
}

.payment-status-card {
  width: min(760px, 100%);
  padding: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.payment-status-card img {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  object-fit: contain;
}

.payment-status-card h1 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
}

.payment-status-card p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
}

.payment-status-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 124px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: #1fae61;
  color: var(--white);
  text-decoration: none;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(31, 174, 97, 0.28);
}

.lightbox-shell[hidden] {
  display: none;
}

.lightbox-shell {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 20, 0.82);
  backdrop-filter: blur(14px);
}

.lightbox-dialog {
  position: relative;
  width: fit-content;
  max-width: 100%;
  max-height: calc(100vh - 48px);
}

.lightbox-dialog img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  border-radius: var(--radius);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-nav {
  display: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 30px 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-legal-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal-nav a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.auth-page,
.student-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(247, 238, 234, 0.78), rgba(251, 250, 247, 0.96)),
    var(--paper);
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}

.auth-visual {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(21, 20, 20, 0.78), rgba(21, 20, 20, 0.12) 56%),
    linear-gradient(90deg, rgba(21, 20, 20, 0.22), rgba(21, 20, 20, 0.72));
}

.auth-visual video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.auth-visual-copy {
  width: min(720px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0;
  color: var(--white);
}

.auth-visual-copy img {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.auth-visual-copy p {
  margin: 0 0 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-visual-copy h1 {
  max-width: 640px;
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.96;
  font-weight: 900;
}

.auth-panel {
  align-self: center;
  width: min(520px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 20, 20, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--sage-deep);
  text-decoration: none;
  font-weight: 900;
}

.auth-panel h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 900;
}

.auth-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 700;
}

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

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 900;
}

.auth-form input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid rgba(21, 20, 20, 0.18);
  border-radius: var(--radius);
  color: var(--ink);
}

.auth-status {
  min-height: 0;
  font-weight: 900;
}

.auth-status:not(:empty) {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--porcelain);
  color: var(--sage-deep);
}

.auth-status[data-type="success"]:not(:empty) {
  background: rgba(184, 136, 126, 0.14);
  color: var(--sage-deep);
}

.auth-status[data-type="warning"]:not(:empty),
.auth-status[data-type="error"]:not(:empty) {
  background: rgba(201, 144, 145, 0.14);
  color: var(--clay);
}

.auth-reset {
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--sage-deep);
  cursor: pointer;
  font-weight: 900;
}

.auth-note {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.auth-note strong {
  color: var(--ink);
}

.student-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px 24px;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(21, 20, 20, 0.1);
  backdrop-filter: blur(18px);
}

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

.student-nav a,
.student-nav button {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
}

.student-nav button {
  color: var(--clay);
}

.student-main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.student-hero,
.course-watch-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(184, 136, 126, 0.18), transparent 44%),
    linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.72));
  box-shadow: 0 18px 54px rgba(21, 20, 20, 0.08);
}

.student-hero h1,
.course-watch-header h1,
.student-section-heading h2,
.student-help-panel h2,
.course-sidebar h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-weight: 900;
  line-height: 1.03;
}

.student-hero h1,
.course-watch-header h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.student-hero p:last-child,
.course-watch-header p:last-child {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 700;
}

.student-profile-chip {
  min-width: 230px;
  padding: 16px;
  border: 1px solid rgba(184, 136, 126, 0.24);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.student-profile-chip span,
.student-profile-chip strong {
  display: block;
}

.student-profile-chip span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.student-profile-chip strong {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.92rem;
}

.student-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(158, 98, 87, 0.24);
  border-radius: var(--radius);
  background: rgba(201, 144, 145, 0.13);
  color: var(--clay);
  font-weight: 900;
}

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

.student-stats-grid article {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(21, 20, 20, 0.06);
}

.student-stats-grid span {
  color: var(--muted);
  font-weight: 900;
}

.student-stats-grid strong {
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.student-section {
  margin-top: 44px;
}

.student-section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.student-section-heading h2,
.student-help-panel h2,
.course-sidebar h2 {
  font-size: 2.5rem;
}

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

.student-course-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(21, 20, 20, 0.08);
}

.student-course-card.is-locked {
  opacity: 0.86;
}

.student-course-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(216, 189, 116, 0.18), transparent 44%),
    var(--ink);
}

.student-course-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
}

.student-course-poster {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.student-course-video-backdrop {
  z-index: 0;
  object-fit: cover;
  filter: blur(18px) saturate(0.92);
  opacity: 0.44;
  transform: scale(1.08);
}

.student-course-video-main {
  z-index: 2;
  object-fit: cover;
}

.student-course-video-main:not([src]) {
  opacity: 0;
}

.student-course-card.is-locked .student-course-video-backdrop,
.student-course-card.is-locked .student-course-video-main {
  filter: grayscale(0.65);
}

.student-course-card.is-locked .student-course-video-backdrop {
  filter: blur(18px) grayscale(0.65);
}

.student-course-body {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.student-course-body h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.2rem;
  line-height: 1.03;
  font-weight: 900;
}

.student-course-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 700;
}

.student-course-meta,
.course-materials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.student-course-meta span,
.course-materials span {
  padding: 8px 10px;
  border: 1px solid rgba(201, 144, 145, 0.3);
  border-radius: var(--radius);
  color: var(--sage-deep);
  font-size: 0.9rem;
  font-weight: 900;
}

.student-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.student-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage), var(--brass));
}

.student-course-body small {
  color: var(--muted);
  font-weight: 800;
}

.student-course-card .button:disabled,
.course-actions-row .button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
}

.student-help-panel {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 30px;
  align-items: center;
  margin-top: 42px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
}

.student-help-panel .section-label,
.student-help-panel h2 {
  color: var(--white);
}

.student-help-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  font-weight: 800;
}

.course-player-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  margin-top: 24px;
}

.course-player-main,
.course-sidebar {
  min-width: 0;
}

.course-lesson-panel {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.course-lesson-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.lesson-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(216, 189, 116, 0.22), transparent 42%),
    linear-gradient(180deg, #2b2727, #151414);
  color: var(--white);
}

.lesson-placeholder span {
  color: var(--brass);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
}

.lesson-placeholder h2 {
  max-width: 640px;
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  font-weight: 900;
}

.lesson-placeholder p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
  font-weight: 800;
}

.lesson-placeholder.is-locked {
  background:
    linear-gradient(135deg, rgba(201, 144, 145, 0.2), transparent 42%),
    linear-gradient(180deg, #342f2f, #151414);
}

.lesson-video-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  background: var(--ink);
}

.lesson-video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}

.lesson-video-caption {
  position: absolute;
  inset: auto 18px 18px 18px;
  display: grid;
  gap: 4px;
  width: min(620px, calc(100% - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(21, 20, 20, 0.72);
  color: var(--white);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.lesson-video-caption span {
  color: var(--brass);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
}

.lesson-video-caption strong {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.lesson-video-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
}

.course-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.course-materials {
  margin-top: 18px;
}

.course-sidebar {
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(21, 20, 20, 0.08);
}

.course-lesson-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.course-module {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.course-module h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
}

.lesson-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: right;
}

.lesson-row:hover,
.lesson-row.is-active {
  border-color: rgba(184, 136, 126, 0.28);
  background: var(--porcelain);
}

.lesson-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.lesson-row strong {
  min-width: 0;
  color: var(--charcoal);
  font-size: 0.96rem;
  line-height: 1.25;
}

.student-ready [data-loading-label] {
  color: inherit;
}

.admin-entry-link {
  padding: 8px 11px;
  border: 1px solid rgba(216, 189, 116, 0.42);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.admin-login-open {
  overflow: hidden;
}

.admin-login-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.admin-login-shell[hidden] {
  display: none;
}

.admin-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 20, 20, 0.52);
  backdrop-filter: blur(12px);
}

.admin-secret-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(210px, 1.2fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.96);
  box-shadow: 0 26px 90px rgba(21, 20, 20, 0.28);
}

.admin-secret-dialog h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
}

.admin-secret-dialog label,
.admin-gate-form label,
.admin-filter-row label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 900;
}

.admin-secret-dialog input,
.admin-gate-form input,
.admin-filter-row input,
.admin-filter-row select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.admin-secret-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--clay);
  font-weight: 900;
}

.admin-access-toast {
  position: fixed;
  inset: auto 24px 24px auto;
  z-index: 130;
  transform: translateY(16px);
  opacity: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 900;
  transition: transform 180ms ease, opacity 180ms ease;
}

.admin-access-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(247, 238, 234, 0.72), rgba(251, 250, 247, 0.88)),
    var(--paper);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.admin-topnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topnav a,
.admin-topnav button {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}

.admin-main {
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.admin-gate {
  min-height: calc(100vh - 148px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
}

.admin-gate h1,
.admin-hero h1 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
}

.admin-gate p,
.admin-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 800;
}

.admin-gate-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 54px rgba(21, 20, 20, 0.08);
}

.admin-dashboard {
  display: grid;
  gap: 24px;
}

.admin-dashboard[hidden],
.admin-gate[hidden] {
  display: none;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: end;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 234, 0.78)),
    var(--white);
  box-shadow: 0 20px 70px rgba(21, 20, 20, 0.08);
}

.admin-sync-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.admin-sync-card span,
.admin-sync-card small {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.admin-sync-card strong {
  color: var(--brass);
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
}

.admin-connection-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.admin-connection-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.admin-connection-item span {
  grid-row: span 2;
  min-width: 54px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(216, 189, 116, 0.16);
  color: var(--brass);
  font-size: 0.72rem;
  text-align: center;
}

.admin-connection-item.is-ready span {
  background: rgba(123, 168, 140, 0.18);
  color: #b8dfc5;
}

.admin-connection-item strong {
  color: var(--white);
  font-family: "Assistant", Arial, sans-serif;
  font-size: 0.95rem;
}

.admin-connection-item small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  line-height: 1.35;
}

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

.admin-stats-grid article {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 45px rgba(21, 20, 20, 0.06);
}

.admin-stats-grid span {
  color: var(--muted);
  font-weight: 900;
}

.admin-stats-grid strong {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 2.15rem;
  line-height: 1;
}

.admin-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-board-main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 60px rgba(21, 20, 20, 0.07);
}

.admin-board-main {
  min-width: 0;
  overflow: hidden;
}

.admin-board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-board-heading h2 {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 2.3rem;
  line-height: 1;
}

.admin-board-heading .button {
  width: auto;
}

.admin-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px 210px;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  text-align: right;
  vertical-align: top;
  font-weight: 800;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--porcelain);
  color: var(--sage-deep);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.78rem;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(184, 136, 126, 0.22);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--sage-deep);
  white-space: nowrap;
}

.admin-empty-state {
  height: 160px;
  color: var(--muted);
  text-align: center !important;
}

.admin-side-panel {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.admin-side-panel section + section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.admin-action-list {
  display: grid;
  gap: 10px;
}

.admin-action-list button {
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 238, 234, 0.82);
  color: var(--sage-deep);
  font-weight: 900;
}

.admin-action-list button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

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

.admin-checklist li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  color: var(--charcoal);
  font-weight: 900;
}

.admin-checklist span {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(216, 189, 116, 0.18);
}

.admin-schedule-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.admin-schedule-toggle input {
  appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.admin-schedule-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(21, 20, 20, 0.25);
  transition: transform 0.2s ease;
}

.admin-schedule-toggle input:checked {
  background: var(--sage);
}

.admin-schedule-toggle input:checked::after {
  transform: translateX(-18px);
}

.admin-schedule-hint {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.admin-calendar-business-hours {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 0 22px 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.admin-calendar-business-hours label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--charcoal);
}

.admin-calendar-business-hours input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.admin-calendar-business-hours .button {
  width: auto;
  padding: 10px 16px;
  font-size: 0.86rem;
}

.admin-calendar-business-hours-status {
  flex-basis: 100%;
  margin: 0;
  min-height: 1.1em;
  color: var(--sage-deep);
  font-weight: 800;
  font-size: 0.84rem;
}

.admin-calendar-business-hours-status.is-error {
  color: var(--clay);
}

.admin-calendar-bulk-actions {
  margin: 0 22px 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.admin-calendar-bulk-title {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.admin-calendar-bulk-course {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--charcoal);
  max-width: 340px;
}

.admin-calendar-bulk-course select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.admin-calendar-bulk-grid {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  align-items: center;
  gap: 10px 12px;
}

.admin-calendar-bulk-grid-label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--charcoal);
}

.admin-calendar-bulk-grid .button {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.86rem;
}

.admin-calendar-bulk-status {
  margin: 12px 0 0;
  min-height: 1.2em;
  color: var(--sage-deep);
  font-weight: 800;
  font-size: 0.86rem;
}

.admin-calendar-bulk-status.is-error {
  color: var(--clay);
}

@media (max-width: 640px) {
  .admin-calendar-bulk-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-calendar-bulk-grid-label {
    grid-column: 1 / -1;
  }
}

.admin-calendar {
  padding: 0 22px 18px;
}

.admin-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-calendar-nav h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--charcoal);
  text-transform: capitalize;
}

.admin-calendar-nav-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.admin-calendar-nav-btn:hover:not(:disabled) {
  background: var(--porcelain);
}

.admin-calendar-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.admin-calendar-weekdays,
.admin-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.admin-calendar-weekdays {
  margin-bottom: 6px;
}

.admin-calendar-weekdays span {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
}

.admin-calendar-day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.admin-calendar-day:hover:not(:disabled) {
  border-color: var(--brass);
}

.admin-calendar-day.is-today {
  border-color: var(--brass);
  font-weight: 900;
}

.admin-calendar-day.is-selected {
  background: var(--porcelain);
  border-color: var(--sage-deep);
}

.admin-calendar-day.is-disabled,
.admin-calendar-day:disabled {
  color: var(--muted);
  background: transparent;
  border-style: dashed;
  cursor: not-allowed;
  opacity: 0.5;
}

.admin-calendar-day-empty {
  border: none;
  background: transparent;
  min-height: 56px;
}

.admin-calendar-day-number {
  font-size: 0.92rem;
}

.admin-calendar-day-dots {
  display: flex;
  gap: 3px;
  min-height: 6px;
}

.admin-calendar-day-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}

.admin-calendar-day-dot[data-status="open"] {
  background: var(--sage-deep);
}

.admin-calendar-day-dot[data-status="booked"] {
  background: #b3861f;
}

.admin-calendar-day-dot[data-status="blocked"] {
  background: var(--clay);
}

.admin-calendar-day-panel {
  margin: 0 22px 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.admin-calendar-day-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.admin-calendar-day-heading h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
  color: var(--charcoal);
}

.admin-calendar-day-heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.admin-calendar-day-heading-actions .admin-calendar-day-cancel-open {
  width: auto;
  padding: 8px 14px;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .admin-calendar-day-heading {
    flex-wrap: wrap;
  }

  .admin-calendar-day-heading-actions .admin-calendar-day-cancel-open {
    white-space: normal;
  }
}

.admin-calendar-day-close {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.admin-calendar-day-blocks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-calendar-day-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--charcoal);
}

.admin-calendar-day-block-note {
  color: var(--muted);
  font-weight: 700;
}

.admin-calendar-day-block .admin-schedule-cancel {
  margin-inline-start: auto;
}

.admin-calendar-day-empty-state {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-schedule-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin-bottom: 14px;
}

.admin-schedule-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--charcoal);
}

.admin-schedule-form input:not([type="checkbox"]),
.admin-schedule-form select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.admin-schedule-service-field,
.admin-schedule-note-field {
  max-width: 420px;
}

.admin-schedule-ranges {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--porcelain);
}

.admin-schedule-ranges-hint {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-schedule-range-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-schedule-range-remove {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 144, 145, 0.4);
  background: var(--white);
  color: var(--clay);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.admin-schedule-range-add {
  padding: 8px 14px;
  border: 1px dashed var(--brass);
  border-radius: var(--radius);
  background: transparent;
  color: var(--charcoal);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}

.admin-schedule-range-add:hover {
  background: rgba(216, 189, 116, 0.14);
}

.admin-schedule-existing-slots {
  max-width: 420px;
}

.admin-schedule-existing-slots select {
  width: 100%;
}

.admin-schedule-single-time {
  display: flex;
  align-items: end;
  gap: 10px;
  max-width: 420px;
}

.admin-schedule-single-time label {
  flex: 1 1 auto;
}

.admin-schedule-single-end-hint {
  padding-bottom: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.admin-schedule-form .admin-schedule-phone-toggle {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.86rem;
  cursor: pointer;
}

.admin-schedule-form .admin-schedule-phone-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .admin-schedule-range-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-schedule-range-remove {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: var(--radius);
  }
}

.admin-schedule-status {
  margin: 0;
  padding: 8px 0 0;
  min-height: 1.2em;
  color: var(--sage-deep);
  font-weight: 800;
  font-size: 0.88rem;
}

.admin-schedule-status.is-error {
  color: var(--clay);
}

.admin-schedule-cancel {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--clay);
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
}

.admin-status-pill[data-status="open"] {
  border-color: rgba(184, 136, 126, 0.3);
  background: var(--porcelain);
  color: var(--sage-deep);
}

.admin-status-pill[data-status="booked"] {
  border-color: rgba(216, 189, 116, 0.4);
  background: rgba(216, 189, 116, 0.16);
  color: #8a6a1f;
}

.admin-status-pill[data-status="blocked"] {
  border-color: rgba(201, 144, 145, 0.35);
  background: rgba(201, 144, 145, 0.14);
  color: var(--clay);
}

.admin-status-pill[data-status="cancelled"] {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
  text-decoration: line-through;
}

@media (max-width: 560px) {
  .admin-calendar-day,
  .admin-calendar-day-empty {
    min-height: 42px;
    padding: 4px 2px;
  }

  .admin-calendar-day-number {
    font-size: 0.8rem;
  }

  .admin-calendar-weekdays span {
    font-size: 0.68rem;
  }
}

@media (max-width: 1080px) {
  .admin-hero,
  .admin-board,
  .admin-gate {
    grid-template-columns: 1fr;
  }

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

  .admin-sync-card {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .admin-topbar,
  .admin-topnav,
  .admin-board-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-topnav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .admin-topnav a,
  .admin-topnav button {
    text-align: center;
  }

  .admin-main {
    width: min(100% - 28px, 1360px);
    padding-top: 20px;
  }

  .admin-hero,
  .admin-gate-form {
    padding: 22px;
  }

  .admin-secret-dialog,
  .admin-filter-row {
    grid-template-columns: 1fr;
  }

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

  .admin-board-heading .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    inset: 12px 14px auto 14px;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  body {
    padding-bottom: 76px;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: flex;
    justify-content: space-between;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(21, 20, 20, 0.1);
    padding: 8px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
  }

  .mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 2px;
    border-radius: var(--radius);
    color: var(--muted);
    text-decoration: none;
    text-align: center;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.15;
  }

  .mobile-bottom-nav a svg {
    flex-shrink: 0;
  }

  .mobile-bottom-nav a:active,
  .mobile-bottom-nav a:focus-visible {
    color: var(--clay);
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .hero-strip,
  .academy-grid,
  .digital-layout,
  .student-entry-strip,
  .course-experience-section,
  .pricing-grid,
  .kit-section,
  .contact-panel,
  .checkout-dialog {
    grid-template-columns: 1fr;
  }

  .checkout-dialog {
    width: min(720px, 100%);
  }

  .curriculum-modal-dialog {
    height: auto;
    max-height: min(720px, calc(100vh - 32px));
    overflow-y: auto;
  }

  .curriculum-modal-sidebar,
  .curriculum-modal-body {
    overflow-y: visible;
  }

  .experience-media,
  .experience-media video {
    min-height: 440px;
  }

  .kit-mosaic {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 54px;
    padding-left: 10px;
  }

  .brand-mark span {
    max-width: 168px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding: 142px 0 72px;
  }

  .hero h1 {
    font-size: 2.7rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .checkout-shell {
    align-items: end;
    padding: 0;
  }

  .checkout-dialog {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .checkout-summary {
    min-height: auto;
    padding: 34px 22px 26px;
  }

  .checkout-form {
    padding: 26px 18px 24px;
  }

  .curriculum-modal-sidebar {
    padding: 34px 22px 26px;
  }

  .curriculum-modal-body {
    padding: 26px 18px 24px;
  }

  .curriculum-modal-dialog {
    max-height: 92vh;
  }

  .checkout-plan-options,
  .checkout-fields {
    grid-template-columns: 1fr;
  }

  .checkout-fields label:first-child {
    grid-column: auto;
  }

  .checkout-close {
    position: fixed;
    top: calc(8vh + 10px);
    left: 10px;
  }

  .hero-strip {
    width: min(100% - 32px, 1180px);
  }

  .hero-strip span {
    min-height: 58px;
    padding: 12px 8px;
    font-size: 0.88rem;
    text-align: center;
  }

  .section {
    padding: 72px 16px;
  }

  .section h2 {
    font-size: 2.2rem;
  }

  .course-media {
    height: 280px;
  }

  .course-media-portrait {
    height: 280px;
  }

  .course-content,
  .price-card,
  .lead-form {
    padding: 22px;
  }

  .course-content h3,
  .price-card h3 {
    font-size: 1.65rem;
  }

  .experience-steps div {
    grid-template-columns: 42px 1fr;
    gap: 8px 12px;
  }

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

  .benefit-card {
    min-height: auto;
    padding: 26px 22px 24px;
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .kit-list {
    grid-template-columns: 1fr;
  }

  .results-card {
    width: 200px;
    height: 264px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 56px;
    width: 56px;
    height: 56px;
    padding: 0;
  }

  .floating-whatsapp span {
    font-size: 0;
  }

  .floating-whatsapp::before {
    content: "WA";
    font-size: 0.86rem;
  }
}

@media (max-width: 980px) {
  .auth-layout,
  .student-hero,
  .course-watch-header,
  .student-help-panel,
  .course-player-layout,
  .student-course-grid {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 48vh;
  }

  .student-profile-chip {
    min-width: 0;
  }

  .course-sidebar {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .auth-layout {
    display: block;
  }

  .auth-visual {
    min-height: 42vh;
  }

  .auth-visual-copy {
    width: min(100% - 32px, 720px);
    padding: 98px 0 34px;
  }

  .auth-panel {
    width: min(100% - 32px, 520px);
    margin: -22px auto 32px;
    padding: 24px;
  }

  .auth-panel h2 {
    font-size: 2.2rem;
  }

  .student-topbar {
    align-items: start;
    flex-direction: column;
    padding: 12px 16px;
  }

  .student-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .student-nav a,
  .student-nav button {
    width: 100%;
    min-width: 0;
    padding: 9px 7px;
    font-size: 0.88rem;
    text-align: center;
  }

  .student-main {
    width: min(100% - 32px, 1180px);
    padding: 28px 0 56px;
  }

  .student-hero,
  .course-watch-header,
  .student-help-panel {
    padding: 24px;
  }

  .student-hero h1,
  .course-watch-header h1 {
    font-size: 2.5rem;
  }

  .student-section-heading {
    display: block;
  }

  .student-course-card {
    grid-template-rows: 220px 1fr;
  }

  .student-course-body {
    padding: 22px;
  }

  .student-course-body h2,
  .student-section-heading h2,
  .student-help-panel h2,
  .course-sidebar h2 {
    font-size: 2rem;
  }

  .course-lesson-panel {
    aspect-ratio: 4 / 3;
  }

  .lesson-placeholder {
    padding: 24px;
  }

  .course-actions-row .button {
    width: 100%;
  }

  .course-sidebar {
    padding: 20px;
  }
}

@media (max-width: 980px) {
  .student-area-preview,
  .student-stats-grid {
    grid-template-columns: 1fr;
  }

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

  .student-preview-shell {
    order: -1;
  }
}

@media (max-width: 680px) {
  .student-flow {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
  }

  .student-flow::before {
    display: none;
  }

  .student-flow span {
    grid-template-columns: 40px 1fr;
    justify-items: start;
    gap: 12px;
    text-align: right;
  }

  .student-preview-actions {
    display: grid;
  }

  .preview-course-row {
    grid-template-columns: 104px 1fr;
  }

  .preview-course-row video {
    height: 78px;
  }

  .preview-course-row strong {
    font-size: 1.18rem;
  }

  .student-entry-strip .button,
  .student-preview-actions .button,
  .student-preview-actions .button-dark {
    width: 100%;
  }

  .lesson-video-caption {
    position: static;
    width: 100%;
    border-radius: 0;
    background: var(--ink);
  }

  .lesson-video-shell {
    grid-template-rows: minmax(0, 1fr) auto;
  }
}

/* ── Legal pages (accessibility / terms / privacy / cancellation) ── */
.legal-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--porcelain), var(--paper));
}

.legal-page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.legal-page-header img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.legal-page-header span {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.legal-page-content {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal-page-content h1 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  margin: 0 0 8px;
}

.legal-page-content .legal-updated {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 40px;
}

.legal-page-content h2 {
  font-family: "Frank Ruhl Libre", Georgia, serif;
  font-size: 1.4rem;
  margin: 36px 0 12px;
}

.legal-page-content p,
.legal-page-content li {
  color: var(--charcoal);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-page-content ul,
.legal-page-content ol {
  padding-inline-start: 22px;
}

.legal-page-content a {
  color: var(--sage-deep);
  font-weight: 700;
}

.legal-page-content .legal-back {
  display: inline-block;
  margin-top: 40px;
  font-weight: 800;
  color: var(--sage-deep);
  text-decoration: none;
}
