/* LaunchCraft Voice Academy — private member experience */
.academy-auth-page,
.academy-member-page {
  min-height: 100vh;
  background: #f3f0f4;
}

.academy-auth-page [hidden],
.academy-member-page [hidden] {
  display: none !important;
}

.academy-portal-header {
  position: relative;
  z-index: 10;
  min-height: 82px;
  background: #171622;
  color: #fff;
  border-bottom: 1px solid #ffffff18;
}

.academy-portal-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.academy-portal-header .brand-name small {
  color: #d1c8de;
  letter-spacing: .18em;
}

.academy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c6c0cf;
  font-size: 12px;
  font-weight: 700;
}

.academy-back-link:hover { color: #fff; }

.academy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #765e99;
  font: 800 10px/1.5 Manrope, sans-serif;
  letter-spacing: .18em;
}

.academy-kicker > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #806aa5;
}

.academy-kicker-light { color: #d7cfdf; }
.academy-kicker-light > span { background: #e8ba70; }

/* Sign in and account recovery */
.academy-auth-main {
  position: relative;
  min-height: calc(100vh - 145px);
  padding: 80px 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, #9e82c61b, transparent 32%),
    radial-gradient(circle at 86% 90%, #d6a85b1c, transparent 28%),
    #f3f0f4;
}

.academy-auth-main::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #7a689018;
  border-radius: 50%;
  left: -270px;
  bottom: -250px;
  box-shadow: 0 0 0 80px #7a689008, 0 0 0 160px #7a689005;
  pointer-events: none;
}

.academy-auth-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(390px, .72fr);
  gap: 10%;
  align-items: center;
}

.academy-auth-story h1 {
  max-width: 710px;
  margin-top: 24px;
  font-size: clamp(3.15rem, 5.6vw, 5.75rem);
  line-height: .98;
}

.academy-auth-story > p {
  max-width: 620px;
  margin: 28px 0 0;
  color: #686270;
  font-size: 16px;
  line-height: 1.9;
}

.academy-auth-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.academy-auth-promise span {
  border: 1px solid #d9d2df;
  border-radius: 999px;
  background: #ffffffad;
  padding: 9px 13px;
  color: #5d5665;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.academy-auth-story .academy-auth-support {
  margin-top: 45px;
  font-size: 12px;
}

.academy-auth-support a {
  color: #675184;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.academy-auth-card {
  position: relative;
  min-height: 540px;
  padding: 38px;
  border: 1px solid #ded9e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 28px 80px #2b203a14;
}

.academy-auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ebe7ed;
  color: #8b8591;
  font: 800 8px/1.4 Manrope, sans-serif;
  letter-spacing: .14em;
}

.academy-auth-card-top b { color: #755f96; }

.academy-auth-card [data-auth-panel] { padding-top: 34px; }

.academy-form-label {
  display: block;
  margin-bottom: 14px;
  color: #80669f;
  font: 800 9px/1.4 Manrope, sans-serif;
  letter-spacing: .16em;
}

.academy-auth-card h2 {
  font-size: 30px;
  letter-spacing: -.055em;
}

.academy-form-intro {
  margin: 13px 0 24px;
  color: #79737e;
  font-size: 13px;
  line-height: 1.75;
}

.academy-account-form {
  display: grid;
  gap: 10px;
}

.academy-account-form label {
  margin-top: 5px;
  color: #49434f;
  font-size: 11px;
  font-weight: 800;
}

.academy-account-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dcd7e0;
  border-radius: 7px;
  background: #fbfafc;
  color: #171622;
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
}

.academy-account-form input:focus {
  border-color: #8f80ed;
  box-shadow: 0 0 0 3px #8f80ed20;
}

.academy-account-form input::placeholder { color: #aaa4ae; }

.academy-form-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 13px;
  border: 0;
}

.academy-form-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.academy-text-button {
  display: block;
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  color: #655276;
  padding: 4px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.academy-invite-note {
  margin: 24px 0 0;
  border-top: 1px solid #ebe7ed;
  padding-top: 21px;
  color: #7d7682;
  font-size: 11px;
  line-height: 1.75;
}

.academy-invite-note strong { color: #413b46; }

.academy-auth-status {
  margin-top: 22px;
  border-left: 4px solid #776194;
  background: #f0ebf4;
  padding: 14px 15px;
  color: #52495d;
  font-size: 12px;
  line-height: 1.65;
}

.academy-auth-status[data-tone='success'] {
  border-color: #3d7b63;
  background: #edf6f1;
  color: #315b4b;
}

.academy-auth-status[data-tone='error'] {
  border-color: #a94d59;
  background: #fbf0f1;
  color: #7f3540;
}

.academy-auth-loading,
.academy-page-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 17px;
  color: #77707d;
  font-size: 12px;
  text-align: center;
}

.academy-auth-loading { min-height: 410px; }
.academy-auth-loading p,
.academy-page-loading p { margin: 0; }

.academy-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #ddd6e3;
  border-top-color: #745d98;
  border-radius: 50%;
  animation: academy-spin .8s linear infinite;
}

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

.academy-portal-footer {
  background: #171622;
  color: #8f8998;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.academy-portal-footer .container {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Member dashboard */
.academy-page-loading {
  min-height: 100vh;
  background: #171622;
  color: #c9c4d0;
}

.academy-member-account {
  display: flex;
  align-items: center;
  gap: 18px;
}

.academy-member-account > span {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
}

.academy-member-account b {
  color: #fff;
  font-size: 11px;
}

.academy-member-account small {
  max-width: 260px;
  overflow: hidden;
  color: #918b9b;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.academy-member-account button {
  border: 1px solid #ffffff35;
  border-radius: 6px;
  background: transparent;
  color: #ddd7e3;
  padding: 9px 13px;
  font-size: 10px;
  font-weight: 800;
}

.academy-member-account button:hover { border-color: #fff; color: #fff; }

.academy-dashboard-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #171622, #2b2438 62%, #3b2f4b);
  color: #fff;
  padding: 82px 0 76px;
}

.academy-dashboard-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, #e8ba7026, transparent 25%), radial-gradient(circle at 10% 90%, #8f80ed1c, transparent 31%);
  pointer-events: none;
}

.academy-dashboard-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 8%;
  align-items: end;
}

.academy-dashboard-welcome {
  margin: 25px 0 10px;
  color: #bbb5c3;
  font-size: 13px;
}

.academy-dashboard-welcome strong { color: #e9c98f; }

.academy-dashboard-hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 5.6vw, 6rem);
  line-height: .98;
}

.academy-dashboard-hero-grid > div > p:last-child {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c8c2cf;
  font-size: 15px;
  line-height: 1.85;
}

.academy-progress-card {
  border: 1px solid #ffffff20;
  border-radius: 12px;
  background: #ffffff0a;
  padding: 27px;
  backdrop-filter: blur(8px);
}

.academy-progress-card > span {
  color: #e7c17f;
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: .16em;
}

.academy-progress-card > strong {
  display: block;
  margin: 24px 0 15px;
  font: 800 28px/1 Manrope, sans-serif;
  letter-spacing: -.05em;
}

.academy-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: #ffffff18;
}

.academy-progress-track > div {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c89b52, #f0ca88);
  transition: width .25s ease;
}

.academy-progress-card p {
  margin: 14px 0 2px;
  color: #d0cad7;
  font-size: 11px;
}

.academy-progress-card small { color: #8f8998; font-size: 9px; }

.academy-dashboard-notice {
  border-bottom: 1px solid #ded9e2;
  background: #f3ecdf;
}

.academy-dashboard-notice .container {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.academy-notice-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ba8230;
  box-shadow: 0 0 0 6px #ba823018;
}

.academy-dashboard-notice strong {
  display: block;
  color: #4e402b;
  font-size: 12px;
}

.academy-dashboard-notice p {
  margin: 3px 0 0;
  color: #766953;
  font-size: 11px;
  line-height: 1.6;
}

.academy-dashboard-section { padding: 90px 0 98px; background: #f8f7f3; }
.academy-dashboard-toned { background: #efecf1; }

.academy-dashboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 34px;
}

.academy-dashboard-heading h2 {
  max-width: 700px;
  margin-top: 13px;
  font-size: clamp(2.2rem, 3.8vw, 4rem);
}

.academy-dashboard-heading > p {
  max-width: 430px;
  margin: 0;
  color: #77717f;
  font-size: 13px;
  line-height: 1.8;
}

.academy-member-lesson-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.academy-member-lesson {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 22px;
  align-items: end;
  min-height: 260px;
  border: 1px solid #ddd8e0;
  border-radius: 11px;
  background: #fff;
  padding: 27px;
}

.academy-member-lesson.is-ready { border-top: 3px solid #7a649c; }
.academy-member-lesson.is-building { background: #f5f3f5; color: #7c7780; }

.academy-lesson-state {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid #ece9ee;
  font: 800 9px/1.3 Manrope, sans-serif;
  letter-spacing: .13em;
}

.academy-lesson-state span { color: #70677a; }
.academy-member-lesson.is-ready .academy-lesson-state b { color: #6f568f; }
.academy-member-lesson.is-building .academy-lesson-state b { color: #a37f47; }

.academy-member-lesson h3 {
  grid-column: 1 / -1;
  align-self: start;
  margin: 22px 0 0;
  font-size: 22px;
  letter-spacing: -.045em;
}

.academy-member-lesson > p {
  grid-column: 1 / -1;
  align-self: start;
  margin: 9px 0 21px;
  color: #77717f;
  font-size: 12px;
  line-height: 1.7;
}

.academy-member-lesson > button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 145px;
  border: 0;
  border-radius: 6px;
  background: #2a2637;
  color: #fff;
  padding: 11px 13px;
  font-size: 10px;
  font-weight: 800;
}

.academy-member-lesson > button:disabled {
  cursor: not-allowed;
  background: #e8e4ea;
  color: #8e8794;
}

.academy-member-lesson label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5f5865;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.academy-member-lesson label input {
  width: 17px;
  height: 17px;
  accent-color: #735b97;
}

.academy-lesson-locked {
  color: #99939d;
  font-size: 9px;
  font-weight: 700;
}

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

.academy-member-resource-grid article {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  border: 1px solid #ded8e2;
  border-radius: 11px;
  background: #fff;
  padding: 28px;
}

.academy-member-resource-grid article.is-locked { background: #e7e3e9; }

.academy-resource-symbol {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid #cdbddc;
  border-radius: 50%;
  color: #735d93;
  font: 800 15px/1 Manrope, sans-serif;
}

.academy-member-resource-grid article > b {
  color: #806aa1;
  font: 800 9px/1.4 Manrope, sans-serif;
  letter-spacing: .14em;
}

.academy-member-resource-grid h3 { margin: 13px 0 12px; font-size: 21px; }

.academy-member-resource-grid p {
  margin: 0;
  color: #77717f;
  font-size: 12px;
  line-height: 1.8;
}

.academy-member-resource-grid a,
.academy-resource-lock {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  border-top: 1px solid #e5e1e7;
  padding-top: 18px;
  color: #493d5b;
  font-size: 11px;
  font-weight: 800;
}

.academy-member-resource-grid a:hover { color: #765b99; }
.academy-resource-lock { color: #918a96; }

.academy-member-phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.academy-member-phase-grid article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 21px;
  min-height: 190px;
  border: 1px solid #ddd8df;
  border-radius: 10px;
  background: #fff;
  padding: 26px;
}

.academy-member-phase-grid article.is-current {
  background: #262130;
  border-color: #262130;
  color: #fff;
}

.academy-member-phase-grid article > span {
  color: #7b659c;
  font: 800 29px/1 Manrope, sans-serif;
  letter-spacing: -.08em;
}

.academy-member-phase-grid .is-current > span { color: #e6bc76; }

.academy-member-phase-grid b {
  color: #88739e;
  font: 800 9px/1.4 Manrope, sans-serif;
  letter-spacing: .13em;
}

.academy-member-phase-grid .is-current b { color: #e6bc76; }
.academy-member-phase-grid h3 { margin: 15px 0 8px; font-size: 21px; }

.academy-member-phase-grid p {
  margin: 0;
  color: #77717f;
  font-size: 12px;
  line-height: 1.7;
}

.academy-member-phase-grid .is-current p { color: #c5bfcb; }

.academy-member-support {
  background: linear-gradient(120deg, #201c2b, #392d4b);
  color: #fff;
  padding: 62px 0;
}

.academy-member-support .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.academy-member-support span {
  color: #e5bb74;
  font: 800 9px/1 Manrope, sans-serif;
  letter-spacing: .15em;
}

.academy-member-support h2 { margin-top: 13px; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.academy-member-support p { margin: 13px 0 0; color: #c9c2d0; font-size: 13px; }
.academy-member-support .btn { flex: 0 0 auto; }

.academy-video-dialog {
  width: min(960px, calc(100% - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid #ffffff1f;
  border-radius: 13px;
  background: #171622;
  color: #fff;
  padding: 0;
  box-shadow: 0 35px 100px #0009;
}

.academy-video-dialog::backdrop {
  background: #0d0b14df;
  backdrop-filter: blur(4px);
}

.academy-video-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 24px;
}

.academy-video-dialog-head span {
  color: #e5bb74;
  font: 800 8px/1 Manrope, sans-serif;
  letter-spacing: .15em;
}

.academy-video-dialog-head h2 {
  margin-top: 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.9rem);
  letter-spacing: -.045em;
}

.academy-video-dialog-head button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff35;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.academy-video-dialog video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #08070c;
}

.academy-video-dialog > p {
  margin: 0;
  padding: 17px 24px 21px;
  color: #aaa3b3;
  font-size: 10px;
  line-height: 1.65;
}

.academy-noscript {
  margin: 30px auto;
  max-width: 700px;
  border: 1px solid #d4c2c6;
  background: #fff2f3;
  padding: 20px;
  color: #7e3843;
  text-align: center;
}

@media (max-width: 940px) {
  .academy-auth-layout { grid-template-columns: 1fr; gap: 52px; }
  .academy-auth-story { max-width: 760px; }
  .academy-auth-card { max-width: 580px; width: 100%; }
  .academy-dashboard-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .academy-progress-card { max-width: 520px; }
  .academy-member-resource-grid { grid-template-columns: 1fr 1fr; }
  .academy-member-resource-grid article:last-child { grid-column: 1 / -1; min-height: 280px; }
}

@media (max-width: 760px) {
  .academy-dashboard-heading { display: block; }
  .academy-dashboard-heading > p { margin-top: 18px; }
  .academy-member-lesson-grid,
  .academy-member-phase-grid { grid-template-columns: 1fr; }
  .academy-member-support .container { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 580px) {
  .academy-portal-header,
  .academy-portal-header-inner { min-height: 72px; }
  .academy-back-link { font-size: 0; }
  .academy-back-link span { font-size: 18px; }
  .academy-auth-main { padding: 55px 0 65px; }
  .academy-auth-story h1 { font-size: clamp(3rem, 13vw, 4.2rem); }
  .academy-auth-story > p { font-size: 14px; }
  .academy-auth-card { min-height: 0; padding: 27px 21px; }
  .academy-auth-card-top { align-items: flex-start; flex-direction: column; gap: 7px; }
  .academy-auth-loading { min-height: 300px; }
  .academy-portal-footer .container { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; }
  .academy-member-account > span { display: none; }
  .academy-dashboard-hero { padding: 58px 0 55px; }
  .academy-dashboard-hero h1 { font-size: clamp(3rem, 13vw, 4.3rem); }
  .academy-dashboard-hero-grid > div > p:last-child { font-size: 14px; }
  .academy-dashboard-notice .container { align-items: flex-start; padding-top: 21px; padding-bottom: 21px; }
  .academy-notice-dot { margin-top: 6px; }
  .academy-dashboard-section { padding: 64px 0 70px; }
  .academy-member-lesson { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 23px 20px; }
  .academy-member-lesson h3 { width: 100%; }
  .academy-member-lesson > button { width: 100%; margin-bottom: 14px; }
  .academy-member-resource-grid { grid-template-columns: 1fr; }
  .academy-member-resource-grid article,
  .academy-member-resource-grid article:last-child { grid-column: auto; min-height: 330px; padding: 24px; }
  .academy-member-phase-grid article { grid-template-columns: 45px 1fr; padding: 22px 20px; }
  .academy-member-support { padding: 50px 0; }
  .academy-member-support .btn { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .academy-spinner { animation: none; }
  .academy-progress-track > div { transition: none; }
}
