:root {
  --ink: #142b2a;
  --ink-soft: #29423f;
  --mint: #bdebe2;
  --mint-strong: #43a99a;
  --mint-dark: #21786d;
  --mint-pale: #edf9f5;
  --coral: #d96367;
  --coral-dark: #ad4149;
  --coral-pale: #fff0ed;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --line: rgba(20, 43, 42, 0.12);
  --muted: #647470;
  --success: #287c59;
  --warning: #b87728;
  --danger: #b63d48;
  --shadow: 0 24px 70px rgba(29, 70, 64, 0.13);
  --shadow-soft: 0 16px 44px rgba(29, 70, 64, 0.08);
  --radius-lg: 36px;
  --radius-md: 24px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

select {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.catalog-section {
  background: var(--cream);
}

.catalog-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 42px;
}

.catalog-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.catalog-heading > p {
  max-width: 430px;
  margin-bottom: 5px;
  color: var(--muted);
  line-height: 1.75;
}

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

.course-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.course-card.mint {
  background: linear-gradient(145deg, #fff 35%, var(--mint-pale));
}

.course-card.coral {
  background: linear-gradient(145deg, #fff 35%, var(--coral-pale));
}

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.course-number {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
}

.course-card.coral .course-number {
  background: var(--coral);
}

.preview-chip {
  padding: 8px 12px;
  color: var(--success);
  background: #dbf3e6;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.course-card h2,
.course-card h3 {
  margin: 8px 0 13px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.course-card > p:not(.overline) {
  margin-bottom: 25px;
  color: var(--muted);
  line-height: 1.65;
}

.course-card > a {
  margin-top: auto;
  font-weight: 800;
}

.course-card > a:not(.button) span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.course-card > a:not(.button):hover span {
  transform: translateX(5px);
}

.catalog-action {
  margin-top: 34px;
  text-align: center;
}

.catalog-hero {
  padding: 82px 0;
  color: #fff;
  background: var(--ink);
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 60px;
}

.catalog-hero h1 {
  max-width: 850px;
  margin: 15px 0 22px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.catalog-hero p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.catalog-stat {
  display: grid;
  padding: 34px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
}

.catalog-stat strong {
  color: var(--mint);
  font-family: "Manrope", sans-serif;
  font-size: 5rem;
  line-height: 1;
}

.catalog-stat span {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.catalog-stat small {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.64);
}

.catalog-page {
  min-height: 600px;
}

.student-course-list {
  display: grid;
  gap: 18px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

h1,
h2,
h3,
.brand-copy,
.button {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(20, 43, 42, 0.08);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50% 50% 46% 54%;
  box-shadow: 0 8px 18px rgba(217, 99, 103, 0.24);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-panel,
.nav-links,
.nav-account {
  display: flex;
  align-items: center;
}

.nav-panel {
  flex: 1;
  justify-content: flex-end;
  gap: 30px;
}

.nav-links {
  gap: 24px;
}

.nav-links a,
.text-link {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--coral);
}

.nav-account {
  gap: 12px;
}

.nav-account form {
  margin: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  border-radius: 2px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(217, 99, 103, 0.25);
}

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

.button.soft {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.button.ghost {
  min-height: 42px;
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.button.ghost.dark {
  background: #fff;
}

.button.light {
  color: var(--ink);
  background: #fff;
}

.button.small {
  min-height: 40px;
  padding: 0 17px;
  font-size: 0.82rem;
}

.button.wide {
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--mint-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow > span {
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow.light {
  color: #9be3d8;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 86px;
  background:
    linear-gradient(115deg, rgba(237, 249, 245, 0.9), rgba(251, 248, 242, 0.7)),
    var(--cream);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 72px;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.hero-copy h1 em {
  color: var(--coral);
  font-family: Georgia, serif;
  font-weight: 500;
}

.hero-cn {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-row i {
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint);
  border-radius: 50%;
  font-style: normal;
  font-size: 0.68rem;
}

.portrait-composition {
  position: relative;
  min-height: 620px;
}

.portrait-halo {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 90%;
  height: 88%;
  background: var(--mint);
  border-radius: 50% 50% 44% 56% / 46% 48% 52% 54%;
  transform: rotate(4deg);
}

.portrait-frame {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 20px;
  overflow: hidden;
  width: 80%;
  height: 540px;
  border: 10px solid rgba(255, 255, 255, 0.8);
  border-radius: 48% 48% 38% 62% / 36% 45% 55% 64%;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 61%;
  transform: scale(1.04);
}

.portrait-caption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 4px;
  display: grid;
  min-width: 240px;
  padding: 22px 26px;
  color: #fff;
  background: var(--ink);
  border-radius: 22px 6px 22px 22px;
  box-shadow: var(--shadow);
}

.portrait-caption .signature {
  margin-bottom: 3px;
  color: #9be3d8;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-style: italic;
}

.portrait-caption strong {
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.45rem;
}

.portrait-caption small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.6);
}

.floating-note {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.floating-note span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-size: 0.68rem;
}

.note-one {
  top: 112px;
  left: -15px;
}

.note-two {
  top: 230px;
  right: -35px;
}

.note-two span {
  background: var(--mint-dark);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  right: -90px;
  bottom: -140px;
  width: 300px;
  height: 300px;
  background: rgba(217, 99, 103, 0.1);
}

.orb-two {
  top: 60px;
  left: -100px;
  width: 230px;
  height: 230px;
  background: rgba(67, 169, 154, 0.1);
}

.statement-strip {
  color: #fff;
  background: var(--ink);
}

.strip-grid {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.strip-grid p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.strip-grid span {
  width: 5px;
  height: 5px;
  background: var(--coral);
  border-radius: 50%;
}

.section {
  padding: 108px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.42fr 1.35fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.section-kicker {
  position: relative;
}

.vertical-cn {
  position: absolute;
  top: 64px;
  left: 2px;
  color: rgba(20, 43, 42, 0.13);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.about-copy {
  padding-right: 34px;
}

.about-copy h2,
.section-heading h2,
.preview-copy h2,
.cta-card h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  line-height: 1.08;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.about-copy .lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
  font-weight: 600;
}

.principle-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 30px;
  color: var(--ink);
  background: var(--mint);
  border-radius: var(--radius-md);
}

.principle-card.coral {
  grid-column: 3;
  color: #fff;
  background: var(--coral);
}

.card-number {
  display: block;
  margin-bottom: 62px;
  opacity: 0.55;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.principle-card h3 {
  font-size: 1.45rem;
}

.principle-card p {
  margin-bottom: 0;
  line-height: 1.65;
  opacity: 0.76;
}

.preview-section {
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(67, 169, 154, 0.26), transparent 30%),
    var(--ink);
}

.preview-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 72px;
}

.preview-copy h2 {
  max-width: 500px;
}

.preview-cn {
  color: #9be3d8;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
}

.preview-copy > p:not(.eyebrow):not(.preview-cn) {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
}

.lesson-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.lesson-mini-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
}

.lesson-mini-list b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
}

.lesson-mini-list span {
  font-weight: 700;
}

.lesson-mini-list small {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.lesson-mini-list .locked {
  opacity: 0.6;
}

.preview-access-card {
  display: grid;
  justify-items: start;
  gap: 18px;
  padding: clamp(32px, 6vw, 64px);
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 99, 103, 0.2), transparent 28%),
    linear-gradient(145deg, #e9fbf6, #bdebe3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.preview-access-card .overline {
  color: var(--mint-dark);
}

.preview-clock {
  font-family: "Manrope", sans-serif;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.preview-access-card h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
}

.preview-access-card p {
  max-width: 560px;
  margin: 0 0 8px;
  color: rgba(15, 40, 37, 0.72);
  line-height: 1.7;
}

.video-card {
  overflow: hidden;
  padding: 14px;
  color: #fff;
  background: #091817;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.video-topline,
.video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.video-topline {
  padding: 4px 7px 14px;
  font-size: 0.78rem;
}

.video-topline span {
  color: #9be3d8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.video-card video,
.private-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
}

.video-footer {
  padding: 16px 8px 4px;
}

.video-footer > div {
  display: grid;
}

.video-footer span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.play-symbol {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink) !important;
  background: var(--mint);
  border-radius: 50%;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

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

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.access-section {
  background: var(--mint-pale);
}

.access-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.access-steps article {
  position: relative;
  min-height: 315px;
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(67, 169, 154, 0.13);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(20, 43, 42, 0.2);
  font-weight: 800;
}

.step-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 72px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-weight: 800;
}

.access-steps article:nth-child(2) .step-icon {
  background: var(--mint-dark);
}

.access-steps article:nth-child(3) .step-icon {
  color: var(--ink);
  background: var(--mint);
}

.access-steps h3 {
  font-size: 1.32rem;
}

.access-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.cta-section {
  padding-top: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 64px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 15%, rgba(189, 235, 226, 0.16), transparent 30%),
    var(--coral);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 14px;
  text-align: center;
}

.text-arrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 700;
}

.footer {
  padding: 52px 0;
  color: var(--muted);
  background: #f1eee8;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.footer-meta {
  display: grid;
  gap: 8px;
  text-align: right;
}

/* Authentication */
.auth-page .footer {
  display: none;
}

.auth-shell {
  display: grid;
  min-height: calc(100vh - 79px);
  grid-template-columns: 0.86fr 1.14fr;
}

.auth-visual {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--mint);
}

.auth-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(15, 40, 37, 0.82), transparent 58%);
}

.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}

.auth-visual-overlay {
  position: absolute;
  z-index: 2;
  right: 54px;
  bottom: 54px;
  left: 54px;
  color: #fff;
}

.auth-visual-overlay h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.03;
}

.auth-visual-overlay > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.auth-panel {
  display: grid;
  place-items: center;
  padding: 56px 28px;
  background: var(--cream);
}

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

.back-link {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.auth-intro {
  margin-bottom: 30px;
  color: var(--muted);
  line-height: 1.65;
}

.form-stack {
  display: grid;
  gap: 18px;
}

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

.form-stack label > span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-stack input,
.form-stack textarea,
.inline-activation input {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius-sm);
}

.form-stack input {
  height: 52px;
  padding: 0 15px;
}

.form-stack textarea {
  min-height: 170px;
  padding: 15px;
  resize: vertical;
  line-height: 1.55;
}

.form-stack input:focus,
.form-stack textarea:focus,
.inline-activation input:focus {
  border-color: var(--mint-strong);
  box-shadow: 0 0 0 4px rgba(67, 169, 154, 0.12);
}

.form-stack small {
  color: var(--muted);
  line-height: 1.45;
}

.auth-switch {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
}

.auth-switch a {
  color: var(--coral-dark);
  font-weight: 800;
}

.admin-code-field {
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

.admin-code-field summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-code-field label {
  margin-top: 14px;
}

.alert {
  padding: 15px 18px;
  margin-bottom: 20px;
  border: 1px solid;
  border-radius: var(--radius-sm);
}

.alert p {
  margin: 0;
  line-height: 1.5;
}

.alert p + p {
  margin-top: 5px;
}

.alert.error {
  color: #8d2632;
  background: #fff0f1;
  border-color: #f2c4c9;
}

.alert.success {
  color: #1e6547;
  background: #edf9f1;
  border-color: #bfe4ce;
}

.alert.notice {
  color: #815318;
  background: #fff8e9;
  border-color: #ead7ae;
}

.alert.compact {
  padding: 11px 13px;
  font-size: 0.78rem;
}

/* Dashboard */
.dashboard-hero,
.admin-hero {
  padding: 72px 0 62px;
  background:
    radial-gradient(circle at 88% 4%, rgba(217, 99, 103, 0.1), transparent 23%),
    var(--mint-pale);
  border-bottom: 1px solid rgba(67, 169, 154, 0.12);
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.dashboard-heading h1 {
  margin-bottom: 10px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.dashboard-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.status-pill,
.table-status,
.private-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.active,
.table-status.active {
  color: var(--success);
  background: #dbf3e6;
}

.status-pill.invited {
  color: var(--warning);
  background: #fff0d7;
}

.status-pill.pending,
.status-pill.free,
.table-status.pending {
  color: #6f7775;
  background: #e9edec;
}

.dashboard-section,
.admin-section {
  min-height: 600px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  align-items: start;
  gap: 24px;
}

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

.access-card,
.dashboard-card,
.account-card,
.admin-guide,
.private-lesson {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.access-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  min-height: 320px;
}

.access-card.active {
  background: linear-gradient(135deg, #fff, #edfaf5);
}

.access-card.invited {
  background: linear-gradient(135deg, #fff, #fff9ec);
}

.access-card.free {
  background: linear-gradient(135deg, #fff, var(--mint-pale));
}

.access-card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.access-card.invited .access-card-icon {
  background: #d39039;
}

.access-card.pending .access-card-icon,
.access-card.free .access-card-icon {
  background: #8b9996;
  font-size: 0.9rem;
}

.access-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.access-card > div > p:not(.eyebrow) {
  max-width: 630px;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.7;
}

.inline-activation {
  display: flex;
  max-width: 590px;
  gap: 10px;
}

.inline-activation input {
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pending-note {
  display: inline-grid;
  gap: 3px;
  padding: 12px 15px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.pending-note span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.course-snapshot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.course-snapshot-art {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 22px;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.overline {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.course-snapshot h3 {
  margin: 5px 0;
  font-size: 1.25rem;
}

.course-snapshot p {
  margin: 0;
  color: var(--muted);
}

.round-arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  font-size: 1.2rem;
}

.round-arrow.disabled {
  color: #9da8a5;
  background: #edf0ef;
}

.account-card {
  position: sticky;
  top: 102px;
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-weight: 800;
}

.account-identity > div:last-child {
  display: grid;
}

.account-identity span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.account-card hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.account-card h3 {
  font-size: 1.08rem;
}

.compact-form {
  gap: 13px;
}

.compact-form input {
  height: 46px;
}

.admin-link-card {
  display: grid;
  gap: 5px;
  padding: 15px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
}

.admin-link-card span {
  color: #9be3d8;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Course library */
.library-hero {
  padding: 80px 0 68px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(217, 99, 103, 0.2), transparent 24%),
    var(--ink);
}

.library-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.library-heading h1 {
  margin-bottom: 8px;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.library-cn {
  margin-bottom: 0;
  color: #9be3d8;
  font-family: "Noto Sans SC", sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.verified-access {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}

.verified-access > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  font-weight: 900;
}

.verified-access div {
  display: grid;
}

.verified-access small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
}

.library-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}

.lesson-nav {
  position: sticky;
  top: 105px;
}

.lesson-nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.lesson-nav-item > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.lesson-nav-item div {
  display: grid;
  min-width: 0;
}

.lesson-nav-item strong {
  overflow: hidden;
  font-size: 0.85rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-nav-item small {
  margin-top: 3px;
  color: var(--muted);
}

.lesson-nav-note {
  display: flex;
  gap: 10px;
  padding: 15px;
  margin-top: 18px;
  color: var(--muted);
  background: var(--mint-pale);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  line-height: 1.5;
}

.lesson-nav-note p {
  margin: 0;
}

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

.private-lesson {
  padding: 26px;
}

.lesson-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.lesson-title-row h2 {
  margin-bottom: 7px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.lesson-title-row > div > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.private-badge {
  color: var(--mint-dark);
  background: var(--mint-pale);
}

.private-badge.preview {
  color: var(--warning);
  background: #fff0d7;
}

.private-video {
  padding: 10px;
  background: var(--ink);
  border-radius: 24px;
}

.unlock-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px;
  margin-top: 18px;
  background: linear-gradient(135deg, var(--coral-pale), #fff8ee);
  border: 1px solid rgba(217, 99, 103, 0.18);
  border-radius: var(--radius-sm);
}

.unlock-callout > div {
  display: grid;
  gap: 5px;
}

.unlock-callout span {
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.unlock-callout p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.lesson-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.lesson-notes > div {
  padding: 18px;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.lesson-notes span {
  color: var(--mint-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lesson-notes p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.media-error {
  padding: 50px 24px;
  text-align: center;
  background: var(--coral-pale);
  border-radius: var(--radius-md);
}

.media-error p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 24px;
}

.admin-layout > div {
  display: grid;
  gap: 22px;
}

.generated-card {
  padding: 30px;
  color: #fff;
  background: var(--mint-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.generated-card h2 {
  margin-bottom: 8px;
  font-size: 2rem;
}

.generated-card > div > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.invite-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.invite-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 13px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
}

.invite-row > div {
  display: grid;
}

.invite-row span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
}

.invite-row code {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.copy-button {
  padding: 8px 11px;
  color: var(--ink);
  background: var(--mint);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.73rem;
  font-weight: 800;
}

.admin-form-card h2 {
  font-size: 2rem;
}

.admin-form-card > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.admin-form-card code {
  color: var(--coral-dark);
  background: var(--coral-pale);
}

.admin-guide {
  position: sticky;
  top: 104px;
  color: #fff;
  background: var(--ink);
}

.admin-guide .overline {
  color: #9be3d8;
}

.admin-guide ol {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.admin-guide li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.admin-guide li b {
  display: grid;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  font-size: 0.72rem;
}

.customer-list-section {
  margin-top: 70px;
}

.list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.list-heading h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.customer-table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.customer-table {
  width: 100%;
  border-collapse: collapse;
}

.customer-table th,
.customer-table td {
  padding: 17px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.customer-table th {
  color: var(--muted);
  background: #fafbf9;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.customer-table td:first-child {
  display: grid;
}

.customer-table td:first-child span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.customer-table tbody tr:last-child td {
  border-bottom: 0;
}

.danger-link {
  padding: 0;
  color: var(--danger);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-state {
  padding: 70px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
}

.empty-state > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  place-items: center;
  color: #fff;
  background: var(--mint-dark);
  border-radius: 50%;
}

.empty-state h3 {
  margin-bottom: 7px;
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 80px 0;
}

.error-card {
  max-width: 700px;
  padding: 50px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.error-card .eyebrow,
.error-card .hero-actions {
  justify-content: center;
}

.error-code {
  display: block;
  margin-bottom: 20px;
  color: var(--coral);
  font-family: "Manrope", sans-serif;
  font-size: 4rem;
  font-weight: 800;
}

.error-card h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.error-card > p:not(.eyebrow) {
  color: var(--muted);
}

@media (max-width: 1040px) {
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-panel {
    position: absolute;
    top: 69px;
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
  }

  .nav-panel.is-open {
    display: grid;
  }

  .nav-links,
  .nav-account {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 11px 8px;
  }

  .nav-account {
    gap: 10px;
    padding-top: 14px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }

  .nav-account .button,
  .nav-account form,
  .nav-account form button {
    width: 100%;
  }

  .hero-grid {
    gap: 30px;
  }

  .portrait-composition {
    min-height: 570px;
  }

  .about-grid {
    grid-template-columns: 0.35fr 1.25fr 0.9fr;
  }

  .preview-grid {
    gap: 38px;
  }

  .auth-shell {
    grid-template-columns: 0.72fr 1.28fr;
  }

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

@media (max-width: 820px) {
  .catalog-heading,
  .catalog-hero-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding: 60px 0;
  }
  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .preview-grid,
  .dashboard-grid,
  .admin-layout,
  .library-layout {
    grid-template-columns: 1fr;
  }

  .portrait-composition {
    min-height: 580px;
    margin-top: 20px;
  }

  .portrait-frame {
    right: 8%;
    width: 78%;
  }

  .note-one {
    left: 1%;
  }

  .note-two {
    right: 0;
  }

  .about-grid {
    grid-template-columns: 0.25fr 1fr;
  }

  .about-copy {
    padding-right: 0;
  }

  .principle-card {
    grid-column: 2;
  }

  .principle-card.coral {
    grid-column: 2;
  }

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

  .access-steps article {
    min-height: 250px;
  }

  .step-icon {
    margin-bottom: 44px;
  }

  .cta-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 44px;
  }

  .cta-actions {
    width: 100%;
  }

  .auth-shell {
    display: block;
  }

  .auth-visual {
    min-height: 430px;
  }

  .auth-visual-overlay {
    right: 30px;
    bottom: 30px;
    left: 30px;
  }

  .dashboard-heading,
  .library-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-card,
  .admin-guide,
  .lesson-nav {
    position: static;
  }

  .admin-guide {
    order: -1;
  }
}

@media (max-width: 580px) {
  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 330px;
  }
  .container {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 76px 0;
  }

  .hero-copy h1 {
    font-size: 3.05rem;
  }

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

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .trust-row {
    display: grid;
  }

  .portrait-composition {
    min-height: 500px;
  }

  .portrait-frame {
    right: 2%;
    width: 90%;
    height: 440px;
    border-width: 7px;
  }

  .portrait-caption {
    right: 0;
    bottom: 0;
    min-width: 210px;
    padding: 17px 20px;
  }

  .floating-note {
    display: none;
  }

  .strip-grid {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .strip-grid p {
    flex: 0 0 auto;
  }

  .about-grid {
    display: block;
  }

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

  .vertical-cn {
    display: none;
  }

  .principle-card {
    min-height: 250px;
    margin-top: 14px;
  }

  .card-number {
    margin-bottom: 45px;
  }

  .video-card {
    padding: 8px;
    border-radius: 20px;
  }

  .video-card video {
    border-radius: 14px;
  }

  .cta-card {
    padding: 36px 25px;
    border-radius: 25px;
  }

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

  .footer-meta {
    text-align: left;
  }

  .auth-visual {
    min-height: 360px;
  }

  .auth-panel {
    padding: 44px 18px;
  }

  .back-link {
    margin-bottom: 30px;
  }

  .dashboard-hero,
  .admin-hero,
  .library-hero {
    padding: 50px 0 44px;
  }

  .dashboard-section,
  .admin-section,
  .library-section {
    padding-top: 38px;
  }

  .access-card {
    grid-template-columns: 1fr;
    padding: 23px;
  }

  .inline-activation {
    flex-direction: column;
  }

  .course-snapshot {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .course-snapshot .round-arrow {
    display: none;
  }

  .account-card,
  .private-lesson,
  .admin-form-card,
  .generated-card {
    padding: 22px;
  }

  .verified-access {
    width: 100%;
  }

  .lesson-title-row {
    flex-direction: column;
  }

  .lesson-notes {
    grid-template-columns: 1fr;
  }

  .unlock-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .unlock-callout .button {
    width: 100%;
  }

  .invite-row {
    grid-template-columns: 1fr auto;
  }

  .invite-row code {
    grid-column: 1;
  }

  .invite-row .copy-button {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .customer-table th:nth-child(3),
  .customer-table td:nth-child(3) {
    display: none;
  }

  .error-card {
    padding: 36px 22px;
  }
}
